From e83f9be636ba35d16b500558d4066230e1bc0025 Mon Sep 17 00:00:00 2001 From: ray Date: Sun, 16 Feb 2020 21:28:01 +0000 Subject: [PATCH] make background-image url relative fixes october-icon.png resource not being found when referenced absolutely. Caused by baseURL (config.toml) containing a path. --- static/css/custom.css | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/static/css/custom.css b/static/css/custom.css index 6136077..ceac7e2 100644 --- a/static/css/custom.css +++ b/static/css/custom.css @@ -181,7 +181,6 @@ body.colorscheme-dark .avatar img { } .cheat-october-list + ul > li > p:first-child::before { - /* list-style-image: url(/images/logos/october-icon.png); */ content: ""; position: absolute; display: block; @@ -191,5 +190,5 @@ body.colorscheme-dark .avatar img { right: 0; background-size: contain; background-repeat: no-repeat; - background-image: url(/images/logos/october-icon.png); + background-image: url(../images/logos/october-icon.png); }