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

72 lines
2.0 KiB
SCSS

.content_gouvernance {
.views-row {
margin-bottom: 2vh;
article {
> h2 {
margin-bottom: 2vh;
a {
@include sous_titre_alt();
}
}
> div:first-of-type {
max-height: none;
}
.paragraph--type--membre-equipe {
height: auto;
display: grid;
grid-template-columns: 30vw 1fr;
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%;
height: auto;
}
}
}
> div:nth-of-type(2) {
@include sous_titre();
margin-bottom: 2vh;
align-self: center;
}
> div:nth-of-type(3) {
display: none;
}
> div:last-of-type {
@include main_text_content();
}
@media (min-width: $breakpoint_tablet) {
grid-template-columns: 10vw 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;
}
}
}
}
}
}