Created
June 17, 2014 02:57
-
-
Save jenbennings/4739c35b10672735886c to your computer and use it in GitHub Desktop.
Typotheque font import
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: "Jigsaw"; | |
src: url("https://s3.amazonaws.com/fonts.typotheque.com/WF-XXXXXX-XXXXXX-XXXXXX-XXXXXXXXXX.eot"); | |
src: url("https://s3.amazonaws.com/fonts.typotheque.com/WF-XXXXXX-XXXXXX-XXXXXX-XXXXXXXXXX.eot?#iefix") format("embedded-opentype"), url("https://s3.amazonaws.com/fonts.typotheque.com/WF-XXXXXX-XXXXXX-XXXXXX-XXXXXXXXXX.woff") format("woff"), url("https://s3.amazonaws.com/fonts.typotheque.com/WF-XXXXXX-XXXXXX-XXXXXX-XXXXXXXXXX.svg#typotheque_webfonts_service") format("svg"); | |
font-style: normal; | |
font-weight: 300; | |
font-stretch: normal; | |
} | |
@font-face { | |
font-family: "Jigsaw"; | |
src: url("https://s3.amazonaws.com/fonts.typotheque.com/WF-XXXXXX-XXXXXX-XXXXXX-XXXXXXXXXX.eot"); | |
src: url("https://s3.amazonaws.com/fonts.typotheque.com/WF-XXXXXX-XXXXXX-XXXXXX-XXXXXXXXXX.eot?#iefix") format("embedded-opentype"), url("https://s3.amazonaws.com/fonts.typotheque.com/WF-XXXXXX-XXXXXX-XXXXXX-XXXXXXXXXX.woff") format("woff"), url("https://s3.amazonaws.com/fonts.typotheque.com/WF-XXXXXX-XXXXXX-XXXXXX-XXXXXXXXXX.svg#typotheque_webfonts_service") format("svg"); | |
font-style: normal; | |
font-weight: 400; | |
font-stretch: normal; | |
} | |
@font-face { | |
font-family: "Jigsaw"; | |
src: url("https://s3.amazonaws.com/fonts.typotheque.com/WF-XXXXXX-XXXXXX-XXXXXX-XXXXXXXXXX.eot"); | |
src: url("https://s3.amazonaws.com/fonts.typotheque.com/WF-XXXXXX-XXXXXX-XXXXXX-XXXXXXXXXX.eot?#iefix") format("embedded-opentype"), url("https://s3.amazonaws.com/fonts.typotheque.com/WF-XXXXXX-XXXXXX-XXXXXX-XXXXXXXXXX.woff") format("woff"), url("https://s3.amazonaws.com/fonts.typotheque.com/WF-XXXXXX-XXXXXX-XXXXXX-XXXXXXXXXX.svg#typotheque_webfonts_service") format("svg"); | |
font-style: normal; | |
font-weight: 500; | |
font-stretch: normal; | |
} | |
@font-face { | |
font-family: "Jigsaw"; | |
src: url("https://s3.amazonaws.com/fonts.typotheque.com/WF-XXXXXX-XXXXXX-XXXXXX-XXXXXXXXXX.eot"); | |
src: url("https://s3.amazonaws.com/fonts.typotheque.com/WF-XXXXXX-XXXXXX-XXXXXX-XXXXXXXXXX.eot?#iefix") format("embedded-opentype"), url("https://s3.amazonaws.com/fonts.typotheque.com/WF-XXXXXX-XXXXXX-XXXXXX-XXXXXXXXXX.woff") format("woff"), url("https://s3.amazonaws.com/fonts.typotheque.com/WF-XXXXXX-XXXXXX-XXXXXX-XXXXXXXXXX.svg#typotheque_webfonts_service") format("svg"); | |
font-style: normal; | |
font-weight: 700; | |
font-stretch: normal; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
This would let me declare weights simply by specifying the weight as a variable (using Sass).
As opposed to your current configuration, which requires: