mirror of
https://codeberg.org/grunfink/snac2.git
synced 2024-12-26 01:03:37 +00:00
default css: also darken <input> and <textarea>
Signed-off-by: Yonle <yonle@lecturify.net>
This commit is contained in:
parent
5a2ab086ae
commit
d42aaa19e4
2 changed files with 2 additions and 2 deletions
|
@ -26,7 +26,7 @@ pre { overflow-x: scroll; }
|
|||
.snac-footer { margin-top: 2em; font-size: 75% }
|
||||
.snac-poll-result { margin-left: auto; margin-right: auto; }
|
||||
@media (prefers-color-scheme: dark) {
|
||||
body { background-color: #000; color: #fff; }
|
||||
body, input, textarea { background-color: #000; color: #fff; }
|
||||
a { color: #7799dd }
|
||||
a:visited { color: #aa99dd }
|
||||
}
|
||||
|
|
2
utils.c
2
utils.c
|
@ -66,7 +66,7 @@ static const char *default_css =
|
|||
".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"
|
||||
" body, input, textarea { background-color: #000; color: #fff; }\n"
|
||||
" a { color: #7799dd }\n"
|
||||
" a:visited { color: #aa99dd }\n"
|
||||
"}\n"
|
||||
|
|
Loading…
Reference in a new issue