[nginx] Dark mode support in welcome and 50x error pages.
Maxim Dounin
mdounin at mdounin.ru
Mon Aug 16 13:40:43 UTC 2021
details: https://hg.nginx.org/nginx/rev/f2ddd0c491bf
branches:
changeset: 7903:f2ddd0c491bf
user: Maxim Dounin <mdounin at mdounin.ru>
date: Mon Aug 16 16:36:08 2021 +0300
description:
Dark mode support in welcome and 50x error pages.
Prodded by Duncan Lock.
diffstat:
docs/html/50x.html | 1 +
docs/html/index.html | 1 +
2 files changed, 2 insertions(+), 0 deletions(-)
diffs (22 lines):
diff -r 67c68cd973b8 -r f2ddd0c491bf docs/html/50x.html
--- a/docs/html/50x.html Mon Aug 16 16:36:06 2021 +0300
+++ b/docs/html/50x.html Mon Aug 16 16:36:08 2021 +0300
@@ -3,6 +3,7 @@
<head>
<title>Error</title>
<style>
+html { color-scheme: light dark; }
body { width: 35em; margin: 0 auto;
font-family: Tahoma, Verdana, Arial, sans-serif; }
</style>
diff -r 67c68cd973b8 -r f2ddd0c491bf docs/html/index.html
--- a/docs/html/index.html Mon Aug 16 16:36:06 2021 +0300
+++ b/docs/html/index.html Mon Aug 16 16:36:08 2021 +0300
@@ -3,6 +3,7 @@
<head>
<title>Welcome to nginx!</title>
<style>
+html { color-scheme: light dark; }
body { width: 35em; margin: 0 auto;
font-family: Tahoma, Verdana, Arial, sans-serif; }
</style>
More information about the nginx-devel
mailing list