refonte page d'accueil nouveau design, sans images pour l'instant

This commit is contained in:
2026-05-29 01:15:56 +02:00
parent 39ed94c029
commit 1956952a2a
31 changed files with 1407 additions and 1346 deletions

View File

@@ -1,7 +1,9 @@
$fluo_green: #00ff80;
$teal: #038788;
$fluo_green: #33ffc4;
$teal: $fluo_green;
$beige: #fcf9ee;
$dark_green: #314e41;
$text_grey: #4a4a49;
$page_bg: #f9f9f9;
@mixin beige_gradient() {
background: linear-gradient(to bottom, $beige 80%, white 100%);

View File

@@ -1,71 +1,102 @@
/* SIZES */
$sm_font_size: 0.8rem;
$m_font_size: 0.9rem;
$l_font_size: 1.2rem;
$xl_font_size: 1.6rem;
$main_font_size: 1rem;
$title_size: 2.3rem;
/* FAMILIES */
$vogun: "Vogun", serif;
$marianne: "Marianne", sans-serif;
/* FONT SIZES — échelle unique en rem (base 16px) */
$fs_xs: 0.8125rem; // 13px — meta, captions
$fs_sm: 0.9375rem; // 15px — corps texte, CTA, liens footer
$fs_md: 1.0625rem; // 17px — corps texte sections longues
$fs_lg: 1.375rem; // 22px — intertitres
$fs_xl: 2.25rem; // 36px — titres cards
$fs_2xl: 3.5625rem; // 57px — hero title
/* LINE HEIGHTS */
$lh_tight: 1.2;
$lh_normal: 1.3;
$lh_loose: 1.4;
/* FONT WEIGHTS */
$fw_regular: 400;
$fw_medium: 500;
$fw_bold: 800;
/* MIXINS */
// Titre principal d'une section (H2 grands)
@mixin main_title() {
font-family: "Barlow Condensed", sans-serif;
font-size: $xl_font_size;
font-family: $vogun;
font-weight: $fw_medium;
font-size: $fs_xl;
color: black;
line-height: $lh_tight;
padding: 0 $x_margin;
margin-top: 1rem;
color: $teal;
text-transform: uppercase;
a {
color: $teal;
}
@media (min-width: $breakpoint_tablet) {
font-size: $title_size;
font-size: $fs_2xl;
}
}
@mixin main_text_content() {
font-family: "Marianne", sans-serif;
font-size: $main_font_size;
line-height: 1.4;
}
// Sous-titre (Marianne bold gris)
@mixin sous_titre() {
font-family: "Marianne", sans-serif;
font-size: $m_font_size;
color: $teal;
font-weight: 800;
line-height: 1.3;
@media (min-width: $breakpoint_tablet) {
font-size: $l_font_size;
}
font-family: $marianne;
font-weight: $fw_bold;
font-size: $fs_sm;
color: $text_grey;
line-height: $lh_normal;
}
// Variante alternative de sous-titre (Vogun)
@mixin sous_titre_alt() {
font-family: "Barlow", sans-serif;
font-family: $vogun;
font-weight: $fw_medium;
color: black;
font-size: $l_font_size;
font-size: $fs_lg;
line-height: $lh_tight;
@media (min-width: $breakpoint_tablet) {
font-size: $xl_font_size;
font-size: $fs_xl;
}
}
// Corps de texte principal
@mixin main_text_content() {
font-family: $marianne;
font-weight: $fw_regular;
font-size: $fs_sm;
color: $text_grey;
line-height: $lh_normal;
}
// Meta (date, type, etc.)
@mixin meta_text() {
font-family: $marianne;
font-weight: $fw_regular;
font-size: $fs_xs;
color: $text_grey;
line-height: $lh_normal;
}
// Typo CTA (Vogun 15px gris)
@mixin cta_text() {
font-family: $vogun;
font-weight: $fw_medium;
font-size: $fs_sm;
color: $text_grey;
line-height: $lh_tight;
}
// CTA visuellement complet (typo + fond + padding + hover)
@mixin fluo_button() {
a {
@include cta_text();
display: inline-block;
text-align: center;
color: black;
font-family: "Marianne", sans-serif;
font-weight: 800;
font-size: $m_font_size;
background-color: white;
border: solid 2px $fluo_green;
padding: 9px 18px;
transition: background-color 0.3s ease;
border: none;
padding: 0.75rem 1.5rem;
text-decoration: none;
transition: color 0.2s ease;
text-wrap: nowrap !important;
svg {
display: none;
}
}
a:hover {
background-color: $fluo_green;
svg { display: none; }
&:hover { color: black; }
}
}