Add Cera Pro font

This commit is contained in:
Timothée Goguely 2024-11-27 15:32:23 +01:00
parent 53b637c596
commit 7e37a204d3
7 changed files with 29 additions and 6 deletions

Binary file not shown.

Binary file not shown.

Binary file not shown.

View file

@ -1,7 +1,7 @@
@charset "UTF-8";
@import 'src/0.0.reset.css';
@import 'src/0.1.fonts.css';
@import 'src/0.0.fonts.css';
@import 'src/0.1.reset.css';
@import 'src/0.2.variables.css';
/* GLOBAL CSS */

View file

@ -0,0 +1,27 @@
/* FONTS */
/* Font serif */
@import url('https://fonts.googleapis.com/css2?family=Vollkorn:wght@400..500&display=swap');
/* Font sans */
@font-face {
font-family: "Cera Pro";
src: local("Cera Pro"), url("assets/fonts/cerapro-regular.woff2") format("woff2");
font-weight: 400;
font-style: normal;
font-display: swap;
}
@font-face {
font-family: "Cera Pro";
src: local("Cera Pro"), url("assets/fonts/cerapro-medium.woff2") format("woff2");
font-weight: 500;
font-style: normal;
font-display: swap;
}
@font-face {
font-family: "Cera Pro";
src: local("Cera Pro"), url("assets/fonts/cerapro-bod.woff2") format("woff2");
font-weight: 700;
font-style: normal;
font-display: swap;
}

View file

@ -1,4 +0,0 @@
/* FONTS */
/* Font sans */
@import url('https://fonts.googleapis.com/css2?family=Vollkorn:wght@400..500&display=swap');