1
0
Fork 0
mirror of https://git.sr.ht/~seirdy/seirdy.one synced 2024-11-27 14:12:09 +00:00
seirdy.one/themes/etch-custom/assets/css/dark.css
rohan kumar 712ca3737c
Simplify styling
Comply with the upcoming article on best practices for textual websites.
2020-11-23 15:47:27 -08:00

33 lines
439 B
CSS

{{ if not (eq .Site.Params.dark "on") -}}
@media (prefers-color-scheme: dark) {
{{ end -}}
:root {
--dim-text: #a7a7a7;
--shaded-bg: #222;
}
html{
color: white;
background: black;
}
header#banner a {
color: white;
}
main#content a, footer a {
color: #00b1ed;
}
main#content hr {
border-color: #5c5c5c;
}
main#content #toc h4 {
color: #d4d4d4;
}
{{- if not (eq .Site.Params.dark "on") -}}
}
{{- end -}}