Skip to content

Instantly share code, notes, and snippets.

@max
Created August 18, 2011 22:13
Show Gist options
  • Save max/1155387 to your computer and use it in GitHub Desktop.
Save max/1155387 to your computer and use it in GitHub Desktop.
/*
Heroku fonts used all over.
We can't serve fonts from S3 because of cross domain policies.
https://developer.mozilla.org/en/HTTP_access_control
*/
@font-face {
font-family: 'CorbelBold';
font-style: normal;
font-weight: normal;
src: url('/fonts/corbelbold-webfont.eot?') format('eot'),
url('/fonts/corbelbold-webfont.woff') format('woff'),
url('/fonts/corbelbold-webfont.ttf') format('truetype'),
url('/fonts/corbelbold-webfont.svg#webfontlZZPxZYu') format('svg');
}
@font-face {
font-family: 'CorbelRegular';
font-style: normal;
font-weight: normal;
src: url('/fonts/corbel-webfont.eot?') format('eot'),
url('/fonts/corbel-webfont.woff') format('woff'),
url('/fonts/corbel-webfont.ttf') format('truetype'),
url('/fonts/corbel-webfont.svg#webfontO0rfJpd7') format('svg');
}
@font-face {
font-family: 'HybreaLight';
font-style: normal;
font-weight: normal;
src: url('/fonts/hybrealight-webfont.eot?') format('eot'),
url('/fonts/hybrealight-webfont.woff') format('woff'),
url('/fonts/hybrealight-webfont.ttf') format('truetype'),
url('/fonts/hybrealight-webfont.svg#webfontHioEustJ') format('svg');
}
@font-face {
font-family: 'HybreaRegular';
font-style: normal;
font-weight: normal;
src: url('/fonts/hybrea-webfont.eot?') format('eot'),
url('/fonts/hybrea-webfont.woff') format('woff'),
url('/fonts/hybrea-webfont.ttf') format('truetype'),
url('/fonts/hybrea-webfont.svg#webfonto3DdN6lX') format('svg');
}
@font-face {
font-family: 'InconsolataMedium';
font-style: normal;
font-weight: normal;
src: url('/fonts/inconsolata-webfont.eot');
src: url('/fonts/inconsolata-webfont.eot?#iefix') format('embedded-opentype'),
url('/fonts/inconsolata-webfont.woff') format('woff'),
url('/fonts/inconsolata-webfont.ttf') format('truetype'),
url('/fonts/inconsolata-webfont.svg#InconsolataMedium') format('svg');
}
.large-heading {
font-family: "CorbelBold";
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment