changeset 7903:f2ddd0c491bf

Dark mode support in welcome and 50x error pages. Prodded by Duncan Lock.
author Maxim Dounin <mdounin@mdounin.ru>
date Mon, 16 Aug 2021 16:36:08 +0300
parents 67c68cd973b8
children 419c066cb710
files docs/html/50x.html docs/html/index.html
diffstat 2 files changed, 2 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/docs/html/50x.html
+++ b/docs/html/50x.html
@@ -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>
--- a/docs/html/index.html
+++ b/docs/html/index.html
@@ -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>