server/core/css/fonts.scss
Jan-Christoph Borchardt c57c9f42b2
Add woff2 format of Nunito for better performance in modern browsers
Signed-off-by: Jan-Christoph Borchardt <hey@jancborchardt.net>
2018-10-19 20:19:34 +02:00

43 lines
1.6 KiB
SCSS

/* 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: 'Nunito';
font-style: normal;
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: 'Nunito';
font-style: normal;
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;
}