css: highlight even table rows and skip empty rows

This is stolen from kernel.org css [0].

[0] https://git.kernel.org/cgit-korg-0.10.1.css
Tá an tiomantas seo le fáil i:
Christian Hesse
2016-07-06 22:42:36 +02:00
tiomanta ag Jason A. Donenfeld
tuismitheoir 44f8c11c8d
tiomantas 81509a228c
D'athraigh 3 comhad le 24 breiseanna agus 3 scriosta

Féach ar an gComhad

@@ -134,14 +134,34 @@ div#cgit table.list tr.logheader {
background: #eee;
}
div#cgit table.list tr:nth-child(even) {
background: #f7f7f7;
}
div#cgit table.list tr:nth-child(odd) {
background: white;
}
div#cgit table.list tr:hover {
background: #eee;
}
div#cgit table.list tr.nohover {
background: white;
}
div#cgit table.list tr.nohover:hover {
background: white;
}
div#cgit table.list tr.nohover-highlight:hover:nth-child(even) {
background: #f7f7f7;
}
div#cgit table.list tr.nohover-highlight:hover:nth-child(odd) {
background: white;
}
div#cgit table.list th {
font-weight: bold;
/* color: #888;