- 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>')
- print('<th>date</th>')
+ print("""<html>
+<style>
+table, tr, th, td { border: 1px solid black; }
+.day_row:nth-child(7n+2) { background-color: yellow; }
+.district_name { writing-mode: vertical-rl; transform: rotate(180deg); }
+</style><h1>Table of Berlin's Corona infection number development by districts</h1>
+<p>Updated daily at 9pm. <a href="https://plomlompom.com/repos/?p=berlin-corona-table">Source code</a>. <a href="berlin_corona.txt">Text view optimized for terminal curl</a>.</p>
+<table>
+<tr>
+<th>date</th>""")
+ sorted_dates.reverse()
+ sum_district = sorted_districts[-1]