mirror of
https://codeberg.org/grunfink/snac2.git
synced 2024-11-25 06:25:04 +00:00
Updated CSS in utils.c.
This commit is contained in:
parent
f23d2c05ab
commit
ca0262f6b2
1 changed files with 5 additions and 3 deletions
8
utils.c
8
utils.c
|
@ -31,8 +31,9 @@ const char *default_srv_config = "{"
|
||||||
"}";
|
"}";
|
||||||
|
|
||||||
const char *default_css =
|
const char *default_css =
|
||||||
"body { max-width: 48em; margin: auto; line-height: 1.5; padding: 0.8em }\n"
|
"body { max-width: 48em; margin: auto; line-height: 1.5; padding: 0.8em; word-wrap: break-word; }\n"
|
||||||
"img { max-width: 100% }\n"
|
"pre { overflow-x: scroll; }\n"
|
||||||
|
".snac-embedded-video, img { max-width: 100% }\n"
|
||||||
".snac-origin { font-size: 85% }\n"
|
".snac-origin { font-size: 85% }\n"
|
||||||
".snac-score { float: right; font-size: 85% }\n"
|
".snac-score { float: right; font-size: 85% }\n"
|
||||||
".snac-top-user { text-align: center; padding-bottom: 2em }\n"
|
".snac-top-user { text-align: center; padding-bottom: 2em }\n"
|
||||||
|
@ -54,7 +55,8 @@ const char *default_css =
|
||||||
".snac-btn-hide { float: right; margin-left: 0.5em }\n"
|
".snac-btn-hide { float: right; margin-left: 0.5em }\n"
|
||||||
".snac-btn-delete { float: right; margin-left: 0.5em }\n"
|
".snac-btn-delete { 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"
|
||||||
|
;
|
||||||
|
|
||||||
const char *greeting_html =
|
const char *greeting_html =
|
||||||
"<!DOCTYPE html>\n"
|
"<!DOCTYPE html>\n"
|
||||||
|
|
Loading…
Reference in a new issue