make background-image url relative

fixes october-icon.png resource not being found when referenced
absolutely. Caused by baseURL (config.toml) containing a path.
This commit is contained in:
ray 2020-02-16 21:28:01 +00:00
parent 095b7f597a
commit e83f9be636
1 changed files with 1 additions and 2 deletions

View File

@ -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);
}