move font to variable

This commit is contained in:
2025-11-21 16:16:01 -05:00
parent 03a15f0347
commit 38bc6eaff2
3 changed files with 9 additions and 8 deletions
+6 -5
View File
@@ -28,6 +28,7 @@
--border: 1px solid #ced3f1;
--max-page-width: 800px;
--transition: all 0.3s ease-in-out;
--font: "Noto Sans", sansserif;
}
.theme-dark {
@@ -40,19 +41,19 @@
--border: 1px solid #505160;
}
.serif-text {
--font: "Noto Serif", serif;
}
body {
color: var(--text);
background-color: var(--background);
font-family: "Noto Sans", sans-serif;
font-family: var(--font);
font-size: 1.1rem;
margin: 0;
padding: 0;
}
.serif-text {
font-family: "Noto Serif", serif;
}
main {
max-width: 800px;
margin: auto;
+1 -1
View File
@@ -20,7 +20,7 @@ import SearchField from "astro-pagefind/components/Search";
}
.pagefind-ui {
font-family: "Noto Serif", serif !important;
font-family: var(--font) !important;
color: var(--text) !important;
}