Skip to content

Commit 7e56e39

Browse files
committed
content, css: fix some bad relative image references
1 parent 597adbe commit 7e56e39

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

src/content/dependencies/image.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -170,7 +170,7 @@ export default {
170170
if (willReveal) {
171171
reveal = [
172172
html.tag('img', {class: 'reveal-symbol'},
173-
{src: to('staticMisc.icon', 'warning.svg')}),
173+
{src: to('staticMisc.path', 'warning.svg')}),
174174

175175
html.tag('br'),
176176

src/static/css/site.css

+1-2
Original file line numberDiff line numberDiff line change
@@ -226,7 +226,7 @@ body {
226226
}
227227

228228
body::before {
229-
background-image: url("../media/bg.jpg");
229+
background-image: url("../../media/bg.jpg");
230230
background-position: center;
231231
background-size: cover;
232232
opacity: 0.5;
@@ -1348,7 +1348,6 @@ img.pixelate, .pixelate img {
13481348

13491349
font-size: 1.6em;
13501350
opacity: 0.8;
1351-
background-image: url("warning.svg");
13521351
}
13531352

13541353
.reveal-interaction {

0 commit comments

Comments
 (0)