From b9b068e11dff9c57c050a5f67d111ed8fe41e076 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Hugo=20H=C3=B6rnquist?= Date: Sat, 4 Apr 2020 01:46:27 +0200 Subject: Add header for month layout. --- static/style.css | 15 ++++++++++++++- 1 file changed, 14 insertions(+), 1 deletion(-) (limited to 'static') diff --git a/static/style.css b/static/style.css index e871d1fd..7bfdf42b 100644 --- a/static/style.css +++ b/static/style.css @@ -17,8 +17,8 @@ html, body { grid-template-rows: auto; grid-template-areas: + "main main nav" "main main cal" - "main main nav" "main main details" "main main events" "footer footer events"; @@ -28,6 +28,7 @@ html, body { .root { grid-template-areas: "main main" + "nav events" "cal events" "details events" ". events" @@ -45,6 +46,12 @@ html, body { .root main { min-width: 0; /* for wide */ min-height: 0; /* for tall */ + + /* apparently required if one wants to have multiple + items within main, without it overflowing + */ + display: flex; + flex-direction: column; } /* Page footer @@ -281,6 +288,12 @@ along with their colors. color: gray; } +.table-head { + font-size: 200%; + text-align: center; +} + + /* Weekly calendar ---------------------------------------- */ -- cgit v1.2.3