Created
April 18, 2016 13:57
-
-
Save bmbrands/4d9da6bf60617a2dee5cfb30b65547aa to your computer and use it in GitHub Desktop.
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(@family, @name, @weight: 300) { | |
@font-face{ | |
font-family: @family; | |
src:url('[[font:theme|@{name}.eot]]'); | |
src:url('[[font:theme|@{name}.eot]]?#iefix') format('embedded-opentype'), | |
url('[[font:theme|@{name}.woff]]') format('woff'), | |
url('[[font:theme|@{name}.ttf]]') format('truetype'), | |
url('[[font:theme|@{name}.svg]]') format('svg'); | |
font-weight: @weight; | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment