]> danix's work - gitweb-theme-danix.git/commitdiff
almost giving up on coloring svgs but not yet
authordanix <redacted>
Sun, 26 Feb 2023 07:37:25 +0000 (08:37 +0100)
committerdanix <redacted>
Sun, 26 Feb 2023 07:37:25 +0000 (08:37 +0100)
gitweb-danixland/gitweb.css

index de0108be329c2e52f81201ba1d6fc802c8f9bdf4..77de653230ea6be005b507b36c80b62dd611ec9d 100644 (file)
@@ -119,8 +119,9 @@ td.list a[href*='tree'], td.list a[href*='blob'] {
 }
 
 /* Folder Icon */
-td.list a[href*='tree'] {
-  background: var(--svg-color) var(--dir-icon) center left no-repeat;
+td.list a[href*='tree']:before {
+  color: var(--svg-color);
+  content: var(--dir-icon);
 }
 
 /* File Icon */