From: Christian Heller Date: Sun, 5 Jul 2020 11:14:58 +0000 (+0200) Subject: Move date cell content up, to better highlight where row starts. X-Git-Url: https://plomlompom.com/repos/%7B%7Bdb.prefix%7D%7D/calendar?a=commitdiff_plain;h=3cde66c0f3ccba038fb9098a5552f79e0e75ea15;p=berlin-corona-table Move date cell content up, to better highlight where row starts. --- diff --git a/enhance_table.py b/enhance_table.py index 7fe22b3..f442524 100755 --- a/enhance_table.py +++ b/enhance_table.py @@ -144,6 +144,7 @@ th { text-align: left; vertical-align: bottom; } .vertical_header { writing-mode: vertical-rl; transform: rotate(180deg); font-weight: normal; } .repeated_head th { padding-top: 0.5em; border-bottom: 1px solid black; } .bold { font-weight: bold } +.date { vertical-align: top; padding-top: 0.5em; } Berlin's Corona infection numbers, development by districts @@ -172,7 +173,7 @@ th { text-align: left; vertical-align: bottom; } print('') print('') weekday = calendar.day_name[datetime.date.fromisoformat(date).weekday()] - print('%s
%s' % (date, weekday)) + print('%s
%s' % (date, weekday)) print('') for abbr in ['+', 'Σ', 'Ø', 'i']: print('' %
%s