# HG changeset patch # User Emmanuel Gil Peyrot # Date 1597769807 -7200 # Node ID f6542e51b741009b9453a03a7a307685b0530167 # Parent 2dcbc01c99311acf9a69fc482f4cb9609fe61ffa mod_http_muc_log: Add a dark theme when the user asked for that. diff -r 2dcbc01c9931 -r f6542e51b741 mod_http_muc_log/http_muc_log.html --- 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} +}