mirror of
https://github.com/qdrant/landing_page.git
synced 2026-09-25 22:18:30 +02:00
127 lines
2.0 KiB
SCSS
127 lines
2.0 KiB
SCSS
@use '../helpers/functions' as *;
|
|
|
|
.feature-overview {
|
|
background-color: $neutral-94;
|
|
|
|
padding-top: $spacer * 4;
|
|
padding-bottom: $spacer * 3;
|
|
|
|
display: flex;
|
|
flex-direction: column;
|
|
align-items: center;
|
|
|
|
&__header {
|
|
margin-bottom: $spacer * 3;
|
|
}
|
|
|
|
&__title {
|
|
margin-bottom: pxToRem(30);
|
|
font-size: $spacer * 2.5;
|
|
line-height: $spacer * 3;
|
|
color: $neutral-20;
|
|
}
|
|
|
|
&__description {
|
|
margin: 0;
|
|
font-size: pxToRem(18);
|
|
line-height: pxToRem(27);
|
|
color: $neutral-30;
|
|
}
|
|
|
|
&__cards {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: $spacer * 2;
|
|
}
|
|
|
|
&__card img {
|
|
margin-bottom: $spacer;
|
|
}
|
|
|
|
&__card-title {
|
|
margin-bottom: $spacer;
|
|
font-size: pxToRem(20);
|
|
line-height: pxToRem(30);
|
|
font-weight: bold;
|
|
color: $neutral-20;
|
|
}
|
|
|
|
&__card-content {
|
|
margin-bottom: $spacer;
|
|
color: $neutral-30;
|
|
}
|
|
|
|
@include media-breakpoint-up(xl) {
|
|
padding-top: $spacer * 7.5;
|
|
padding-bottom: $spacer * 2.5;
|
|
|
|
&__header {
|
|
display: grid;
|
|
grid-template-columns: repeat(2, 1fr);
|
|
gap: pxToRem(30);
|
|
margin-bottom: $spacer * 5;
|
|
}
|
|
|
|
&__title {
|
|
margin: 0;
|
|
font-size: $spacer * 3.5;
|
|
line-height: pxToRem(67);
|
|
}
|
|
|
|
&__description {
|
|
font-size: pxToRem(20);
|
|
line-height: pxToRem(30);
|
|
}
|
|
|
|
&__cards {
|
|
display: grid;
|
|
grid-template-areas:
|
|
'A A A B B B'
|
|
'C C D D E E'
|
|
'F F F F G G'
|
|
'H H I I J J';
|
|
gap: pxToRem(30);
|
|
}
|
|
|
|
&__card:nth-of-type(1) {
|
|
grid-area: A;
|
|
}
|
|
|
|
&__card:nth-of-type(2) {
|
|
grid-area: B;
|
|
}
|
|
|
|
&__card:nth-of-type(3) {
|
|
grid-area: C;
|
|
}
|
|
|
|
&__card:nth-of-type(4) {
|
|
grid-area: D;
|
|
}
|
|
|
|
&__card:nth-of-type(5) {
|
|
grid-area: E;
|
|
}
|
|
|
|
&__card:nth-of-type(6) {
|
|
grid-area: F;
|
|
}
|
|
|
|
&__card:nth-of-type(7) {
|
|
grid-area: G;
|
|
}
|
|
|
|
&__card:nth-of-type(8) {
|
|
grid-area: H;
|
|
}
|
|
|
|
&__card:nth-of-type(9) {
|
|
grid-area: I;
|
|
}
|
|
|
|
&__card:nth-of-type(10) {
|
|
grid-area: J;
|
|
}
|
|
}
|
|
}
|