mirror of
https://codeberg.org/grunfink/snac2.git
synced 2024-11-09 19:50:26 +03:00
Also add dark mode CSS to utils.c.
This commit is contained in:
parent
29f2160b58
commit
ceda5bab31
5
utils.c
5
utils.c
@ -62,6 +62,11 @@ static const char *default_css =
|
||||
".snac-btn-unlimit { float: right; margin-left: 0.5em }\n"
|
||||
".snac-footer { margin-top: 2em; font-size: 75% }\n"
|
||||
".snac-poll-result { margin-left: auto; margin-right: auto; }\n"
|
||||
"@media (prefers-color-scheme: dark) { \n"
|
||||
" body { background-color: #000; color: #fff; }\n"
|
||||
" a { color: #7799dd }\n"
|
||||
" a:visited { color: #aa99dd }\n"
|
||||
"}\n"
|
||||
;
|
||||
|
||||
const char *snac_blurb =
|
||||
|
Loading…
Reference in New Issue
Block a user