From 31322b6cb93899f0f2e919304b03061460d7c2a0 Mon Sep 17 00:00:00 2001 From: Scott Bragg Date: Sun, 13 Nov 2016 17:17:51 +1100 Subject: [PATCH] Additional styles to make the schedule timetable look better with our theme --- static/src/lca2017/css/app.css | 36 ++++++++++++++++++++++++++++++++++ 1 file changed, 36 insertions(+) diff --git a/static/src/lca2017/css/app.css b/static/src/lca2017/css/app.css index 1f901071..b549bde7 100644 --- a/static/src/lca2017/css/app.css +++ b/static/src/lca2017/css/app.css @@ -1607,6 +1607,42 @@ table.alt tr:not(:last-of-type) { margin-top: 2em; } +/* Schedule timetable needs some more specific font sizes */ + +.calendar td { + vertical-align: top; + font-size: 0.9vw; +} + +.slot { + padding-left: 0.625rem; + padding-top: 0.2rem; + padding-bottom: 0.625rem; + padding-right: 0.625rem; +} + +.calendar th { + border-bottom: 1px solid #0c486c; + border-left: 0px !important; +} + +.calendar .title { + display: block; + padding-bottom: 0.5vh; +} + +.slot-shortbreak { + color: #fff ; +} + +.time { + font-size: 0.5vw; + line-height: 0.4; + vertical-align: top; + padding-top: 0.25rem; +} + + /* ------------------------------------------------------------------------------------------------ Shame