From 271829f269158c2ff818f72eb0c6f9de2a724126 Mon Sep 17 00:00:00 2001 From: Lars Hjemli Date: Mon, 1 Oct 2007 12:41:29 +0200 Subject: 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 --- cgit.css | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'cgit.css') 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 { -- cgit v1.2.3-59-g8ed1b