home · contact · privacy
Highlight week structure in HTML output.
[berlin-corona-table] / enhance_table.py
index bdf91e1654a28be8d6c33445362f2cd0aadf7a3f..8ac4fac55e7ac46b78d3a4f7b7abfd129b808e27 100755 (executable)
@@ -134,6 +134,7 @@ if output_type == 'html':
     print('<html>')
     print('<style>')
     print('table, tr, th, td { border: 1px solid black; }')
+    print('tr:nth-child(7n+2) td { background-color: yellow; }')
     print('</style>')
     print('<table>')
     print('<tr>')