Skip to content

Instantly share code, notes, and snippets.

@jonikorpi
Created February 26, 2013 14:05
Show Gist options
  • Select an option

  • Save jonikorpi/5038623 to your computer and use it in GitHub Desktop.

Select an option

Save jonikorpi/5038623 to your computer and use it in GitHub Desktop.
@mixin georgia {
font-family: 'GeorgiaProW01-Regular', Arial, serif;
}
@mixin georgia-italic {
font-family: 'GeorgiaProW01-Italic', Georgia, serif;
font-style: normal; // Has to be set like this, because fonts.com serves each font in a family separately
.wf-inactive & { font-style: italic; } // Fallback, in case fonts.com fails
}
@mixin georgia-bold {
font-family:'GeorgiaProW01-Bold', Georgia, serif;
font-weight: normal;
.wf-inactive & { font-weight: bold; }
}
@mixin georgia-condensed {
font-family: 'GeorgiaProW01-CnBold', Georgia, serif;
font-weight: normal;
.wf-inactive & { font-weight: bold; }
}
@mixin neuzeit {
font-family: 'DINNeuzeitGroteskLTW01- 812426', "Arial Narrow", sans-serif;
font-weight: normal; // See above
.wf-inactive & { font-weight: bold; }
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment