home · contact · privacy
Fix n-th child misalignment after thead causing confusion there.
authorChristian Heller <c.heller@plomlompom.de>
Fri, 3 Jul 2020 22:00:09 +0000 (00:00 +0200)
committerChristian Heller <c.heller@plomlompom.de>
Fri, 3 Jul 2020 22:00:09 +0000 (00:00 +0200)
enhance_table.py

index 6dbee7c1ceff06c04bb683852b751c26b7d616dd..5926db0c1cc6a61bd445b6d482dd549057bcee23 100755 (executable)
@@ -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; }