Only declare the fonts that are actually used.
* IE and Opera both try to download all declared fonts, whether the fonts are used or not. This is an unnecessary performance hit * Create separate font files. One each for common, dialog, and mainsite. The mainsite needs italics, which the dialog does not.
Showing
- lib/static_resources.js 4 additions, 2 deletionslib/static_resources.js
- resources/static/fonts/fonts_common.css 33 additions, 0 deletionsresources/static/fonts/fonts_common.css
- resources/static/fonts/fonts_dialog.css 0 additions, 0 deletionsresources/static/fonts/fonts_dialog.css
- resources/static/fonts/fonts_mainsite.css 12 additions, 0 deletionsresources/static/fonts/fonts_mainsite.css
Loading
Please register or sign in to comment