This commit is contained in:
Valentin
2024-11-08 06:38:16 +01:00
parent cd3b47e913
commit c052f89d27
6 changed files with 60 additions and 14 deletions

View File

@@ -148,7 +148,12 @@
}
> .projets_intro {
padding: 0 3vw;
margin-top: 1.3rem;
margin-bottom: 6vh;
@include main_text_content();
@media screen and (min-width: $breakpoint_tablet) {
margin-top: 2vh;
}
h1, h2, h3,
h4, h5, h6 {
@include sous_titre_alt();

View File

@@ -8,8 +8,10 @@
> header {
//margin-right: 5vw;
padding: 0 3vw;
margin-bottom: 6vh;
@include main_text_content();
@media (min-width: $breakpoint_desktop) {
margin-bottom: 0;
max-width: 55vw;
}
h1, h2, h3,
@@ -428,8 +430,12 @@
}
}
}
.views-row:first-of-type > .taxonomy_page {
margin-top: 13vh !important;
}
.taxonomy_page {
margin-top: 0 !important;
margin-bottom: 0 !important;
> .fullpage_content {
> div:last-of-type {
display: grid !important;

View File

@@ -1,8 +1,11 @@
.views-row {
article.actu-teaser {
background-color: white;
padding: 2rem;
padding: 1rem;
box-sizing: border-box;
@media screen and (min-width: $breakpoint_tablet) {
padding: 2rem;
}
> div:first-of-type {
width: 100%;
aspect-ratio: 20 / 9;
@@ -32,24 +35,29 @@
margin: 0 $x_margin;
margin-top: 1.3rem;
padding-top: 0.7rem;
margin-left: 0;
@media (min-width: $breakpoint_tablet) {
margin-left: unset;
font-size: $m_font_size;
}
}
.preview_sous_titre {
font-family: "Marianne", sans-serif;
font-size: $m_font_size;
padding: 5px $x_margin;
@media (min-width: $breakpoint_tablet) {
font-size: $l_font_size;
padding-top: 0;
}
font-family: "Marianne", sans-serif;
font-size: $m_font_size;
padding: 5px $x_margin;
padding-left: 0 !important;
@media (min-width: $breakpoint_tablet) {
padding-left: unset;
font-size: $l_font_size;
padding-top: unset !important;
}
}
h2 {
margin-bottom: 0.5rem;
margin-top: 1rem !important;
padding: 0 !important;
@include main_title();
}
}

View File

@@ -11,7 +11,7 @@
transform: translateX(-50vw);
}
div.views-row {
padding: 0 3vw;
padding: 0 2vw;
@media screen and (min-width: $breakpoint_tablet) {
padding: 0 6vw;
}