- dark mode

This commit is contained in:
Peter Papp
2021-04-06 07:23:43 +02:00
parent 2ca4d4a02d
commit e0daa46b50
12 changed files with 280 additions and 588 deletions

View File

@@ -151,4 +151,19 @@
display: none;
}
}
@media (prefers-color-scheme: dark) {
.navigation {
.links li a {
color: $dark-mode-text;
}
&.white {
background: rgba(darken($theme-bg-dark, 10%), 0.9);
backdrop-filter: blur(18px);
}
}
}
</style>