From: Christian Hesse <m...@eworm.de>

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

[0] https://git.kernel.org/cgit-korg-0.10.1.css

Signed-off-by: Christian Hesse <m...@eworm.de>
---
 cgit.css | 12 ++++++++++++
 1 file changed, 12 insertions(+)

diff --git a/cgit.css b/cgit.css
index a4331f8..e039970 100644
--- a/cgit.css
+++ b/cgit.css
@@ -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;
 }
-- 
2.9.0

_______________________________________________
CGit mailing list
CGit@lists.zx2c4.com
http://lists.zx2c4.com/mailman/listinfo/cgit

Reply via email to