home
·
contact
·
privacy
projects
/
berlin-corona-table
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
26542fd
)
Fix n-th child misalignment after thead causing confusion there.
author
Christian Heller
<c.heller@plomlompom.de>
Fri, 3 Jul 2020 22:00:09 +0000
(
00:00
+0200)
committer
Christian Heller
<c.heller@plomlompom.de>
Fri, 3 Jul 2020 22:00:09 +0000
(
00:00
+0200)
enhance_table.py
patch
|
blob
|
history
diff --git
a/enhance_table.py
b/enhance_table.py
index 6dbee7c1ceff06c04bb683852b751c26b7d616dd..5926db0c1cc6a61bd445b6d482dd549057bcee23 100755
(executable)
--- 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; }