From: Christian Heller <c.heller@plomlompom.de> Date: Fri, 3 Jul 2020 22:00:09 +0000 (+0200) Subject: Fix n-th child misalignment after thead causing confusion there. X-Git-Url: https://plomlompom.com/repos/%7B%7Bprefix%7D%7D/test?a=commitdiff_plain;h=ac8865761b936186c35acd382c7d191b0b5ef7bd;p=berlin-corona-table Fix n-th child misalignment after thead causing confusion there. --- diff --git a/enhance_table.py b/enhance_table.py index 6dbee7c..5926db0 100755 --- a/enhance_table.py +++ b/enhance_table.py @@ -136,7 +136,7 @@ if output_type == 'html': <head> <style> table, tr, th, td { border: 1px solid black; text-align: center; } -.day_row:nth-child(7n+2) { background-color: yellow; } +.day_row:nth-child(7n+1) { background-color: yellow; } .district_name { writing-mode: vertical-rl; transform: rotate(180deg); } .bonus_data th { font-weight: normal; } .new_infections { font-weight: bold; }