From e86dc061127bafa4b7cb867ea50c6f2ec6942191 Mon Sep 17 00:00:00 2001 From: Kevin Amstutz Date: Tue, 23 Nov 2021 16:25:39 -0500 Subject: [PATCH] Update smallest size --- src/css/header.css | 31 +++++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) diff --git a/src/css/header.css b/src/css/header.css index 031b5dd..0b9cd6d 100644 --- a/src/css/header.css +++ b/src/css/header.css @@ -150,6 +150,37 @@ body { .navbar-item.logo { display: none; } + + .navbar-item, + .navbar-link { + padding: 0; + } + + .navbar-brand { + height: inherit; + } + + .navbar-brand .navbar-item { + align-items: center; + display: flex; + } + + .navbar-menu { + background: var(--navbar-menu-background); + box-shadow: 0 8px 16px rgba(10, 10, 10, 0.1); + max-height: var(--body-min-height); + overflow-y: auto; + padding: 0.5rem 0; + } + + .navbar-menu:not(.is-active) { + display: none; + } + + .navbar-menu a.navbar-item:hover, + .navbar-menu .navbar-link:hover { + background: var(--navbar-menu_hover-background); + } } @media screen and (max-width: 1023.5px) and (min-width: 481px) {