From 75a6669e5370dd683502b9f11befc0ff657f0c61 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Hugo=20H=C3=B6rnquist?= Date: Mon, 23 Mar 2020 00:41:20 +0100 Subject: Change style for continuing and continued long events HTML. --- static/style.css | 20 ++++++++++++++------ 1 file changed, 14 insertions(+), 6 deletions(-) (limited to 'static') diff --git a/static/style.css b/static/style.css index 44322d63..70e2ade7 100644 --- a/static/style.css +++ b/static/style.css @@ -343,23 +343,31 @@ html, body { /* */ +.longevents .event { + border-radius: 1em; + padding-left: 1em; +} + .longevents .event.continuing { border-right: none; - background-image: linear-gradient(to left, #0007 0%,#FFF0 4em); + /* background-image: linear-gradient(to left, #0007 0%,#FFF0 4em); */ + border-radius: 1em 0 0 1em; } .longevents .event.continued { border-left: none; - background-image: linear-gradient(to right, #FFF7 0%,#FFF0 6em); + /* background-image: linear-gradient(to right, #FFF7 0%,#FFF0 6em); */ + border-radius: 0 1em 1em 0; } .longevents .event.continued.continuing { border-left: none; border-right: none; - background-image: - linear-gradient(to right, - #FFF7 0%, #FFF0 10%, - #FFF0 90%, #0007 100%); + /* background-image: */ + /* linear-gradient(to right, */ + /* #FFF7 0%, #FFF0 10%, */ + /* #FFF0 90%, #0007 100%); */ + border-radius: 0; } -- cgit v1.2.3