mirror of
https://codeberg.org/grunfink/snac2.git
synced 2024-11-09 19:50:26 +03:00
Added some CSS styling to the list-of-lists.
This commit is contained in:
parent
39b2db7930
commit
d8e77aca76
@ -7,7 +7,7 @@ pre { overflow-x: scroll; }
|
|||||||
.snac-top-user-name { font-size: 200% }
|
.snac-top-user-name { font-size: 200% }
|
||||||
.snac-top-user-id { font-size: 150% }
|
.snac-top-user-id { font-size: 150% }
|
||||||
.snac-announcement { border: black 1px solid; padding: 0.5em }
|
.snac-announcement { border: black 1px solid; padding: 0.5em }
|
||||||
.snac-avatar { float: left; height: 2.5em; padding: 0.25em }
|
.snac-avatar { float: left; height: 2.5em; width: 2.5em; padding: 0.25em }
|
||||||
.snac-author { font-size: 90%; text-decoration: none }
|
.snac-author { font-size: 90%; text-decoration: none }
|
||||||
.snac-author-tag { font-size: 80% }
|
.snac-author-tag { font-size: 80% }
|
||||||
.snac-pubdate { color: #a0a0a0; font-size: 90% }
|
.snac-pubdate { color: #a0a0a0; font-size: 90% }
|
||||||
@ -26,6 +26,9 @@ pre { overflow-x: scroll; }
|
|||||||
.snac-btn-unlimit { float: right; margin-left: 0.5em }
|
.snac-btn-unlimit { float: right; margin-left: 0.5em }
|
||||||
.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-link { border: 1px solid black; border-radius: 25px;
|
||||||
|
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; }
|
||||||
a { color: #7799dd }
|
a { color: #7799dd }
|
||||||
|
3
utils.c
3
utils.c
@ -69,6 +69,9 @@ static const char *default_css =
|
|||||||
".snac-btn-unlimit { float: right; margin-left: 0.5em }\n"
|
".snac-btn-unlimit { float: right; margin-left: 0.5em }\n"
|
||||||
".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-link { border: 1px solid black; border-radius: 25px;\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"
|
||||||
" a { color: #7799dd }\n"
|
" a { color: #7799dd }\n"
|
||||||
|
Loading…
Reference in New Issue
Block a user