Skip to content

Commit

Permalink
将source pro字体换到线下
Browse files Browse the repository at this point in the history
  • Loading branch information
ksky521 committed Jul 23, 2015
1 parent 122b981 commit 370b003
Show file tree
Hide file tree
Showing 9 changed files with 50 additions and 2 deletions.
2 changes: 1 addition & 1 deletion assets/css/nodeppt.css

Large diffs are not rendered by default.

Binary file added assets/fonts/source-pro-light-latin-ext.woff2
Binary file not shown.
Binary file added assets/fonts/source-pro-light-latin.woff2
Binary file not shown.
Binary file added assets/fonts/source-pro-regular-latin-ext.woff2
Binary file not shown.
Binary file added assets/fonts/source-pro-regular-latin.woff2
Binary file not shown.
Binary file added assets/fonts/source-pro-siemibold-latin-ext.woff2
Binary file not shown.
Binary file added assets/fonts/source-pro-siemibold-latin.woff2
Binary file not shown.
48 changes: 48 additions & 0 deletions assets/scss/_fonts.scss
Original file line number Diff line number Diff line change
@@ -0,0 +1,48 @@
/* latin-ext */
@font-face {
font-family: 'Source Code Pro';
font-style: normal;
font-weight: 300;
src: local('Source Code Pro Light'), local('SourceCodePro-Light'), url(../fonts/source-pro-light-latin-ext.woff2) format('woff2');
unicode-range: U+0100-024F, U+1E00-1EFF, U+20A0-20AB, U+20AD-20CF, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
font-family: 'Source Code Pro';
font-style: normal;
font-weight: 300;
src: local('Source Code Pro Light'), local('SourceCodePro-Light'), url(../fonts/source-pro-light-latin.woff2) format('woff2');
unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2212, U+2215, U+E0FF, U+EFFD, U+F000;
}
/* latin-ext */
@font-face {
font-family: 'Source Code Pro';
font-style: normal;
font-weight: 400;
src: local('Source Code Pro'), local('SourceCodePro-Regular'), url(../fonts/source-pro-regular-latin-ext.woff2) format('woff2');
unicode-range: U+0100-024F, U+1E00-1EFF, U+20A0-20AB, U+20AD-20CF, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
font-family: 'Source Code Pro';
font-style: normal;
font-weight: 400;
src: local('Source Code Pro'), local('SourceCodePro-Regular'), url(../fonts/source-pro-regular-latin.woff2) format('woff2');
unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2212, U+2215, U+E0FF, U+EFFD, U+F000;
}
/* latin-ext */
@font-face {
font-family: 'Source Code Pro';
font-style: normal;
font-weight: 600;
src: local('Source Code Pro Semibold'), local('SourceCodePro-Semibold'), url(../fonts/source-pro-siemibold-latin-ext.woff2) format('woff2');
unicode-range: U+0100-024F, U+1E00-1EFF, U+20A0-20AB, U+20AD-20CF, U+2C60-2C7F, U+A720-A7FF;
}
/* latin */
@font-face {
font-family: 'Source Code Pro';
font-style: normal;
font-weight: 600;
src: local('Source Code Pro Semibold'), local('SourceCodePro-Semibold'), url(../fonts/source-pro-siemibold-latin.woff2) format('woff2');
unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2212, U+2215, U+E0FF, U+EFFD, U+F000;
}
2 changes: 1 addition & 1 deletion assets/scss/nodeppt.scss
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
@charset "UTF-8";
@import url(http://fonts.useso.com/css?family=Source%20Code%20Pro:light,regular,semibold);
@import "fonts";
@import "base";
@import "compass/css3/columns";
@import "compass/css3/user-interface";
Expand Down

0 comments on commit 370b003

Please sign in to comment.