« get me outta code hell

content, css: fix some bad relative image references - hsmusic-wiki - HSMusic - static wiki software cataloguing collaborative creation
about summary refs log tree commit diff
diff options
context:
space:
mode:
author(quasar) nebula <qznebula@protonmail.com>2024-05-21 11:03:14 -0300
committer(quasar) nebula <qznebula@protonmail.com>2024-05-21 11:03:14 -0300
commit7e56e39bc7425a24e0af1dfa89a63da8ae8328be (patch)
treed4c895ebea24153a6203b2c70dab430b3f5b9c28
parent597adbea3020d738714a35eacd7f9e1c7f8e6d16 (diff)
content, css: fix some bad relative image references
-rw-r--r--src/content/dependencies/image.js2
-rw-r--r--src/static/css/site.css3
2 files changed, 2 insertions, 3 deletions
diff --git a/src/content/dependencies/image.js b/src/content/dependencies/image.js
index 22fa2655..a7096df6 100644
--- a/src/content/dependencies/image.js
+++ b/src/content/dependencies/image.js
@@ -170,7 +170,7 @@ export default {
     if (willReveal) {
       reveal = [
         html.tag('img', {class: 'reveal-symbol'},
-          {src: to('staticMisc.icon', 'warning.svg')}),
+          {src: to('staticMisc.path', 'warning.svg')}),
 
         html.tag('br'),
 
diff --git a/src/static/css/site.css b/src/static/css/site.css
index c23acffb..052fa979 100644
--- a/src/static/css/site.css
+++ b/src/static/css/site.css
@@ -226,7 +226,7 @@ body {
 }
 
 body::before {
-  background-image: url("../media/bg.jpg");
+  background-image: url("../../media/bg.jpg");
   background-position: center;
   background-size: cover;
   opacity: 0.5;
@@ -1348,7 +1348,6 @@ img.pixelate, .pixelate img {
 
   font-size: 1.6em;
   opacity: 0.8;
-  background-image: url("warning.svg");
 }
 
 .reveal-interaction {