Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fixed font loading issues with Chrome
- Loading branch information
Showing
3 changed files
with
55 additions
and
62 deletions.
There are no files selected for viewing
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
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,51 @@ | ||
@font-face { | ||
font-family: "Source Code Pro"; | ||
src: url(/static/fonts/SourceCodePro-Regular.woff); | ||
font-weight: 400; | ||
} | ||
|
||
@font-face { | ||
font-family: "Source Code Pro"; | ||
src: url(/static/fonts/SourceCodePro-Medium.woff); | ||
font-weight: 500; | ||
} | ||
|
||
@font-face { | ||
font-family: "Source Code Pro"; | ||
src: url(/static/fonts/SourceCodePro-SemiBold.woff); | ||
font-weight: 600; | ||
} | ||
|
||
@font-face { | ||
font-family: "Source Code Pro"; | ||
src: url(/static/fonts/SourceCodePro-Bold.woff); | ||
font-weight: 700; | ||
} | ||
|
||
@font-face { | ||
font-family: "Source Code Pro"; | ||
src: url(/static/fonts/SourceCodePro-Italic.woff); | ||
font-weight: 400; | ||
font-style: italic; | ||
} | ||
|
||
@font-face { | ||
font-family: "Source Code Pro"; | ||
src: url(/static/fonts/SourceCodePro-MediumItalic.woff); | ||
font-weight: 500; | ||
font-style: italic; | ||
} | ||
|
||
@font-face { | ||
font-family: "Source Code Pro"; | ||
src: url(/static/fonts/SourceCodePro-SemiBoldItalic.woff); | ||
font-weight: 600; | ||
font-style: italic; | ||
} | ||
|
||
@font-face { | ||
font-family: "Source Code Pro"; | ||
src: url(/static/fonts/SourceCodePro-BoldItalic.woff); | ||
font-weight: 700; | ||
font-style: italic; | ||
} |