fix: use relative URLs in CSS (#1319)

Signed-off-by: Aarni Koskela <akx@iki.fi>
This commit is contained in:
Aarni Koskela 2024-07-22 16:26:23 +03:00 committed by GitHub
parent 4b7628d0ab
commit e783526ae1
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -1,18 +1,18 @@
@font-face { @font-face {
font-family: 'OpenSans'; font-family: 'OpenSans';
src: url('/fonts/OpenSans-Regular.ttf'); src: url('./fonts/OpenSans-Regular.ttf');
font-weight: normal; font-weight: normal;
font-style: normal; font-style: normal;
} }
@font-face { @font-face {
font-family: 'OpenSans'; font-family: 'OpenSans';
src: url('/fonts/OpenSans-Italic.ttf'); src: url('./fonts/OpenSans-Italic.ttf');
font-weight: normal; font-weight: normal;
font-style: italic; font-style: italic;
} }
@font-face { @font-face {
font-family: 'OpenSans'; font-family: 'OpenSans';
src: url('/fonts/OpenSans-Bold.ttf'); src: url('./fonts/OpenSans-Bold.ttf');
font-weight: bold; font-weight: bold;
font-style: normal; font-style: normal;
} }
@ -25,7 +25,7 @@ body {
margin: 0; margin: 0;
background-repeat: no-repeat !important; background-repeat: no-repeat !important;
background-size: contain !important; background-size: contain !important;
background-image: url(/images/header-map-1280px.png); background-image: url(./images/header-map-1280px.png);
} }
a { a {
color: #499dce; color: #499dce;