From ea805bbbe6c8920e16da31b2776385021fc13ad5 Mon Sep 17 00:00:00 2001 From: Henry Jameson Date: Mon, 3 Dec 2018 07:49:14 +0300 Subject: hide logo when opening search bar on small screens --- src/App.scss | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'src/App.scss') diff --git a/src/App.scss b/src/App.scss index 056a235e..6f0ee003 100644 --- a/src/App.scss +++ b/src/App.scss @@ -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 { -- cgit v1.2.3-70-g09d2