Index: static/scss/_fonts.scss |
=================================================================== |
new file mode 100644 |
--- /dev/null |
+++ b/static/scss/_fonts.scss |
@@ -0,0 +1,272 @@ |
+// This file is part of website-defaults |
+// Copyright (C) 2016-present eyeo GmbH |
+// |
+// website-defaults is free software: you can redistribute it and/or |
+// modify it under the terms of the GNU General Public License as published by |
+// the Free Software Foundation, either version 3 of the License, or |
+// (at your option) any later version. |
+// |
+// website-defaults is distributed in the hope that it will be useful, |
+// but WITHOUT ANY WARRANTY; without even the implied warranty of |
+// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
+// GNU General Public License for more details. |
+// |
+// You should have received a copy of the GNU General Public License |
+// along with website-defaults. If not, see <http://www.gnu.org/licenses/>. |
+ |
+/****************************************************************************** |
+ * Fonts |
+ *****************************************************************************/ |
+ |
+/* cyrillic-ext |
+ ******************************************************************************/ |
+ |
+@font-face |
+{ |
+ font-family: "Source Sans Pro"; |
+ font-style: normal; |
+ font-weight: 300; |
+ src: local("Source Sans Pro Light"), |
+ local("SourceSansPro-Light"), |
+ url($path-to-font-files + "/Source-Sans-Pro/300/cyrillic-ext.woff2") format("woff2"); |
+ unicode-range: U+0460-052F, U+1C80-1C88, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F; |
+} |
+ |
+@font-face |
+{ |
+ font-family: "Source Sans Pro"; |
+ font-style: normal; |
+ font-weight: 400; |
+ src: local("Source Sans Pro Regular"), |
+ local("SourceSansPro-Regular"), |
+ url($path-to-font-files + "/Source-Sans-Pro/400/cyrillic-ext.woff2") format("woff2"); |
+ unicode-range: U+0460-052F, U+1C80-1C88, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F; |
+} |
+ |
+@font-face |
+{ |
+ font-family: "Source Sans Pro"; |
+ font-style: normal; |
+ font-weight: 700; |
+ src: local("Source Sans Pro Bold"), |
+ local("SourceSansPro-Bold"), |
+ url($path-to-font-files + "/Source-Sans-Pro/700/cyrillic-ext.woff2") format("woff2"); |
+ unicode-range: U+0460-052F, U+1C80-1C88, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F; |
+} |
+ |
+/* cyrillic |
+******************************************************************************/ |
+ |
+@font-face |
+{ |
+ font-family: "Source Sans Pro"; |
+ font-style: normal; |
+ font-weight: 300; |
+ src: local("Source Sans Pro Light"), |
+ local("SourceSansPro-Light"), |
+ url($path-to-font-files + "/Source-Sans-Pro/300/cyrillic.woff2") format("woff2"); |
+ unicode-range: U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; |
+} |
+ |
+@font-face |
+{ |
+ font-family: "Source Sans Pro"; |
+ font-style: normal; |
+ font-weight: 400; |
+ src: local("Source Sans Pro Regular"), |
+ local("SourceSansPro-Regular"), |
+ url($path-to-font-files + "/Source-Sans-Pro/400/cyrillic.woff2") format("woff2"); |
+ unicode-range: U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; |
+} |
+ |
+@font-face |
+{ |
+ font-family: "Source Sans Pro"; |
+ font-style: normal; |
+ font-weight: 700; |
+ src: local("Source Sans Pro Bold"), |
+ local("SourceSansPro-Bold"), |
+ url($path-to-font-files + "/Source-Sans-Pro/700/cyrillic.woff2") format("woff2"); |
+ unicode-range: U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; |
+} |
+ |
+/* greek-ext |
+******************************************************************************/ |
+ |
+@font-face |
+{ |
+ font-family: "Source Sans Pro"; |
+ font-style: normal; |
+ font-weight: 300; |
+ src: local("Source Sans Pro Light"), |
+ local("SourceSansPro-Light"), |
+ url($path-to-font-files + "/Source-Sans-Pro/300/greek-ext.woff2") format("woff2"); |
+ unicode-range: U+1F00-1FFF; |
+} |
+ |
+@font-face |
+{ |
+ font-family: "Source Sans Pro"; |
+ font-style: normal; |
+ font-weight: 400; |
+ src: local("Source Sans Pro Regular"), |
+ local("SourceSansPro-Regular"), |
+ url($path-to-font-files + "/Source-Sans-Pro/400/greek-ext.woff2") format("woff2"); |
+ unicode-range: U+1F00-1FFF; |
+} |
+ |
+@font-face |
+{ |
+ font-family: "Source Sans Pro"; |
+ font-style: normal; |
+ font-weight: 700; |
+ src: local("Source Sans Pro Bold"), |
+ local("SourceSansPro-Bold"), |
+ url($path-to-font-files + "/Source-Sans-Pro/700/greek-ext.woff2") format("woff2"); |
+ unicode-range: U+1F00-1FFF; |
+} |
+ |
+/* greek |
+******************************************************************************/ |
+ |
+@font-face |
+{ |
+ font-family: "Source Sans Pro"; |
+ font-style: normal; |
+ font-weight: 300; |
+ src: local("Source Sans Pro Light"), |
+ local("SourceSansPro-Light"), |
+ url($path-to-font-files + "/Source-Sans-Pro/300/greek.woff2") format("woff2"); |
+ unicode-range: U+0370-03FF; |
+} |
+ |
+@font-face |
+{ |
+ font-family: "Source Sans Pro"; |
+ font-style: normal; |
+ font-weight: 400; |
+ src: local("Source Sans Pro Regular"), |
+ local("SourceSansPro-Regular"), |
+ url($path-to-font-files + "/Source-Sans-Pro/400/greek.woff2") format("woff2"); |
+ unicode-range: U+0370-03FF; |
+} |
+ |
+@font-face |
+{ |
+ font-family: "Source Sans Pro"; |
+ font-style: normal; |
+ font-weight: 700; |
+ src: local("Source Sans Pro Bold"), |
+ local("SourceSansPro-Bold"), |
+ url($path-to-font-files + "/Source-Sans-Pro/700/greek.woff2") format("woff2"); |
+ unicode-range: U+0370-03FF; |
+} |
+ |
+/* vietnamese |
+******************************************************************************/ |
+ |
+@font-face |
+{ |
+ font-family: "Source Sans Pro"; |
+ font-style: normal; |
+ font-weight: 300; |
+ src: local("Source Sans Pro Light"), |
+ local("SourceSansPro-Light"), |
+ url($path-to-font-files + "/Source-Sans-Pro/300/vietnamese.woff2") format("woff2"); |
+ unicode-range: U+0102-0103, U+0110-0111, U+1EA0-1EF9, U+20AB; |
+} |
+ |
+@font-face |
+{ |
+ font-family: "Source Sans Pro"; |
+ font-style: normal; |
+ font-weight: 400; |
+ src: local("Source Sans Pro Regular"), |
+ local("SourceSansPro-Regular"), |
+ url($path-to-font-files + "/Source-Sans-Pro/400/vietnamese.woff2") format("woff2"); |
+ unicode-range: U+0102-0103, U+0110-0111, U+1EA0-1EF9, U+20AB; |
+} |
+ |
+@font-face |
+{ |
+ font-family: "Source Sans Pro"; |
+ font-style: normal; |
+ font-weight: 700; |
+ src: local("Source Sans Pro Bold"), |
+ local("SourceSansPro-Bold"), |
+ url($path-to-font-files + "/Source-Sans-Pro/700/vietnamese.woff2") format("woff2"); |
+ unicode-range: U+0102-0103, U+0110-0111, 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($path-to-font-files + "/Source-Sans-Pro/300/latin-ext.woff2") format("woff2"); |
+ unicode-range: U+0100-024F, U+0259, U+1E00-1EFF, U+20A0-20AB, U+20AD-20CF, U+2C60-2C7F, U+A720-A7FF; |
+} |
+ |
+@font-face |
+{ |
+ font-family: "Source Sans Pro"; |
+ font-style: normal; |
+ font-weight: 400; |
+ src: local("Source Sans Pro Regular"), |
+ local("SourceSansPro-Regular"), |
+ url($path-to-font-files + "/Source-Sans-Pro/400/latin-ext.woff2") format("woff2"); |
+ unicode-range: U+0100-024F, U+0259, U+1E00-1EFF, U+20A0-20AB, U+20AD-20CF, U+2C60-2C7F, U+A720-A7FF; |
+} |
+ |
+@font-face |
+{ |
+ font-family: "Source Sans Pro"; |
+ font-style: normal; |
+ font-weight: 700; |
+ src: local("Source Sans Pro Bold"), |
+ local("SourceSansPro-Bold"), |
+ url($path-to-font-files + "/Source-Sans-Pro/700/latin-ext.woff2") format("woff2"); |
+ unicode-range: U+0100-024F, U+0259, 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($path-to-font-files + "/Source-Sans-Pro/300/latin.woff2") format("woff2"); |
+ unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2212, U+2215; |
+} |
+ |
+@font-face |
+{ |
+ font-family: "Source Sans Pro"; |
+ font-style: normal; |
+ font-weight: 400; |
+ src: local("Source Sans Pro Regular"), |
+ local("SourceSansPro-Regular"), |
+ url($path-to-font-files + "/Source-Sans-Pro/400/latin.woff2") format("woff2"); |
+ unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2212, U+2215; |
+} |
+ |
+@font-face |
+{ |
+ font-family: "Source Sans Pro"; |
+ font-style: normal; |
+ font-weight: 700; |
+ src: local("Source Sans Pro Bold"), |
+ local("SourceSansPro-Bold"), |
+ url($path-to-font-files + "/Source-Sans-Pro/700/latin.woff2") format("woff2"); |
+ unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2212, U+2215; |
+} |
+ |