]> granicus.if.org Git - cgit/commitdiff
cgit.css: try do make diffstat a little bit nicer
authorLars Hjemli <hjemli@gmail.com>
Mon, 14 May 2007 16:08:03 +0000 (18:08 +0200)
committerLars Hjemli <hjemli@gmail.com>
Mon, 14 May 2007 16:10:32 +0000 (18:10 +0200)
I'm still no webdesigner, but this seems to be a more pleasant "visual
experience".

Signed-off-by: Lars Hjemli <hjemli@gmail.com>
cgit.css

index 6231e28db0a89d3b61d361a1e1619c3f5cb90a13..97ae4d141a5fff5ac1ec59536273b445c1f59993 100644 (file)
--- a/cgit.css
+++ b/cgit.css
@@ -241,10 +241,11 @@ table.diffstat {
        margin-top: 1.5em;
        width: 100%;
        border: solid 1px #aaa;
+       background-color: #eee;
 }
 
 table.diffstat tr:hover {
-       background-color: #eee;
+       background-color: #ccc;
 }
 
 table.diffstat th {
@@ -259,8 +260,6 @@ table.diffstat td {
        padding: 0.2em 0.2em 0.1em 0.1em;
        font-size: 100%;
        border: none;
-       border-top: solid 1px #aaa;
-       border-bottom: solid 1px #aaa;
 }
 
 table.diffstat td span.modechange {
@@ -287,7 +286,7 @@ table.diffstat td.graph {
 
 table.diffstat td.graph img {
        border: none;
-       height: 11pt;
+       height: 8pt;
 }
 
 div.diffstat-summary {