feat: theme button

This commit is contained in:
2023-08-03 20:38:04 +02:00
parent d4026fd5b3
commit 814a384295
3 changed files with 26 additions and 9 deletions

View File

@@ -40,7 +40,6 @@ h2 {
font-size: 2rem;
}
p {
font-size: 1.5rem;
}

View File

@@ -86,10 +86,24 @@ a:focus {
}
#logo {
font-size: 3rem;
font-size: 2.5rem;
font-weight: bold;
font-variant: small-caps;
}
#theme-switcher {
border: 3px solid var(--border);
width: 1.5rem;
height: 1.5rem;
border-radius: 3rem;
margin-left: auto;
background: linear-gradient(90deg, var(--border) 0%, var(--border) 50%, var(--bg) 51%, var(--bg) 100%);
}
#theme-switcher:hover {
border-color: var(--hightlight);
background: linear-gradient(90deg, var(--hightlight) 0%, var(--hightlight) 50%, var(--bg) 51%, var(--bg) 100%);
}
.account,
.sections,
#sections-menu {
@@ -150,6 +164,7 @@ button {
background: var(--bg);
color: var(--text);
margin: 0 2rem 0 0;
cursor: pointer;
}
@media screen and (max-height: 860px),
@@ -177,4 +192,9 @@ screen and (max-width: 1500px) {
.links {
display: none;
}
header,
footer {
padding: 0 1rem;
}
}