fix: font-display block → swap to prevent FOIT in header
All checks were successful
Build frontend / build (push) Successful in 1m14s
All checks were successful
Build frontend / build (push) Successful in 1m14s
This commit is contained in:
@ -6,7 +6,7 @@
|
|||||||
src: url('/fonts/Madani Arabic Thin.ttf') format('truetype');
|
src: url('/fonts/Madani Arabic Thin.ttf') format('truetype');
|
||||||
font-weight: 100;
|
font-weight: 100;
|
||||||
font-style: normal;
|
font-style: normal;
|
||||||
font-display: block;
|
font-display: swap;
|
||||||
}
|
}
|
||||||
|
|
||||||
@font-face {
|
@font-face {
|
||||||
@ -14,7 +14,7 @@
|
|||||||
src: url('/fonts/Madani Arabic Extra Light.ttf') format('truetype');
|
src: url('/fonts/Madani Arabic Extra Light.ttf') format('truetype');
|
||||||
font-weight: 200;
|
font-weight: 200;
|
||||||
font-style: normal;
|
font-style: normal;
|
||||||
font-display: block;
|
font-display: swap;
|
||||||
}
|
}
|
||||||
|
|
||||||
@font-face {
|
@font-face {
|
||||||
@ -22,7 +22,7 @@
|
|||||||
src: url('/fonts/Madani Arabic Light.ttf') format('truetype');
|
src: url('/fonts/Madani Arabic Light.ttf') format('truetype');
|
||||||
font-weight: 300;
|
font-weight: 300;
|
||||||
font-style: normal;
|
font-style: normal;
|
||||||
font-display: block;
|
font-display: swap;
|
||||||
}
|
}
|
||||||
|
|
||||||
@font-face {
|
@font-face {
|
||||||
@ -30,7 +30,7 @@
|
|||||||
src: url('/fonts/Madani-Arabic-Regular.ttf') format('truetype');
|
src: url('/fonts/Madani-Arabic-Regular.ttf') format('truetype');
|
||||||
font-weight: 400;
|
font-weight: 400;
|
||||||
font-style: normal;
|
font-style: normal;
|
||||||
font-display: block;
|
font-display: swap;
|
||||||
}
|
}
|
||||||
|
|
||||||
@font-face {
|
@font-face {
|
||||||
@ -38,7 +38,7 @@
|
|||||||
src: url('/fonts/Madani Arabic Medium.ttf') format('truetype');
|
src: url('/fonts/Madani Arabic Medium.ttf') format('truetype');
|
||||||
font-weight: 500;
|
font-weight: 500;
|
||||||
font-style: normal;
|
font-style: normal;
|
||||||
font-display: block;
|
font-display: swap;
|
||||||
}
|
}
|
||||||
|
|
||||||
@font-face {
|
@font-face {
|
||||||
@ -46,7 +46,7 @@
|
|||||||
src: url('/fonts/Madani Arabic Semi Bold.ttf') format('truetype');
|
src: url('/fonts/Madani Arabic Semi Bold.ttf') format('truetype');
|
||||||
font-weight: 600;
|
font-weight: 600;
|
||||||
font-style: normal;
|
font-style: normal;
|
||||||
font-display: block;
|
font-display: swap;
|
||||||
}
|
}
|
||||||
|
|
||||||
@font-face {
|
@font-face {
|
||||||
@ -54,7 +54,7 @@
|
|||||||
src: url('/fonts/Madani-Arabic-Bold.ttf') format('truetype');
|
src: url('/fonts/Madani-Arabic-Bold.ttf') format('truetype');
|
||||||
font-weight: 700;
|
font-weight: 700;
|
||||||
font-style: normal;
|
font-style: normal;
|
||||||
font-display: block;
|
font-display: swap;
|
||||||
}
|
}
|
||||||
|
|
||||||
@font-face {
|
@font-face {
|
||||||
@ -62,7 +62,7 @@
|
|||||||
src: url('/fonts/Madani Arabic Extra Bold.ttf') format('truetype');
|
src: url('/fonts/Madani Arabic Extra Bold.ttf') format('truetype');
|
||||||
font-weight: 800;
|
font-weight: 800;
|
||||||
font-style: normal;
|
font-style: normal;
|
||||||
font-display: block;
|
font-display: swap;
|
||||||
}
|
}
|
||||||
|
|
||||||
@font-face {
|
@font-face {
|
||||||
@ -70,7 +70,7 @@
|
|||||||
src: url('/fonts/Madani Arabic Black.ttf') format('truetype');
|
src: url('/fonts/Madani Arabic Black.ttf') format('truetype');
|
||||||
font-weight: 900;
|
font-weight: 900;
|
||||||
font-style: normal;
|
font-style: normal;
|
||||||
font-display: block;
|
font-display: swap;
|
||||||
}
|
}
|
||||||
|
|
||||||
:root {
|
:root {
|
||||||
|
|||||||
Reference in New Issue
Block a user