From 6638f40868ccf7806a9668560d3608324704c2b7 Mon Sep 17 00:00:00 2001 From: Lars Hjemli Date: Fri, 21 Aug 2009 12:37:50 +0000 Subject: 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 --- (limited to 'cgit.css') diff --git a/cgit.css b/cgit.css index e3b32e7..ebf3322 100644 --- 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 { -- cgit v0.9.0.2