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

@ -592,7 +592,7 @@ em {
}
}
.carousel_container .slick-container div.views-row {
padding: 0 3vw;
padding: 0 2vw;
}
@media screen and (min-width: 760px) {
.carousel_container .slick-container div.views-row {
@ -837,9 +837,14 @@ em {
.views-row article.actu-teaser {
background-color: white;
padding: 2rem;
padding: 1rem;
box-sizing: border-box;
}
@media screen and (min-width: 760px) {
.views-row article.actu-teaser {
padding: 2rem;
}
}
.views-row article.actu-teaser > div:first-of-type {
width: 100%;
aspect-ratio: 20/9;
@ -866,9 +871,11 @@ em {
margin: 0 3vw;
margin-top: 1.3rem;
padding-top: 0.7rem;
margin-left: 0;
}
@media (min-width: 760px) {
.views-row article.actu-teaser .preview_meta {
margin-left: unset;
font-size: 0.9rem;
}
}
@ -876,16 +883,19 @@ em {
font-family: "Marianne", sans-serif;
font-size: 0.9rem;
padding: 5px 3vw;
padding-left: 0 !important;
}
@media (min-width: 760px) {
.views-row article.actu-teaser .preview_sous_titre {
padding-left: unset;
font-size: 1.2rem;
padding-top: 0;
padding-top: unset !important;
}
}
.views-row article.actu-teaser h2 {
margin-bottom: 0.5rem;
margin-top: 1rem !important;
padding: 0 !important;
font-family: "Barlow Condensed", sans-serif;
font-size: 1.6rem;
padding: 0 3vw;
@ -1373,10 +1383,17 @@ main.main-login .login > div > div:not(.hidden) form .button:hover, main.main-lo
}
.map-projets > .projets_intro {
padding: 0 3vw;
margin-top: 1.3rem;
margin-bottom: 6vh;
font-family: "Marianne", sans-serif;
font-size: 1rem;
line-height: 1.4;
}
@media screen and (min-width: 760px) {
.map-projets > .projets_intro {
margin-top: 2vh;
}
}
.map-projets > .projets_intro h1, .map-projets > .projets_intro h2, .map-projets > .projets_intro h3,
.map-projets > .projets_intro h4, .map-projets > .projets_intro h5, .map-projets > .projets_intro h6 {
font-family: "Barlow", sans-serif;
@ -2606,12 +2623,14 @@ aside.layout-sidebar-first:has(#block-erabletheme-views-block-projets-block-1) >
}
.layout-content .fullpage.projets > .intro_map > header {
padding: 0 3vw;
margin-bottom: 6vh;
font-family: "Marianne", sans-serif;
font-size: 1rem;
line-height: 1.4;
}
@media (min-width: 1080px) {
.layout-content .fullpage.projets > .intro_map > header {
margin-bottom: 0;
max-width: 55vw;
}
}
@ -3106,6 +3125,14 @@ aside.layout-sidebar-first:has(#block-erabletheme-views-block-projets-block-1) >
margin-bottom: 30px;
}
.views-row:first-of-type > .taxonomy_page {
margin-top: 13vh !important;
}
.taxonomy_page {
margin-top: 0 !important;
margin-bottom: 0 !important;
}
.taxonomy_page > .fullpage_content > div:last-of-type {
display: grid !important;
grid-template-columns: 0.5fr 1fr;

File diff suppressed because one or more lines are too long

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,7 +35,9 @@
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;
}
}
@ -41,15 +46,18 @@
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: 0;
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;
}