From c2eeb9c38cd181858647aad76dfb1b51312c38ed Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marko=20Ivan=C4=8Di=C4=87?= <marko.ivancic@srce.hr> Date: Mon, 5 Dec 2022 10:33:56 +0100 Subject: [PATCH] Make font URLs relative to CSS file --- www/assets/css/src/default.css | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/www/assets/css/src/default.css b/www/assets/css/src/default.css index 30f2c25..d7d203c 100644 --- a/www/assets/css/src/default.css +++ b/www/assets/css/src/default.css @@ -31,8 +31,8 @@ font-style: normal; font-weight: 300; src: local(''), - url('/idp/fonts/raleway-v28-latin-ext-latin-300.woff2') format('woff2'), /* Chrome 26+, Opera 23+, Firefox 39+ */ - url('/idp/fonts/raleway-v28-latin-ext-latin-300.woff') format('woff'); /* Chrome 6+, Firefox 3.6+, IE 9+, Safari 5.1+ */ + url('fonts/raleway-v28-latin-ext-latin-300.woff2') format('woff2'), /* Chrome 26+, Opera 23+, Firefox 39+ */ + url('fonts/raleway-v28-latin-ext-latin-300.woff') format('woff'); /* Chrome 6+, Firefox 3.6+, IE 9+, Safari 5.1+ */ } /* raleway-regular - latin-ext_latin */ @font-face { @@ -40,8 +40,8 @@ font-style: normal; font-weight: 400; src: local(''), - url('/idp/fonts/raleway-v28-latin-ext-latin-regular.woff2') format('woff2'), /* Chrome 26+, Opera 23+, Firefox 39+ */ - url('/idp/fonts/raleway-v28-latin-ext-latin-regular.woff') format('woff'); /* Chrome 6+, Firefox 3.6+, IE 9+, Safari 5.1+ */ + url('fonts/raleway-v28-latin-ext-latin-regular.woff2') format('woff2'), /* Chrome 26+, Opera 23+, Firefox 39+ */ + url('fonts/raleway-v28-latin-ext-latin-regular.woff') format('woff'); /* Chrome 6+, Firefox 3.6+, IE 9+, Safari 5.1+ */ } /* raleway-500 - latin-ext_latin */ @font-face { @@ -49,8 +49,8 @@ font-style: normal; font-weight: 500; src: local(''), - url('/idp/fonts/raleway-v28-latin-ext-latin-500.woff2') format('woff2'), /* Chrome 26+, Opera 23+, Firefox 39+ */ - url('/idp/fonts/raleway-v28-latin-ext-latin-500.woff') format('woff'); /* Chrome 6+, Firefox 3.6+, IE 9+, Safari 5.1+ */ + url('fonts/raleway-v28-latin-ext-latin-500.woff2') format('woff2'), /* Chrome 26+, Opera 23+, Firefox 39+ */ + url('fonts/raleway-v28-latin-ext-latin-500.woff') format('woff'); /* Chrome 6+, Firefox 3.6+, IE 9+, Safari 5.1+ */ } /* raleway-600 - latin-ext_latin */ @font-face { @@ -58,8 +58,8 @@ font-style: normal; font-weight: 600; src: local(''), - url('/idp/fonts/raleway-v28-latin-ext-latin-600.woff2') format('woff2'), /* Chrome 26+, Opera 23+, Firefox 39+ */ - url('/idp/fonts/raleway-v28-latin-ext-latin-600.woff') format('woff'); /* Chrome 6+, Firefox 3.6+, IE 9+, Safari 5.1+ */ + url('fonts/raleway-v28-latin-ext-latin-600.woff2') format('woff2'), /* Chrome 26+, Opera 23+, Firefox 39+ */ + url('fonts/raleway-v28-latin-ext-latin-600.woff') format('woff'); /* Chrome 6+, Firefox 3.6+, IE 9+, Safari 5.1+ */ } /* ======================= */ -- GitLab