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:
Lars Hjemli 2009-08-21 14:37:50 +02:00
父節點 b0f946bcc7
當前提交 6638f40868
共有 1 個檔案被更改,包括 3 行新增3 行删除

查看文件

@ -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 {