Files
landing_page/qdrant-landing/themes/qdrant-2024/assets/css/partials/_qdrant-blog-post.scss
T
nastyapash 2f38a71bde Updated Blog-Post page (#1260)
* 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
2024-11-05 13:28:46 +01:00

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;
}
}
}
}
}