the repository which powers this website
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 <[email protected]>
Lars Hjemli 2007-10-01
parent e238ebe · commit 271829f
-rw-r--r--cgit.css7
1 files changed, 6 insertions, 1 deletions
diff --git a/cgit.css b/cgit.css
index 141bec85..f69cc757 100644
--- 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 {