mirror of
https://git.sr.ht/~seirdy/seirdy.one
synced 2024-11-10 08:12:11 +00:00
712ca3737c
Comply with the upcoming article on best practices for textual websites.
33 lines
439 B
CSS
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 -}}
|