Implemented theme switcher (light/dark)

This commit is contained in:
eline
2023-05-06 18:13:12 +02:00
parent 1e0dbade3b
commit bdddddb342
38 changed files with 541 additions and 183 deletions

View File

@@ -1,3 +1,3 @@
.main img {
#mesh {
display: none;
}

View File

@@ -65,6 +65,7 @@ footer {
font-size: 1.3rem;
line-height: 2rem;
max-width: 120ch;
overflow-y: auto;
}
a,
@@ -95,7 +96,7 @@ a:focus {
font-size: 2rem
}
.main img {
#mesh {
position: absolute;
bottom: 5rem;
right: 0;
@@ -115,4 +116,13 @@ a:focus {
display: flex;
flex-direction: row;
align-items: center;
}
button {
font-style: italic;
font-weight: lighter;
border: none;
background: var(--bg);
color: var(--text);
margin: 0 4rem 0 0;
}