diff --git a/static/css/roboto.css b/static/css/roboto.css index 750c238..eece89e 100644 --- a/static/css/roboto.css +++ b/static/css/roboto.css @@ -1,104 +1,16 @@ -/* BEGIN Thin */ +/* latin-ext */ @font-face { - font-family: Roboto; - src: url("../fonts/Roboto/Roboto-Thin.woff2") format("woff2"); - font-weight: 100; - font-style: normal; } -/* END Thin */ -/* BEGIN Thin Italic */ + font-family: 'Roboto'; + font-style: normal; + font-weight: 400; + src: local('Roboto'), local('Roboto-Regular'), url(../fonts/Roboto-Regular_latin.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: Roboto; - src: url("../fonts/Roboto/Roboto-ThinItalic.woff2") format("woff2"); - font-weight: 100; - font-style: italic; } -/* END Thin Italic */ -/* BEGIN Light */ -@font-face { - font-family: Roboto; - src: url("../fonts/Roboto/Roboto-Light.woff2") format("woff2"); - font-weight: 300; - font-style: normal; } -/* END Light */ -/* BEGIN Light Italic */ -@font-face { - font-family: Roboto; - src: url("../fonts/Roboto/Roboto-LightItalic.woff2") format("woff2"); - font-weight: 300; - font-style: italic; } -/* END Light Italic */ -/* BEGIN Regular */ -@font-face { - font-family: Roboto; - src: url("../fonts/Roboto/Roboto-Regular.woff2") format("woff2"); - font-weight: 400; - font-style: normal; } -@font-face { - font-family: Roboto; - src: url("../fonts/Roboto/Roboto-Regular.woff2") format("woff2"); - font-weight: normal; - font-style: normal; } -/* END Regular */ -/* BEGIN Italic */ -@font-face { - font-family: Roboto; - src: url("../fonts/Roboto/Roboto-Italic.woff2") format("woff2"); - font-weight: 400; - font-style: italic; } -@font-face { - font-family: Roboto; - src: url("../fonts/Roboto/Roboto-Italic.woff2") format("woff2"); - font-weight: normal; - font-style: italic; } -/* END Italic */ -/* BEGIN Medium */ -@font-face { - font-family: Roboto; - src: url("../fonts/Roboto/Roboto-Medium.woff2") format("woff2"); - font-weight: 500; - font-style: normal; } -/* END Medium */ -/* BEGIN Medium Italic */ -@font-face { - font-family: Roboto; - src: url("../fonts/Roboto/Roboto-MediumItalic.woff2") format("woff2"); - font-weight: 500; - font-style: italic; } -/* END Medium Italic */ -/* BEGIN Bold */ -@font-face { - font-family: Roboto; - src: url("../fonts/Roboto/Roboto-Bold.woff2") format("woff2"); - font-weight: 700; - font-style: normal; } -@font-face { - font-family: Roboto; - src: url("../fonts/Roboto/Roboto-Bold.woff2") format("woff2"); - font-weight: bold; - font-style: normal; } -/* END Bold */ -/* BEGIN Bold Italic */ -@font-face { - font-family: Roboto; - src: url("../fonts/Roboto/Roboto-BoldItalic.woff2") format("woff2"); - font-weight: 700; - font-style: italic; } -@font-face { - font-family: Roboto; - src: url("../fonts/Roboto/Roboto-BoldItalic.woff2") format("woff2"); - font-weight: bold; - font-style: italic; } -/* END Bold Italic */ -/* BEGIN Black */ -@font-face { - font-family: Roboto; - src: url("../fonts/Roboto/Roboto-Black.woff2") format("woff2"); - font-weight: 900; - font-style: normal; } -/* END Black */ -/* BEGIN Black Italic */ -@font-face { - font-family: Roboto; - src: url("../fonts/Roboto/Roboto-BlackItalic.woff2") format("woff2"); - font-weight: 900; - font-style: italic; } -/* END Black Italic */ + font-family: 'Roboto'; + font-style: normal; + font-weight: 400; + src: local('Roboto'), local('Roboto-Regular'), url(../fonts/Roboto-Regular_latin-ext.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; +} diff --git a/static/fonts/Roboto-Regular_latin-ext.woff2 b/static/fonts/Roboto-Regular_latin-ext.woff2 new file mode 100644 index 0000000..719f810 Binary files /dev/null and b/static/fonts/Roboto-Regular_latin-ext.woff2 differ diff --git a/static/fonts/Roboto-Regular_latin.woff2 b/static/fonts/Roboto-Regular_latin.woff2 new file mode 100644 index 0000000..e44dd20 Binary files /dev/null and b/static/fonts/Roboto-Regular_latin.woff2 differ