diff options
| author | 2025-05-20 23:08:49 +0200 | |
|---|---|---|
| committer | 2025-05-20 23:08:49 +0200 | |
| commit | 5059fadf34b79a9f596313b0bd859c1eb89342ae (patch) | |
| tree | 7b4936bdb5ea07c7dd617d508c487d70020f0146 | |
| parent | Updated RELEASE_NOTES. (diff) | |
| parent | make greetings theme adaptive; define style in header (diff) | |
| download | penes-snac2-5059fadf34b79a9f596313b0bd859c1eb89342ae.tar.gz penes-snac2-5059fadf34b79a9f596313b0bd859c1eb89342ae.tar.xz penes-snac2-5059fadf34b79a9f596313b0bd859c1eb89342ae.zip | |
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
| -rw-r--r-- | utils.c | 3 |
1 files changed, 2 insertions, 1 deletions
| @@ -101,8 +101,9 @@ static const char *greeting_html = | |||
| 101 | "<html><head>\n" | 101 | "<html><head>\n" |
| 102 | "<meta name=\"viewport\" content=\"width=device-width, initial-scale=1\"/>\n" | 102 | "<meta name=\"viewport\" content=\"width=device-width, initial-scale=1\"/>\n" |
| 103 | "<link rel=\"icon\" type=\"image/x-icon\" href=\"https://%host%/favicon.ico\"/>\n" | 103 | "<link rel=\"icon\" type=\"image/x-icon\" href=\"https://%host%/favicon.ico\"/>\n" |
| 104 | "<style>*{color-scheme:light dark}body{margin:auto;max-width:50em}</style>\n" | ||
| 104 | "<title>Welcome to %host%</title>\n</head>\n" | 105 | "<title>Welcome to %host%</title>\n</head>\n" |
| 105 | "<body style=\"margin: auto; max-width: 50em\">\n" | 106 | "<body>\n" |
| 106 | "%blurb%" | 107 | "%blurb%" |
| 107 | "<p>The following users are part of this community:</p>\n" | 108 | "<p>The following users are part of this community:</p>\n" |
| 108 | "\n" | 109 | "\n" |