diff --git a/public/fonts.css b/public/fonts.css index f4feef653..87aaa26a9 100644 --- a/public/fonts.css +++ b/public/fonts.css @@ -4,7 +4,8 @@ font-style: normal; font-weight: 400; src: url("/fonts/source-sans-pro-v21-latin-regular.eot"); /* IE9 Compat Modes */ - src: local(""), + src: + local(""), url("/fonts/source-sans-pro-v21-latin-regular.eot?#iefix") format("embedded-opentype"), /* IE6-IE8 */ url("/fonts/source-sans-pro-v21-latin-regular.woff2") @@ -24,7 +25,8 @@ font-style: italic; font-weight: 400; src: url("/fonts/source-sans-pro-v21-latin-italic.eot"); /* IE9 Compat Modes */ - src: local(""), + src: + local(""), url("/fonts/source-sans-pro-v21-latin-italic.eot?#iefix") format("embedded-opentype"), /* IE6-IE8 */ url("/fonts/source-sans-pro-v21-latin-italic.woff2") @@ -44,7 +46,8 @@ font-style: normal; font-weight: 600; src: url("/fonts/source-sans-pro-v21-latin-600.eot"); /* IE9 Compat Modes */ - src: local(""), + src: + local(""), url("/fonts/source-sans-pro-v21-latin-600.eot?#iefix") format("embedded-opentype"), /* IE6-IE8 */ url("/fonts/source-sans-pro-v21-latin-600.woff2") @@ -64,7 +67,8 @@ font-style: normal; font-weight: 700; src: url("/fonts/source-sans-pro-v21-latin-700.eot"); /* IE9 Compat Modes */ - src: local(""), + src: + local(""), url("/fonts/source-sans-pro-v21-latin-700.eot?#iefix") format("embedded-opentype"), /* IE6-IE8 */ url("/fonts/source-sans-pro-v21-latin-700.woff2") @@ -77,3 +81,17 @@ url("/fonts/source-sans-pro-v21-latin-700.svg#SourceSansPro") format("svg"); /* Legacy iOS */ } + +/* Source Code Pro */ +@font-face { + font-family: "Source Code Pro"; + font-style: normal; + src: url("/fonts/SourceCodePro-VariableFont_wght.ttf") format("truetype"); +} + +@font-face { + font-family: "Source Code Pro"; + font-style: italic; + src: url("/fonts/SourceCodePro-Italic-VariableFont_wght.ttf") + format("truetype"); +} diff --git a/public/fonts/SourceCodePro-Italic-VariableFont_wght.ttf b/public/fonts/SourceCodePro-Italic-VariableFont_wght.ttf new file mode 100644 index 000000000..d3678bc35 Binary files /dev/null and b/public/fonts/SourceCodePro-Italic-VariableFont_wght.ttf differ diff --git a/public/fonts/SourceCodePro-VariableFont_wght.ttf b/public/fonts/SourceCodePro-VariableFont_wght.ttf new file mode 100644 index 000000000..19bb67127 Binary files /dev/null and b/public/fonts/SourceCodePro-VariableFont_wght.ttf differ diff --git a/static/fonts.css b/static/fonts.css index f4feef653..87aaa26a9 100644 --- a/static/fonts.css +++ b/static/fonts.css @@ -4,7 +4,8 @@ font-style: normal; font-weight: 400; src: url("/fonts/source-sans-pro-v21-latin-regular.eot"); /* IE9 Compat Modes */ - src: local(""), + src: + local(""), url("/fonts/source-sans-pro-v21-latin-regular.eot?#iefix") format("embedded-opentype"), /* IE6-IE8 */ url("/fonts/source-sans-pro-v21-latin-regular.woff2") @@ -24,7 +25,8 @@ font-style: italic; font-weight: 400; src: url("/fonts/source-sans-pro-v21-latin-italic.eot"); /* IE9 Compat Modes */ - src: local(""), + src: + local(""), url("/fonts/source-sans-pro-v21-latin-italic.eot?#iefix") format("embedded-opentype"), /* IE6-IE8 */ url("/fonts/source-sans-pro-v21-latin-italic.woff2") @@ -44,7 +46,8 @@ font-style: normal; font-weight: 600; src: url("/fonts/source-sans-pro-v21-latin-600.eot"); /* IE9 Compat Modes */ - src: local(""), + src: + local(""), url("/fonts/source-sans-pro-v21-latin-600.eot?#iefix") format("embedded-opentype"), /* IE6-IE8 */ url("/fonts/source-sans-pro-v21-latin-600.woff2") @@ -64,7 +67,8 @@ font-style: normal; font-weight: 700; src: url("/fonts/source-sans-pro-v21-latin-700.eot"); /* IE9 Compat Modes */ - src: local(""), + src: + local(""), url("/fonts/source-sans-pro-v21-latin-700.eot?#iefix") format("embedded-opentype"), /* IE6-IE8 */ url("/fonts/source-sans-pro-v21-latin-700.woff2") @@ -77,3 +81,17 @@ url("/fonts/source-sans-pro-v21-latin-700.svg#SourceSansPro") format("svg"); /* Legacy iOS */ } + +/* Source Code Pro */ +@font-face { + font-family: "Source Code Pro"; + font-style: normal; + src: url("/fonts/SourceCodePro-VariableFont_wght.ttf") format("truetype"); +} + +@font-face { + font-family: "Source Code Pro"; + font-style: italic; + src: url("/fonts/SourceCodePro-Italic-VariableFont_wght.ttf") + format("truetype"); +} diff --git a/static/fonts/SourceCodePro-Italic-VariableFont_wght.ttf b/static/fonts/SourceCodePro-Italic-VariableFont_wght.ttf new file mode 100644 index 000000000..d3678bc35 Binary files /dev/null and b/static/fonts/SourceCodePro-Italic-VariableFont_wght.ttf differ diff --git a/static/fonts/SourceCodePro-VariableFont_wght.ttf b/static/fonts/SourceCodePro-VariableFont_wght.ttf new file mode 100644 index 000000000..19bb67127 Binary files /dev/null and b/static/fonts/SourceCodePro-VariableFont_wght.ttf differ