Use dark navigation for dark mode

This is more consistent and pleasant on the eyes.
This commit is contained in:
Joshua Ramon Enslin 2022-11-08 21:40:28 +01:00
parent ab9c955ec1
commit 952c0b9b1f
Signed by: jrenslin
GPG Key ID: 46016F84501B70AE
2 changed files with 8 additions and 1 deletions

View File

@ -223,3 +223,10 @@ header#mainHeader > a:hover > img { opacity: .7; }
header nav:hover > div a { display: block; padding: .2em 0; } header nav:hover > div a { display: block; padding: .2em 0; }
header { padding: 0 1em; } header { padding: 0 1em; }
} }
@media (prefers-color-scheme: dark) {
header#mainHeader,
header nav,
header nav > div > div { background: inherit; color: inherit; }
header#mainHeader { border-bottom: 1px solid var(--color-bg-raised2); }
}

File diff suppressed because one or more lines are too long