Files
landing_page/qdrant-landing/themes/qdrant/static/css/blocks/_blog.scss
T
6935178dc4 New design (#79)
* remover open source title, added docker icon on hero banner

* buttons, fixes for mobile view

* code widget fix

* removed copying of text

* changed size and positioning of the docker icon, added a link to dockerhub, some styles for mobiles

* hid an installation section and an imapge on hero-banner for small mobile devices

* exchanged images

* fixed svg images

* tutorial button => demos button, svg optimisation

* removed background

* new colors, separated file for the header

* cleaned some redunant styles for the header

* more changes according to the new design

* fixed buttons animation, fixed the header on all pages for desktop

* mobile view for the header and the top banner

* changed the features section according to new design

* moved styles for the features section to the separated file, some fixes for mobile view

* reorganised lines in features-section.scss

* changes slides on the main page - desctop view

* added a file

* autoscroll, some fixes

* added an autoplay and a pause on mouseenter to the carousel on the home page

* more styles

* styles for articles section and subscribtion section

* styles for footer

* styles

* footer background

* fixes

* more fixes

* fixes for mobile devices - small sizes

* fixes for mobile devices - medium sizes

* update images

* some fixes for mobiles, changed stack section

* changed the second header (aka section title) according to new design

* WIP: added some webpack configuration for updating a way of vendors scripts usage, added new carousel

* replaced old slider to splidejs

* fix for the slider

* articles list page

* article - single page

* refactored main.scss, removed unused code from it and moved sections styles to separated files

* renamed and added some files, added fixes to breadcrumbs

* small changes in styles and layouts

* vertical sizes

* changes of styles and structure in articles and blog related files

* added mobile styles for articles and related pages, added sass function for converting px to rem

* temp picture

* changes in page title

* changed colors on old pages to the new design schema

* fixes

* deleted a file qdrant.css, moved styles to main.scss

* installed qdrant-page-search, for now without an actual api url

* added an actual api url

* WIP replacing owl carousel with splide on the surveys page

* updated page search, changed a way it's used

* fixes for footer

* changed common auto-container width, article font-size, made some fixes

* docs auto-sync

* narrow articles

* re-imported blog styles, because they are used in other places

* updated page-search

* optimized css loading

* replaced some images with webp format

* undo main img, changes in image usage

* fixes

* fixed slider cursor, logos in the stack section, cards on solutions page, prices page

* changed font-size of a form title on the subscription page

* optimization

* wip: added bash script for article preview images processing

* bash script for article preview images processing

* updated images for articles

* two article card in the row, without buttons (#85)

* fixes for old pages

* fixes for benchmarks pages

* added some info to the readme

* upd case studies

* changed form placeholder color and margin between buttons in the header

* short solution texts + link to benchmarks on main

* pricing page fixes

* short text in slider

* article cards borders, slider height, contact us

* blockquote

* move external articles to the landing

* more narrow buttons in the header, no buttons on the solutions page

* demo page fixes, removed target blank from the benchmarks link on the main page

* slower speed of the carousel on the main page

* content changes + seach upd

* changed title, readme

* added translate3d(0, 0, 0) to buttons for safari animations

* fixing buttons in safari (maybe)

* fixing buttons in safari (maybe)

* fixing buttons in safari

* fixes for mobiles

* fixes

* docs auto-sync

* neural -> vector

Co-authored-by: Andrey Vasnetsov <andrey@vasnetsov.com>
Co-authored-by: qdrant <qdrant@users.noreply.github.com>
2022-10-31 14:21:21 +01:00

566 lines
11 KiB
SCSS

@use "../helpers/functions" as lib;
/***
====================================================================
Blog Page Section
====================================================================
***/
.blog-page-section {
padding: 95px 0 40px;
position: relative;
}
.blog-page-section .styled-pagination {
margin-top: 35px;
}
/***
====================================================================
Styled Pagination
====================================================================
***/
.styled-pagination {
position: relative;
z-index: 1;
}
.styled-pagination li {
display: inline-block;
margin: 0 10px;
position: relative;
}
.styled-pagination li a {
display: inline-block;
position: relative;
color: var(--brand-secondary);
font-family: $font-family-non-content;
font-size: 18px;
/* transition:all 0.3s ease; */
/* -moz-transition:all 0.3s ease; */
/* -webkit-transition:all 0.3s ease; */
/* -ms-transition:all 0.3s ease; */
/* -o-transition:all 0.3s ease; */
font-weight: 400;
}
.styled-pagination li.active a,
.styled-pagination li:hover a {
color: var(--brand-primary);
}
.styled-pagination li.prev {
margin-left: 0;
position: absolute;
top: -12px;
left: 0;
}
.styled-pagination li.prev a {
display: inline-block;
width: 160px;
height: 48px;
margin-bottom: 20px;
padding: 10px 20px;
position: relative;
text-align: center;
color: var(--brand-secondary);
border-radius: 50px;
font-family: $font-family-non-content;
font-size: 18px;
//border:1px solid var(--dark);
line-height: 28px;
/* -webkit-transition:all 300ms ease; */
/* -ms-transition:all 300ms ease; */
/* -o-transition:all 300ms ease; */
/* -moz-transition:all 300ms ease; */
/* transition:all 300ms ease; */
}
.styled-pagination li.prev a:hover {
color: #ffffff;
border-color: var(--brand-primary);
background-color: var(--brand-primary);
}
.styled-pagination li.next {
margin-right: 0;
position: absolute;
top: -12px;
right: 0;
}
.styled-pagination li.next a {
display: inline-block;
width: 160px;
height: 48px;
margin-bottom: 20px;
padding: 10px 20px;
position: relative;
top: 0;
right: 0;
text-align: center;
color: var(--brand-secondary);
border-radius: 50px;
font-family: $font-family-non-content;
font-size: 18px;
//border:1px solid var(--dark);
line-height: 26px;
/* -webkit-transition:all 300ms ease; */
/* -ms-transition:all 300ms ease; */
/* -o-transition:all 300ms ease; */
/* -moz-transition:all 300ms ease; */
/* transition:all 300ms ease; */
}
.styled-pagination li.next a:hover {
color: #ffffff;
border-color: var(--brand-primary);
background-color: var(--brand-primary);
}
.styled-pagination li.prev a:hover,
.styled-pagination li.next a:hover {
border-color: var(--brand-primary);
background-color: var(--brand-primary);
}
/***
====================================================================
Sidebar Page Container
====================================================================
***/
.sidebar-page-container {
padding: 0;
position: relative;
}
.sidebar-page-container .content-side,
.sidebar-page-container .sidebar-side {
margin-bottom: 40px;
}
.sidebar-widget {
margin-bottom: 40px;
}
/*Search Box Widget*/
.sidebar .search-box .form-group {
margin: 0;
position: relative;
}
.sidebar .search-box .form-group input[type="text"],
.sidebar .search-box .form-group input[type="search"] {
display: block;
width: 100%;
height: 48px;
padding: 10px 50px 10px 30px;
position: relative;
border-radius: 50px;
background: #eef1f9;
font-size: 15px;
//color:#797979;
font-weight: 400;
line-height: 30px;
/* transition:all 500ms ease; */
/* -moz-transition:all 500ms ease; */
/* -webkit-transition:all 500ms ease; */
/* -ms-transition:all 500ms ease; */
/* -o-transition:all 500ms ease; */
}
.sidebar .search-box .form-group textarea::-webkit-input-placeholder,
.sidebar .search-box .form-group input::-webkit-input-placeholder {
//color:#797979;
}
.sidebar .search-box .form-group button {
display: block;
width: 36px;
height: 36px;
position: absolute;
top: 6px;
right: 5px;
cursor: pointer;
color: #ffffff;
border-radius: 50px;
background-color: var(--brand-primary);
font-size: 14px;
font-weight: normal;
line-height: 100%;
}
/*Sidebar Title*/
.sidebar-title {
display: block;
margin-bottom: 0;
padding: 14px 20px;
position: relative;
border-radius: 8px;
background-color: #eef1f9;
}
.sidebar-title h4 {
//color: #2b2b2b;
text-transform: capitalize;
font-weight: 700;
line-height: 1.2em;
}
.sidebar .news-widget {
margin-bottom: 30px;
position: relative;
border-radius: 10px;
box-shadow: 0 0 15px rgba(0, 0, 0, 0.10);
}
.sidebar .news-widget .inner-box {
position: relative;
border-radius: 10px;
overflow: hidden;
}
.sidebar .news-widget .inner-box .image {
position: relative;
border-radius: 10px;
overflow: hidden;
}
.sidebar .news-widget .inner-box .image img {
width: 100%;
position: relative;
border-radius: 10px;
}
.sidebar .news-widget .inner-box:hover .image {
transition: 0.4s ease-in;
}
.sidebar .news-widget .inner-box:hover .image img {
transform: scale(1.04, 1.04);
}
.sidebar .news-widget .inner-box .lower-content {
padding: 30px 30px 30px;
position: relative;
}
.sidebar .news-widget .inner-box .lower-content h5 {
margin-bottom: 12px;
position: relative;
font-weight: 700;
line-height: 1.3em;
}
.sidebar .news-widget .inner-box .lower-content h5 a {
position: relative;
color: var(--brand-secondary);
}
.sidebar .news-widget .inner-box .lower-content h5 a:hover {
color: var(--brand-primary);
}
.sidebar .news-widget .inner-box .lower-content .text {
margin-bottom: 15px;
position: relative;
font-size: 16px;
line-height: 1.8em;
}
.sidebar .news-widget .inner-box .lower-content .learn {
position: relative;
text-decoration: underline;
text-transform: capitalize;
color: var(--brand-primary);
font-family: $font-family-non-content;
font-size: 18px;
}
.sidebar .news-widget .inner-box .lower-content .learn:hover {
text-decoration: underline;
}
.news-block-two {
display: flex;
margin-bottom: 40px;
position: relative;
p {
font-size: 18px;
}
}
.news-block-two .inner-box {
position: relative;
border-radius: 7px;
box-shadow: 0 0 0 1px var(--brand-mid-grey);
overflow: hidden;
}
.news-block-two .inner-box.inner-box_pb {
padding-bottom: 16px;
}
.news-block-two .inner-box .upper-box {
padding: 20px 30px 30px;
position: relative;
}
.news-block-two .inner-box .upper-box .category {
position: relative;
font-size: 16px;
}
.news-block-two .inner-box .upper-box h4 {
margin-top: 8px;
position: relative;
font-weight: 700;
line-height: 1.3em;
}
.news-block-two .inner-box .upper-box h4 a {
position: relative;
-moz-transition: all 0.3s ease;
-ms-transition: all 0.3s ease;
-o-transition: all 0.3s ease;
-webkit-transition: all 0.3s ease;
transition: all 0.3s ease;
color: var(--brand-secondary);
}
.news-block-two .inner-box .upper-box h4 a:hover {
color: var(--brand-primary);
}
.news-block-two .inner-box .upper-box h2 {
margin-top: 8px;
position: relative;
font-weight: 700;
line-height: 1.3em;
}
.news-block-two .inner-box .image {
position: relative;
border-radius: 10px;
overflow: hidden;
}
.news-block-two .inner-box .image img {
width: 100%;
position: relative;
-moz-transition: all 600ms ease;
-ms-transition: all 600ms ease;
-o-transition: all 600ms ease;
-webkit-transition: all 600ms ease;
transition: all 600ms ease;
border-radius: 10px;
}
.news-block-two .inner-box:hover .image {
transition: 0.4s ease-in;
}
.news-block-two .inner-box:hover .image img {
transform: scale(1.04, 1.04);
}
.news-block-two .inner-box .lower-box {
padding: 20px 30px 0 30px;
position: relative;
}
.news-block-two .inner-box .post-meta {
margin-top: 17px;
position: relative;
}
.news-block-two .inner-box .post-meta li {
display: inline-block;
margin-right: 20px;
position: relative;
vertical-align: middle;
font-size: 16px;
}
.news-block-two .inner-box .post-meta li .icon {
margin-right: 10px;
position: relative;
}
.news-block-two .inner-box .post-meta li:last-child {
margin-right: 0;
}
.news-block-two .inner-box .theme-btn {
position: absolute;
right: 20px;
bottom: 40px;
left: 20px;
text-align: center;
@include media-breakpoint-up(sm) {
right: auto;
left: 30px;
}
}
/* Blog Detail */
.blog-detail {
margin-bottom: 40px;
position: relative;
}
.blog-detail .inner-box {
margin-bottom: 60px;
padding-bottom: 40px;
position: relative;
border-radius: 10px;
overflow: hidden;
//box-shadow:0 0 20px rgba(0,0,0,0.10);
}
.blog-detail .inner-box .upper-box {
padding: 30px 60px;
position: relative;
}
.blog-detail .inner-box .upper-box .category {
position: relative;
//color:#5a5a5a;
font-size: 16px;
}
.blog-detail .inner-box .upper-box h4 {
margin-top: 8px;
position: relative;
font-weight: 700;
line-height: 1.3em;
}
.blog-detail .inner-box .upper-box h4 a {
position: relative;
color: var(--brand-secondary);
/* transition:all 0.3s ease; */
/* -moz-transition:all 0.3s ease; */
/* -webkit-transition:all 0.3s ease; */
/* -ms-transition:all 0.3s ease; */
/* -o-transition:all 0.3s ease; */
}
.blog-detail .inner-box .upper-box h4 a:hover {
color: var(--brand-primary);
}
.blog-detail .inner-box .image {
position: relative;
background-color: var(--brand-primary);
overflow: hidden;
}
.blog-detail .inner-box .image img {
width: 100%;
position: relative;
/* -webkit-transition: all 600ms ease; */
/* -moz-transition: all 600ms ease; */
/* -ms-transition: all 600ms ease; */
/* -o-transition: all 600ms ease; */
/* transition: all 600ms ease; */
}
.blog-detail .inner-box .image:hover img {
transform: scale(1.04, 1.04);
opacity: 0.5;
}
.blog-detail .inner-box .lower-box {
padding: 20px 0 0;
position: relative;
}
.blog-detail .inner-box .lower-box .post-meta {
margin-top: 17px;
margin-bottom: 17px;
padding-left: 70px;
position: relative;
}
.blog-detail .inner-box .lower-box .post-meta li {
display: inline-block;
margin-right: 12px;
//color:#5a5a5a;
position: relative;
font-size: 16px;
}
.blog-detail .inner-box .lower-box .post-meta li .icon {
margin-right: 10px;
position: relative;
}
.blog-detail .inner-box .lower-box .post-meta li:last-child {
margin-right: 0;
}
.blog-detail .inner-box .lower-box article {
margin-bottom: 28px;
//color:#5a5a5a;
position: relative;
font-size: 16px;
line-height: 1.8em;
}
.blog-detail .inner-box .lower-box .column {
margin-bottom: 28px;
}
.blog-detail .inner-box .post-share-options {
position: relative;
text-align: center;
}
.blog-detail h2 > a {
color: var(--brand-secondary);
}
.blog-detail h2 > a:hover {
color: var(--brand-primary);
}
.blog {
padding-top: lib.rem(20);
padding-right: lib.rem(70);
padding-left: lib.rem(70);
word-break: break-word;
@media only screen and (max-width: 599px) {
padding-right: 0;
padding-left: 0;
}
@media only screen and (max-width: 1023px) {
padding-right: lib.rem(10);
padding-left: lib.rem(10);
}
p {
&:first-child {
margin-top: 0;
}
}
}