Files
landing_page/qdrant-landing/themes/qdrant-2024/assets/css/partials/_community-features.scss
T

121 lines
2.1 KiB
SCSS

@use '../helpers/functions' as *;
@use '../mixins/mixins' as mixins;
.community-features {
padding-top: $spacer * 4;
padding-bottom: $spacer * 4;
background-color: $neutral-94;
&__title {
font-size: $spacer * 2.5;
line-height: $spacer * 3;
color: $neutral-20;
margin-bottom: $spacer * 2.5;
text-align: center;
}
&__resources-card {
padding-bottom: 0;
overflow: hidden;
&-title {
font-size: $spacer * 1.5;
line-height: pxToRem(34);
color: $neutral-20;
margin-bottom: pxToRem(12);
}
&-description {
color: $neutral-40;
margin-bottom: pxToRem(12);
}
&-link {
@include mixins.link-color($neutral-20);
}
&-image {
width: 100%;
align-self: center;
margin-top: $spacer * 1.5;
}
}
&__resources-cards {
margin-bottom: pxToRem(30);
& > div {
&:first-of-type,
&:last-of-type {
img {
min-width: pxToRem(635);
}
}
&:nth-of-type(2),
&:nth-of-type(3) {
img {
min-width: pxToRem(397);
}
}
}
}
&__card {
&-icon {
height: $spacer * 1.5;
width: $spacer * 1.5;
margin-bottom: $spacer * 1.5;
}
&-title {
font-size: $spacer * 1.5;
line-height: pxToRem(34);
color: $neutral-20;
margin-bottom: $spacer;
}
&-description {
font-size: pxToRem(14);
line-height: pxToRem(21);
color: $neutral-40;
margin-bottom: $spacer * 1.5;
}
&-link {
@include mixins.link-color($neutral-20);
}
}
@include media-breakpoint-up(lg) {
padding-top: $spacer * 6.5;
padding-bottom: $spacer * 5;
&__title {
font-size: $spacer * 3.5;
line-height: pxToRem(67);
margin-bottom: $spacer * 5;
}
&__resources-card {
justify-content: flex-start;
&-link {
margin-bottom: $spacer;
}
&-image {
margin-top: auto;
}
}
&__card {
justify-content: flex-start;
&-link {
margin-top: auto;
}
}
}
}