From a08848c93f8e606f853fd4a72ec26a5cbd6310a5 Mon Sep 17 00:00:00 2001 From: Mathias Schopmans Date: Tue, 4 Apr 2017 16:49:36 +0200 Subject: [PATCH] Refactor to relative urls in css assets --- styles/base.css | 4 ++-- styles/components/icon.css | 12 ++++++------ 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/styles/base.css b/styles/base.css index d0672e7..dcd2697 100644 --- a/styles/base.css +++ b/styles/base.css @@ -21,13 +21,13 @@ @font-face { font-family: 'DIN'; - src: url('/assets/fonts/clanot-news.otf'); + src: url('../fonts/clanot-news.otf'); font-weight: normal; } @font-face { font-family: 'DIN'; - src: url('/assets/fonts/clanot-thin.otf'); + src: url('../fonts/clanot-thin.otf'); font-weight: 300; } diff --git a/styles/components/icon.css b/styles/components/icon.css index 863de03..9b74bcd 100644 --- a/styles/components/icon.css +++ b/styles/components/icon.css @@ -8,26 +8,26 @@ vertical-align: middle; &--pie { - background-image: url('/assets/icons/pie.svg'); + background-image: url('../icons/pie.svg'); } &--question { - background-image: url('/assets/icons/question.svg'); + background-image: url('../icons/question.svg'); } &--overview { - background-image: url('/assets/icons/overview.svg'); + background-image: url('../icons/overview.svg'); } &--search { - background-image: url('/assets/icons/search.svg'); + background-image: url('../icons/search.svg'); } &--back { - background-image: url('/assets/icons/back.svg'); + background-image: url('../icons/back.svg'); } &--close { - background-image: url('/assets/icons/close.svg'); + background-image: url('../icons/close.svg'); } }