diff --git a/assets/css/dark.css b/assets/css/dark.css
index f8a4c03..871304b 100644
--- a/assets/css/dark.css
+++ b/assets/css/dark.css
@@ -219,3 +219,78 @@ a:hover {
}
+/* Pagefind UI */
+
+#toggle-search {
+ color: #ddd;
+ border-bottom: 3px solid var(--darkMaincolor);
+}
+
+.pagefind-ui__form::before {
+ background-color: #ddd !important;
+}
+
+.pagefind-ui__search-input {
+ background-color: #333 !important;
+ border-color: #333 !important;
+ outline: none !important;
+ outline: 2px solid var(--darkMaincolor) !important;
+ color: #ddd !important;
+}
+
+.pagefind-ui__search-clear {
+ background-color: #333 !important;
+ color: #ddd !important;
+}
+
+
+.pagefind-ui__message {
+ color: #ddd;
+}
+
+.pagefind-ui__result {
+ border-color: rgb(102, 51, 153) !important;
+ border-style: dotted !important;
+ border-width: 6px 0 0 0 !important;
+}
+
+.pagefind-ui__result:last-child {
+ border-bottom-width: 6px !important;
+}
+
+.pagefind-ui__result-title {
+ font-family: "Roboto Mono", monospace;
+
+}
+
+.pagefind-ui__result-excerpt {
+ font-family: Montserrat, sans-serif;
+ color: #ddd;
+}
+
+
+.pagefind-ui__result-title::before {
+ color: var(--darkMaincolor);
+ content: '# ';
+}
+
+.pagefind-ui__result-title .pagefind-ui__result-link {
+ color: #ddd !important;
+ border-bottom: 3px solid var(--darkMaincolor);
+ text-decoration: none;
+}
+
+.pagefind-ui__result-title .pagefind-ui__result-link:hover {
+ text-decoration: none !important;
+ color: black !important;
+}
+
+.pagefind-ui__button {
+ background-color: #333 !important;
+ border-color: #333 !important;
+ color: #ddd !important;
+}
+
+.pagefind-ui__button:hover {
+ border-color: var(--darkMaincolor) !important;
+}
\ No newline at end of file
diff --git a/assets/css/main.css b/assets/css/main.css
index b7be1f6..f44270a 100644
--- a/assets/css/main.css
+++ b/assets/css/main.css
@@ -456,4 +456,66 @@ table td{
.translations-block a:hover {
background-color: #000000;
color: var(--callouctcolor);
-}
\ No newline at end of file
+}
+
+.pagefind-ui__result-title.svelte-j9e30.svelte-j9e30 {
+ display: inline-block;
+ font-weight: 700;
+ font-size: calc(21px * var(--pagefind-ui-scale));
+ margin-top: 0;
+ margin-bottom: 0;
+}
+
+/* Pagefind UI */
+
+#toggle-search {
+ background: transparent;
+ border: none;
+ border-bottom: 3px solid var(--maincolor);
+ margin: 0;
+ padding: 0 ;
+}
+
+.pagefind-ui__search-input {
+ outline-color: var(--maincolor);
+}
+
+.pagefind-ui__result {
+ border-color: rgb(102, 51, 153) !important;
+ border-style: dotted !important;
+ border-width: 6px 0 0 0 !important;
+}
+
+.pagefind-ui__result:last-child {
+ border-bottom-width: 6px !important;
+}
+
+.pagefind-ui__result-title {
+ font-family: "Roboto Mono", monospace;
+}
+
+.pagefind-ui__result-excerpt {
+ font-family: Montserrat, sans-serif;
+}
+
+
+.pagefind-ui__result-title::before {
+ color: var(--maincolor);
+ content: '# ';
+}
+
+.pagefind-ui__result-title .pagefind-ui__result-link {
+ color: var(--pagefind-ui-text);
+ border-bottom: 3px solid var(--maincolor);
+ text-decoration: none;
+}
+
+.pagefind-ui__result-title .pagefind-ui__result-link:hover {
+ text-decoration: none !important;
+ color: white !important;
+}
+
+.pagefind-ui__button:hover {
+ border-color: var(--maincolor) !important;
+}
+
diff --git a/layouts/404.html b/layouts/404.html
index c24a4fb..6e71dda 100644
--- a/layouts/404.html
+++ b/layouts/404.html
@@ -1,5 +1,5 @@
-
+
{{ partial "header.html" . }}
diff --git a/layouts/_default/baseof.html b/layouts/_default/baseof.html
index b941097..618f462 100644
--- a/layouts/_default/baseof.html
+++ b/layouts/_default/baseof.html
@@ -1,5 +1,5 @@
-
+
{{- partial "header.html" . -}}
diff --git a/layouts/_default/list.html b/layouts/_default/list.html
index 7f31021..b4bd1d3 100644
--- a/layouts/_default/list.html
+++ b/layouts/_default/list.html
@@ -5,7 +5,7 @@
All articles
{{ end }}
-
+
{{- range .Data.Pages -}}
{{- if (not (in (.Site.Params.excludedTypes | default (slice "page")) .Type)) -}}
-
diff --git a/layouts/_default/term.html b/layouts/_default/term.html
index c7ae65b..55e10dd 100644
--- a/layouts/_default/term.html
+++ b/layouts/_default/term.html
@@ -1,11 +1,11 @@
{{ define "main" }}
{{ if isset .Data "Term" }}
-
{{ i18n "EntriesTagged" }} - "{{ .Data.Term }}"
+{{ i18n "EntriesTagged" }} - "{{ .Data.Term }}"
{{ else }}
All articles
{{ end }}
-
+
{{- range .Data.Pages -}}
{{- if (not (in (.Site.Params.excludedTypes | default (slice "page")) .Type)) -}}
-
diff --git a/layouts/_default/terms.html b/layouts/_default/terms.html
index fea9c2f..aea678f 100644
--- a/layouts/_default/terms.html
+++ b/layouts/_default/terms.html
@@ -8,7 +8,7 @@
{{ $size := $min }}
{{ $data := .Data }}
-