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

134 lines
2.4 KiB
SCSS

@use '../helpers/functions' as *;
.qdrant-blog-features {
padding-top: $spacer * 4;
padding-bottom: $spacer * 4;
background-color: $neutral-98;
&__header {
margin-bottom: $spacer * 3;
}
&__title {
font-size: $spacer * 2.5;
line-height: $spacer * 3;
color: $neutral-20;
margin-bottom: $spacer * 1.5;
}
&__form {
margin-bottom: 0;
&-search-block {
position: relative;
input,
.qdr-search-input-btn {
padding-right: $spacer * 2.5;
}
.qdr-search-input-btn {
width: 100%;
color: $neutral-70;
}
i {
position: absolute;
top: pxToRem(12);
right: $spacer;
width: $spacer;
height: $spacer;
border: none;
background-color: transparent;
background-image: url('/icons/outline/input-search.svg');
background-position: center;
background-size: cover;
background-repeat: no-repeat;
}
}
}
&__articles {
display: flex;
flex-direction: column;
gap: $spacer * 4;
&-main {
width: 100%;
h5 {
font-size: $spacer * 2;
line-height: pxToRem(38);
color: $neutral-20;
margin-bottom: $spacer;
}
&:hover {
.post-preview > div {
transform: none;
}
}
}
&-secondary {
.post {
padding: pxToRem(18) 0 pxToRem(20);
border-bottom: pxToRem(1) solid $neutral-90;
&:first-of-type {
padding-top: pxToRem(20);
border-top: pxToRem(1) solid $neutral-90;
}
}
h6 {
margin-bottom: $spacer;
}
}
}
@include media-breakpoint-up(lg) {
padding-top: $spacer * 5;
padding-bottom: $spacer * 5;
&__header {
align-items: center;
justify-content: space-between;
}
&__articles {
flex-direction: row;
gap: pxToRem(30);
&-main {
width: calc(100% - 476px);
}
&-secondary {
width: pxToRem(446);
.post {
&:first-of-type {
padding-top: 0;
border-top: none;
}
}
}
}
}
@include media-breakpoint-up(xl) {
&__title {
font-size: $spacer * 3.5;
line-height: pxToRem(67);
margin-bottom: 0;
}
&__form {
&-search-block {
width: pxToRem(534);
margin-left: auto;
}
}
}
}