]> git.cameronkatri.com Git - cgit.git/blobdiff - cgit.css
css: highlight even table rows and skip empty rows
[cgit.git] / cgit.css
index a4331f8afc04d717c642697629b7450c811778ea..1dc2c11c203ca654d93e801e8e881447af6b941a 100644 (file)
--- 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;