hide logo when opening search bar on small screens

This commit is contained in:
Henry Jameson 2018-12-03 07:49:14 +03:00
parent e15b9bddbb
commit ea805bbbe6
4 changed files with 16 additions and 2 deletions

View file

@ -248,6 +248,9 @@ nav {
justify-content: center;
flex: 0 0 auto;
z-index: -1;
transition: opacity;
transition-timing-function: ease-out;
transition-duration: 100ms;
.mask {
mask-repeat: no-repeat;
@ -486,6 +489,11 @@ nav {
color: $fallback--faint;
color: var(--faint, $fallback--faint);
}
@media all and (min-width: 959px) {
.logo {
opacity: 1 !important;
}
}
@media all and (max-width: 959px) {
.mobile-hidden {