From b697acb6a32d12987b60c94990a56271b956c5e5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Hugo=20H=C3=B6rnquist?= Date: Fri, 10 May 2019 22:53:17 +0200 Subject: Update CSS. --- static/style.css | 28 +++++++++++++++++++++++----- 1 file changed, 23 insertions(+), 5 deletions(-) (limited to 'static') diff --git a/static/style.css b/static/style.css index 5017e5ef..5f33d4ff 100644 --- a/static/style.css +++ b/static/style.css @@ -47,17 +47,21 @@ .sideinfo { width: 20em; height: 100%; + display: flex; + flex-direction: column; } .sideinfo .about { display: flex; justify-content: center; - height: 20%; +} + +.sideinfo .about > div { + margin: 1em; } .sideinfo .eventlist { overflow: scroll; - max-height: 80%; } .sideinfo .eventlist article { @@ -68,7 +72,7 @@ padding-left: 2px; } -.sideinfo .eventlist main { +.sideinfo .eventlist { white-space: pre-line; font-size: 10pt; } @@ -85,10 +89,16 @@ text-decoration: none; } -.calendar { - height: 100%; +.root main { max-width: calc(100% - 20em); display: flex; + flex-direction: column; +} + +.calendar { + width: 100%; + display: flex; + flex-grow: 2; } .clockbar { @@ -206,6 +216,14 @@ z-index: 0; } +.root footer { + font-family: monospace; +} + +.root footer span { + margin: 0 1em; +} + .event.continuing { border-bottom: none; background-image: linear-gradient(to top, #0007 0%,#FFF0 4em); -- cgit v1.2.3