Files
landing_page/qdrant-landing/themes/qdrant-2024/assets/css/partials/_hybrid-cloud-hero.scss
T

120 lines
2.1 KiB
SCSS

@use '../helpers/functions' as *;
.hybrid-cloud-hero {
padding-top: $spacer * 2.5;
padding-bottom: $spacer * 4;
text-align: center;
background: url('/img/stars-pattern.png') $neutral-10;
&__title {
font-size: $spacer * 2.5;
line-height: $spacer * 3;
margin-bottom: $spacer * 1.5;
color: $neutral-98;
}
&__features {
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
gap: $spacer;
margin-bottom: $spacer * 1.5;
& > div {
gap: $spacer * 0.5;
padding: pxToRem(4) $spacer;
border-radius: pxToRem(100);
background-color: $neutral-20;
img {
height: $spacer;
width: $spacer;
}
p {
font-size: pxToRem(14);
line-height: pxToRem(21);
color: $neutral-90;
margin-bottom: 0;
}
}
}
&__description {
font-size: pxToRem(18);
line-height: pxToRem(27);
margin-bottom: $spacer * 2;
color: $neutral-70;
}
&__buttons {
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
gap: $spacer * 1.5;
.button {
min-width: $spacer * 12.5;
}
}
&__preview {
margin-top: -$spacer;
img {
width: 100%;
}
}
@include media-breakpoint-up(lg) {
padding-top: $spacer * 5;
padding-bottom: $spacer * 7.5;
text-align: left;
&__content {
width: pxToRem(480);
}
&__title {
font-size: $spacer * 4;
line-height: pxToRem(76);
}
&__features {
flex-direction: row;
justify-content: flex-start;
flex-wrap: wrap;
}
&__description {
font-size: pxToRem(20);
line-height: pxToRem(30);
}
&__buttons {
flex-direction: row;
justify-content: flex-start;
.button {
min-width: auto;
}
}
&__preview {
width: pxToRem(480);
margin-top: -$spacer * 5;
}
}
@include media-breakpoint-up(xl) {
&__content {
width: pxToRem(500);
}
&__preview {
width: pxToRem(550);
}
}
}