Last active
December 9, 2016 20:09
-
-
Save wycks/42e88a4a6e034863584c to your computer and use it in GitHub Desktop.
Revisions
-
wycks revised this gist
Jul 4, 2014 . 1 changed file with 8 additions and 1 deletion.There are no files selected for viewing
This file contains hidden or 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 charactersOriginal file line number Diff line number Diff line change @@ -33,4 +33,11 @@ url('../font/larsseit.svg#LarsseitRegular') format('svg'); font-weight: normal; font-style: normal; } /* htaccess hack */ <FilesMatch "\.(ttf|otf|woff)$"> <IfModule mod_headers.c> Header set Access-Control-Allow-Origin "*" </IfModule> </FilesMatch> -
wycks revised this gist
Jul 4, 2014 . 1 changed file with 14 additions and 1 deletion.There are no files selected for viewing
This file contains hidden or 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 charactersOriginal file line number Diff line number Diff line change @@ -1,4 +1,4 @@ /* chrome fix render svg first */ @media screen and (-webkit-min-device-pixel-ratio:0) { @font-face { font-family: 'LarsseitBold'; @@ -20,4 +20,17 @@ font-family: 'LarsseitThin'; src: url('../font/test/larsseit-thin.svg') format('svg'); } } /* for other browser just load it like so */ @font-face { font-family: 'LarsseitRegular'; src: url('../font/larsseit.eot'); src: url('../font/larsseit.eot?#iefix') format('embedded-opentype'), url('../font/larsseit.woff') format('woff'), url('../font/larsseit.ttf') format('truetype'), url('../font/larsseit.svg#LarsseitRegular') format('svg'); font-weight: normal; font-style: normal; } -
wycks renamed this gist
Jul 4, 2014 . 1 changed file with 0 additions and 0 deletions.There are no files selected for viewing
File renamed without changes. -
wycks created this gist
Jul 4, 2014 .There are no files selected for viewing
This file contains hidden or 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 charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,23 @@ /*//chrome fix render svg first*/ @media screen and (-webkit-min-device-pixel-ratio:0) { @font-face { font-family: 'LarsseitBold'; src: url('../font/good/larsseit-bold.svg') format('svg'); } @font-face { font-family: 'LarsseitExtraBold'; src: url('../font/good/larsseit-extrabold.svg') format('svg'); } @font-face { font-family: 'LarsseitMedium'; src: url('../font/test/larsseit-medium.svg') format('svg'); } @font-face { font-family: 'LarsseitRegular'; src: url('../font/good/larsseit.svg') format('svg'); } @font-face { font-family: 'LarsseitThin'; src: url('../font/test/larsseit-thin.svg') format('svg'); } }