Mercurial > prosody-modules
comparison mod_http_index/http_index.html @ 4195:796c0eef888c
mod_http_index, mod_http_muc_log: Tweak navigation element margins
CSS, how does it work?!?
author | Kim Alvefur <zash@zash.se> |
---|---|
date | Mon, 12 Oct 2020 19:16:46 +0200 |
parents | 13bcdfd9c714 |
children | a10e27c9a289 |
comparison
equal
deleted
inserted
replaced
4194:13bcdfd9c714 | 4195:796c0eef888c |
---|---|
20 nav{font-size:large;margin:1ex 1ex;clear:both;line-height:1.5em;} | 20 nav{font-size:large;margin:1ex 1ex;clear:both;line-height:1.5em;} |
21 footer nav .up{display:none;} | 21 footer nav .up{display:none;} |
22 @media screen and (min-width: 460px) { | 22 @media screen and (min-width: 460px) { |
23 nav {font-size:x-large;margin:1ex 1em;} | 23 nav {font-size:x-large;margin:1ex 1em;} |
24 } | 24 } |
25 nav a{padding: 1ex;} | 25 nav a{padding: 1ex;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} |