summaryrefslogtreecommitdiffabout
path: root/cgit.css
authorLars Hjemli <hjemli@gmail.com>2009-08-21 12:37:50 (UTC)
committer Lars Hjemli <hjemli@gmail.com>2009-08-21 12:37:50 (UTC)
commit6638f40868ccf7806a9668560d3608324704c2b7 (patch) (side-by-side diff)
treeda956081bc5e11709848a43a57be4a9e5c139683 /cgit.css
parentb0f946bcc7f08168ea2858d8658a74a32accd7f5 (diff)
downloadcgit-6638f40868ccf7806a9668560d3608324704c2b7.zip
cgit-6638f40868ccf7806a9668560d3608324704c2b7.tar.gz
cgit-6638f40868ccf7806a9668560d3608324704c2b7.tar.bz2
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>
Diffstat (limited to 'cgit.css') (more/less context) (show whitespace changes)
-rw-r--r--cgit.css6
1 files changed, 3 insertions, 3 deletions
diff --git a/cgit.css b/cgit.css
index e3b32e7..ebf3322 100644
--- a/cgit.css
+++ b/cgit.css
@@ -192,106 +192,106 @@ td#content {
div#summary {
vertical-align: top;
margin-bottom: 1em;
}
table#downloads {
float: right;
border-collapse: collapse;
border: solid 1px #777;
margin-left: 0.5em;
margin-bottom: 0.5em;
}
table#downloads th {
background-color: #ccc;
}
div#blob {
border: solid 1px black;
}
div.error {
color: red;
font-weight: bold;
margin: 1em 2em;
}
a.ls-blob, a.ls-dir, a.ls-mod {
font-family: monospace;
}
td.ls-size {
text-align: right;
font-family: monospace;
width: 10em;
}
td.ls-mode {
font-family: monospace;
width: 10em;
}
table.blob {
margin-top: 0.5em;
border-top: solid 1px black;
}
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 {
padding: 0; margin: 0;
}
table.blob a.no {
color: gray;
text-align: right;
text-decoration: none;
}
table.blob a.no a:hover {
color: black;
}
table.bin-blob {
margin-top: 0.5em;
border: solid 1px black;
}
table.bin-blob th {
font-family: monospace;
white-space: pre;
border: solid 1px #777;
padding: 0.5em 1em;
}
table.bin-blob td {
font-family: monospace;
white-space: pre;
border-left: solid 1px #777;
padding: 0em 1em;
}
table.nowrap td {
white-space: nowrap;
}
table.commit-info {
border-collapse: collapse;
margin-top: 1.5em;
}
table.commit-info th {
text-align: left;
font-weight: normal;
padding: 0.1em 1em 0.1em 0.1em;