summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMaxim Dounin <mdounin@mdounin.ru>2021-08-16 16:36:08 +0300
committerMaxim Dounin <mdounin@mdounin.ru>2021-08-16 16:36:08 +0300
commitb381cbc085502b76a1db3f4439ccec5bb01b5a54 (patch)
treea170b168503524dff6a974c22e5592be34767433
parente455bcedf73ad8aff8b0acd1101b3f8cbde9ff37 (diff)
downloadnginx-b381cbc085502b76a1db3f4439ccec5bb01b5a54.tar.gz
Dark mode support in welcome and 50x error pages.
Prodded by Duncan Lock.
-rw-r--r--docs/html/50x.html1
-rw-r--r--docs/html/index.html1
2 files changed, 2 insertions, 0 deletions
diff --git a/docs/html/50x.html b/docs/html/50x.html
index 7dd7c909c..a57c2f93d 100644
--- 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>
diff --git a/docs/html/index.html b/docs/html/index.html
index 09638f717..e8f562255 100644
--- 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>