diff options
author | Max Wu | 2016-11-04 13:08:59 +0800 |
---|---|---|
committer | GitHub | 2016-11-04 13:08:59 +0800 |
commit | 8c5a5a0712bfd087204a44648a6114e089242c54 (patch) | |
tree | 2b06bc77d5bf383e6a6feebbb3d706ff596b0b57 | |
parent | 2167570c1161c8995bb0232b284e3efe33d8e7db (diff) | |
parent | 0bc90258bfb28e97a33784b2685d8dbd8d87f044 (diff) |
Merge pull request #243 from Yukaii/google-font-optional-cdn
Google font optional cdn
74 files changed, 219 insertions, 2 deletions
diff --git a/public/css/font.css b/public/css/font.css new file mode 100644 index 00000000..4aa29210 --- /dev/null +++ b/public/css/font.css @@ -0,0 +1,208 @@ +/* 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/SourceCodePro-Light.woff') format('woff'); + 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/SourceCodePro-Light.woff') format('woff'); + 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/SourceCodePro-Regular.woff') format('woff'); + 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/SourceCodePro-Regular.woff') format('woff'); + 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: 500; + src: local('Source Code Pro Medium'), local('SourceCodePro-Medium'), url('/fonts/SourceCodePro-Medium.woff') format('woff'); + 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: 500; + src: local('Source Code Pro Medium'), local('SourceCodePro-Medium'), url('/fonts/SourceCodePro-Medium.woff') format('woff'); + 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; +} +/* vietnamese */ +@font-face { + font-family: 'Source Sans Pro'; + font-style: normal; + font-weight: 300; + src: local('Source Sans Pro Light'), local('SourceSansPro-Light'), url('/fonts/SourceCodePro-Medium.woff') format('woff'); + unicode-range: U+0102-0103, U+1EA0-1EF9, U+20AB; +} +/* latin-ext */ +@font-face { + font-family: 'Source Sans Pro'; + font-style: normal; + font-weight: 300; + src: local('Source Sans Pro Light'), local('SourceSansPro-Light'), url('/fonts/SourceSansPro-Light.woff') format('woff'); + 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 Sans Pro'; + font-style: normal; + font-weight: 300; + src: local('Source Sans Pro Light'), local('SourceSansPro-Light'), url('/fonts/SourceSansPro-Light.woff') format('woff'); + 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; +} +/* vietnamese */ +@font-face { + font-family: 'Source Sans Pro'; + font-style: normal; + font-weight: 400; + src: local('Source Sans Pro'), local('SourceSansPro-Regular'), url('/fonts/SourceSansPro-Regular.woff') format('woff'); + unicode-range: U+0102-0103, U+1EA0-1EF9, U+20AB; +} +/* latin-ext */ +@font-face { + font-family: 'Source Sans Pro'; + font-style: normal; + font-weight: 400; + src: local('Source Sans Pro'), local('SourceSansPro-Regular'), url('/fonts/SourceSansPro-Regular.woff') format('woff'); + 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 Sans Pro'; + font-style: normal; + font-weight: 400; + src: local('Source Sans Pro'), local('SourceSansPro-Regular'), url('/fonts/SourceSansPro-Regular.woff') format('woff'); + 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; +} +/* vietnamese */ +@font-face { + font-family: 'Source Sans Pro'; + font-style: normal; + font-weight: 600; + src: local('Source Sans Pro Semibold'), local('SourceSansPro-Semibold'), url('/fonts/SourceSansPro-Semibold.woff') format('woff'); + unicode-range: U+0102-0103, U+1EA0-1EF9, U+20AB; +} +/* latin-ext */ +@font-face { + font-family: 'Source Sans Pro'; + font-style: normal; + font-weight: 600; + src: local('Source Sans Pro Semibold'), local('SourceSansPro-Semibold'), url('/fonts/SourceSansPro-Semibold.woff') format('woff'); + 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 Sans Pro'; + font-style: normal; + font-weight: 600; + src: local('Source Sans Pro Semibold'), local('SourceSansPro-Semibold'), url('/fonts/SourceSansPro-Semibold.woff') format('woff'); + 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; +} +/* vietnamese */ +@font-face { + font-family: 'Source Sans Pro'; + font-style: italic; + font-weight: 300; + src: local('Source Sans Pro Light Italic'), local('SourceSansPro-LightIt'), url('/fonts/SourceSansPro-LightItalic.woff') format('woff'); + unicode-range: U+0102-0103, U+1EA0-1EF9, U+20AB; +} +/* latin-ext */ +@font-face { + font-family: 'Source Sans Pro'; + font-style: italic; + font-weight: 300; + src: local('Source Sans Pro Light Italic'), local('SourceSansPro-LightIt'), url('/fonts/SourceSansPro-LightItalic.woff') format('woff'); + 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 Sans Pro'; + font-style: italic; + font-weight: 300; + src: local('Source Sans Pro Light Italic'), local('SourceSansPro-LightIt'), url('/fonts/SourceSansPro-LightItalic.woff') format('woff'); + 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; +} +/* vietnamese */ +@font-face { + font-family: 'Source Sans Pro'; + font-style: italic; + font-weight: 400; + src: local('Source Sans Pro Italic'), local('SourceSansPro-It'), url('/fonts/SourceSansPro-Italic.woff') format('woff'); + unicode-range: U+0102-0103, U+1EA0-1EF9, U+20AB; +} +/* latin-ext */ +@font-face { + font-family: 'Source Sans Pro'; + font-style: italic; + font-weight: 400; + src: local('Source Sans Pro Italic'), local('SourceSansPro-It'), url('/fonts/SourceSansPro-Italic.woff') format('woff'); + 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 Sans Pro'; + font-style: italic; + font-weight: 400; + src: local('Source Sans Pro Italic'), local('SourceSansPro-It'), url('/fonts/SourceSansPro-Italic.woff') format('woff'); + 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; +} +/* vietnamese */ +@font-face { + font-family: 'Source Sans Pro'; + font-style: italic; + font-weight: 600; + src: local('Source Sans Pro Semibold Italic'), local('SourceSansPro-SemiboldIt'), url('/fonts/SourceSansPro-SemiboldItalic.woff') format('woff'); + unicode-range: U+0102-0103, U+1EA0-1EF9, U+20AB; +} +/* latin-ext */ +@font-face { + font-family: 'Source Sans Pro'; + font-style: italic; + font-weight: 600; + src: local('Source Sans Pro Semibold Italic'), local('SourceSansPro-SemiboldIt'), url('/fonts/SourceSansPro-SemiboldItalic.woff') format('woff'); + 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 Sans Pro'; + font-style: italic; + font-weight: 600; + src: local('Source Sans Pro Semibold Italic'), local('SourceSansPro-SemiboldIt'), url('/fonts/SourceSansPro-SemiboldItalic.woff') format('woff'); + 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 Serif Pro'; + font-style: normal; + font-weight: 400; + src: local('Source Serif Pro'), local('SourceSerifPro-Regular'), url('/fonts/SourceSerifPro-Regular.woff') format('woff'); + 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 Serif Pro'; + font-style: normal; + font-weight: 400; + src: local('Source Serif Pro'), local('SourceSerifPro-Regular'), url('/fonts/SourceSerifPro-Regular.woff') format('woff'); + 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; +} diff --git a/public/css/google-font.css b/public/css/google-font.css new file mode 100644 index 00000000..02c1b103 --- /dev/null +++ b/public/css/google-font.css @@ -0,0 +1 @@ +@import url(https://fonts.googleapis.com/css?family=Source+Sans+Pro:400,400italic,600,600italic,300italic,300|Source+Serif+Pro|Source+Code+Pro:400,300,500&subset=latin,latin-ext); diff --git a/public/css/site.css b/public/css/site.css index 6c85ec92..3685149b 100644 --- a/public/css/site.css +++ b/public/css/site.css @@ -1,5 +1,4 @@ /* for all pages should include this */ -@import url(https://fonts.googleapis.com/css?family=Source+Sans+Pro:400,400italic,600,600italic,300italic,300|Source+Serif+Pro|Source+Code+Pro:400,300,500&subset=latin,latin-ext); body { font-smoothing: subpixel-antialiased !important; -webkit-font-smoothing: subpixel-antialiased !important; @@ -21,4 +20,4 @@ body { body.modal-open { overflow-y: auto; padding-right: 0 !important; -}
\ No newline at end of file +} diff --git a/public/fonts/SourceCodePro-Black.eot b/public/fonts/SourceCodePro-Black.eot Binary files differnew file mode 100644 index 00000000..84967c9e --- /dev/null +++ b/public/fonts/SourceCodePro-Black.eot diff --git a/public/fonts/SourceCodePro-Black.ttf b/public/fonts/SourceCodePro-Black.ttf Binary files differnew file mode 100755 index 00000000..ea73e60e --- /dev/null +++ b/public/fonts/SourceCodePro-Black.ttf diff --git a/public/fonts/SourceCodePro-Black.woff b/public/fonts/SourceCodePro-Black.woff Binary files differnew file mode 100644 index 00000000..d8c6ff3b --- /dev/null +++ b/public/fonts/SourceCodePro-Black.woff diff --git a/public/fonts/SourceCodePro-Bold.eot b/public/fonts/SourceCodePro-Bold.eot Binary files differnew file mode 100644 index 00000000..6c5ec04f --- /dev/null +++ b/public/fonts/SourceCodePro-Bold.eot diff --git a/public/fonts/SourceCodePro-Bold.ttf b/public/fonts/SourceCodePro-Bold.ttf Binary files differnew file mode 100755 index 00000000..a56f1fa5 --- /dev/null +++ b/public/fonts/SourceCodePro-Bold.ttf diff --git a/public/fonts/SourceCodePro-Bold.woff b/public/fonts/SourceCodePro-Bold.woff Binary files differnew file mode 100644 index 00000000..160233f9 --- /dev/null +++ b/public/fonts/SourceCodePro-Bold.woff diff --git a/public/fonts/SourceCodePro-ExtraLight.eot b/public/fonts/SourceCodePro-ExtraLight.eot Binary files differnew file mode 100644 index 00000000..0e74cd9d --- /dev/null +++ b/public/fonts/SourceCodePro-ExtraLight.eot diff --git a/public/fonts/SourceCodePro-ExtraLight.ttf b/public/fonts/SourceCodePro-ExtraLight.ttf Binary files differnew file mode 100755 index 00000000..f409b711 --- /dev/null +++ b/public/fonts/SourceCodePro-ExtraLight.ttf diff --git a/public/fonts/SourceCodePro-ExtraLight.woff b/public/fonts/SourceCodePro-ExtraLight.woff Binary files differnew file mode 100644 index 00000000..2663d390 --- /dev/null +++ b/public/fonts/SourceCodePro-ExtraLight.woff diff --git a/public/fonts/SourceCodePro-Light.eot b/public/fonts/SourceCodePro-Light.eot Binary files differnew file mode 100644 index 00000000..5486c8eb --- /dev/null +++ b/public/fonts/SourceCodePro-Light.eot diff --git a/public/fonts/SourceCodePro-Light.ttf b/public/fonts/SourceCodePro-Light.ttf Binary files differnew file mode 100755 index 00000000..51eb9630 --- /dev/null +++ b/public/fonts/SourceCodePro-Light.ttf diff --git a/public/fonts/SourceCodePro-Light.woff b/public/fonts/SourceCodePro-Light.woff Binary files differnew file mode 100644 index 00000000..6d869af4 --- /dev/null +++ b/public/fonts/SourceCodePro-Light.woff diff --git a/public/fonts/SourceCodePro-Medium.eot b/public/fonts/SourceCodePro-Medium.eot Binary files differnew file mode 100644 index 00000000..f4da67e1 --- /dev/null +++ b/public/fonts/SourceCodePro-Medium.eot diff --git a/public/fonts/SourceCodePro-Medium.ttf b/public/fonts/SourceCodePro-Medium.ttf Binary files differnew file mode 100755 index 00000000..1ee45ebd --- /dev/null +++ b/public/fonts/SourceCodePro-Medium.ttf diff --git a/public/fonts/SourceCodePro-Medium.woff b/public/fonts/SourceCodePro-Medium.woff Binary files differnew file mode 100644 index 00000000..93b28bf7 --- /dev/null +++ b/public/fonts/SourceCodePro-Medium.woff diff --git a/public/fonts/SourceCodePro-Regular.eot b/public/fonts/SourceCodePro-Regular.eot Binary files differnew file mode 100644 index 00000000..1163c3d9 --- /dev/null +++ b/public/fonts/SourceCodePro-Regular.eot diff --git a/public/fonts/SourceCodePro-Regular.ttf b/public/fonts/SourceCodePro-Regular.ttf Binary files differnew file mode 100755 index 00000000..b2cff928 --- /dev/null +++ b/public/fonts/SourceCodePro-Regular.ttf diff --git a/public/fonts/SourceCodePro-Regular.woff b/public/fonts/SourceCodePro-Regular.woff Binary files differnew file mode 100644 index 00000000..7c0c30d5 --- /dev/null +++ b/public/fonts/SourceCodePro-Regular.woff diff --git a/public/fonts/SourceCodePro-Semibold.eot b/public/fonts/SourceCodePro-Semibold.eot Binary files differnew file mode 100644 index 00000000..a65b9989 --- /dev/null +++ b/public/fonts/SourceCodePro-Semibold.eot diff --git a/public/fonts/SourceCodePro-Semibold.ttf b/public/fonts/SourceCodePro-Semibold.ttf Binary files differnew file mode 100755 index 00000000..b425f9ce --- /dev/null +++ b/public/fonts/SourceCodePro-Semibold.ttf diff --git a/public/fonts/SourceCodePro-Semibold.woff b/public/fonts/SourceCodePro-Semibold.woff Binary files differnew file mode 100644 index 00000000..934f2d8e --- /dev/null +++ b/public/fonts/SourceCodePro-Semibold.woff diff --git a/public/fonts/SourceSansPro-Black.eot b/public/fonts/SourceSansPro-Black.eot Binary files differnew file mode 100644 index 00000000..e4b94c74 --- /dev/null +++ b/public/fonts/SourceSansPro-Black.eot diff --git a/public/fonts/SourceSansPro-Black.ttf b/public/fonts/SourceSansPro-Black.ttf Binary files differnew file mode 100755 index 00000000..cb89a2d1 --- /dev/null +++ b/public/fonts/SourceSansPro-Black.ttf diff --git a/public/fonts/SourceSansPro-Black.woff b/public/fonts/SourceSansPro-Black.woff Binary files differnew file mode 100644 index 00000000..6fb5b6bf --- /dev/null +++ b/public/fonts/SourceSansPro-Black.woff diff --git a/public/fonts/SourceSansPro-BlackItalic.eot b/public/fonts/SourceSansPro-BlackItalic.eot Binary files differnew file mode 100644 index 00000000..c54675ec --- /dev/null +++ b/public/fonts/SourceSansPro-BlackItalic.eot diff --git a/public/fonts/SourceSansPro-BlackItalic.ttf b/public/fonts/SourceSansPro-BlackItalic.ttf Binary files differnew file mode 100755 index 00000000..c719243c --- /dev/null +++ b/public/fonts/SourceSansPro-BlackItalic.ttf diff --git a/public/fonts/SourceSansPro-BlackItalic.woff b/public/fonts/SourceSansPro-BlackItalic.woff Binary files differnew file mode 100644 index 00000000..23d557df --- /dev/null +++ b/public/fonts/SourceSansPro-BlackItalic.woff diff --git a/public/fonts/SourceSansPro-Bold.eot b/public/fonts/SourceSansPro-Bold.eot Binary files differnew file mode 100644 index 00000000..7fd8a03e --- /dev/null +++ b/public/fonts/SourceSansPro-Bold.eot diff --git a/public/fonts/SourceSansPro-Bold.ttf b/public/fonts/SourceSansPro-Bold.ttf Binary files differnew file mode 100755 index 00000000..50d81bda --- /dev/null +++ b/public/fonts/SourceSansPro-Bold.ttf diff --git a/public/fonts/SourceSansPro-Bold.woff b/public/fonts/SourceSansPro-Bold.woff Binary files differnew file mode 100644 index 00000000..d7b83f6c --- /dev/null +++ b/public/fonts/SourceSansPro-Bold.woff diff --git a/public/fonts/SourceSansPro-BoldItalic.eot b/public/fonts/SourceSansPro-BoldItalic.eot Binary files differnew file mode 100644 index 00000000..e3797fd1 --- /dev/null +++ b/public/fonts/SourceSansPro-BoldItalic.eot diff --git a/public/fonts/SourceSansPro-BoldItalic.ttf b/public/fonts/SourceSansPro-BoldItalic.ttf Binary files differnew file mode 100755 index 00000000..d20dd0c5 --- /dev/null +++ b/public/fonts/SourceSansPro-BoldItalic.ttf diff --git a/public/fonts/SourceSansPro-BoldItalic.woff b/public/fonts/SourceSansPro-BoldItalic.woff Binary files differnew file mode 100644 index 00000000..f7d5dae4 --- /dev/null +++ b/public/fonts/SourceSansPro-BoldItalic.woff diff --git a/public/fonts/SourceSansPro-ExtraLight.eot b/public/fonts/SourceSansPro-ExtraLight.eot Binary files differnew file mode 100644 index 00000000..a1fd012a --- /dev/null +++ b/public/fonts/SourceSansPro-ExtraLight.eot diff --git a/public/fonts/SourceSansPro-ExtraLight.ttf b/public/fonts/SourceSansPro-ExtraLight.ttf Binary files differnew file mode 100755 index 00000000..bb4176c6 --- /dev/null +++ b/public/fonts/SourceSansPro-ExtraLight.ttf diff --git a/public/fonts/SourceSansPro-ExtraLight.woff b/public/fonts/SourceSansPro-ExtraLight.woff Binary files differnew file mode 100644 index 00000000..cf3ff3f9 --- /dev/null +++ b/public/fonts/SourceSansPro-ExtraLight.woff diff --git a/public/fonts/SourceSansPro-ExtraLightItalic.eot b/public/fonts/SourceSansPro-ExtraLightItalic.eot Binary files differnew file mode 100644 index 00000000..d915d639 --- /dev/null +++ b/public/fonts/SourceSansPro-ExtraLightItalic.eot diff --git a/public/fonts/SourceSansPro-ExtraLightItalic.ttf b/public/fonts/SourceSansPro-ExtraLightItalic.ttf Binary files differnew file mode 100755 index 00000000..2c34f3b8 --- /dev/null +++ b/public/fonts/SourceSansPro-ExtraLightItalic.ttf diff --git a/public/fonts/SourceSansPro-ExtraLightItalic.woff b/public/fonts/SourceSansPro-ExtraLightItalic.woff Binary files differnew file mode 100644 index 00000000..9ab1a0e4 --- /dev/null +++ b/public/fonts/SourceSansPro-ExtraLightItalic.woff diff --git a/public/fonts/SourceSansPro-Italic.eot b/public/fonts/SourceSansPro-Italic.eot Binary files differnew file mode 100644 index 00000000..5a8050ab --- /dev/null +++ b/public/fonts/SourceSansPro-Italic.eot diff --git a/public/fonts/SourceSansPro-Italic.ttf b/public/fonts/SourceSansPro-Italic.ttf Binary files differnew file mode 100755 index 00000000..e5a1a86e --- /dev/null +++ b/public/fonts/SourceSansPro-Italic.ttf diff --git a/public/fonts/SourceSansPro-Italic.woff b/public/fonts/SourceSansPro-Italic.woff Binary files differnew file mode 100644 index 00000000..255135c3 --- /dev/null +++ b/public/fonts/SourceSansPro-Italic.woff diff --git a/public/fonts/SourceSansPro-Light.eot b/public/fonts/SourceSansPro-Light.eot Binary files differnew file mode 100644 index 00000000..9c562b1a --- /dev/null +++ b/public/fonts/SourceSansPro-Light.eot diff --git a/public/fonts/SourceSansPro-Light.ttf b/public/fonts/SourceSansPro-Light.ttf Binary files differnew file mode 100755 index 00000000..5f64679f --- /dev/null +++ b/public/fonts/SourceSansPro-Light.ttf diff --git a/public/fonts/SourceSansPro-Light.woff b/public/fonts/SourceSansPro-Light.woff Binary files differnew file mode 100644 index 00000000..50a762aa --- /dev/null +++ b/public/fonts/SourceSansPro-Light.woff diff --git a/public/fonts/SourceSansPro-LightItalic.eot b/public/fonts/SourceSansPro-LightItalic.eot Binary files differnew file mode 100644 index 00000000..d41a85e6 --- /dev/null +++ b/public/fonts/SourceSansPro-LightItalic.eot diff --git a/public/fonts/SourceSansPro-LightItalic.ttf b/public/fonts/SourceSansPro-LightItalic.ttf Binary files differnew file mode 100755 index 00000000..88a6778d --- /dev/null +++ b/public/fonts/SourceSansPro-LightItalic.ttf diff --git a/public/fonts/SourceSansPro-LightItalic.woff b/public/fonts/SourceSansPro-LightItalic.woff Binary files differnew file mode 100644 index 00000000..910d4eaa --- /dev/null +++ b/public/fonts/SourceSansPro-LightItalic.woff diff --git a/public/fonts/SourceSansPro-Regular.eot b/public/fonts/SourceSansPro-Regular.eot Binary files differnew file mode 100644 index 00000000..e22fdc50 --- /dev/null +++ b/public/fonts/SourceSansPro-Regular.eot diff --git a/public/fonts/SourceSansPro-Regular.ttf b/public/fonts/SourceSansPro-Regular.ttf Binary files differnew file mode 100755 index 00000000..91e9ea57 --- /dev/null +++ b/public/fonts/SourceSansPro-Regular.ttf diff --git a/public/fonts/SourceSansPro-Regular.woff b/public/fonts/SourceSansPro-Regular.woff Binary files differnew file mode 100644 index 00000000..93c5b505 --- /dev/null +++ b/public/fonts/SourceSansPro-Regular.woff diff --git a/public/fonts/SourceSansPro-Semibold.eot b/public/fonts/SourceSansPro-Semibold.eot Binary files differnew file mode 100644 index 00000000..cba2a52f --- /dev/null +++ b/public/fonts/SourceSansPro-Semibold.eot diff --git a/public/fonts/SourceSansPro-Semibold.ttf b/public/fonts/SourceSansPro-Semibold.ttf Binary files differnew file mode 100755 index 00000000..50205948 --- /dev/null +++ b/public/fonts/SourceSansPro-Semibold.ttf diff --git a/public/fonts/SourceSansPro-Semibold.woff b/public/fonts/SourceSansPro-Semibold.woff Binary files differnew file mode 100644 index 00000000..ddf9d18a --- /dev/null +++ b/public/fonts/SourceSansPro-Semibold.woff diff --git a/public/fonts/SourceSansPro-SemiboldItalic.eot b/public/fonts/SourceSansPro-SemiboldItalic.eot Binary files differnew file mode 100644 index 00000000..3aeb5805 --- /dev/null +++ b/public/fonts/SourceSansPro-SemiboldItalic.eot diff --git a/public/fonts/SourceSansPro-SemiboldItalic.ttf b/public/fonts/SourceSansPro-SemiboldItalic.ttf Binary files differnew file mode 100755 index 00000000..2c5ad300 --- /dev/null +++ b/public/fonts/SourceSansPro-SemiboldItalic.ttf diff --git a/public/fonts/SourceSansPro-SemiboldItalic.woff b/public/fonts/SourceSansPro-SemiboldItalic.woff Binary files differnew file mode 100644 index 00000000..fc18c378 --- /dev/null +++ b/public/fonts/SourceSansPro-SemiboldItalic.woff diff --git a/public/fonts/SourceSerifPro-Bold.eot b/public/fonts/SourceSerifPro-Bold.eot Binary files differnew file mode 100644 index 00000000..062cc334 --- /dev/null +++ b/public/fonts/SourceSerifPro-Bold.eot diff --git a/public/fonts/SourceSerifPro-Bold.ttf b/public/fonts/SourceSerifPro-Bold.ttf Binary files differnew file mode 100755 index 00000000..ac7837fd --- /dev/null +++ b/public/fonts/SourceSerifPro-Bold.ttf diff --git a/public/fonts/SourceSerifPro-Bold.woff b/public/fonts/SourceSerifPro-Bold.woff Binary files differnew file mode 100644 index 00000000..3792ec9c --- /dev/null +++ b/public/fonts/SourceSerifPro-Bold.woff diff --git a/public/fonts/SourceSerifPro-Regular.eot b/public/fonts/SourceSerifPro-Regular.eot Binary files differnew file mode 100644 index 00000000..05c218bf --- /dev/null +++ b/public/fonts/SourceSerifPro-Regular.eot diff --git a/public/fonts/SourceSerifPro-Regular.ttf b/public/fonts/SourceSerifPro-Regular.ttf Binary files differnew file mode 100755 index 00000000..7201a889 --- /dev/null +++ b/public/fonts/SourceSerifPro-Regular.ttf diff --git a/public/fonts/SourceSerifPro-Regular.woff b/public/fonts/SourceSerifPro-Regular.woff Binary files differnew file mode 100644 index 00000000..de8116bc --- /dev/null +++ b/public/fonts/SourceSerifPro-Regular.woff diff --git a/public/fonts/SourceSerifPro-Semibold.eot b/public/fonts/SourceSerifPro-Semibold.eot Binary files differnew file mode 100644 index 00000000..e7c6c54b --- /dev/null +++ b/public/fonts/SourceSerifPro-Semibold.eot diff --git a/public/fonts/SourceSerifPro-Semibold.ttf b/public/fonts/SourceSerifPro-Semibold.ttf Binary files differnew file mode 100755 index 00000000..db2fc804 --- /dev/null +++ b/public/fonts/SourceSerifPro-Semibold.ttf diff --git a/public/fonts/SourceSerifPro-Semibold.woff b/public/fonts/SourceSerifPro-Semibold.woff Binary files differnew file mode 100644 index 00000000..c60643db --- /dev/null +++ b/public/fonts/SourceSerifPro-Semibold.woff diff --git a/public/js/htmlExport.js b/public/js/htmlExport.js index e9fc41c6..1c2c5eb9 100644 --- a/public/js/htmlExport.js +++ b/public/js/htmlExport.js @@ -2,4 +2,5 @@ require('../css/github-extract.css'); require('../css/markdown.css'); require('../css/extra.css'); require('../css/slide-preview.css'); +require('../css/google-font.css'); require('../css/site.css'); diff --git a/public/views/head.ejs b/public/views/head.ejs index 77cc1cf0..3ec4cd67 100644 --- a/public/views/head.ejs +++ b/public/views/head.ejs @@ -11,10 +11,12 @@ <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/ionicons/2.0.1/css/ionicons.min.css" integrity="sha256-3iu9jgsy9TpTwXKb7bNQzqWekRX7pPK+2OLj3R922fo=" crossorigin="anonymous" /> <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/octicons/3.5.0/octicons.min.css" integrity="sha256-QiWfLIsCT02Sdwkogf6YMiQlj4NE84MKkzEMkZnMGdg=" crossorigin="anonymous" /> <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/bootstrap-social/4.9.0/bootstrap-social.min.css" integrity="sha256-02JtFTurpwBjQJ6q13iJe82/NF0RbZlJroDegK5g87Y=" crossorigin="anonymous" /> +<link rel="stylesheet" href="<%- url %>/css/google-font.css"> <% } else { %> <link rel="stylesheet" href="<%- url %>/vendor/Ionicons/css/ionicons.min.css"> <link rel="stylesheet" href="<%- url %>/vendor/octicons/octicons/octicons.css"> <link rel="stylesheet" href="<%- url %>/css/bootstrap-social.css"> +<link rel="stylesheet" href="<%- url %>/css/font.css"> <% } %> <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/twitter-bootstrap/3.3.7/css/bootstrap.min.css" integrity="sha256-916EbMg70RQy9LHiGkXzG8hSg9EdNy97GazNG/aiY1w=" crossorigin="anonymous" /> <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.6.3/css/font-awesome.min.css" integrity="sha256-AIodEDkC8V/bHBkfyxzolUMw57jeQ9CauwhVW6YJ9CA=" crossorigin="anonymous" /> diff --git a/public/views/index.ejs b/public/views/index.ejs index 1b04886a..fec6fae6 100644 --- a/public/views/index.ejs +++ b/public/views/index.ejs @@ -21,12 +21,14 @@ <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/bootstrap-social/4.9.0/bootstrap-social.min.css" integrity="sha256-02JtFTurpwBjQJ6q13iJe82/NF0RbZlJroDegK5g87Y=" crossorigin="anonymous" /> <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/select2/3.5.4/select2.min.css" integrity="sha256-ijlUKKj3hJCiiT2HWo1kqkI79NTEYpzOsw5Rs3k42dI=" crossorigin="anonymous" /> <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/select2/3.5.4/select2-bootstrap.min.css" integrity="sha256-NAWFcNIZdH+TS1xpWujF/EB/Y8gwBbEOCoaK/eqaer8=" crossorigin="anonymous" /> + <link rel="stylesheet" href="<%- url %>/css/google-font.css"> <% } else { %> <link rel="stylesheet" href="<%- url %>/vendor/bootstrap/dist/css/bootstrap.min.css"> <link rel="stylesheet" href="<%- url %>/vendor/font-awesome/css/font-awesome.min.css"> <link rel="stylesheet" href="<%- url %>/css/bootstrap-social.css"> <link rel="stylesheet" href="<%- url %>/vendor/select2/select2.css"> <link rel="stylesheet" href="<%- url %>/vendor/select2/select2-bootstrap.css"> + <link rel="stylesheet" href="<%- url %>/css/font.css"> <% } %> <!-- Custom styles for this template --> <%- include build/cover-header %> diff --git a/public/views/pretty.ejs b/public/views/pretty.ejs index c70553be..5e76fc6b 100644 --- a/public/views/pretty.ejs +++ b/public/views/pretty.ejs @@ -20,9 +20,11 @@ <% if(useCDN) { %> <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/ionicons/2.0.1/css/ionicons.min.css" integrity="sha256-3iu9jgsy9TpTwXKb7bNQzqWekRX7pPK+2OLj3R922fo=" crossorigin="anonymous" /> <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/octicons/3.5.0/octicons.min.css" integrity="sha256-QiWfLIsCT02Sdwkogf6YMiQlj4NE84MKkzEMkZnMGdg=" crossorigin="anonymous" /> + <link rel="stylesheet" href="<%- url %>/css/google-font.css"> <% } else { %> <link rel="stylesheet" href="<%- url %>/vendor/Ionicons/css/ionicons.min.css"> <link rel="stylesheet" href="<%- url %>/vendor/octicons/octicons/octicons.css"> + <link rel="stylesheet" href="<%- url %>/css/font.css"> <% } %> <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/twitter-bootstrap/3.3.7/css/bootstrap.min.css" integrity="sha256-916EbMg70RQy9LHiGkXzG8hSg9EdNy97GazNG/aiY1w=" crossorigin="anonymous" /> <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.6.3/css/font-awesome.min.css" integrity="sha256-AIodEDkC8V/bHBkfyxzolUMw57jeQ9CauwhVW6YJ9CA=" crossorigin="anonymous" /> diff --git a/public/views/slide.ejs b/public/views/slide.ejs index e1a8c9b8..2cc79be0 100644 --- a/public/views/slide.ejs +++ b/public/views/slide.ejs @@ -18,10 +18,12 @@ <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.6.3/css/font-awesome.min.css" integrity="sha256-AIodEDkC8V/bHBkfyxzolUMw57jeQ9CauwhVW6YJ9CA=" crossorigin="anonymous" /> <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/ionicons/2.0.1/css/ionicons.min.css" integrity="sha256-3iu9jgsy9TpTwXKb7bNQzqWekRX7pPK+2OLj3R922fo=" crossorigin="anonymous" /> <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/octicons/3.5.0/octicons.min.css" integrity="sha256-QiWfLIsCT02Sdwkogf6YMiQlj4NE84MKkzEMkZnMGdg=" crossorigin="anonymous" /> + <link rel="stylesheet" href="<%- url %>/css/google-font.css"> <% } else { %> <link rel="stylesheet" href='<%- url %>/vendor/font-awesome/css/font-awesome.min.css'> <link rel="stylesheet" href="<%- url %>/vendor/Ionicons/css/ionicons.min.css"> <link rel="stylesheet" href="<%- url %>/vendor/octicons/octicons/octicons.css"> + <link rel="stylesheet" href="<%- url %>/css/font.css"> <% } %> <link rel="stylesheet" href='<%- url %>/vendor/bootstrap/tooltip.min.css'> |