From 9d1ddc72c3c5e1ff2b11f063d1d9ce89ef6a9eba Mon Sep 17 00:00:00 2001 From: danix Date: Sun, 26 Feb 2023 08:34:09 +0100 Subject: [PATCH] almost giving up on coloring svgs --- gitweb-danixland/gitweb.css | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/gitweb-danixland/gitweb.css b/gitweb-danixland/gitweb.css index 49bedb9..de0108b 100644 --- a/gitweb-danixland/gitweb.css +++ b/gitweb-danixland/gitweb.css @@ -55,6 +55,7 @@ a { outline: none; } --link-visited: #e7b788; --border: 34,40,49,0.035; --accent: #FD7014; + --svg-color: navy; --file-icon: url("file.svg"); --dir-icon: url("folder.svg"); --ref-icon: url("commit.svg"); @@ -119,12 +120,12 @@ td.list a[href*='tree'], td.list a[href*='blob'] { /* Folder Icon */ td.list a[href*='tree'] { - background: var(--dir-icon) center left no-repeat; + background: var(--svg-color) var(--dir-icon) center left no-repeat; } /* File Icon */ td.list a[href*='blob'] { - background: var(--file-icon) center left no-repeat; + background: var(--svg-color) var(--file-icon) center left no-repeat; } i { -- 2.20.1