2013-02-11 06:41:23 -05:00
|
|
|
|
2013-02-25 11:42:20 -05:00
|
|
|
<%#
|
2013-02-11 06:41:23 -05:00
|
|
|
The fonts are loaded outside of the stylesheet so that we can dynamically change
|
|
|
|
the path. This is to get around CDN caching on the Origin:
|
|
|
|
|
|
|
|
https://forums.aws.amazon.com/thread.jspa?threadID=114646
|
|
|
|
%>
|
|
|
|
|
2013-02-25 11:42:20 -05:00
|
|
|
<% font_domain = "#{request.protocol}#{request.host_with_port}" %>
|
2013-02-11 06:41:23 -05:00
|
|
|
|
|
|
|
<style>
|
|
|
|
@font-face {
|
|
|
|
font-family: 'FontAwesome';
|
|
|
|
src: url('<%=asset_path "fontawesome-webfont.eot" %>?<%= font_domain %>');
|
|
|
|
src: url('<%=asset_path "fontawesome-webfont.eot" %>?<%= font_domain %>#iefix') format('embedded-opentype'),
|
|
|
|
url('<%=asset_path "fontawesome-webfont.woff" %>?<%= font_domain %>') format('woff'),
|
|
|
|
url('<%=asset_path "fontawesome-webfont.ttf" %>?<%= font_domain %>') format('truetype');
|
|
|
|
font-weight: normal;
|
|
|
|
font-style: normal;
|
|
|
|
}
|
|
|
|
|
|
|
|
@font-face {
|
|
|
|
font-family: 'zocial';
|
2013-03-14 08:01:52 -04:00
|
|
|
src: url('<%=asset_path "zocial-regular-webfont.woff" %>?<%= font_domain %>') format('woff'),
|
|
|
|
url('<%=asset_path "zocial-regular-webfont.ttf" %>?<%= font_domain %>') format('truetype'),
|
|
|
|
url('<%=asset_path "zocial-regular-webfont.svg" %>?<%= font_domain %>#zocialregular') format('svg');
|
2013-02-11 06:41:23 -05:00
|
|
|
font-weight: normal;
|
|
|
|
font-style: normal;
|
|
|
|
|
2013-02-25 11:42:20 -05:00
|
|
|
}
|
|
|
|
</style>
|