[PATCH] Updated css to better looking blob line numbers
Mariusz Wojcik
mdickie007 at gmail.com
Mon Mar 19 21:06:46 CET 2012
---
cgit.css | 11 ++++++-----
1 files changed, 6 insertions(+), 5 deletions(-)
diff --git a/cgit.css b/cgit.css
index e06c261..1cc4921 100644
--- a/cgit.css
+++ b/cgit.css
@@ -274,7 +274,7 @@ div#cgit td.ls-mode {
div#cgit table.blob {
margin-top: 0.5em;
- border-top: solid 1px black;
+ border: solid 1px #ccc;
}
div#cgit table.blob td.lines {
@@ -287,7 +287,8 @@ div#cgit table.blob td.linenumbers {
margin: 0; padding: 0 0.5em 0 0.5em;
vertical-align: top;
text-align: right;
- border-right: 1px solid gray;
+ border-right: 1px solid #ccc;
+ background-color: #eee;
}
div#cgit table.blob pre {
@@ -306,20 +307,20 @@ div#cgit table.blob a.no a:hover {
div#cgit table.bin-blob {
margin-top: 0.5em;
- border: solid 1px black;
+ border: solid 1px #ccc;
}
div#cgit table.bin-blob th {
font-family: monospace;
white-space: pre;
- border: solid 1px #777;
+ border: solid 1px #ccc;
padding: 0.5em 1em;
}
div#cgit table.bin-blob td {
font-family: monospace;
white-space: pre;
- border-left: solid 1px #777;
+ border-left: solid 1px #ccc;
padding: 0em 1em;
}
-- 1.7.5.4
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: Nachrichtenteil als Anhang
URL: <http://hjemli.net/pipermail/cgit/attachments/20120319/2e4d8771/attachment.ksh>
More information about the CGit
mailing list