mirror of
https://github.com/qdrant/landing_page.git
synced 2026-10-02 01:18:30 +02:00
76 lines
1.6 KiB
SCSS
76 lines
1.6 KiB
SCSS
@use '../helpers/functions' as *;
|
|
|
|
.mission {
|
|
padding-top: $spacer * 2.5;
|
|
padding-bottom: $spacer * 4;
|
|
text-align: center;
|
|
position: relative;
|
|
background-color: $neutral-94;
|
|
|
|
&__content {
|
|
display: flex;
|
|
flex-direction: column;
|
|
align-items: center;
|
|
justify-content: center;
|
|
position: relative;
|
|
z-index: 1;
|
|
}
|
|
|
|
&__link {
|
|
color: $neutral-94;
|
|
padding: pxToRem(4) $spacer;
|
|
font-size: $font-size-s;
|
|
line-height: pxToRem(21);
|
|
border-radius: 100px;
|
|
background: linear-gradient($neutral-20, $neutral-10);
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
width: fit-content;
|
|
}
|
|
|
|
&__logo {
|
|
content: url('../../icons/logo.svg');
|
|
min-width: pxToRem(14);
|
|
height: pxToRem(16);
|
|
padding-right: pxToRem(8);
|
|
}
|
|
|
|
&__title {
|
|
color: $neutral-20;
|
|
text-align: center;
|
|
font-size: map-get($font-sizes, 4);
|
|
line-height: pxToRem(48);
|
|
margin: $spacer * 1.5 0 0;
|
|
}
|
|
|
|
&__overlay {
|
|
display: block;
|
|
position: absolute;
|
|
left: 0;
|
|
top: 0;
|
|
height: 100%;
|
|
width: 100%;
|
|
background-image: url('../../img/mission-background-mobile.png');
|
|
background-size: cover;
|
|
background-position: center;
|
|
background-repeat: no-repeat;
|
|
}
|
|
|
|
@include media-breakpoint-up(xl) {
|
|
padding: pxToRem(160) 0;
|
|
|
|
&__title {
|
|
max-width: pxToRem(920);
|
|
font-size: map-get($font-sizes, 2);
|
|
line-height: pxToRem(67);
|
|
}
|
|
|
|
&__overlay {
|
|
height: pxToRem(400);
|
|
top: pxToRem(87);
|
|
background-image: url('../../img/mission-background.png');
|
|
}
|
|
}
|
|
}
|