1
0
mirror of https://github.com/osmarks/mycorrhiza.git synced 2024-10-30 03:36:16 +00:00

Dark theme for the top bar

This commit is contained in:
Timur Ismagilov 2021-07-15 21:08:20 +05:00
parent 2ace86b9ed
commit 354ba66da3

View File

@ -600,6 +600,24 @@ kbd {
color: black;
text-decoration: none;
}
.top-bar__home-link:hover,
.auth-links__link:hover,
.top-bar__highlight-link:hover {
background-color: #eee;
}
@media (prefers-color-scheme: dark) {
.top-bar a {
color: #ddd;
}
.top-bar__home-link:hover,
.auth-links__link:hover,
.top-bar__highlight-link:hover {
background-color: #444;
}
}
@media screen and (min-width: 800px) {
.top-bar {
padding: 0;
@ -661,9 +679,4 @@ kbd {
display: block;
padding: 0 .5rem;
}
.top-bar__home-link:hover,
.auth-links__link:hover,
.top-bar__highlight-link:hover {
background-color: #eee;
}
}