|
|
:root {
|
|
|
|
|
|
--dark-mode: 1;
|
|
|
|
|
|
--r-sombre: 0;
|
|
|
--g-sombre: 0;
|
|
|
--b-sombre: 0;
|
|
|
|
|
|
--r-clair: 245;
|
|
|
--g-clair: 245;
|
|
|
--b-clair: 240;
|
|
|
|
|
|
--rgb-sombre: var(--r-sombre), var(--g-sombre), var(--b-sombre);
|
|
|
--rgb-clair: var(--r-clair), var(--g-clair), var(--b-clair);
|
|
|
|
|
|
--couleur-sombre: rgb(var(--rgb-sombre));
|
|
|
--couleur-clair: rgb(var(--rgb-clair));
|
|
|
|
|
|
--couleur-texte: black;
|
|
|
--couleur-fond: var(--couleur-clair);
|
|
|
|
|
|
--marker-before-height: 5px;
|
|
|
--marker-after-height: 12px;
|
|
|
--section-min-height: 80px;
|
|
|
|
|
|
--section-header-height: 120px;
|
|
|
--section-navbar-height: var(--section-min-height);
|
|
|
--section-synthese-height: 120px;
|
|
|
--section-principale-height: 400px;
|
|
|
--section-footer-height: 100vh;
|
|
|
}
|
|
|
|
|
|
@font-face {
|
|
|
font-family: 'Fonte-Texte';
|
|
|
font-display: fallback;
|
|
|
/* Penser à bien héberger la font sur le même domaine que mon site */
|
|
|
src: url(../fonts/Fonte-Texte.woff2) format('woff2');
|
|
|
/* Réutiliser ici exactement la même liste unicode que ci-dessus */
|
|
|
unicode-range: U+20-5F, U+61-7A, U+7C, U+A0, U+A7, U+A9, U+AB, U+B2-B3, U+BB, U+C0, U+C2, U+C6-CB,
|
|
|
U+CE-CF, U+D4, U+D9, U+DB-DC, U+E0, U+E2, U+E6-EB, U+EE-EF, U+F4, U+F9, U+FB-FC, U+FF,
|
|
|
U+152-153, U+178, U+2B3, U+2E2, U+1D48-1D49, U+2010-2011, U+2013-2014, U+2019, U+201C-201D,
|
|
|
U+2020-2021, U+2026, U+202F-2030, U+20AC, U+2212;
|
|
|
}
|
|
|
|
|
|
@font-face {
|
|
|
font-family: 'Fonte-Titre';
|
|
|
font-display: fallback;
|
|
|
/* Penser à bien héberger la font sur le même domaine que mon site */
|
|
|
src: url(../fonts/Fonte-Titre.woff2) format('woff2');
|
|
|
/* Réutiliser ici exactement la même liste unicode que ci-dessus */
|
|
|
unicode-range: U+20-5F, U+61-7A, U+7C, U+A0, U+A7, U+A9, U+AB, U+B2-B3, U+BB, U+C0, U+C2, U+C6-CB,
|
|
|
U+CE-CF, U+D4, U+D9, U+DB-DC, U+E0, U+E2, U+E6-EB, U+EE-EF, U+F4, U+F9, U+FB-FC, U+FF,
|
|
|
U+152-153, U+178, U+2B3, U+2E2, U+1D48-1D49, U+2010-2011, U+2013-2014, U+2019, U+201C-201D,
|
|
|
U+2020-2021, U+2026, U+202F-2030, U+20AC, U+2212;
|
|
|
}
|
|
|
|
|
|
html {
|
|
|
font-family: Fonte-Texte, monospace;
|
|
|
width: 95%;
|
|
|
padding-left: 0;
|
|
|
padding-right: 0;
|
|
|
margin: 0 auto;
|
|
|
background: var(--couleur-fond);
|
|
|
color: var(--couleur-texte);
|
|
|
}
|
|
|
|
|
|
body {
|
|
|
padding: 0;
|
|
|
margin: 0;
|
|
|
min-height:1000px;
|
|
|
}
|
|
|
|
|
|
.div_before_section {
|
|
|
color: var(--couleur-texte);
|
|
|
background-color: black;
|
|
|
height: var(--marker-before-height);
|
|
|
}
|
|
|
.div_section {
|
|
|
min-height: var(--section-min-height);
|
|
|
}
|
|
|
.div_after_section {
|
|
|
color: var(--couleur-texte);
|
|
|
background-color: red;
|
|
|
height: var(--marker-after-height);
|
|
|
}
|
|
|
|
|
|
.header {
|
|
|
height: var(--section-header-height);
|
|
|
background-color: aqua;
|
|
|
}
|
|
|
.navbar {
|
|
|
height: var(--section-navbar-height);
|
|
|
background-color: yellow;
|
|
|
}
|
|
|
|
|
|
.navbar_fixed {
|
|
|
position: fixed;
|
|
|
top: 0;
|
|
|
width: 70%;
|
|
|
}
|
|
|
.div_before_synthese_when_navbar_fixed {
|
|
|
height: calc(var(--section-navbar-height) - var(--marker-after-height) - var(--marker-before-height));
|
|
|
}
|
|
|
|
|
|
.synthese {
|
|
|
background-color: pink;
|
|
|
height: var(--section-synthese-height);
|
|
|
}
|
|
|
|
|
|
.principale {
|
|
|
height: var(--section-principale-height);
|
|
|
}
|
|
|
|
|
|
.footer {
|
|
|
background-color: greenyellow;
|
|
|
height: var(--section-footer-height);
|
|
|
}
|
|
|
|