From fe5457922e23d553cd30b99c9b06b5220f1dc576 Mon Sep 17 00:00:00 2001 From: boyska Date: Thu, 10 Sep 2020 11:55:48 +0200 Subject: [PATCH] =?UTF-8?q?griglia=20con=20orari=20e=20tacche=20pi=C3=B9?= =?UTF-8?q?=20leggibili?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- talks/_templates/grid.html | 4 +++- themes/maya0x17/static/talk.scss | 8 +++++++- 2 files changed, 10 insertions(+), 2 deletions(-) diff --git a/talks/_templates/grid.html b/talks/_templates/grid.html index 109eb40..dd74daa 100644 --- a/talks/_templates/grid.html +++ b/talks/_templates/grid.html @@ -10,7 +10,9 @@ {% for time in times|sort %} - {{time}} + + {{"%02d:%02d"|format((time // 100) % 24, time % 100)}} + {% for talk in times[time] %} {% if not loop.first and talk.room == '*' %} {# skip: covered by colspan #} diff --git a/themes/maya0x17/static/talk.scss b/themes/maya0x17/static/talk.scss index 01e67b8..0560b08 100644 --- a/themes/maya0x17/static/talk.scss +++ b/themes/maya0x17/static/talk.scss @@ -1,7 +1,13 @@ .talk-grid { .talk { text-align: center; } td { border: 0; } - td:first-child { border-bottom: 1px solid white; } + td.talk-grid-time { + border-bottom: 1px solid #444; + border-top: 1px solid #444; + vertical-align: top; + padding-top: 0; +} + td.talk { padding-bottom: 1em; padding-top: 1em; } .tag-cibo { background-color: adjust-color($c-bg, $lightness: -15%); }