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

52 lines
1.6 KiB
SCSS
Raw Normal View History

2023-12-14 06:01:09 +01:00
.content_partenaires {
.views-row {
margin-bottom: 2vh;
article {
> h2 {
margin-bottom: 2vh;
@include sous_titre_alt();
2023-12-14 06:01:09 +01:00
}
> div:first-of-type {
height: unset !important;
display: grid;
grid-template-columns: 0.3fr 1fr;
2023-12-14 06:01:09 +01:00
align-items: center;
> div:first-of-type {
> div {
width: 30vw;
2023-12-14 06:01:09 +01:00
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: 15vw;
}
2023-12-14 06:01:09 +01:00
}
}
> div:nth-of-type(2) {
@include main_text_content();
margin-bottom: 2rem;
padding-left: $x_margin;
2023-12-14 06:01:09 +01:00
}
> div:last-of-type {
grid-column: 1 / 3;
2023-12-14 06:01:09 +01:00
width: 100%;
text-align: right;
padding-bottom: 2rem;
margin-top: 1rem;
@include fluo_button();
}
2023-12-14 06:01:09 +01:00
}
}
}
}