Files
landing_page/qdrant-landing/themes/qdrant-2024/assets/css/partials/_share-buttons.scss
T

64 lines
1.2 KiB
SCSS

@use '../helpers/functions' as *;
.share-buttons {
display: flex;
justify-content: space-between;
align-items: flex-start;
@include media-breakpoint-up(xl) {
flex-direction: column;
justify-content: flex-start;
align-items: center;
gap: $spacer * 1.5;
width: $spacer * 5;
padding-left: $spacer * 2;
}
&__title {
font-size: pxToRem(18);
line-height: pxToRem(27);
font-weight: bold;
margin-bottom: 0;
padding-bottom: $spacer * 0.5;
border-bottom: pxToRem(1) solid $primary-50;
}
&__links {
display: flex;
justify-content: flex-end;
align-items: center;
gap: $spacer;
@include media-breakpoint-up(xl) {
flex-direction: column;
justify-content: flex-start;
}
& > a {
padding: 0.5rem;
transition: background-color 0.3s;
&:hover {
background-color: $neutral-94;
border-radius: 0.25rem;
}
}
}
&_horizontal {
width: auto;
align-items: center;
gap: $spacer * 1.5;
@include media-breakpoint-up(xl) {
flex-direction: row;
padding: 0;
}
.share-buttons__title {
border-bottom: 0;
padding-bottom: 0;
}
.share-buttons__links {
flex-direction: row;
}
}
}