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:
父節點
b0f946bcc7
當前提交
6638f40868
6
cgit.css
6
cgit.css
@ -237,16 +237,16 @@ table.blob {
|
||||
}
|
||||
|
||||
table.blob td.lines {
|
||||
margin: 0; padding: 0;
|
||||
margin: 0; padding: 0 0 0 0.5em;
|
||||
vertical-align: top;
|
||||
color: black;
|
||||
}
|
||||
|
||||
table.blob td.linenumbers {
|
||||
margin: 0; padding: 0;
|
||||
margin: 0; padding: 0 0.5em 0 0.5em;
|
||||
vertical-align: top;
|
||||
text-align: right;
|
||||
border-right: 1px solid gray;
|
||||
background-color: #eee;
|
||||
}
|
||||
|
||||
table.blob pre {
|
||||
|
Loading…
Reference in New Issue
Block a user