commit bf94f6a
postscriptum
·
2025-05-20 18:29:17 +0000 UTC
parent 072ae21
make greetings theme adaptive; define style in header
1 files changed,
+2,
-1
M
utils.c
M
utils.c
+2,
-1
1@@ -101,8 +101,9 @@ static const char *greeting_html =
2 "<html><head>\n"
3 "<meta name=\"viewport\" content=\"width=device-width, initial-scale=1\"/>\n"
4 "<link rel=\"icon\" type=\"image/x-icon\" href=\"https://%host%/favicon.ico\"/>\n"
5+ "<style>*{color-scheme:light dark}body{margin:auto;max-width:50em}</style>\n"
6 "<title>Welcome to %host%</title>\n</head>\n"
7- "<body style=\"margin: auto; max-width: 50em\">\n"
8+ "<body>\n"
9 "%blurb%"
10 "<p>The following users are part of this community:</p>\n"
11 "\n"