mirror.dongdigua.github.io/css/dark.css

22 lines
435 B
CSS
Raw Normal View History

2024-11-18 17:51:32 +08:00
/* minimal darkmode
this sucks. but I don't want to edit main.css shit */
@media (prefers-color-scheme: dark) {
* {
background-color: #1e1e2e !important;
color: #cdd6f4 !important;
}
h2, h3, h4 {
color: #b4befe !important;
}
img {
filter: grayscale(50%);
}
a {
color: #89b4fa !important;
}
pre, pre span, code {
color: #a6e3a1 !important;
}
}