style.css: support prefers-color-scheme: dark

This commit is contained in:
khm 2024-02-02 16:11:00 -08:00
parent 5563a41ed0
commit a942a9cb0c

View file

@ -25,3 +25,8 @@ pre { overflow-x: scroll; }
.snac-btn-unlimit { float: right; margin-left: 0.5em } .snac-btn-unlimit { float: right; margin-left: 0.5em }
.snac-footer { margin-top: 2em; font-size: 75% } .snac-footer { margin-top: 2em; font-size: 75% }
.snac-poll-result { margin-left: auto; margin-right: auto; } .snac-poll-result { margin-left: auto; margin-right: auto; }
@media (prefers-color-scheme: dark) {
body { background-color: #000; color: #fff; }
a { color: #7799dd }
a:visited { color: #aa99dd }
}