Otherwise, if Conductor is running out of a subdirectory (e.g.,
/deltacloud), fonts will not be loaded correctly. The relative
path is consistent with other assets used in CSS.
---
src/app/stylesheets/text.scss | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/src/app/stylesheets/text.scss b/src/app/stylesheets/text.scss
index 10f6304..b6819c3 100644
--- a/src/app/stylesheets/text.scss
+++ b/src/app/stylesheets/text.scss
@@ -11,14 +11,14 @@
@font-face {
font-family: 'Roadgeek E';
src: local('Roadgeek E'), local('RoadgeekE'),
- url(/fonts/RoadgeekE.otf);
+ url(../../fonts/RoadgeekE.otf);
}
/* Headline Font based on Highway Gothic/FHWA to preserve RH identity on the web
unachievable with Interstate */
@font-face {
font-family: 'FreeWay Bold';
src: local('FreeWay Bold'), local('FreeWayBold'),
- url(/fonts/FreeWay-Bold.ttf);
+ url(../../fonts/FreeWay-Bold.ttf);
}
body {
--
1.7.3.4
Show replies by thread