mirror of
https://git.zx2c4.com/cgit
synced 2024-11-09 10:08:42 +00:00
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 {
|
||||
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