mirror of
https://github.com/qdrant/landing_page.git
synced 2026-10-01 00:48:32 +02:00
46 lines
823 B
SCSS
46 lines
823 B
SCSS
@use '../helpers/functions' as *;
|
|
|
|
.carousel {
|
|
min-height: pxToRem(240);
|
|
background-color: $neutral-94;
|
|
|
|
&__content {
|
|
overflow-x: scroll;
|
|
-ms-overflow-style: none; /* IE and Edge */
|
|
scrollbar-width: none; /* Firefox */
|
|
scroll-behavior: smooth;
|
|
}
|
|
|
|
&__content::-webkit-scrollbar {
|
|
display: none;
|
|
}
|
|
|
|
&__cards {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
gap: pxToRem(30);
|
|
|
|
width: fit-content;
|
|
}
|
|
|
|
&__image {
|
|
min-width: pxToRem(400);
|
|
aspect-ratio: 5 / 3;
|
|
height: 100%;
|
|
background-position: center;
|
|
background-size: contain;
|
|
}
|
|
|
|
@include media-breakpoint-up(xl) {
|
|
padding-bottom: $spacer * 5;
|
|
}
|
|
|
|
@include media-breakpoint-up(xxl) {
|
|
&__content {
|
|
max-width: pxToRem(1102);
|
|
margin: 0 auto;
|
|
}
|
|
}
|
|
}
|