From 3cde66c0f3ccba038fb9098a5552f79e0e75ea15 Mon Sep 17 00:00:00 2001 From: Christian Heller Date: Sun, 5 Jul 2020 13:14:58 +0200 Subject: [PATCH] Move date cell content up, to better highlight where row starts. --- enhance_table.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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('' % -- 2.30.2
%s