author | Lars Hjemli <hjemli@gmail.com> | 2007-10-01 10:41:29 (UTC) |
---|---|---|
committer | Lars Hjemli <hjemli@gmail.com> | 2007-10-01 10:41:29 (UTC) |
commit | 271829f269158c2ff818f72eb0c6f9de2a724126 (patch) (unidiff) | |
tree | 326d911b1c66c1460f335dafaadcdeef74409e70 /cgit.css | |
parent | e238ebe1874e07865b3f38fe8e256e91a6f734a4 (diff) | |
download | cgit-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>
-rw-r--r-- | cgit.css | 7 |
1 files changed, 6 insertions, 1 deletions
@@ -326,32 +326,37 @@ table.diffstat td.graph td.add { | |||
326 | background-color: #5c5; | 326 | background-color: #5c5; |
327 | } | 327 | } |
328 | 328 | ||
329 | table.diffstat td.graph td.rem { | 329 | table.diffstat td.graph td.rem { |
330 | background-color: #c55; | 330 | background-color: #c55; |
331 | } | 331 | } |
332 | 332 | ||
333 | div.diffstat-summary { | 333 | div.diffstat-summary { |
334 | color: #888; | 334 | color: #888; |
335 | padding-top: 0.5em; | 335 | padding-top: 0.5em; |
336 | } | 336 | } |
337 | 337 | ||
338 | table.diff { | ||
339 | width: 100%; | ||
340 | } | ||
341 | |||
338 | table.diff td { | 342 | table.diff td { |
339 | font-family: monospace; | 343 | font-family: monospace; |
340 | white-space: pre; | 344 | white-space: pre; |
341 | } | 345 | } |
342 | 346 | ||
343 | table.diff td div.head { | 347 | table.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 | ||
348 | table.diff td div.hunk { | 353 | table.diff td div.hunk { |
349 | color: #009; | 354 | color: #009; |
350 | } | 355 | } |
351 | 356 | ||
352 | table.diff td div.add { | 357 | table.diff td div.add { |
353 | color: green; | 358 | color: green; |
354 | } | 359 | } |
355 | 360 | ||
356 | table.diff td div.del { | 361 | table.diff td div.del { |
357 | color: red; | 362 | color: red; |