ACK
----- Original Message -----
From: "Matt Wagner" <mawagner(a)redhat.com>
To: aeolus-devel(a)lists.fedorahosted.org
Sent: Thursday, February 3, 2011 11:46:33 PM
Subject: [PATCH] Change @font-face path to use relative URL
(This is a resend. The paths are ugly, but it's consistent with how
images and the like are handled in CSS.)
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.4
_______________________________________________
aeolus-devel mailing list
aeolus-devel(a)lists.fedorahosted.org
https://fedorahosted.org/mailman/listinfo/aeolus-devel