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

53 lines
1.6 KiB
SCSS

.content_partenaires {
.views-row {
margin-bottom: 2vh;
article {
> h2 {
margin-bottom: 2vh;
@include sous_titre_alt();
}
> div:first-of-type {
height: unset !important;
display: grid;
grid-template-columns: 0.3fr 1fr;
align-items: center;
> div:first-of-type {
> div {
width: 30vw;
height: auto;
overflow: hidden;
margin-bottom: 1rem;
img {
width: 100%;
height: auto;
mix-blend-mode: darken;
}
@media (min-width: $breakpoint_tablet) {
width: 20vw;
}
@media (min-width: $breakpoint_desktop) {
width: 10vw;
}
}
}
> div:nth-of-type(2) {
@include main_text_content();
margin-bottom: 2rem;
padding-left: $x_margin;
}
> div:last-of-type {
grid-column: 1 / 3;
width: 100%;
text-align: right;
padding-bottom: 2rem;
margin-top: 1rem;
@include fluo_button();
}
}
}
}
}