Created
March 8, 2013 20:12
-
-
Save markhealey/5119485 to your computer and use it in GitHub Desktop.
open sans, the right way
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: 'Open Sans'; | |
src: url('./font/opensansregular.eot'); | |
src: url('./font/opensansregular.eot?#iefix') format('embedded-opentype'), | |
url('./font/opensansregular.woff') format('woff'), | |
url('./font/opensansregular.ttf') format('truetype'), | |
url('./font/opensansregular.svg#opensansregular') format('svg'); | |
font-weight: normal; | |
font-style: normal; | |
} | |
@font-face { | |
font-family: 'Open Sans'; | |
src: url('./font/opensanssemibold.eot'); | |
src: url('./font/opensanssemibold.eot?#iefix') format('embedded-opentype'), | |
url('./font/opensanssemibold.woff') format('woff'), | |
url('./font/opensanssemibold.ttf') format('truetype'), | |
url('./font/opensanssemibold.svg#opensanssemibold') format('svg'); | |
font-weight: bold; | |
font-style: normal; | |
} |
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
/*http://fonts.googleapis.com/css?family=Open+Sans:400,600*/ | |
@font-face { | |
font-family: 'Open Sans'; | |
font-style: normal; | |
font-weight: 400; | |
src: local('☺'), /* IE */ | |
local('Open Sans'), | |
local('OpenSans'), | |
url(http://themes.googleusercontent.com/static/fonts/opensans/v6/cJZKeOuBrn4kERxqtaUH3bO3LdcAZYWl9Si6vvxL-qU.woff) format('woff'); | |
} | |
@font-face { | |
font-family: 'Open Sans'; | |
font-style: normal; | |
font-weight: 600; | |
src: local('☺'), /* IE */ | |
local('Open Sans Semibold'), | |
local('OpenSans-Semibold'), | |
url(http://themes.googleusercontent.com/static/fonts/opensans/v6/MTP_ySUJH_bn48VBG8sNSqRDOzjiPcYnFooOUGCOsRk.woff) format('woff'); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment