Refactor to relative urls in css assets

This commit is contained in:
Mathias Schopmans
2017-04-04 16:49:36 +02:00
parent d9967567ee
commit a08848c93f
2 changed files with 8 additions and 8 deletions

View File

@@ -21,13 +21,13 @@
@font-face { @font-face {
font-family: 'DIN'; font-family: 'DIN';
src: url('/assets/fonts/clanot-news.otf'); src: url('../fonts/clanot-news.otf');
font-weight: normal; font-weight: normal;
} }
@font-face { @font-face {
font-family: 'DIN'; font-family: 'DIN';
src: url('/assets/fonts/clanot-thin.otf'); src: url('../fonts/clanot-thin.otf');
font-weight: 300; font-weight: 300;
} }

View File

@@ -8,26 +8,26 @@
vertical-align: middle; vertical-align: middle;
&--pie { &--pie {
background-image: url('/assets/icons/pie.svg'); background-image: url('../icons/pie.svg');
} }
&--question { &--question {
background-image: url('/assets/icons/question.svg'); background-image: url('../icons/question.svg');
} }
&--overview { &--overview {
background-image: url('/assets/icons/overview.svg'); background-image: url('../icons/overview.svg');
} }
&--search { &--search {
background-image: url('/assets/icons/search.svg'); background-image: url('../icons/search.svg');
} }
&--back { &--back {
background-image: url('/assets/icons/back.svg'); background-image: url('../icons/back.svg');
} }
&--close { &--close {
background-image: url('/assets/icons/close.svg'); background-image: url('../icons/close.svg');
} }
} }