about summary refs log tree commit diff stats
path: root/cgit.css
diff options
context:
space:
mode:
authorLars Hjemli2007-10-01 12:41:29 +0200
committerLars Hjemli2007-10-01 12:41:29 +0200
commit271829f269158c2ff818f72eb0c6f9de2a724126 (patch)
tree326d911b1c66c1460f335dafaadcdeef74409e70 /cgit.css
parentui-diff: add links to pre- and postversion of blobs (diff)
downloadcgit-271829f269158c2ff818f72eb0c6f9de2a724126.tar.gz
cgit-271829f269158c2ff818f72eb0c6f9de2a724126.zip
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')
-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 {
335 padding-top: 0.5em; 335 padding-top: 0.5em;
336} 336}
337 337
338table.diff {
339 width: 100%;
340}
341
338table.diff td { 342table.diff td {
339 font-family: monospace; 343 font-family: monospace;
340 white-space: pre; 344 white-space: pre;
@@ -342,7 +346,8 @@ table.diff td {
342 346
343table.diff td div.head { 347table.diff td div.head {
344 font-weight: bold; 348 font-weight: bold;
345 padding-top: 1em; 349 margin-top: 1em;
350 background-color: #eee;
346} 351}
347 352
348table.diff td div.hunk { 353table.diff td div.hunk {