summaryrefslogtreecommitdiffstats
path: root/core/css/fonts.scss
diff options
context:
space:
mode:
Diffstat (limited to 'core/css/fonts.scss')
-rw-r--r--core/css/fonts.scss51
1 files changed, 34 insertions, 17 deletions
diff --git a/core/css/fonts.scss b/core/css/fonts.scss
index 441b48f3856..1e0b14af22f 100644
--- a/core/css/fonts.scss
+++ b/core/css/fonts.scss
@@ -1,26 +1,43 @@
-/* for low-res screens, use Regular font-weight instead of Light */
-@media (-webkit-max-device-pixel-ratio: 1.3), (max-resolution: 124.8dpi) {
- @font-face {
- font-family: 'Open Sans';
- font-style: normal;
- font-weight: normal;
- src: local('Open Sans'), local('OpenSans'),
- url('../fonts/OpenSans-Regular.woff') format('woff');
- }
+/* latin-ext */
+@font-face {
+ font-family: 'Nunito';
+ font-style: normal;
+ font-weight: 400; /* normal */
+ src: local('Nunito Regular'), local('Nunito-Regular'),
+ url('../fonts/Nunito-Regular-latin-ext.woff2') format('woff2'),
+ url('../fonts/Nunito-Regular.ttf') format('truetype');
+ unicode-range: U+0100-024F, U+0259, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF;
+}
+
+/* latin */
+@font-face {
+ font-family: 'Nunito';
+ font-style: normal;
+ font-weight: 400; /* normal */
+ src: local('Nunito Regular'), local('Nunito-Regular'),
+ url('../fonts/Nunito-Regular.woff2') format('woff2'),
+ url('../fonts/Nunito-Regular.ttf') format('truetype');
+ 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+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
+/* latin-ext */
@font-face {
- font-family: 'Open Sans';
+ font-family: 'Nunito';
font-style: normal;
- font-weight: 300;
- src: local('Open Sans Light'), local('OpenSans-Light'),
- url('../fonts/OpenSans-Light.woff') format('woff');
+ font-weight: 700; /* bold */
+ src: local('Nunito Bold'), local('Nunito-Bold'),
+ url('../fonts/Nunito-Bold-latin-ext.woff2') format('woff2'),
+ url('../fonts/Nunito-Bold.ttf') format('truetype');
+ unicode-range: U+0100-024F, U+0259, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
+/* latin */
@font-face {
- font-family: 'Open Sans';
+ font-family: 'Nunito';
font-style: normal;
- font-weight: 600;
- src: local('Open Sans Semibold'), local('OpenSans-Semibold'),
- url('../fonts/OpenSans-Semibold.woff') format('woff');
+ font-weight: 700; /* bold */
+ src: local('Nunito Bold'), local('Nunito-Bold'),
+ url('../fonts/Nunito-Bold.woff2') format('woff2'),
+ url('../fonts/Nunito-Bold.ttf') format('truetype');
+ 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+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}