1
0
Fork 0
mirror of https://git.sr.ht/~seirdy/seirdy.one synced 2024-11-10 00:12:09 +00:00
seirdy.one/themes/etch-custom/assets/css/dark.css
rohan kumar f04f293bdc
Simplify/reduce custom colors
- Make default stylesheet use browser preferred colors
- Stop using css vars for better compatibility with old browsers
2020-11-24 17:09:26 -08:00

28 lines
405 B
CSS

{{ if not (eq .Site.Params.dark "on") -}}
@media (prefers-color-scheme: dark) {
{{ end -}}
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 pre,
main#content code {
border: 1px solid #222;
}
{{- if not (eq .Site.Params.dark "on") -}}
}
{{- end -}}