diff options
author | Lars Hjemli <hjemli@gmail.com> | 2009-08-21 12:37:50 +0000 |
---|---|---|
committer | Lars Hjemli <hjemli@gmail.com> | 2009-08-21 12:37:50 +0000 |
commit | 6638f40868ccf7806a9668560d3608324704c2b7 (patch) | |
tree | da956081bc5e11709848a43a57be4a9e5c139683 | |
parent | b0f946bcc7f08168ea2858d8658a74a32accd7f5 (diff) | |
download | cgit-6638f40868ccf7806a9668560d3608324704c2b7.tar cgit-6638f40868ccf7806a9668560d3608324704c2b7.tar.gz cgit-6638f40868ccf7806a9668560d3608324704c2b7.zip |
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>
-rw-r--r-- | cgit.css | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -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 { |