]> gitweb.ps.run Git - ps-cgit/blobdiff - cgit.css
Make git_pageurl handle NULL querystrings
[ps-cgit] / cgit.css
index b736b1985e8e0e67b5005dbc9a2ecce5f4759e97..5cf8d15a70749b3bfa134f0f05fdd1c0caac10a8 100644 (file)
--- a/cgit.css
+++ b/cgit.css
@@ -189,6 +189,11 @@ td.filesize {
        font-family: monospace;
 }
 
+td.links {
+       font-size: 80%;
+       padding-left: 2em;
+}
+
 td.filemode {
        font-family: monospace;
 }
@@ -231,15 +236,20 @@ div.commit-msg {
        font-family: monospace;
 }
 
+div.diffstat-header {
+       font-weight: bold;
+       padding-top: 1.5em;
+}
+
 table.diffstat {
        border-collapse: collapse;
-       margin-top: 1.5em;
        width: 100%;
        border: solid 1px #aaa;
+       background-color: #eee;
 }
 
 table.diffstat tr:hover {
-       background-color: #eee;
+       background-color: #ccc;
 }
 
 table.diffstat th {
@@ -254,8 +264,6 @@ table.diffstat td {
        padding: 0.2em 0.2em 0.1em 0.1em;
        font-size: 100%;
        border: none;
-       border-top: solid 1px #aaa;
-       border-bottom: solid 1px #aaa;
 }
 
 table.diffstat td span.modechange {
@@ -280,9 +288,26 @@ table.diffstat td.graph {
        vertical-align: center;
 }
 
-table.diffstat td.graph img {
+table.diffstat td.graph table {
        border: none;
-       height: 11pt;
+}
+
+table.diffstat td.graph td {
+       padding: 0px;
+       border: 0px;
+       height: 7pt;
+}
+
+table.diffstat td.graph td.add {
+       background-color: #5c5;
+}
+
+table.diffstat td.graph td.rem {
+       background-color: #c55;
+}
+
+table.diffstat td.graph td.none {
+       background-color: none;
 }
 
 div.diffstat-summary {
@@ -291,13 +316,17 @@ div.diffstat-summary {
 }
 
 table.diff td {
-       border: solid 1px black;
        font-family: monospace;
        white-space: pre;
 }
 
+table.diff td div.head {
+       font-weight: bold;
+       padding-top: 1em;
+}
+
 table.diff td div.hunk {
-       background: #ccc;
+       color: #009;
 }
 
 table.diff td div.add {