diff options
author | Christian Hesse <mail@eworm.de> | 2016-07-06 22:42:36 +0200 |
---|---|---|
committer | Christian Hesse <mail@eworm.de> | 2016-10-12 14:18:39 +0200 |
commit | 6565f1c8a3c15afbe451cbf7e665fd073c5b1675 (patch) | |
tree | 4aad716c8b07efc107aaade050edfc03cfdff5c6 | |
parent | c330a2e5f86e1f77d3b724877935e11014cefa21 (diff) | |
download | cgit-6565f1c8a3c15afbe451cbf7e665fd073c5b1675.tar.gz |
css: highlight even table rows
This is stolen from kernel.org css [0].
[0] https://git.kernel.org/cgit-korg-0.10.1.css
-rw-r--r-- | cgit.css | 12 |
1 files changed, 12 insertions, 0 deletions
@@ -134,10 +134,22 @@ 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; } |