drupal-erable/web/themes/erabletheme/scss/_gouvernance.scss

101 lines
2.0 KiB
SCSS
Raw Normal View History

2024-09-19 12:02:42 +02:00
.paragraph--type--membre-equipe {
2024-11-05 01:44:18 +01:00
height: auto;
display: grid;
grid-template-columns: 30vw auto 1fr;
grid-auto-rows: auto;
margin-bottom: 5vh;
padding: 0 3vw !important;
&:first-of-type {
margin-top: 5vh;
}
> .portrait {
grid-row: 1 / 3;
> div {
display: flex;
align-items: center;
> div {
width: 20vw;
height: 20vw;
position: relative;
img {
border-radius: 10vw;
width: 100%;
height: 100%;
object-fit: cover;
}
&::after {
top: 0;
left: 0;
position: absolute;
content: '';
height: 100%;
width: 100%;
background-image: url('/themes/erabletheme/assets/cercle_dessin.svg');
background-size: cover;
display: block;
pointer-events: none;
}
}
}
2024-11-05 01:44:18 +01:00
}
> .prenom,
> .nom {
2024-11-05 01:44:18 +01:00
align-self: flex-end;
margin-bottom: 2vh;
2024-11-05 01:44:18 +01:00
@include sous_titre();
}
2024-09-19 12:02:42 +02:00
> .nom > div {
2024-11-05 01:44:18 +01:00
padding-left: 0.5rem;
}
2024-09-19 12:02:42 +02:00
> .texte {
2024-11-05 01:44:18 +01:00
grid-column: 2 / 4;
@include main_text_content();
p {
2024-11-05 01:44:18 +01:00
margin-top: 0 !important;
padding-left: 0 !important;
2024-11-05 01:44:18 +01:00
}
}
@media (min-width: $breakpoint_tablet) {
grid-template-columns: 10vw auto 1fr;
> .portrait > div > div {
2024-11-05 01:44:18 +01:00
width: 10vw;
height: 10vw;
border-radius: 5vw;
2024-09-19 12:02:42 +02:00
}
> .prenom {
2024-11-05 01:44:18 +01:00
padding-left: 3vw;
}
2024-09-19 12:02:42 +02:00
> .texte p {
padding-left: 3vw !important;
2024-09-19 12:02:42 +02:00
}
2024-11-05 01:44:18 +01:00
}
2024-09-19 12:02:42 +02:00
}
2023-12-13 15:08:55 +01:00
.content_gouvernance {
.views-row {
margin-bottom: 2vh;
article {
> h2 {
margin-bottom: 2vh;
@include sous_titre_alt();
}
> h2 + div > div {
margin-bottom: 2em;
@include main_text_content();
2023-12-13 15:08:55 +01:00
}
> div:first-of-type {
height: unset;
flex-direction: column;
}
2023-12-13 15:08:55 +01:00
}
}
}