mirror of
https://codeberg.org/grunfink/snac2.git
synced 2024-11-22 05:15:04 +00:00
Also add dark mode CSS to utils.c.
This commit is contained in:
parent
29f2160b58
commit
ceda5bab31
1 changed files with 5 additions and 0 deletions
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 a new issue