X-Git-Url: https://git.rvb.name/esp-clock.git/blobdiff_plain/dab14a20e37e760a82b72f50f765caa26fff556e..0174683f7a6c4fb500e69b4eaffc6613bb865617:/data/web/style.css diff --git a/data/web/style.css b/data/web/style.css index c83b684..1f818db 100644 --- a/data/web/style.css +++ b/data/web/style.css @@ -1237,7 +1237,14 @@ input[type=range]:focus::-ms-fill-upper { display:none } footer { - text-align:center + text-align:center; + position: absolute; + bottom: 1rem; + width: 100% +} +footer a { + display: inline-block; + text-decoration: none } .notification { float: right; @@ -1331,12 +1338,14 @@ label.switch.socket input[type=checkbox]:checked + span.slider:after { background: white; left: 2.4em; } +.week { + width: 100%; +} .weekday, .weekday-selected { - font-size: 110%; + font-size: min(4vw, 1.5rem); text-align: center; - margin: 0.5em; - width: 4em; - height: 1.5em; + margin: 0.5vw; + padding: 0.4em; border-radius: 5em; border:2px solid #2497e3; box-shadow:inset 0 1px 11px 0 #1f8dd6; @@ -1346,3 +1355,6 @@ label.switch.socket input[type=checkbox]:checked + span.slider:after { background: #0a3660; color: white } +#layout { + min-height: 100vh; +}