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>
This commit is contained in:
parent
e238ebe187
commit
271829f269
7
cgit.css
7
cgit.css
@ -335,6 +335,10 @@ div.diffstat-summary {
|
|||||||
padding-top: 0.5em;
|
padding-top: 0.5em;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
table.diff {
|
||||||
|
width: 100%;
|
||||||
|
}
|
||||||
|
|
||||||
table.diff td {
|
table.diff td {
|
||||||
font-family: monospace;
|
font-family: monospace;
|
||||||
white-space: pre;
|
white-space: pre;
|
||||||
@ -342,7 +346,8 @@ table.diff td {
|
|||||||
|
|
||||||
table.diff td div.head {
|
table.diff td div.head {
|
||||||
font-weight: bold;
|
font-weight: bold;
|
||||||
padding-top: 1em;
|
margin-top: 1em;
|
||||||
|
background-color: #eee;
|
||||||
}
|
}
|
||||||
|
|
||||||
table.diff td div.hunk {
|
table.diff td div.hunk {
|
||||||
|
Loading…
Reference in New Issue
Block a user