Created
August 10, 2015 22:58
-
-
Save jsoningram/afc77c2c32dc183d5d9c to your computer and use it in GitHub Desktop.
@font-face for local Google fonts
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
/* Lato */ | |
@font-face { | |
font-family: 'Lato'; | |
font-style: normal; | |
font-weight: 100; | |
src: local('Lato Hairline'), local('Lato-Hairline'), url(../fonts/Lato-Hairline.ttf) format('truetype'); | |
} | |
@font-face { | |
font-family: 'Lato'; | |
font-style: normal; | |
font-weight: 300; | |
src: local('Lato Light'), local('Lato-Light'), url(../fonts/Lato-Light.ttf) format('truetype'); | |
} | |
@font-face { | |
font-family: 'Lato'; | |
font-style: normal; | |
font-weight: 400; | |
src: local('Lato Regular'), local('Lato-Regular'), url(../fonts/Lato-Regular.ttf) format('truetype'); | |
} | |
@font-face { | |
font-family: 'Lato'; | |
font-style: normal; | |
font-weight: 700; | |
src: local('Lato Bold'), local('Lato-Bold'), url(../fonts/Lato-Bold.ttf) format('truetype'); | |
} | |
@font-face { | |
font-family: 'Lato'; | |
font-style: normal; | |
font-weight: 900; | |
src: local('Lato Black'), local('Lato-Black'), url(../fonts/Lato-Black.ttf) format('truetype'); | |
} | |
@font-face { | |
font-family: 'Lato'; | |
font-style: italic; | |
font-weight: 100; | |
src: local('Lato Hairline Italic'), local('Lato-HairlineItalic'), url(../fonts/Lato-HairlineItalic.ttf) format('truetype'); | |
} | |
@font-face { | |
font-family: 'Lato'; | |
font-style: italic; | |
font-weight: 300; | |
src: local('Lato Light Italic'), local('Lato-LightItalic'), url(../fonts/Lato-LightItalic.ttf) format('truetype'); | |
} | |
@font-face { | |
font-family: 'Lato'; | |
font-style: italic; | |
font-weight: 400; | |
src: local('Lato Italic'), local('Lato-Italic'), url(../fonts/Lato-Italic.ttf) format('truetype'); | |
} | |
@font-face { | |
font-family: 'Lato'; | |
font-style: italic; | |
font-weight: 700; | |
src: local('Lato Bold Italic'), local('Lato-BoldItalic'), url(../fonts/Lato-BoldItalic.ttf) format('truetype'); | |
} | |
@font-face { | |
font-family: 'Lato'; | |
font-style: italic; | |
font-weight: 900; | |
src: local('Lato Black Italic'), local('Lato-BlackItalic'), url(../fonts/Lato-BlackItalic.ttf) format('truetype'); | |
} | |
/* Open Sans */ | |
@font-face { | |
font-family: 'Open Sans'; | |
font-style: normal; | |
font-weight: 300; | |
src: local('Open Sans Light'), local('OpenSans-Light'), url(../fonts/OpenSans-Bold.ttf) format('truetype'); | |
} | |
@font-face { | |
font-family: 'Open Sans'; | |
font-style: normal; | |
font-weight: 400; | |
src: local('Open Sans'), local('OpenSans'), url(../fonts/OpenSans-Regular.ttf) format('truetype'); | |
} | |
@font-face { | |
font-family: 'Open Sans'; | |
font-style: normal; | |
font-weight: 700; | |
src: local('Open Sans Bold'), local('OpenSans-Bold'), url(../fonts/OpenSans-Bold.ttf) format('truetype'); | |
} | |
@font-face { | |
font-family: 'Open Sans'; | |
font-style: normal; | |
font-weight: 800; | |
src: local('Open Sans Extrabold'), local('OpenSans-Extrabold'), url(../fonts/OpenSans-ExtraBold.ttf) format('truetype'); | |
} | |
@font-face { | |
font-family: 'Open Sans'; | |
font-style: normal; | |
font-weight: 300; | |
src: local('Open Sans Light'), local('OpenSans-Light'), url(../fonts/OpenSans-Light.ttf) format('truetype'); | |
} | |
@font-face { | |
font-family: 'Open Sans'; | |
font-style: normal; | |
font-weight: 600; | |
src: local('Open Sans Semibold'), local('OpenSans-Semibold'), url(../fonts/OpenSans-Semibold.ttf) format('truetype'); | |
} | |
@font-face { | |
font-family: 'Open Sans'; | |
font-style: italic; | |
font-weight: 300; | |
src: local('Open Sans Light Italic'), local('OpenSansLight-Italic'), url(../fonts/OpenSans-LightItalic.ttf) format('truetype'); | |
} | |
@font-face { | |
font-family: 'Open Sans'; | |
font-style: italic; | |
font-weight: 400; | |
src: local('Open Sans Italic'), local('OpenSans-Italic'), url(../fonts/OpenSans-Italic.ttf) format('truetype'); | |
} | |
@font-face { | |
font-family: 'Open Sans'; | |
font-style: italic; | |
font-weight: 600; | |
src: local('Open Sans Semibold Italic'), local('OpenSans-SemiboldItalic'), url(../fonts/OpenSans-SemiboldItalic.ttf) format('truetype'); | |
} | |
@font-face { | |
font-family: 'Roboto Condensed'; | |
font-style: normal; | |
font-weight: 300; | |
src: local('Roboto Condensed Light'), local('RobotoCondensed-Light'), url(../fonts/RobotoCondensed-Light.ttf) format('truetype'); | |
} | |
@font-face { | |
font-family: 'Roboto Condensed'; | |
font-style: normal; | |
font-weight: 400; | |
src: local('Roboto Condensed'), local('RobotoCondensed-Regular'), url(../fonts/RobotoCondensed-Regular.ttf) format('truetype'); | |
} | |
@font-face { | |
font-family: 'Roboto Condensed'; | |
font-style: normal; | |
font-weight: 700; | |
src: local('Roboto Condensed Bold'), local('RobotoCondensed-Bold'), url(../fonts/RobotoCondensed-Bold.ttf) format('truetype'); | |
} | |
@font-face { | |
font-family: 'Roboto Condensed'; | |
font-style: italic; | |
font-weight: 300; | |
src: local('Roboto Condensed Light Italic'), local('RobotoCondensed-LightItalic'), url(../fonts/RobotoCondensed-LightItalic.ttf) format('truetype'); | |
} | |
@font-face { | |
font-family: 'Roboto Condensed'; | |
font-style: italic; | |
font-weight: 400; | |
src: local('Roboto Condensed Italic'), local('RobotoCondensed-Italic'), url(../fonts/RobotoCondensed-Italic.ttf) format('truetype'); | |
} | |
@font-face { | |
font-family: 'Roboto Condensed'; | |
font-style: italic; | |
font-weight: 700; | |
src: local('Roboto Condensed Bold Italic'), local('RobotoCondensed-BoldItalic'), url(../fonts/RobotoCondensed-BoldItalic.ttf) format('truetype'); | |
} | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment