diff options
| author | 2024-02-24 06:39:59 +0000 | |
|---|---|---|
| committer | 2024-02-24 06:39:59 +0000 | |
| commit | 8126fb97ce1636e027a5858e72cf6d1d1d62670f (patch) | |
| tree | af0c23df0a6c7285bd5057501a5683179d442558 | |
| parent | Merge pull request 'utils.c: *default_srv_config: add configuration for min_a... (diff) | |
| parent | default css: also darken <input> and <textarea> (diff) | |
| download | snac2-8126fb97ce1636e027a5858e72cf6d1d1d62670f.tar.gz snac2-8126fb97ce1636e027a5858e72cf6d1d1d62670f.tar.xz snac2-8126fb97ce1636e027a5858e72cf6d1d1d62670f.zip | |
Merge pull request 'html.c: html_user_body: snac-property: Put (empty space) instead of <br> & other' (#142) from Yonle/snac2:master into master
Reviewed-on: https://codeberg.org/grunfink/snac2/pulls/142
| -rw-r--r-- | doc/style.css | 2 | ||||
| -rw-r--r-- | html.c | 2 | ||||
| -rw-r--r-- | utils.c | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/doc/style.css b/doc/style.css index b1f2163..a133db6 100644 --- a/doc/style.css +++ b/doc/style.css | |||
| @@ -26,7 +26,7 @@ pre { overflow-x: scroll; } | |||
| 26 | .snac-footer { margin-top: 2em; font-size: 75% } | 26 | .snac-footer { margin-top: 2em; font-size: 75% } |
| 27 | .snac-poll-result { margin-left: auto; margin-right: auto; } | 27 | .snac-poll-result { margin-left: auto; margin-right: auto; } |
| 28 | @media (prefers-color-scheme: dark) { | 28 | @media (prefers-color-scheme: dark) { |
| 29 | body { background-color: #000; color: #fff; } | 29 | body, input, textarea { background-color: #000; color: #fff; } |
| 30 | a { color: #7799dd } | 30 | a { color: #7799dd } |
| 31 | a:visited { color: #aa99dd } | 31 | a:visited { color: #aa99dd } |
| 32 | } | 32 | } |
| @@ -820,7 +820,7 @@ static xs_html *html_user_body(snac *user, int read_only) | |||
| 820 | xs_html_attr("class", "snac-property-name"), | 820 | xs_html_attr("class", "snac-property-name"), |
| 821 | xs_html_text(k)), | 821 | xs_html_text(k)), |
| 822 | xs_html_text(":"), | 822 | xs_html_text(":"), |
| 823 | xs_html_sctag("br", NULL), | 823 | xs_html_raw(" "), |
| 824 | xs_html_tag("span", | 824 | xs_html_tag("span", |
| 825 | xs_html_attr("class", "snac-property-value"), | 825 | xs_html_attr("class", "snac-property-value"), |
| 826 | value), | 826 | value), |
| @@ -66,7 +66,7 @@ static const char *default_css = | |||
| 66 | ".snac-footer { margin-top: 2em; font-size: 75% }\n" | 66 | ".snac-footer { margin-top: 2em; font-size: 75% }\n" |
| 67 | ".snac-poll-result { margin-left: auto; margin-right: auto; }\n" | 67 | ".snac-poll-result { margin-left: auto; margin-right: auto; }\n" |
| 68 | "@media (prefers-color-scheme: dark) { \n" | 68 | "@media (prefers-color-scheme: dark) { \n" |
| 69 | " body { background-color: #000; color: #fff; }\n" | 69 | " body, input, textarea { background-color: #000; color: #fff; }\n" |
| 70 | " a { color: #7799dd }\n" | 70 | " a { color: #7799dd }\n" |
| 71 | " a:visited { color: #aa99dd }\n" | 71 | " a:visited { color: #aa99dd }\n" |
| 72 | "}\n" | 72 | "}\n" |