Author: Lars Hjemli <hjemli@gmail.com>
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>
cgit.css | 7 ++++++-
diff --git a/cgit.css b/cgit.css index 141bec850420e076b9047790a6df863de2746635..f69cc7574d1b8e6a55ec2243b6e609ee5459f047 100644 --- a/cgit.css +++ b/cgit.css @@ -335,6 +335,10 @@ color: #888; padding-top: 0.5em; } +table.diff { + width: 100%; +} + table.diff td { font-family: monospace; white-space: pre; @@ -342,7 +346,8 @@ } table.diff td div.head { font-weight: bold; - padding-top: 1em; + margin-top: 1em; + background-color: #eee; } table.diff td div.hunk {