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

75 lines
2.2 KiB
SCSS
Raw Normal View History

2023-12-13 15:08:55 +01:00
.content_gouvernance {
.views-row {
margin-bottom: 2vh;
article {
> h2 {
margin-bottom: 2vh;
a {
2023-12-14 06:01:09 +01:00
@include sous_titre_alt();
2023-12-13 15:08:55 +01:00
}
}
> div:first-of-type {
height: unset;
2023-12-13 15:08:55 +01:00
}
.paragraph--type--membre-equipe {
height: auto;
display: grid;
grid-template-columns: 30vw auto 1fr;
2023-12-13 15:08:55 +01:00
grid-auto-rows: auto;
margin-bottom: 5vh;
> div:first-of-type {
grid-row: 1 / 3;
display: flex;
align-items: center;
> div {
width: 20vw;
height: 20vw;
overflow: hidden;
border-radius: 10vw;
img {
width: 100%;
2024-01-06 09:39:13 +01:00
height: 100%;
object-fit: cover;
2023-12-13 15:08:55 +01:00
}
}
}
> div:nth-of-type(2),
> div:nth-of-type(3) {
2023-12-13 15:08:55 +01:00
@include sous_titre();
margin-bottom: 2vh;
align-self: flex-start;
2023-12-13 15:08:55 +01:00
}
> div:nth-of-type(3) {
padding-left: 0.5rem;
2023-12-13 15:08:55 +01:00
}
> div:last-of-type {
@include main_text_content();
2024-01-06 09:39:13 +01:00
grid-column: 2 / 4;
2023-12-13 15:08:55 +01:00
}
@media (min-width: $breakpoint_tablet) {
grid-template-columns: 10vw auto 1fr;
> div:first-of-type > div {
width: 10vw;
height: 10vw;
border-radius: 5vw;
}
> div:nth-of-type(2) {
padding-left: 3vw;
}
> div:last-of-type {
padding-left: 3vw;
}
}
2023-12-13 15:08:55 +01:00
}
}
}
}