Skip to content

Instantly share code, notes, and snippets.

@ChenReuven
Created March 24, 2013 18:29
Show Gist options
  • Save ChenReuven/5232953 to your computer and use it in GitHub Desktop.
Save ChenReuven/5232953 to your computer and use it in GitHub Desktop.
CSS: font-face example
/*
* This CSS file has been generated by fontsquirrel.com and is based on the work of Paul Irish.
*
*/
/*
*
* The fonts included are copyrighted by the vendor listed below.
*
* @vendor: LeFly Fonts
* @vendorurl: http://lefly.vepar.nl/
* @licenseurl: http://www.fontsquirrel.com/license/Blokletters-Potlood
*
*
*/
@font-face {
font-family: 'BloklettersPotloodPotlood';
src: url('Blokletters-Potlood.eot');
src: local('Blokletters Potlood Potlood'), local('Blokletters-Potlood'), url('Blokletters-Potlood.ttf') format('truetype');
}
@font-face {
font-family: 'BloklettersBalpenBalpen';
src: url('Blokletters-Balpen.eot');
src: local('Blokletters Balpen Balpen'), local('Blokletters-Balpen'), url('Blokletters-Balpen.ttf') format('truetype');
}
@font-face {
font-family: 'BloklettersViltstiftViltstift';
src: url('Blokletters-Viltstift.eot');
src: local('Blokletters Viltstift Viltstift'), local('Blokletters-Viltstift'), url('Blokletters-Viltstift.ttf') format('truetype');
}
/***********************************************************************************/
p {
font-family: DeliciousRomanRegular, Helvetica, Arial, sans-serif;
}
h1, strong {
font-family: DeliciousRomanBold, Helvetica, Arial, sans-serif;
}
em, cite, blockquote {
font-family: DeliciousRomanItalic, Helvetica, Arial, sans-serif;
}
strong em {
font-family: DeliciousRomanBoldItalic, Helvetica, Arial, sans-serif;
}
@font-face {
font-family: DeliciousRomanRegular;
src: url(fonts/Delicious-Roman-R.otf);
}
@font-face {
font-family: DeliciousRomanBold;
src: url(fonts/Delicious-Roman-B.otf);
}
@font-face {
font-family: DeliciousRomanItalic;
src: url(fonts/Delicious-Roman-I.otf);
}
@font-face {
font-family: DeliciousRomanBoldItalic;
src: url(fonts/Delicious-Roman-BI.otf);
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment