"font-display: swap" hinzu
Die Option sorgt dafür, dass immer Schriften angezeigt werden. Zunächst kommen die Systemschriften und wenn die anderen geladen sind, werden die dann angezeigt.
This commit is contained in:
parent
f0c7de0bd1
commit
21890d7af0
1 changed files with 4 additions and 0 deletions
|
@ -9,21 +9,25 @@
|
||||||
@font-face {
|
@font-face {
|
||||||
font-family: 'EB Garamond Medium';
|
font-family: 'EB Garamond Medium';
|
||||||
src: url('./fonts/garamond/static/EBGaramond-Medium.ttf');
|
src: url('./fonts/garamond/static/EBGaramond-Medium.ttf');
|
||||||
|
font-display: swap;
|
||||||
}
|
}
|
||||||
|
|
||||||
@font-face {
|
@font-face {
|
||||||
font-family: 'EB Garamond Medium Italic';
|
font-family: 'EB Garamond Medium Italic';
|
||||||
src: url('./fonts/garamond/static/EBGaramond-MediumItalic.ttf');
|
src: url('./fonts/garamond/static/EBGaramond-MediumItalic.ttf');
|
||||||
|
font-display: swap;
|
||||||
}
|
}
|
||||||
|
|
||||||
@font-face {
|
@font-face {
|
||||||
font-family: 'Signika Light';
|
font-family: 'Signika Light';
|
||||||
src: url('./fonts/signika/static/Signika-Light.ttf');
|
src: url('./fonts/signika/static/Signika-Light.ttf');
|
||||||
|
font-display: swap;
|
||||||
}
|
}
|
||||||
|
|
||||||
@font-face {
|
@font-face {
|
||||||
font-family: 'Signika Medium';
|
font-family: 'Signika Medium';
|
||||||
src: url('./fonts/signika/static/Signika-Medium.ttf');
|
src: url('./fonts/signika/static/Signika-Medium.ttf');
|
||||||
|
font-display: swap;
|
||||||
}
|
}
|
||||||
|
|
||||||
/*** general ***/
|
/*** general ***/
|
||||||
|
|
Loading…
Reference in a new issue