mirror of
https://github.com/qdrant/landing_page.git
synced 2026-09-25 22:18:30 +02:00
* Updated Blog-Post page * Second version of the progress bar * Updated Progress bar for Safari and Firefox * Returned the scroll bar in the first version
153 lines
2.8 KiB
SCSS
153 lines
2.8 KiB
SCSS
@use '../helpers/functions' as *;
|
|
@use 'sass:math';
|
|
|
|
.qdrant-blog-post {
|
|
article {
|
|
display: flex;
|
|
flex-direction: column;
|
|
}
|
|
|
|
.qdrant-post {
|
|
&__breadcrumbs {
|
|
margin-top: $spacer * 2.5;
|
|
margin-bottom: $spacer;
|
|
order: 1;
|
|
}
|
|
|
|
&__title {
|
|
text-align: left;
|
|
}
|
|
|
|
&__about {
|
|
justify-content: flex-start;
|
|
margin-bottom: $spacer * 1.5;
|
|
}
|
|
|
|
&__header {
|
|
padding-top: 0;
|
|
padding-bottom: $spacer * 1.5;
|
|
order: 2;
|
|
}
|
|
|
|
&__body {
|
|
gap: $spacer * 1.5;
|
|
padding-bottom: $spacer * 5;
|
|
order: 3;
|
|
}
|
|
|
|
&__nav {
|
|
a {
|
|
font-size: pxToRem(14);
|
|
line-height: pxToRem(21);
|
|
color: $neutral-20;
|
|
}
|
|
|
|
&-title {
|
|
display: none;
|
|
margin-bottom: $spacer * 0.5;
|
|
padding: 0 $spacer * 0.5 $spacer * 0.5;
|
|
font-size: $spacer;
|
|
line-height: $spacer * 1.5;
|
|
color: $neutral-20;
|
|
}
|
|
|
|
nav {
|
|
display: none;
|
|
margin-bottom: $spacer;
|
|
|
|
ul {
|
|
padding-left: 0;
|
|
}
|
|
|
|
li {
|
|
list-style: none;
|
|
|
|
a {
|
|
display: block;
|
|
margin-bottom: math.div($spacer, 4);
|
|
padding: math.div($spacer, 4) $spacer * 0.5;
|
|
}
|
|
}
|
|
}
|
|
|
|
&-links {
|
|
display: flex;
|
|
justify-content: space-between;
|
|
gap: pxToRem(12);
|
|
padding-bottom: $spacer * 1.5;
|
|
border-bottom: pxToRem(1) solid $neutral-80;
|
|
|
|
a {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: $spacer * 0.5;
|
|
padding-left: $spacer * 0.5;
|
|
|
|
svg {
|
|
height: $spacer;
|
|
width: $spacer;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
@media (min-width: 1200px) {
|
|
.qdrant-post {
|
|
&__breadcrumbs {
|
|
margin-top: $spacer * 1.5;
|
|
margin-bottom: $spacer * 2.5;
|
|
}
|
|
|
|
&__title {
|
|
text-align: center;
|
|
}
|
|
|
|
&__about {
|
|
justify-content: center;
|
|
margin-bottom: $spacer * 2.5;
|
|
}
|
|
|
|
&__header {
|
|
padding-bottom: $spacer * 4;
|
|
}
|
|
|
|
&__body {
|
|
align-items: flex-start;
|
|
flex-direction: row-reverse;
|
|
gap: $spacer * 4;
|
|
width: pxToRem(984);
|
|
margin-left: pxToRem(91);
|
|
}
|
|
|
|
&__content {
|
|
width: calc(100% - $spacer * 19);
|
|
}
|
|
|
|
&__nav {
|
|
position: sticky;
|
|
top: $spacer * 4;
|
|
right: 0;
|
|
width: $spacer * 15;
|
|
padding-top: $spacer;
|
|
|
|
&-title {
|
|
display: block;
|
|
}
|
|
|
|
nav {
|
|
display: block;
|
|
}
|
|
|
|
&-links {
|
|
flex-direction: column;
|
|
padding-top: $spacer * 1.5;
|
|
padding-bottom: 0;
|
|
border-top: pxToRem(1) solid $neutral-80;
|
|
border-bottom: none;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|