Use dark navigation for dark mode
This is more consistent and pleasant on the eyes.
This commit is contained in:
parent
ab9c955ec1
commit
952c0b9b1f
|
@ -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); }
|
||||||
|
}
|
||||||
|
|
2
public/assets/css/csvxml.min.css
vendored
2
public/assets/css/csvxml.min.css
vendored
File diff suppressed because one or more lines are too long
Loading…
Reference in New Issue
Block a user