mirror of
https://github.com/pmoreno-rodriguez/grav-theme-future2021.git
synced 2025-06-07 20:08:54 +00:00
Added display swap to Google fonts
This commit is contained in:
parent
d31051dfc7
commit
db4ad8cdd3
2 changed files with 30 additions and 1 deletions
|
@ -5,6 +5,7 @@
|
|||
font-weight: 400;
|
||||
src: url(../fonts/raleway-29-cyrillic-ext-400.woff2) format('woff2');
|
||||
unicode-range: U+0460-052F, U+1C80-1C88, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
|
||||
font-display: swap;
|
||||
}
|
||||
/* cyrillic */
|
||||
@font-face {
|
||||
|
@ -13,6 +14,7 @@
|
|||
font-weight: 400;
|
||||
src: url(../fonts/raleway-29-cyrillic-400.woff2) format('woff2');
|
||||
unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
|
||||
font-display: swap;
|
||||
}
|
||||
/* vietnamese */
|
||||
@font-face {
|
||||
|
@ -21,6 +23,7 @@
|
|||
font-weight: 400;
|
||||
src: url(../fonts/raleway-29-vietnamese-400.woff2) format('woff2');
|
||||
unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
|
||||
font-display: swap;
|
||||
}
|
||||
/* latin-ext */
|
||||
@font-face {
|
||||
|
@ -29,6 +32,7 @@
|
|||
font-weight: 400;
|
||||
src: url(../fonts/raleway-29-latin-ext-400.woff2) format('woff2');
|
||||
unicode-range: U+0100-02AF, U+0304, U+0308, U+0329, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF;
|
||||
font-display: swap;
|
||||
}
|
||||
/* latin */
|
||||
@font-face {
|
||||
|
@ -37,6 +41,7 @@
|
|||
font-weight: 400;
|
||||
src: url(../fonts/raleway-29-latin-400.woff2) format('woff2');
|
||||
unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
|
||||
font-display: swap;
|
||||
}
|
||||
/* cyrillic-ext */
|
||||
@font-face {
|
||||
|
@ -45,6 +50,7 @@
|
|||
font-weight: 800;
|
||||
src: url(../fonts/raleway-29-cyrillic-ext-800.woff2) format('woff2');
|
||||
unicode-range: U+0460-052F, U+1C80-1C88, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
|
||||
font-display: swap;
|
||||
}
|
||||
/* cyrillic */
|
||||
@font-face {
|
||||
|
@ -53,6 +59,7 @@
|
|||
font-weight: 800;
|
||||
src: url(../fonts/raleway-29-cyrillic-800.woff2) format('woff2');
|
||||
unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
|
||||
font-display: swap;
|
||||
}
|
||||
/* vietnamese */
|
||||
@font-face {
|
||||
|
@ -61,6 +68,7 @@
|
|||
font-weight: 800;
|
||||
src: url(../fonts/raleway-29-vietnamese-800.woff2) format('woff2');
|
||||
unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
|
||||
font-display: swap;
|
||||
}
|
||||
/* latin-ext */
|
||||
@font-face {
|
||||
|
@ -69,6 +77,7 @@
|
|||
font-weight: 800;
|
||||
src: url(../fonts/raleway-29-latin-ext-800.woff2) format('woff2');
|
||||
unicode-range: U+0100-02AF, U+0304, U+0308, U+0329, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF;
|
||||
font-display: swap;
|
||||
}
|
||||
/* latin */
|
||||
@font-face {
|
||||
|
@ -77,6 +86,7 @@
|
|||
font-weight: 800;
|
||||
src: url(../fonts/raleway-29-latin-800.woff2) format('woff2');
|
||||
unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
|
||||
font-display: swap;
|
||||
}
|
||||
/* cyrillic-ext */
|
||||
@font-face {
|
||||
|
@ -85,6 +95,7 @@
|
|||
font-weight: 900;
|
||||
src: url(../fonts/raleway-29-cyrillic-ext-900.woff2) format('woff2');
|
||||
unicode-range: U+0460-052F, U+1C80-1C88, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
|
||||
font-display: swap;
|
||||
}
|
||||
/* cyrillic */
|
||||
@font-face {
|
||||
|
@ -93,6 +104,7 @@
|
|||
font-weight: 900;
|
||||
src: url(../fonts/raleway-29-cyrillic-900.woff2) format('woff2');
|
||||
unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
|
||||
font-display: swap;
|
||||
}
|
||||
/* vietnamese */
|
||||
@font-face {
|
||||
|
@ -101,6 +113,7 @@
|
|||
font-weight: 900;
|
||||
src: url(../fonts/raleway-29-vietnamese-900.woff2) format('woff2');
|
||||
unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
|
||||
font-display: swap;
|
||||
}
|
||||
/* latin-ext */
|
||||
@font-face {
|
||||
|
@ -109,6 +122,7 @@
|
|||
font-weight: 900;
|
||||
src: url(../fonts/raleway-29-latin-ext-900.woff2) format('woff2');
|
||||
unicode-range: U+0100-02AF, U+0304, U+0308, U+0329, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF;
|
||||
font-display: swap;
|
||||
}
|
||||
/* latin */
|
||||
@font-face {
|
||||
|
@ -117,6 +131,7 @@
|
|||
font-weight: 900;
|
||||
src: url(../fonts/raleway-29-latin-900.woff2) format('woff2');
|
||||
unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
|
||||
font-display: swap;
|
||||
}
|
||||
/* cyrillic-ext */
|
||||
@font-face {
|
||||
|
@ -125,6 +140,7 @@
|
|||
font-weight: 400;
|
||||
src: url(../fonts/sourcesanspro-22-cyrillic-ext-400.woff2) format('woff2');
|
||||
unicode-range: U+0460-052F, U+1C80-1C88, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
|
||||
font-display: swap;
|
||||
}
|
||||
/* cyrillic */
|
||||
@font-face {
|
||||
|
@ -133,6 +149,7 @@
|
|||
font-weight: 400;
|
||||
src: url(../fonts/sourcesanspro-22-cyrillic-400.woff2) format('woff2');
|
||||
unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
|
||||
font-display: swap;
|
||||
}
|
||||
/* greek-ext */
|
||||
@font-face {
|
||||
|
@ -141,6 +158,7 @@
|
|||
font-weight: 400;
|
||||
src: url(../fonts/sourcesanspro-22-greek-ext-400.woff2) format('woff2');
|
||||
unicode-range: U+1F00-1FFF;
|
||||
font-display: swap;
|
||||
}
|
||||
/* greek */
|
||||
@font-face {
|
||||
|
@ -149,6 +167,7 @@
|
|||
font-weight: 400;
|
||||
src: url(../fonts/sourcesanspro-22-greek-400.woff2) format('woff2');
|
||||
unicode-range: U+0370-03FF;
|
||||
font-display: swap;
|
||||
}
|
||||
/* vietnamese */
|
||||
@font-face {
|
||||
|
@ -157,6 +176,7 @@
|
|||
font-weight: 400;
|
||||
src: url(../fonts/raleway-29-vietnamese-400.woff2) format('woff2');
|
||||
unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
|
||||
font-display: swap;
|
||||
}
|
||||
/* latin-ext */
|
||||
@font-face {
|
||||
|
@ -165,6 +185,7 @@
|
|||
font-weight: 400;
|
||||
src: url(../fonts/sourcesanspro-22-latin-ext-400.woff2) format('woff2');
|
||||
unicode-range: U+0100-02AF, U+0304, U+0308, U+0329, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF;
|
||||
font-display: swap;
|
||||
}
|
||||
/* latin */
|
||||
@font-face {
|
||||
|
@ -173,6 +194,7 @@
|
|||
font-weight: 400;
|
||||
src: url(../fonts/sourcesanspro-22-latin-400.woff2) format('woff2');
|
||||
unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
|
||||
font-display: swap;
|
||||
}
|
||||
/* cyrillic-ext */
|
||||
@font-face {
|
||||
|
@ -181,6 +203,7 @@
|
|||
font-weight: 700;
|
||||
src: url(../fonts/sourcesanspro-22-cyrillic-ext-700.woff2) format('woff2');
|
||||
unicode-range: U+0460-052F, U+1C80-1C88, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F;
|
||||
font-display: swap;
|
||||
}
|
||||
/* cyrillic */
|
||||
@font-face {
|
||||
|
@ -189,6 +212,7 @@
|
|||
font-weight: 700;
|
||||
src: url(../fonts/sourcesanspro-22-cyrillic-700.woff2) format('woff2');
|
||||
unicode-range: U+0301, U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116;
|
||||
font-display: swap;
|
||||
}
|
||||
/* greek-ext */
|
||||
@font-face {
|
||||
|
@ -197,6 +221,7 @@
|
|||
font-weight: 700;
|
||||
src: url(../fonts/sourcesanspro-22-greek-ext-700.woff2) format('woff2');
|
||||
unicode-range: U+1F00-1FFF;
|
||||
font-display: swap;
|
||||
}
|
||||
/* greek */
|
||||
@font-face {
|
||||
|
@ -205,6 +230,7 @@
|
|||
font-weight: 700;
|
||||
src: url(../fonts/sourcesanspro-22-greek-700.woff2) format('woff2');
|
||||
unicode-range: U+0370-03FF;
|
||||
font-display: swap;
|
||||
}
|
||||
/* vietnamese */
|
||||
@font-face {
|
||||
|
@ -213,6 +239,7 @@
|
|||
font-weight: 700;
|
||||
src: url(../fonts/sourcesanspro-22-vietnamese-700.woff2) format('woff2');
|
||||
unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
|
||||
font-display: swap;
|
||||
}
|
||||
/* latin-ext */
|
||||
@font-face {
|
||||
|
@ -221,6 +248,7 @@
|
|||
font-weight: 700;
|
||||
src: url(../fonts/sourcesanspro-22-latin-ext-700.woff2) format('woff2');
|
||||
unicode-range: U+0100-02AF, U+0304, U+0308, U+0329, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF;
|
||||
font-display: swap;
|
||||
}
|
||||
/* latin */
|
||||
@font-face {
|
||||
|
@ -229,4 +257,5 @@
|
|||
font-weight: 700;
|
||||
src: url(../fonts/sourcesanspro-22-latin-700.woff2) format('woff2');
|
||||
unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
|
||||
font-display: swap;
|
||||
}
|
|
@ -1 +1 @@
|
|||
@import url("https://fonts.googleapis.com/css?family=Source+Sans+Pro:400,700|Raleway:400,800,900");
|
||||
@import url("https://fonts.googleapis.com/css?family=Source+Sans+Pro:400,700|Raleway:400,800,900&display=swap");
|
Loading…
Add table
Reference in a new issue