]> git.cameronkatri.com Git - cgit.git/commitdiff
cgit.css: make diff headers more visible
authorLars Hjemli <hjemli@gmail.com>
Mon, 1 Oct 2007 10:41:29 +0000 (12:41 +0200)
committerLars Hjemli <hjemli@gmail.com>
Mon, 1 Oct 2007 10:41:29 +0000 (12:41 +0200)
This modifies the background color of diff headers to make them easier to
spot.

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

index 141bec850420e076b9047790a6df863de2746635..f69cc7574d1b8e6a55ec2243b6e609ee5459f047 100644 (file)
--- a/cgit.css
+++ b/cgit.css
@@ -335,6 +335,10 @@ div.diffstat-summary {
        padding-top: 0.5em;
 }
 
+table.diff {
+       width: 100%;
+}
+
 table.diff td {
        font-family: monospace;
        white-space: pre;
@@ -342,7 +346,8 @@ table.diff td {
 
 table.diff td div.head {
        font-weight: bold;
-       padding-top: 1em;
+       margin-top: 1em;
+       background-color: #eee;
 }
 
 table.diff td div.hunk {