summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar grunfink2025-06-28 22:46:38 +0200
committerGravatar grunfink2025-06-28 22:46:38 +0200
commit23157768d1b94b0a4147b16e5a4272bbf2de1ad5 (patch)
tree141cc25d29766e554b049f54d972c7abd7824b8f
parentAdded an actor refresh in html_entry(). (diff)
downloadsnac2-23157768d1b94b0a4147b16e5a4272bbf2de1ad5.tar.gz
snac2-23157768d1b94b0a4147b16e5a4272bbf2de1ad5.tar.xz
snac2-23157768d1b94b0a4147b16e5a4272bbf2de1ad5.zip
Minor CSS tweak.
-rw-r--r--doc/style.css1
-rw-r--r--utils.c1
2 files changed, 2 insertions, 0 deletions
diff --git a/doc/style.css b/doc/style.css
index 027fc43..5289332 100644
--- a/doc/style.css
+++ b/doc/style.css
@@ -1,5 +1,6 @@
1body { max-width: 48em; margin: auto; line-height: 1.5; padding: 0.8em; word-wrap: break-word; } 1body { max-width: 48em; margin: auto; line-height: 1.5; padding: 0.8em; word-wrap: break-word; }
2pre { overflow-x: scroll; } 2pre { overflow-x: scroll; }
3blockquote { font-style: italic; }
3.snac-embedded-video, img { max-width: 100% } 4.snac-embedded-video, img { max-width: 100% }
4.snac-origin { font-size: 85% } 5.snac-origin { font-size: 85% }
5.snac-score { float: right; font-size: 85% } 6.snac-score { float: right; font-size: 85% }
diff --git a/utils.c b/utils.c
index f0307cc..8db20bd 100644
--- a/utils.c
+++ b/utils.c
@@ -45,6 +45,7 @@ static const char *default_srv_config = "{"
45static const char *default_css = 45static const char *default_css =
46 "body { max-width: 48em; margin: auto; line-height: 1.5; padding: 0.8em; word-wrap: break-word; }\n" 46 "body { max-width: 48em; margin: auto; line-height: 1.5; padding: 0.8em; word-wrap: break-word; }\n"
47 "pre { overflow-x: scroll; }\n" 47 "pre { overflow-x: scroll; }\n"
48 "blockquote { font-style: italic; }\n"
48 ".snac-embedded-video, img { max-width: 100% }\n" 49 ".snac-embedded-video, img { max-width: 100% }\n"
49 ".snac-origin { font-size: 85% }\n" 50 ".snac-origin { font-size: 85% }\n"
50 ".snac-score { float: right; font-size: 85% }\n" 51 ".snac-score { float: right; font-size: 85% }\n"