Skip to content

Instantly share code, notes, and snippets.

@el22or
Created December 18, 2015 21:44
Show Gist options
  • Save el22or/61e2d3b18e6ce4290aae to your computer and use it in GitHub Desktop.
Save el22or/61e2d3b18e6ce4290aae to your computer and use it in GitHub Desktop.
Fonts implementation.
/**
* Roboto.
*/
/* (normal) */
@include font-face(
"roboto",
font-files(
"Roboto-Regular-webfont.ttf",
"Roboto-Regular-webfont.eot",
"Roboto-Regular-webfont.woff",
"Roboto-Regular-webfont.svg#robotoregular"
),
"Roboto-Regular-webfont.eot",
normal,
normal
);
/**
* Roboto - condensed
*/
/* (normal) */
@include font-face(
"roboto_condensed",
font-files(
"RobotoCondensed-Regular-webfont.ttf",
"RobotoCondensed-Regular-webfont.eot",
"RobotoCondensed-Regular-webfont.woff",
"RobotoCondensed-Regular-webfont.woff2",
"RobotoCondensed-Regular-webfont.svg#roboto_condensedregular"
),
"RobotoCondensed-Regular-webfont.eot",
normal,
normal
);
/* (light) */
@include font-face(
"roboto_condensed",
font-files(
"RobotoCondensed-Light-webfont.ttf",
"RobotoCondensed-Light-webfont.eot",
"RobotoCondensed-Light-webfont.woff",
"RobotoCondensed-Light-webfont.woff2",
"RobotoCondensed-Light-webfont.svg#roboto_condensedlight"
),
"RobotoCondensed-Light-webfont.eot",
300,
normal
);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment