Files
landing_page/qdrant-landing/themes/qdrant/static/css/blocks/logo.scss
T
trean 19e400d65f Replaced logo with the new one (#51)
* replaced logo with the new one

* fix

* fix

* fix

* preload logo
2022-06-13 16:21:15 +02:00

44 lines
1.1 KiB
SCSS

.logo {
&__link {
display: block;
height: 100%;
background: url("/images/logo_with_text_dark_bg.svg") no-repeat;
background-size: contain;
}
&_with-text {
width: 192px;
height: 55px;
}
&_home {
.logo__link {
background: url("/images/logo_with_text.svg") no-repeat;
background-size: contain;
@media only screen and (min-width: 1024px) and (max-width: 1140px) {
background: url("/images/logo_with_text_dark_bg.svg") no-repeat;
background-size: contain;
}
}
}
}
.fixed-header .logo_with-text .logo__link {
background: url("/images/logo_with_text.svg") no-repeat;
background-size: contain;
}
.fixed-header .logo_with-text.logo_home .logo__link {
@media only screen and (min-width: 1024px) and (max-width: 1140px) {
background: url("/images/logo_with_text_dark_bg.svg") no-repeat;
background-size: contain;
}
}
// preload images
body::after{
position:absolute; width:0; height:0; overflow:hidden; z-index:-1; // hide images
content:url("/images/logo_with_text.svg") url("/images/logo_with_text_dark_bg.svg");
}