Mercurial > prosody-modules
changeset 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 | 2dcbc01c9931 |
children | 4b84beb48ba0 |
files | mod_http_muc_log/http_muc_log.html |
diffstat | 1 files changed, 8 insertions(+), 0 deletions(-) [+] |
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>