summaryrefslogtreecommitdiff
path: root/src/content/style.css
diff options
context:
space:
mode:
authorEuAndreh <eu@euandre.org>2025-04-29 10:26:20 -0300
committerEuAndreh <eu@euandre.org>2025-04-29 10:26:20 -0300
commitec83cd0d25acb801f4a6986c6a1d544205dcd0f7 (patch)
tree5050a5e66b82b7356bf4ae82aec053cfb83a2cce /src/content/style.css
parentMakefile: Support flac -> ogg conversion and torrent file generation (diff)
downloadeuandre.org-ec83cd0d25acb801f4a6986c6a1d544205dcd0f7.tar.gz
euandre.org-ec83cd0d25acb801f4a6986c6a1d544205dcd0f7.tar.xz
src/content/img/: Adjust light/dark mode SVGs
Diffstat (limited to 'src/content/style.css')
-rw-r--r--src/content/style.css6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/content/style.css b/src/content/style.css
index cbe615b..dbd7967 100644
--- a/src/content/style.css
+++ b/src/content/style.css
@@ -5,6 +5,8 @@
--color-2nd-bg: #f5f5f5;
--color-pre-border: hsla(0, 100%, 0%, 30%);
+ --link-url: url(img/link/light.svg);
+
color: var(--color-fg);
background-color: var(--color-bg);
}
@@ -16,6 +18,8 @@
--color-2nd-fg: #aaaaaa;
--color-2nd-bg: #222222;
--color-pre-border: hsla(50, 100%, 70%, 10%);
+
+ --link-url: url(img/link/dark.svg);
}
a {
@@ -192,7 +196,7 @@ div.header-anchor:hover img {
}
a.anchor {
- background: transparent url(img/link/light.svg) center right no-repeat;
+ background: transparent var(--link-url) center right no-repeat;
padding-right: 22px;
margin-left: 10px;
visibility: hidden;