Files
drupal-erable/web/themes/erabletheme/scss/global/_global.scss
Valentin Le Moign 5adc79ac4b Refonte décors home + texte vert lisible
- home: chapo agrandi, flower-1 collée à gauche, oiseau droite retiré
- oiseau projets lauréats -> bird-3 (plus petit, repositionné)
- frise verte parallax au niveau de la carte projets
- suppression décors footer + système page-decor (code mort inclus)
- /projets: texte à gauche de la carte agrandi en desktop
- texte vert #33ffc4 -> #0c8461 (sidebars, contenus projets, etc.)
- icône dropdown sidebar au même vert que le texte
2026-07-08 15:29:55 +02:00

78 lines
1.4 KiB
SCSS

/* main[role="main"] {
margin-top: 10vh;
@media (min-width: $breakpoint_desktop) {
margin-top: calc(10vh + 3rem);
}
} */
body {
height: 100vh;
overflow: scroll;
background-color: $page_bg;
.layout-container {
position: relative;
display: flex;
flex-direction: column;
//height: 100%;
header {
z-index: 2;
}
main {
z-index: 1;
padding: 0.5rem;
@media screen and (min-width: $breakpoint_tablet) {
padding: 0;
}
}
footer {
// Au-dessus de main pour rester net au-dessus du bas de la colonne
// et des décors latéraux.
z-index: 3;
}
#background {
z-index: -1;
}
}
overflow-x: hidden;
}
html {
overflow: hidden;
}
main:has(#block-erabletheme-leprogramme-2),
main:has(#block-erabletheme-views-block-projets-block-1) {
display: flex;
flex-direction: column-reverse;
@media screen and (min-width: $breakpoint_tablet) {
flex-direction: row-reverse;
}
}
strong {
font-weight: bold;
}
em {
font-style: italic;
}
#block-erabletheme-titredepage {
display: none;
}
// Footer générique des vues (footer link, ex: "Voir toutes les actualités")
footer.fluo_links {
@include fluo_button();
display: flex;
justify-content: center;
margin-top: 2rem;
p { margin: 0; }
}
// debug
/* * {
border: solid 1px red !important;
} */