diff mod_http_muc_log/http_muc_log.html @ 4073:f6542e51b741

mod_http_muc_log: Add a dark theme when the user asked for that.
author Emmanuel Gil Peyrot <linkmauve@linkmauve.fr>
date Tue, 18 Aug 2020 18:56:47 +0200
parents 9002c8a2165f
children
line wrap: on
line diff
--- a/mod_http_muc_log/http_muc_log.html	Wed Aug 05 16:38:49 2020 +0100
+++ b/mod_http_muc_log/http_muc_log.html	Tue Aug 18 18:56:47 2020 +0200
@@ -44,6 +44,14 @@
 .button{display:inline-block}
 .button>a{color:white;background-color:orange;border-radius:4px}
 form{text-align:right}
+@media (prefers-color-scheme: dark) {
+html{color:#eee}
+body{background-color:#161616}
+.content{background-color:#1c1c1c}
+footer{color:#444}
+td{color:#444}
+.button>a{background-color:#282828}
+}
 </style>
 </head>
 <body>