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 131ad941d7
CSS: navbar tweaks (responsiveness + color)
- Dark mode: make navbar links the same color as regular links so as to
not hide the fact that they are links.
- Make navbar reflow at narrow window sizes
2020-11-25 22:19:52 -08:00

24 lines
343 B
CSS

{{ if not (eq .Site.Params.dark "on") -}}
@media (prefers-color-scheme: dark) {
{{ end -}}
html{
color: white;
background: black;
}
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 -}}