From 7e56e39bc7425a24e0af1dfa89a63da8ae8328be Mon Sep 17 00:00:00 2001 From: "(quasar) nebula" Date: Tue, 21 May 2024 11:03:14 -0300 Subject: content, css: fix some bad relative image references --- src/content/dependencies/image.js | 2 +- src/static/css/site.css | 3 +-- 2 files changed, 2 insertions(+), 3 deletions(-) (limited to 'src') 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 { -- cgit 1.3.0-6-gf8a5