about summary refs log tree commit diff
path: root/cgit.c
diff options
context:
space:
mode:
authorOnne Gorter <onne.gorter@avinity.net>2009-01-07 13:56:14 +0100
committerLars Hjemli <hjemli@gmail.com>2009-01-10 12:13:54 +0100
commita90e2aa4e1bd5c3a9657ce7d675943f4a265cc9f (patch)
treebd7d4cce277dbe3094dee0130410a738b074e5b2 /cgit.c
parentMerge branch 'stable' (diff)
downloadcgit-pink-a90e2aa4e1bd5c3a9657ce7d675943f4a265cc9f.tar.gz
cgit-pink-a90e2aa4e1bd5c3a9657ce7d675943f4a265cc9f.zip
changed objects are outputted, allowing for selections of code only
Diffstat (limited to '')
-rw-r--r--cgit.css27
1 files changed, 16 insertions, 11 deletions
diff --git a/cgit.css b/cgit.css
index 7928c2f..068c37b 100644
--- a/cgit.css
+++ b/cgit.css
@@ -236,26 +236,31 @@ table.blob {
 	border-top: solid 1px black;
 }
 
-table.blob td.no {
-	border-right: solid 1px black;
+table.blob td.lines {
+	margin: 0; padding: 0;
+	vertical-align: top;
 	color: black;
+}
+
+table.blob td.linenumbers {
+	margin: 0; padding: 0;
+	vertical-align: top;
+	border-right: 1px solid gray;
 	background-color: #eee;
-	text-align: right;
 }
 
-table.blob td.no a {
-	color: black;
+table.blob pre {
+	padding: 0; margin: 0;
 }
 
-table.blob td.no a:hover {
-	color: black;
+table.blob a.no {
+	color: gray;
+	text-align: right;
 	text-decoration: none;
 }
 
-table.blob td.txt {
-	white-space: pre;
-	font-family: monospace;
-	padding-left: 0.5em;
+table.blob a.no a:hover {
+	color: black;
 }
 
 table.nowrap td {