Ajout de la directive font-display: swap;
Ça permet d'afficher le texte avec une autre police en attendant que la font soit téléchargée
This commit is contained in:
parent
a194136d47
commit
0cb3966de6
|
@ -1,9 +1,9 @@
|
|||
/* Fonts */
|
||||
|
||||
@font-face { font-family: NotoSans; src: url(../fonts/noto_sans.ttf); }
|
||||
@font-face { font-family: Twemoji; src: url(../fonts/TwitterColorEmoji.ttf); }
|
||||
@font-face { font-family: Cantarell; font-weight: normal; src: url(../fonts/Cantarell-Regular.otf); }
|
||||
@font-face { font-family: Cantarell; font-weight: bold; src: url(../fonts/Cantarell-Bold.otf); }
|
||||
@font-face { font-family: NotoSans; src: url(../fonts/noto_sans.ttf); font-display: swap; }
|
||||
@font-face { font-family: Twemoji; src: url(../fonts/TwitterColorEmoji.ttf); font-display: swap; }
|
||||
@font-face { font-family: Cantarell; font-weight: normal; src: url(../fonts/Cantarell-Regular.otf); font-display: swap; }
|
||||
@font-face { font-family: Cantarell; font-weight: bold; src: url(../fonts/Cantarell-Bold.otf); font-display: swap; }
|
||||
|
||||
/* Whole page */
|
||||
|
||||
|
|
Loading…
Reference in New Issue