snac2

Fork of https://codeberg.org/grunfink/snac2
git clone https://git.inz.fi/snac2
Log | Files | Refs | README | LICENSE

commit 5059fadf34b79a9f596313b0bd859c1eb89342ae
parent 2b2b66ed8d510a789fb7158ecfb2c120744eccb9
Author: grunfink <grunfink@noreply.codeberg.org>
Date:   Tue, 20 May 2025 23:08:49 +0200

Merge pull request 'make greetings theme adaptive; define style in header' (#397) from postscriptum/snac2:adaptive-greeting-page into master

Reviewed-on: https://codeberg.org/grunfink/snac2/pulls/397

Diffstat:
Mutils.c | 3++-
1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/utils.c b/utils.c @@ -101,8 +101,9 @@ static const char *greeting_html = "<html><head>\n" "<meta name=\"viewport\" content=\"width=device-width, initial-scale=1\"/>\n" "<link rel=\"icon\" type=\"image/x-icon\" href=\"https://%host%/favicon.ico\"/>\n" + "<style>*{color-scheme:light dark}body{margin:auto;max-width:50em}</style>\n" "<title>Welcome to %host%</title>\n</head>\n" - "<body style=\"margin: auto; max-width: 50em\">\n" + "<body>\n" "%blurb%" "<p>The following users are part of this community:</p>\n" "\n"