forked from MarcDiethelm/such.less
-
Notifications
You must be signed in to change notification settings - Fork 0
/
10-webfonts.less
22 lines (21 loc) · 1.13 KB
/
10-webfonts.less
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
/**
* "such.less" CSS boilerplate framework
* 10-webfonts.less
* https://github.com/MarcDiethelm/such.less
* License: MIT
* Copyright 2014 Marc Diethelm, Simon Harte
*/
// font-face inclusion as with http://www.fontsquirrel.com/tools/webfont-generator
// dummy parameter for every source because of an occasional firefox bug
@font-face {
font-family: 'Open Sans Light';
src: url('@{path-fonts}/OpenSans-Light-webfont.eot?wow'); /* IE9 Compat Modes */
src: url('@{path-fonts}/OpenSans-Light-webfont.eot?wow#iefix') format('embedded-opentype'), /* IE6-IE8 */
url('@{path-fonts}/OpenSans-Light-webfont.woff?wow') format('woff'), /* Modern Browsers */
url('@{path-fonts}/OpenSans-Light-webfont.ttf?wow') format('truetype'), /* Safari, Android, iOS */
url('@{path-fonts}/OpenSans-Light-webfont.svg?wow#open_sanslight') format('svg'); /* Legacy iOS */
// In-depth information how to set the following font definitions:
// http://www.smashingmagazine.com/2013/02/14/setting-weights-and-styles-at-font-face-declaration/
font-weight: normal;
font-style: normal;
}