summaryrefslogtreecommitdiffabout
path: root/cgit.css
authorLars Hjemli <hjemli@gmail.com>2007-10-01 10:41:29 (UTC)
committer Lars Hjemli <hjemli@gmail.com>2007-10-01 10:41:29 (UTC)
commit271829f269158c2ff818f72eb0c6f9de2a724126 (patch) (side-by-side diff)
tree326d911b1c66c1460f335dafaadcdeef74409e70 /cgit.css
parente238ebe1874e07865b3f38fe8e256e91a6f734a4 (diff)
downloadcgit-271829f269158c2ff818f72eb0c6f9de2a724126.zip
cgit-271829f269158c2ff818f72eb0c6f9de2a724126.tar.gz
cgit-271829f269158c2ff818f72eb0c6f9de2a724126.tar.bz2
cgit.css: make diff headers more visible
This modifies the background color of diff headers to make them easier to spot. Signed-off-by: Lars Hjemli <hjemli@gmail.com>
Diffstat (limited to 'cgit.css') (more/less context) (ignore whitespace changes)
-rw-r--r--cgit.css7
1 files changed, 6 insertions, 1 deletions
diff --git a/cgit.css b/cgit.css
index 141bec8..f69cc75 100644
--- a/cgit.css
+++ b/cgit.css
@@ -332,20 +332,25 @@ table.diffstat td.graph td.rem {
div.diffstat-summary {
color: #888;
padding-top: 0.5em;
}
+table.diff {
+ width: 100%;
+}
+
table.diff td {
font-family: monospace;
white-space: pre;
}
table.diff td div.head {
font-weight: bold;
- padding-top: 1em;
+ margin-top: 1em;
+ background-color: #eee;
}
table.diff td div.hunk {
color: #009;
}