default css: also darken <input> and <textarea>

Signed-off-by: Yonle <yonle@lecturify.net>
This commit is contained in:
Yonle 2024-02-24 00:48:21 +07:00
parent 5a2ab086ae
commit d42aaa19e4
2 changed files with 2 additions and 2 deletions

View file

@ -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 }
}

View file

@ -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"