corrections graphiques

This commit is contained in:
Valentin 2024-11-27 19:39:45 +01:00
parent 5b13541fdc
commit b0eb49a93e
4 changed files with 31 additions and 29 deletions

View File

@ -787,6 +787,7 @@ em {
margin-bottom: 0.5rem; margin-bottom: 0.5rem;
margin-top: 1rem !important; margin-top: 1rem !important;
padding: 0 !important; padding: 0 !important;
line-height: 1.2;
font-family: "Barlow Condensed", sans-serif; font-family: "Barlow Condensed", sans-serif;
font-size: 1.6rem; font-size: 1.6rem;
padding: 0 3vw; padding: 0 3vw;
@ -1709,7 +1710,7 @@ aside.layout-sidebar-first:has(#block-erabletheme-views-block-projets-block-1) >
} }
@media screen and (min-width: 1080px) { @media screen and (min-width: 1080px) {
.fullpage_content:has(.paragraph--type--membre-equipe) > div > div:last-of-type { .fullpage_content:has(.paragraph--type--membre-equipe):not(.equipe) > div > div:last-of-type {
display: grid; display: grid;
grid-template-columns: 1fr 1fr; grid-template-columns: 1fr 1fr;
grid-column-gap: 2.5vw; grid-column-gap: 2.5vw;
@ -1717,7 +1718,7 @@ aside.layout-sidebar-first:has(#block-erabletheme-views-block-projets-block-1) >
padding: 0 3vw; padding: 0 3vw;
} }
} }
.fullpage_content:has(.paragraph--type--membre-equipe) > div > div:last-of-type .paragraph--type--membre-equipe { .fullpage_content:has(.paragraph--type--membre-equipe):not(.equipe) > div > div:last-of-type .paragraph--type--membre-equipe {
height: auto; height: auto;
display: grid; display: grid;
grid-template-columns: 30vw auto 1fr; grid-template-columns: 30vw auto 1fr;
@ -1725,22 +1726,22 @@ aside.layout-sidebar-first:has(#block-erabletheme-views-block-projets-block-1) >
margin-bottom: 5vh; margin-bottom: 5vh;
padding: 0 3vw !important; padding: 0 3vw !important;
} }
.fullpage_content:has(.paragraph--type--membre-equipe) > div > div:last-of-type .paragraph--type--membre-equipe:first-of-type { .fullpage_content:has(.paragraph--type--membre-equipe):not(.equipe) > div > div:last-of-type .paragraph--type--membre-equipe:first-of-type {
margin-top: 5vh; margin-top: 5vh;
} }
.fullpage_content:has(.paragraph--type--membre-equipe) > div > div:last-of-type .paragraph--type--membre-equipe > .portrait { .fullpage_content:has(.paragraph--type--membre-equipe):not(.equipe) > div > div:last-of-type .paragraph--type--membre-equipe > .portrait {
grid-row: 1/3; grid-row: 1/3;
} }
.fullpage_content:has(.paragraph--type--membre-equipe) > div > div:last-of-type .paragraph--type--membre-equipe > .portrait > div { .fullpage_content:has(.paragraph--type--membre-equipe):not(.equipe) > div > div:last-of-type .paragraph--type--membre-equipe > .portrait > div {
display: flex; display: flex;
align-items: center; align-items: center;
} }
.fullpage_content:has(.paragraph--type--membre-equipe) > div > div:last-of-type .paragraph--type--membre-equipe > .portrait > div > div { .fullpage_content:has(.paragraph--type--membre-equipe):not(.equipe) > div > div:last-of-type .paragraph--type--membre-equipe > .portrait > div > div {
width: 20vw; width: 20vw;
height: 20vw; height: 20vw;
position: relative; position: relative;
} }
.fullpage_content:has(.paragraph--type--membre-equipe) > div > div:last-of-type .paragraph--type--membre-equipe > .portrait > div > div img { .fullpage_content:has(.paragraph--type--membre-equipe):not(.equipe) > div > div:last-of-type .paragraph--type--membre-equipe > .portrait > div > div img {
border-radius: 10vw; border-radius: 10vw;
width: 100%; width: 100%;
height: 100%; height: 100%;
@ -1748,7 +1749,7 @@ aside.layout-sidebar-first:has(#block-erabletheme-views-block-projets-block-1) >
padding: 1px; padding: 1px;
filter: grayscale(100%); filter: grayscale(100%);
} }
.fullpage_content:has(.paragraph--type--membre-equipe) > div > div:last-of-type .paragraph--type--membre-equipe > .portrait > div > div::after { .fullpage_content:has(.paragraph--type--membre-equipe):not(.equipe) > div > div:last-of-type .paragraph--type--membre-equipe > .portrait > div > div::after {
top: 0; top: 0;
left: 0; left: 0;
position: absolute; position: absolute;
@ -1760,8 +1761,8 @@ aside.layout-sidebar-first:has(#block-erabletheme-views-block-projets-block-1) >
display: block; display: block;
pointer-events: none; pointer-events: none;
} }
.fullpage_content:has(.paragraph--type--membre-equipe) > div > div:last-of-type .paragraph--type--membre-equipe > .prenom, .fullpage_content:has(.paragraph--type--membre-equipe):not(.equipe) > div > div:last-of-type .paragraph--type--membre-equipe > .prenom,
.fullpage_content:has(.paragraph--type--membre-equipe) > div > div:last-of-type .paragraph--type--membre-equipe > .nom { .fullpage_content:has(.paragraph--type--membre-equipe):not(.equipe) > div > div:last-of-type .paragraph--type--membre-equipe > .nom {
align-self: flex-end; align-self: flex-end;
margin-bottom: 2vh; margin-bottom: 2vh;
font-family: "Marianne", sans-serif; font-family: "Marianne", sans-serif;
@ -1771,70 +1772,70 @@ aside.layout-sidebar-first:has(#block-erabletheme-views-block-projets-block-1) >
line-height: 1.3; line-height: 1.3;
} }
@media (min-width: 760px) { @media (min-width: 760px) {
.fullpage_content:has(.paragraph--type--membre-equipe) > div > div:last-of-type .paragraph--type--membre-equipe > .prenom, .fullpage_content:has(.paragraph--type--membre-equipe):not(.equipe) > div > div:last-of-type .paragraph--type--membre-equipe > .prenom,
.fullpage_content:has(.paragraph--type--membre-equipe) > div > div:last-of-type .paragraph--type--membre-equipe > .nom { .fullpage_content:has(.paragraph--type--membre-equipe):not(.equipe) > div > div:last-of-type .paragraph--type--membre-equipe > .nom {
font-size: 1.2rem; font-size: 1.2rem;
} }
} }
.fullpage_content:has(.paragraph--type--membre-equipe) > div > div:last-of-type .paragraph--type--membre-equipe > .nom > div { .fullpage_content:has(.paragraph--type--membre-equipe):not(.equipe) > div > div:last-of-type .paragraph--type--membre-equipe > .nom > div {
padding-left: 0.5rem; padding-left: 0.5rem;
} }
.fullpage_content:has(.paragraph--type--membre-equipe) > div > div:last-of-type .paragraph--type--membre-equipe > .texte { .fullpage_content:has(.paragraph--type--membre-equipe):not(.equipe) > div > div:last-of-type .paragraph--type--membre-equipe > .texte {
grid-column: 2/4; grid-column: 2/4;
font-family: "Marianne", sans-serif; font-family: "Marianne", sans-serif;
font-size: 1rem; font-size: 1rem;
line-height: 1.4; line-height: 1.4;
} }
.fullpage_content:has(.paragraph--type--membre-equipe) > div > div:last-of-type .paragraph--type--membre-equipe > .texte p { .fullpage_content:has(.paragraph--type--membre-equipe):not(.equipe) > div > div:last-of-type .paragraph--type--membre-equipe > .texte p {
margin-top: 0 !important; margin-top: 0 !important;
padding-left: 0 !important; padding-left: 0 !important;
} }
@media screen and (min-width: 760px) { @media screen and (min-width: 760px) {
.fullpage_content:has(.paragraph--type--membre-equipe) > div > div:last-of-type .paragraph--type--membre-equipe { .fullpage_content:has(.paragraph--type--membre-equipe):not(.equipe) > div > div:last-of-type .paragraph--type--membre-equipe {
grid-template-columns: 10vw auto 1fr; grid-template-columns: 10vw auto 1fr;
} }
.fullpage_content:has(.paragraph--type--membre-equipe) > div > div:last-of-type .paragraph--type--membre-equipe > .portrait > div > div { .fullpage_content:has(.paragraph--type--membre-equipe):not(.equipe) > div > div:last-of-type .paragraph--type--membre-equipe > .portrait > div > div {
width: 10vw; width: 10vw;
height: 10vw; height: 10vw;
border-radius: 5vw; border-radius: 5vw;
} }
.fullpage_content:has(.paragraph--type--membre-equipe) > div > div:last-of-type .paragraph--type--membre-equipe > .prenom { .fullpage_content:has(.paragraph--type--membre-equipe):not(.equipe) > div > div:last-of-type .paragraph--type--membre-equipe > .prenom {
padding-left: 3vw; padding-left: 3vw;
} }
.fullpage_content:has(.paragraph--type--membre-equipe) > div > div:last-of-type .paragraph--type--membre-equipe > .texte p { .fullpage_content:has(.paragraph--type--membre-equipe):not(.equipe) > div > div:last-of-type .paragraph--type--membre-equipe > .texte p {
padding-left: 3vw !important; padding-left: 3vw !important;
} }
} }
@media screen and (min-width: 1080px) { @media screen and (min-width: 1080px) {
.fullpage_content:has(.paragraph--type--membre-equipe) > div > div:last-of-type .paragraph--type--membre-equipe { .fullpage_content:has(.paragraph--type--membre-equipe):not(.equipe) > div > div:last-of-type .paragraph--type--membre-equipe {
padding: 0 !important; padding: 0 !important;
grid-template-columns: auto 1fr; grid-template-columns: auto 1fr;
} }
.fullpage_content:has(.paragraph--type--membre-equipe) > div > div:last-of-type .paragraph--type--membre-equipe > .portrait { .fullpage_content:has(.paragraph--type--membre-equipe):not(.equipe) > div > div:last-of-type .paragraph--type--membre-equipe > .portrait {
grid-column: 1/3; grid-column: 1/3;
grid-row: 1/1; grid-row: 1/1;
width: 7vw; width: 7vw;
height: 7vw; height: 7vw;
} }
.fullpage_content:has(.paragraph--type--membre-equipe) > div > div:last-of-type .paragraph--type--membre-equipe > .portrait > div > div { .fullpage_content:has(.paragraph--type--membre-equipe):not(.equipe) > div > div:last-of-type .paragraph--type--membre-equipe > .portrait > div > div {
width: 7vw; width: 7vw;
height: 7vw; height: 7vw;
} }
.fullpage_content:has(.paragraph--type--membre-equipe) > div > div:last-of-type .paragraph--type--membre-equipe > .prenom, .fullpage_content:has(.paragraph--type--membre-equipe):not(.equipe) > div > div:last-of-type .paragraph--type--membre-equipe > .prenom,
.fullpage_content:has(.paragraph--type--membre-equipe) > div > div:last-of-type .paragraph--type--membre-equipe > .nom { .fullpage_content:has(.paragraph--type--membre-equipe):not(.equipe) > div > div:last-of-type .paragraph--type--membre-equipe > .nom {
margin-top: 0.8rem; margin-top: 0.8rem;
align-self: start; align-self: start;
padding: 0 !important; padding: 0 !important;
grid-row: 2/2; grid-row: 2/2;
} }
.fullpage_content:has(.paragraph--type--membre-equipe) > div > div:last-of-type .paragraph--type--membre-equipe > .prenom { .fullpage_content:has(.paragraph--type--membre-equipe):not(.equipe) > div > div:last-of-type .paragraph--type--membre-equipe > .prenom {
justify-self: end; justify-self: end;
} }
.fullpage_content:has(.paragraph--type--membre-equipe) > div > div:last-of-type .paragraph--type--membre-equipe > .texte { .fullpage_content:has(.paragraph--type--membre-equipe):not(.equipe) > div > div:last-of-type .paragraph--type--membre-equipe > .texte {
grid-column: 1/3; grid-column: 1/3;
grid-row: 3/3; grid-row: 3/3;
} }
.fullpage_content:has(.paragraph--type--membre-equipe) > div > div:last-of-type .paragraph--type--membre-equipe > .texte p { .fullpage_content:has(.paragraph--type--membre-equipe):not(.equipe) > div > div:last-of-type .paragraph--type--membre-equipe > .texte p {
padding: 0 !important; padding: 0 !important;
margin: 0 !important; margin: 0 !important;
} }

File diff suppressed because one or more lines are too long

View File

@ -1,4 +1,4 @@
.fullpage_content:has(.paragraph--type--membre-equipe) > div > div:last-of-type { .fullpage_content:has(.paragraph--type--membre-equipe):not(.equipe) > div > div:last-of-type {
@media screen and (min-width: $breakpoint_desktop) { @media screen and (min-width: $breakpoint_desktop) {
display: grid; display: grid;
grid-template-columns: 1fr 1fr; grid-template-columns: 1fr 1fr;

View File

@ -58,6 +58,7 @@
margin-bottom: 0.5rem; margin-bottom: 0.5rem;
margin-top: 1rem !important; margin-top: 1rem !important;
padding: 0 !important; padding: 0 !important;
line-height: 1.2;
@include main_title(); @include main_title();
} }
} }