Files
ucharify_landing/src/scss/layout/_features.scss
T
2019-02-18 22:37:47 -08:00

102 lines
1.4 KiB
SCSS

.features {
.section-title {
position: relative;
margin-bottom: 32px;
max-width: 620px;
margin-left: auto;
margin-right: auto;
z-index: 0;
&::before {
content: '';
position: absolute;
top: -20px;
left: 0;
width: 76px;
height: 85px;
background-image: url('../images/features-quote-illustration.svg');
background-size: 100% 100%;
background-repeat: no-repeat;
z-index: -1
}
}
}
.features-illustration {
margin-bottom: 32px;
}
.features-wrap {
display: flex;
flex-wrap: wrap;
justify-content: center;
margin-right: -12px;
margin-left: -12px;
margin-top: -16px;
&:last-of-type {
margin-bottom: -16px;
}
&:not(:last-of-type) {
margin-bottom: 16px;
}
}
.feature {
padding: 16px 12px;
width: 364px;
max-width: 364px;
flex-grow: 1;
}
.feature-inner {
height: 100%;
}
.feature-icon {
display: flex;
justify-content: center;
}
@include media( '>medium' ) {
.features {
.section-title {
margin-bottom: 64px;
&::before {
top: -45px;
width: 87px;
height: 112px;
}
}
}
.features-illustration {
margin-bottom: 64px;
}
.features-wrap {
margin-right: -24px;
margin-left: -24px;
margin-top: -32px;
&:last-of-type {
margin-bottom: -32px;
}
&:not(:last-of-type) {
margin-bottom: 32px;
}
}
.feature {
padding: 32px 24px;
width: 388px;
max-width: 388px;
}
}