theme changes

This commit is contained in:
Maddie H 2023-04-15 20:27:06 +01:00
parent fe92cc06dd
commit 4aa65d2007
Signed by: maddie
GPG Key ID: C296DE8C9053683F

View File

@ -1,10 +1,17 @@
:root {
--background: #1E2127;
--foreground: #FFFFFF;
--secondary: #ABB2BF;
--tertiary: #5C6370;
}
/* LAYOUT */ /* LAYOUT */
body { body {
font-family: "Iosevka Nerd Font", "Iosevka", "JetBrainsMono Nerd Font", "JetBrainsMono", monospace; font-family: "Iosevka Nerd Font", "Iosevka", "JetBrainsMono Nerd Font", "JetBrainsMono", monospace;
background-color: #000000; background-color: var(--background);
color: #FFFFFF; color: var(--foreground);
line-height: 1.5; line-height: 1.5;
max-width: 45rem; max-width: 50rem;
padding: 1rem; padding: 1rem;
margin: 0 auto; margin: 0 auto;
} }
@ -13,33 +20,6 @@ body {
margin-bottom: 2rem; margin-bottom: 2rem;
} }
/* TYPOGRAPHY */
h1 {
font-size: 25px;
}
h2 {
font-size: 17.5px;
}
h3, p, li {
font-size: 15px;
}
hr {
margin: 0;
color: white;
}
a {
color: inherit;
}
time {
color: grey;
font-style: italic;
}
/* NAVIGATION */ /* NAVIGATION */
.site-nav { .site-nav {
display: flex; display: flex;
@ -52,10 +32,6 @@ time {
padding: 0.3rem; padding: 0.3rem;
} }
a:hover {
background-color: gray;
}
.site-nav .logo { .site-nav .logo {
font-weight: bold; font-weight: bold;
padding-left: 0; padding-left: 0;
@ -88,3 +64,34 @@ a:hover {
.post-snippet h3 { .post-snippet h3 {
margin-bottom: 0.25rem; margin-bottom: 0.25rem;
} }
/* TYPOGRAPHY */
h1 {
font-size: 25px;
}
h2 {
font-size: 17.5px;
}
h3, p, li {
font-size: 15px;
}
hr {
margin: 0;
color: white;
}
a {
color: inherit;
}
a:hover {
background-color: var(--tertiary);
}
time {
color: var(--secondary);
font-style: italic;
}