summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLars Hjemli <hjemli@gmail.com>2007-10-01 12:41:29 +0200
committerLars Hjemli <hjemli@gmail.com>2007-10-01 12:41:29 +0200
commit271829f269158c2ff818f72eb0c6f9de2a724126 (patch)
tree326d911b1c66c1460f335dafaadcdeef74409e70
parente238ebe1874e07865b3f38fe8e256e91a6f734a4 (diff)
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>
-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
@@ -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 {
31' href='#n131'>131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188