Use relative paths for assets and fonts in css

This commit is contained in:
Johannes Loher 2021-04-20 23:02:00 +02:00
parent 1297de5565
commit d93fa19158
2 changed files with 6 additions and 6 deletions

View file

@ -2,33 +2,33 @@
font-family: "Lora";
font-style: normal;
font-weight: normal;
src: local("Lora"), url("/systems/ds4/fonts/Lora/Lora.woff") format("woff");
src: local("Lora"), url("../fonts/Lora/Lora.woff") format("woff");
}
@font-face {
font-family: "Lora";
font-style: normal;
font-weight: bold;
src: local("Lora"), url("/systems/ds4/fonts/Lora/Lora-Bold.woff") format("woff");
src: local("Lora"), url("../fonts/Lora/Lora-Bold.woff") format("woff");
}
@font-face {
font-family: "Lora";
font-style: italic;
font-weight: normal;
src: local("Lora"), url("/systems/ds4/fonts/Lora/Lora-Italic.woff") format("woff");
src: local("Lora"), url("../fonts/Lora/Lora-Italic.woff") format("woff");
}
@font-face {
font-family: "Lora";
font-style: italic;
font-weight: bold;
src: local("Lora"), url("/systems/ds4/fonts/Lora/Lora-BoldItalic.woff") format("woff");
src: local("Lora"), url("../fonts/Lora/Lora-BoldItalic.woff") format("woff");
}
@font-face {
font-family: "Wood Stamp";
font-style: normal;
font-weight: normal;
src: local("Wood Stamp"), url("/systems/ds4/fonts/Woodstamp/Woodstamp.woff") format("woff");
src: local("Wood Stamp"), url("../fonts/Woodstamp/Woodstamp.woff") format("woff");
}

View file

@ -9,6 +9,6 @@ $margin-lg: $padding-lg;
$default-input-height: 26px;
$official-icons-path: "/systems/ds4/assets/icons/official";
$official-icons-path: "../assets/icons/official";
$border-groove: 2px groove colors.$c-border-groove;