diff options
author | Christian Hesse <mail@eworm.de> | 2016-07-06 22:42:36 +0200 |
---|---|---|
committer | Jason A. Donenfeld <Jason@zx2c4.com> | 2016-11-23 05:20:42 +0100 |
commit | 81509a228c7428abeb56ecacb45ccd8dc8fc6209 (patch) | |
tree | b60adc2400493c4de91c6550ecce6f786ec7e5c3 /cgit.css | |
parent | git: update to v2.10.2 (diff) | |
download | cgit-pink-81509a228c7428abeb56ecacb45ccd8dc8fc6209.tar.gz cgit-pink-81509a228c7428abeb56ecacb45ccd8dc8fc6209.zip |
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
Diffstat (limited to '')
-rw-r--r-- | cgit.css | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/cgit.css b/cgit.css index a4331f8..1dc2c11 100644 --- a/cgit.css +++ b/cgit.css @@ -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; |