media/css/m24/feature.scss (61 lines of code) (raw):
// This Source Code Form is subject to the terms of the Mozilla Public
// License, v. 2.0. If a copy of the MPL was not distributed with this
// file, You can obtain one at https://mozilla.org/MPL/2.0/.
@use 'vars/lib' as *;
// feature
.m24-c-feature {
@include container;
padding-bottom: $spacer-xl;
}
.m24-c-feature-media {
padding-top: $container-padding;
padding-bottom: $spacer-xl;
img {
display: block;
}
}
.m24-c-feature-title {
margin-bottom: $spacer-xl;
font-size: $text-title-xl;
line-height: 1;
}
.m24-c-feature-cta {
text-align: end;
}
// columns
.m24-t-columns-four {
align-items: flex-start;
gap: $spacer-md $grid-gutter;
display: flex;
flex-direction: column;
justify-content: space-between;
margin-bottom: 0;
@media #{$mq-lg} {
flex-flow: row wrap;
}
@media #{$mq-xl} {
flex-flow: row nowrap;
}
}
// picto
.mzp-c-picto {
font-size: 16px;
margin-bottom: 0;
text-wrap: balance;
text-wrap-style: balance;
.mzp-c-picto-image {
height: 30px;
width: auto;
margin: $spacer-sm 0 $spacer-md;
}
p {
margin-bottom: 0;
}
}
.mzp-c-picto-heading {
font-size: 24px;
}
@media #{$mq-lg} {
.mzp-c-picto {
max-width: grid(6);
}
}
@media #{$mq-xl} {
.mzp-c-picto {
max-width: grid(3);
}
}