62 lines
1.6 KiB
CSS
62 lines
1.6 KiB
CSS
/* ============================================================
|
||||
|
|
CubeCraft Creations — @font-face Declarations
|
|||
|
|
Nunito variable font (covers all weights 200–900)
|
|||
|
|
============================================================ */
|
|||
|
|
|
|||
|
|
@font-face {
|
|||
|
|
font-family: 'Nunito';
|
|||
|
|
src: url('../assets/fonts/Nunito-Variable.ttf') format('truetype');
|
|||
|
|
font-weight: 200 900;
|
|||
|
|
font-style: normal;
|
|||
|
|
font-display: swap;
|
|||
|
|
}
|
|||
|
|
|
|||
|
|
@font-face {
|
|||
|
|
font-family: 'Nunito';
|
|||
|
|
src: url('../assets/fonts/Nunito-Italic-Variable.ttf') format('truetype');
|
|||
|
|
font-weight: 200 900;
|
|||
|
|
font-style: italic;
|
|||
|
|
font-display: swap;
|
|||
|
|
}
|
|||
|
|
|
|||
|
|
/* Static fallbacks for environments that don't support variable fonts */
|
|||
|
|
@font-face {
|
|||
|
|
font-family: 'Nunito Fallback';
|
|||
|
|
src: url('../assets/fonts/Nunito-Light.ttf') format('truetype');
|
|||
|
|
font-weight: 300;
|
|||
|
|
font-style: normal;
|
|||
|
|
font-display: swap;
|
|||
|
|
}
|
|||
|
|
|
|||
|
|
@font-face {
|
|||
|
|
font-family: 'Nunito Fallback';
|
|||
|
|
src: url('../assets/fonts/Nunito-Regular.ttf') format('truetype');
|
|||
|
|
font-weight: 400;
|
|||
|
|
font-style: normal;
|
|||
|
|
font-display: swap;
|
|||
|
|
}
|
|||
|
|
|
|||
|
|
@font-face {
|
|||
|
|
font-family: 'Nunito Fallback';
|
|||
|
|
src: url('../assets/fonts/Nunito-SemiBold.ttf') format('truetype');
|
|||
|
|
font-weight: 600;
|
|||
|
|
font-style: normal;
|
|||
|
|
font-display: swap;
|
|||
|
|
}
|
|||
|
|
|
|||
|
|
@font-face {
|
|||
|
|
font-family: 'Nunito Fallback';
|
|||
|
|
src: url('../assets/fonts/Nunito-Bold.ttf') format('truetype');
|
|||
|
|
font-weight: 700;
|
|||
|
|
font-style: normal;
|
|||
|
|
font-display: swap;
|
|||
|
|
}
|
|||
|
|
|
|||
|
|
@font-face {
|
|||
|
|
font-family: 'Nunito Fallback';
|
|||
|
|
src: url('../assets/fonts/Nunito-ExtraBold.ttf') format('truetype');
|
|||
|
|
font-weight: 800;
|
|||
|
|
font-style: normal;
|
|||
|
|
font-display: swap;
|
|||
|
|
}
|