]> git.cameronkatri.com Git - cgit.git/blobdiff - cgit.css
Use tables and css to create the diffstat graph, fix scaling
[cgit.git] / cgit.css
index 53c93f2d41b296503193fee9dd2e0bea4cc69466..87fd00a387cbb80aa67109dc2efc0e7857eae4b6 100644 (file)
--- a/cgit.css
+++ b/cgit.css
@@ -284,9 +284,26 @@ table.diffstat td.graph {
        vertical-align: center;
 }
 
-table.diffstat td.graph img {
+table.diffstat td.graph table {
        border: none;
-       height: 8pt;
+}
+
+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 {