Created
May 6, 2014 16:03
-
-
Save richtabor/ab12e9ab715d3102ed46 to your computer and use it in GitHub Desktop.
Just a quick css guide of hooking in your custom loaded fonts. Simply add a fonts folder with your font files into the theme's assets folder.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@font-face { | |
font-family: 'FullerSansDTBold'; | |
src: url('assets/fonts/fullersansdt-bold-webfont.eot'); | |
src: url('assets/fonts/fullersansdt-bold-webfont.eot?#iefix') format('embedded-opentype'), | |
url('assets/fonts/fullersansdt-bold-webfont.woff') format('woff'), | |
url('assets/fonts/fullersansdt-bold-webfont.ttf') format('truetype'), | |
url('assets/fonts/fullersansdt-bold-webfont.svg#FullerSansDTBold') format('svg'); | |
font-weight: normal; | |
font-style: normal; | |
} | |
@font-face { | |
font-family: 'FullerSansDTRegular'; | |
src: url('assets/fonts/fullersansdt-regular-webfont.eot'); | |
src: url('assets/fonts/fullersansdt-regular-webfont.eot?#iefix') format('embedded-opentype'), | |
url('assets/fonts/fullersansdt-regular-webfont.woff') format('woff'), | |
url('assets/fonts/fullersansdt-regular-webfont.ttf') format('truetype'), | |
url('assets/fonts/fullersansdt-regular-webfont.svg#FullerSansDTRegular') format('svg'); | |
font-weight: normal; | |
font-style: normal; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment