habiller-bebe/assets/css/global/02-fonts.css

36 lines
825 B
CSS
Raw Normal View History

2023-11-02 15:42:34 +01:00
@font-face {
font-family: "wotfard";
src: url("~/assets/fonts/wotfard/wotfard-medium-fr.woff2") format("woff2");
font-weight: 500;
font-style: normal;
font-display: swap;
}
@font-face {
font-family: "wotfard";
src: url("~/assets/fonts/wotfard/wotfard-semibold-fr.woff2") format("woff2");
font-weight: bold;
font-style: normal;
font-display: swap;
}
@font-face {
font-family: "wotfard";
src: url("~/assets/fonts/wotfard/wotfard-regular-fr.woff2") format("woff2");
font-weight: normal;
font-style: normal;
font-display: swap;
}
/*
* reduces Cumulative Layout Shift
* https://www.24joursdeweb.fr/2021/performance-web-lintegrateur-ce-heros/
*/
@font-face {
font-family: "ArialReplace";
src: local("Arial");
font-weight: 400;
font-style: normal;
font-display: swap;
size-adjust: 94%;
letter-spacing: 1px;
}