Comparison

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
parent 3750:9002c8a2165f
comparison
equal deleted inserted replaced
4072:2dcbc01c9931 4073:f6542e51b741
42 .presence .verb{font-style:normal;color:#30c030;} 42 .presence .verb{font-style:normal;color:#30c030;}
43 .unavailable .verb{color:#c03030;} 43 .unavailable .verb{color:#c03030;}
44 .button{display:inline-block} 44 .button{display:inline-block}
45 .button>a{color:white;background-color:orange;border-radius:4px} 45 .button>a{color:white;background-color:orange;border-radius:4px}
46 form{text-align:right} 46 form{text-align:right}
47 @media (prefers-color-scheme: dark) {
48 html{color:#eee}
49 body{background-color:#161616}
50 .content{background-color:#1c1c1c}
51 footer{color:#444}
52 td{color:#444}
53 .button>a{background-color:#282828}
54 }
47 </style> 55 </style>
48 </head> 56 </head>
49 <body> 57 <body>
50 <header> 58 <header>
51 <h1 {lang&lang="{lang}"} title="xmpp:{jid?}">{title?{room.name?{jid_node}}{date& - {date}}}</h1> 59 <h1 {lang&lang="{lang}"} title="xmpp:{jid?}">{title?{room.name?{jid_node}}{date& - {date}}}</h1>