]> git.cameronkatri.com Git - cgit.git/commitdiff
cgit.css: make the blob display in tree view a bit prettier
authorLars Hjemli <hjemli@gmail.com>
Fri, 21 Aug 2009 12:37:50 +0000 (14:37 +0200)
committerLars Hjemli <hjemli@gmail.com>
Fri, 21 Aug 2009 12:37:50 +0000 (14:37 +0200)
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>
cgit.css

index e3b32e75c0d8a4c14aed2dbc8ee80c75bd1d9209..ebf33222070d7c9d932143e2a82c6c421263a56f 100644 (file)
--- a/cgit.css
+++ b/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 {