cgit.css: make the blob display in tree view a bit prettier
Adding some padding to the linenumbers while right-aligning them and removing the background color makes the page more readable. Signed-off-by: Lars Hjemli <hjemli@gmail.com>
This commit is contained in:
parent
b0f946bcc7
commit
6638f40868
6
cgit.css
6
cgit.css
@ -237,16 +237,16 @@ table.blob {
|
|||||||
}
|
}
|
||||||
|
|
||||||
table.blob td.lines {
|
table.blob td.lines {
|
||||||
margin: 0; padding: 0;
|
margin: 0; padding: 0 0 0 0.5em;
|
||||||
vertical-align: top;
|
vertical-align: top;
|
||||||
color: black;
|
color: black;
|
||||||
}
|
}
|
||||||
|
|
||||||
table.blob td.linenumbers {
|
table.blob td.linenumbers {
|
||||||
margin: 0; padding: 0;
|
margin: 0; padding: 0 0.5em 0 0.5em;
|
||||||
vertical-align: top;
|
vertical-align: top;
|
||||||
|
text-align: right;
|
||||||
border-right: 1px solid gray;
|
border-right: 1px solid gray;
|
||||||
background-color: #eee;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
table.blob pre {
|
table.blob pre {
|
||||||
|
Loading…
Reference in New Issue
Block a user