Comparison

mod_http_index/http_index.html @ 4198:b1a5c2ee49c4

mod_http_index,muc_log: More CSS tweaks
author Kim Alvefur <zash@zash.se>
date Tue, 13 Oct 2020 18:37:16 +0200
parent 4196:a10e27c9a289
child 4199:7c632d7b1f52
comparison
equal deleted inserted replaced
4197:2825fa4504f0 4198:b1a5c2ee49c4
14 li{list-style:none;} 14 li{list-style:none;}
15 hr{visibility:hidden;clear:both;} 15 hr{visibility:hidden;clear:both;}
16 br{clear:both;} 16 br{clear:both;}
17 header,footer{margin:1ex 1em;} 17 header,footer{margin:1ex 1em;}
18 footer{font-size:smaller;color:#babdb6;} 18 footer{font-size:smaller;color:#babdb6;}
19 .content{background-color:white;padding:1em;list-style-position:inside;}
20 nav{font-size:large;margin:1ex 1ex;clear:both;line-height:1.5em;} 19 nav{font-size:large;margin:1ex 1ex;clear:both;line-height:1.5em;}
21 footer nav .up{display:none;} 20 footer nav .up{display:none;}
22 @media screen and (min-width: 460px) { 21 @media screen and (min-width: 460px) {
23 nav {font-size:x-large;margin:1ex 1em;} 22 nav {font-size:x-large;margin:1ex 1em;}
24 } 23 }
25 nav a,nav li{padding:1ex} 24 nav a{padding:1ex}
25 nav li,nav dt{margin:1ex}
26 .content{background-color:white;padding:1em;list-style-position:inside;} 26 .content{background-color:white;padding:1em;list-style-position:inside;}
27 @media (prefers-color-scheme: dark) { 27 @media (prefers-color-scheme: dark) {
28 html{color:#eee} 28 html{color:#eee}
29 body{background-color:#161616} 29 body{background-color:#161616}
30 .content{background-color:#1c1c1c} 30 .content{background-color:#1c1c1c}
31 footer{color:#444} 31 footer{color:#444}
32 td{color:#444}
33 .button>a{background-color:#282828} 32 .button>a{background-color:#282828}
34 } 33 }
35 </style> 34 </style>
36 </head> 35 </head>
37 <body> 36 <body>