danix
's git repository
home
/
my projects
/
gitweb-theme-danix.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
82bbc05
)
incorporating svg directly in css
author
danix
<danix@danix.xyz>
Sun, 26 Feb 2023 07:23:14 +0000
(08:23 +0100)
committer
danix
<danix@danix.xyz>
Sun, 26 Feb 2023 07:23:14 +0000
(08:23 +0100)
gitweb-danixland/gitweb.css
patch
|
blob
|
blame
|
history
diff --git
a/gitweb-danixland/gitweb.css
b/gitweb-danixland/gitweb.css
index
4390192
..
20ff57a
100644
(file)
--- a/
gitweb-danixland/gitweb.css
+++ b/
gitweb-danixland/gitweb.css
@@
-56,7
+56,7
@@
a { outline: none; }
--border: 34,40,49,0.035;
--accent: #FD7014;
---svg-color: red;
--border: 34,40,49,0.035;
--accent: #FD7014;
---svg-color: red;
- --file-icon: url("
file.svg
");
+ --file-icon: url("
data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 384 512'%3E%3Cpath fill='var(--svg-color)' d='M64 0C28.7 0 0 28.7 0 64V448c0 35.3 28.7 64 64 64H320c35.3 0 64-28.7 64-64V160H256c-17.7 0-32-14.3-32-32V0H64zM256 0V128H384L256 0zM112 256H272c8.8 0 16 7.2 16 16s-7.2 16-16 16H112c-8.8 0-16-7.2-16-16s7.2-16 16-16zm0 64H272c8.8 0 16 7.2 16 16s-7.2 16-16 16H112c-8.8 0-16-7.2-16-16s7.2-16 16-16zm0 64H272c8.8 0 16 7.2 16 16s-7.2 16-16 16H112c-8.8 0-16-7.2-16-16s7.2-16 16-16z'/%3E%3C/svg%3E
");
--dir-icon: url("folder.svg");
--ref-icon: url("commit.svg");
--tag-icon: url("tag.svg");
--dir-icon: url("folder.svg");
--ref-icon: url("commit.svg");
--tag-icon: url("tag.svg");