mirror of
https://codeberg.org/grunfink/snac2.git
synced 2024-11-09 19:50:26 +03:00
Minor default CSS tweak.
This commit is contained in:
parent
ae815746d5
commit
7030fd29f9
@ -27,7 +27,7 @@ pre { overflow-x: scroll; }
|
|||||||
.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; }
|
||||||
.snac-list-of-lists { display: flex; list-style: none; padding-left: 0; }
|
.snac-list-of-lists { display: flex; list-style: none; padding-left: 0; }
|
||||||
.snac-list-link { border: 1px solid black; border-radius: 25px;
|
.snac-list-link { border: 1px solid #a0a0a0; border-radius: 25px;
|
||||||
margin-right: 0.5em; padding-left: 0.5em; padding-right: 0.5em; }
|
margin-right: 0.5em; padding-left: 0.5em; padding-right: 0.5em; }
|
||||||
@media (prefers-color-scheme: dark) {
|
@media (prefers-color-scheme: dark) {
|
||||||
body, input, textarea { background-color: #000; color: #fff; }
|
body, input, textarea { background-color: #000; color: #fff; }
|
||||||
|
2
utils.c
2
utils.c
@ -70,7 +70,7 @@ static const char *default_css =
|
|||||||
".snac-footer { margin-top: 2em; font-size: 75% }\n"
|
".snac-footer { margin-top: 2em; font-size: 75% }\n"
|
||||||
".snac-poll-result { margin-left: auto; margin-right: auto; }\n"
|
".snac-poll-result { margin-left: auto; margin-right: auto; }\n"
|
||||||
".snac-list-of-lists { display: flex; list-style: none; padding-left: 0; }\n"
|
".snac-list-of-lists { display: flex; list-style: none; padding-left: 0; }\n"
|
||||||
".snac-list-link { border: 1px solid black; border-radius: 25px;\n"
|
".snac-list-link { border: 1px solid #a0a0a0; border-radius: 25px;\n"
|
||||||
" margin-right: 0.5em; padding-left: 0.5em; padding-right: 0.5em; }\n"
|
" margin-right: 0.5em; padding-left: 0.5em; padding-right: 0.5em; }\n"
|
||||||
"@media (prefers-color-scheme: dark) { \n"
|
"@media (prefers-color-scheme: dark) { \n"
|
||||||
" body, input, textarea { background-color: #000; color: #fff; }\n"
|
" body, input, textarea { background-color: #000; color: #fff; }\n"
|
||||||
|
Loading…
Reference in New Issue
Block a user