mirror of
https://github.com/discourse/discourse.git
synced 2025-01-31 15:17:14 +08:00
woff and woff2 are all we need for webfonts
on any browser that is remotely modern
This commit is contained in:
parent
d6b4b990a6
commit
fff03fb7c3
|
@ -13,11 +13,7 @@
|
|||
<style>
|
||||
@font-face {
|
||||
font-family: 'FontAwesome';
|
||||
src: url('<%=asset_path "fontawesome-webfont.eot" %>?<%= font_domain %>&v=4.5.0');
|
||||
src: url('<%=asset_path "fontawesome-webfont.eot" %>?<%= font_domain %>&v=4.5.0#iefix') format('embedded-opentype'),
|
||||
url('<%=asset_path "fontawesome-webfont.woff2" %>?<%= font_domain %>&v=4.5.0') format('woff2'),
|
||||
url('<%=asset_path "fontawesome-webfont.woff" %>?<%= font_domain %>&v=4.5.0') format('woff'),
|
||||
url('<%=asset_path "fontawesome-webfont.ttf" %>?<%= font_domain %>&v=4.5.0') format('truetype');
|
||||
src: url('<%=asset_path "fontawesome-webfont.woff2" %>?<%= font_domain %>&v=4.5.0') format('woff2'),
|
||||
font-weight: normal;
|
||||
font-style: normal;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user