diff options
| author | postscriptum <postscriptum@project> | 2025-05-20 21:29:17 +0300 |
|---|---|---|
| committer | postscriptum <postscriptum@project> | 2025-05-20 21:29:17 +0300 |
| commit | bf94f6af7741f488f96deb16071707f11e692550 (patch) | |
| tree | df63ab28281530b8f037946fbd707a9c2dd64c3d /utils.c | |
| parent | 072ae21013dc924c6bb3378a2480b571a66aba98 (diff) | |
make greetings theme adaptive; define style in header
Diffstat (limited to 'utils.c')
| -rw-r--r-- | utils.c | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -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" |