mirror of
https://github.com/qdrant/landing_page.git
synced 2026-09-25 22:18:30 +02:00
70 lines
1.3 KiB
SCSS
70 lines
1.3 KiB
SCSS
@use '../helpers/functions' as *;
|
|
|
|
.leadership {
|
|
padding-top: $spacer * 4;
|
|
background-color: $neutral-94;
|
|
|
|
&__title {
|
|
font-size: map-get($font-sizes, 4);
|
|
line-height: pxToRem(48);
|
|
margin-bottom: $spacer * 2.5;
|
|
}
|
|
|
|
&__cards {
|
|
row-gap: pxToRem(7);
|
|
}
|
|
|
|
&__card {
|
|
padding: pxToRem(10);
|
|
display: flex;
|
|
flex-direction: column;
|
|
justify-content: space-between;
|
|
row-gap: $spacer;
|
|
background-color: $neutral-98;
|
|
}
|
|
|
|
&__card-image {
|
|
width: 100%;
|
|
aspect-ratio: 0.96;
|
|
background-position: center;
|
|
background-size: contain;
|
|
border-radius: pxToRem(6);
|
|
}
|
|
|
|
&__card-name {
|
|
width: 100%;
|
|
font-weight: bold;
|
|
color: $neutral-20;
|
|
text-align: center;
|
|
margin-bottom: pxToRem(4);
|
|
font-size: map-get($font-sizes-text, md);
|
|
}
|
|
|
|
&__card-position {
|
|
width: 100%;
|
|
margin: 0;
|
|
color: $neutral-40;
|
|
text-align: center;
|
|
font-size: map-get($font-sizes-text, xs);
|
|
}
|
|
|
|
@include media-breakpoint-up(xl) {
|
|
padding-top: $spacer * 7.5;
|
|
|
|
&__title {
|
|
text-align: center;
|
|
font-size: map-get($font-sizes, 2);
|
|
line-height: pxToRem(67);
|
|
margin-bottom: $spacer * 4;
|
|
}
|
|
|
|
&__cards {
|
|
row-gap: pxToRem(30);
|
|
}
|
|
|
|
&__card {
|
|
padding: $spacer;
|
|
}
|
|
}
|
|
}
|