CSS: use dark mode browser UI when in dark mode - gopherproxy-c - Gopher HTTP proxy in C (CGI)
(HTM) git clone git://git.codemadness.org/gopherproxy-c
(DIR) Log
(DIR) Files
(DIR) Refs
(DIR) README
(DIR) LICENSE
---
(DIR) commit 9f2717d76730fa22c7e533a0a42695d6783e3d20
(DIR) parent 1d29587a28d81e13a3a7f4f3712dd408ce5726e0
(HTM) Author: Hiltjo Posthuma <hiltjo@codemadness.org>
Date: Wed, 30 Aug 2023 21:25:15 +0200
CSS: use dark mode browser UI when in dark mode
Diffstat:
M gopherproxy.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
(DIR) diff --git a/gopherproxy.c b/gopherproxy.c
@@ -703,7 +703,7 @@ main(void)
"Gopher HTTP proxy</title>\n"
"<style type=\"text/css\">\n"
"a { text-decoration: none; } a:hover { text-decoration: underline; }\n"
- "@media (prefers-color-scheme: dark) { body { background-color: #000; color: #bdbdbd; } a { color: #56c8ff; } }\n"
+ "@media (prefers-color-scheme: dark) { body { background-color: #000; color: #bdbdbd; color-scheme: dark; } a { color: #56c8ff; } }\n"
"</style>\n"
"<meta name=\"robots\" content=\"noindex, nofollow\" />\n"
"<meta name=\"robots\" content=\"none\" />\n"