From 2df7210336a26d2eb6353a0a5b84c938dbe9da7a Mon Sep 17 00:00:00 2001 From: Sagi Dayan Date: Sun, 10 May 2020 12:08:39 -0400 Subject: [PATCH] removed the 5rem navbar-height --- public/style.css | 40 +++++++++++++++++------------------ resources/sass/variables.scss | 2 +- 2 files changed, 21 insertions(+), 21 deletions(-) diff --git a/public/style.css b/public/style.css index fd1c777..6016eb7 100644 --- a/public/style.css +++ b/public/style.css @@ -4228,7 +4228,7 @@ a.list-item { .navbar { background-color: white; - min-height: 5rem; + min-height: 3.25rem; position: relative; z-index: 30; } .navbar.is-white { @@ -4684,7 +4684,7 @@ a.list-item { .navbar > .container { align-items: stretch; display: flex; - min-height: 5rem; + min-height: 3.25rem; width: 100%; } .navbar.has-shadow { box-shadow: 0 2px 0 0 whitesmoke; } @@ -4702,18 +4702,18 @@ a.list-item { html.has-navbar-fixed-top, body.has-navbar-fixed-top { - padding-top: 5rem; } + padding-top: 3.25rem; } html.has-navbar-fixed-bottom, body.has-navbar-fixed-bottom { - padding-bottom: 5rem; } + padding-bottom: 3.25rem; } .navbar-brand, .navbar-tabs { align-items: stretch; display: flex; flex-shrink: 0; - min-height: 5rem; } + min-height: 3.25rem; } .navbar-brand a.navbar-item:focus, .navbar-brand a.navbar-item:hover { background-color: transparent; } @@ -4728,9 +4728,9 @@ body.has-navbar-fixed-bottom { color: #4a4a4a; cursor: pointer; display: block; - height: 5rem; + height: 3.25rem; position: relative; - width: 5rem; + width: 3.25rem; margin-left: auto; } .navbar-burger span { background-color: currentColor; @@ -4797,7 +4797,7 @@ a.navbar-item, flex-shrink: 1; } .navbar-item.is-tab { border-bottom: 1px solid transparent; - min-height: 5rem; + min-height: 3.25rem; padding-bottom: calc(0.5rem - 1px); } .navbar-item.is-tab:focus, .navbar-item.is-tab:hover { background-color: transparent; @@ -4864,14 +4864,14 @@ a.navbar-item, top: 0; } .navbar.is-fixed-top .navbar-menu, .navbar.is-fixed-top-touch .navbar-menu { -webkit-overflow-scrolling: touch; - max-height: calc(100vh - 5rem); + max-height: calc(100vh - 3.25rem); overflow: auto; } html.has-navbar-fixed-top-touch, body.has-navbar-fixed-top-touch { - padding-top: 5rem; } + padding-top: 3.25rem; } html.has-navbar-fixed-bottom-touch, body.has-navbar-fixed-bottom-touch { - padding-bottom: 5rem; } } + padding-bottom: 3.25rem; } } @media screen and (min-width: 1024px) { .navbar, @@ -4881,7 +4881,7 @@ a.navbar-item, align-items: stretch; display: flex; } .navbar { - min-height: 5rem; } + min-height: 3.25rem; } .navbar.is-spaced { padding: 1rem 2rem; } .navbar.is-spaced .navbar-start, @@ -4996,16 +4996,16 @@ a.navbar-item, top: 0; } html.has-navbar-fixed-top-desktop, body.has-navbar-fixed-top-desktop { - padding-top: 5rem; } + padding-top: 3.25rem; } html.has-navbar-fixed-bottom-desktop, body.has-navbar-fixed-bottom-desktop { - padding-bottom: 5rem; } + padding-bottom: 3.25rem; } html.has-spaced-navbar-fixed-top, body.has-spaced-navbar-fixed-top { - padding-top: 7rem; } + padding-top: 5.25rem; } html.has-spaced-navbar-fixed-bottom, body.has-spaced-navbar-fixed-bottom { - padding-bottom: 7rem; } + padding-bottom: 5.25rem; } a.navbar-item.is-active, .navbar-link.is-active { color: #0a0a0a; } @@ -5016,7 +5016,7 @@ a.navbar-item, background-color: #fafafa; } } .hero.is-fullheight-with-navbar { - min-height: calc(100vh - 5rem); } + min-height: calc(100vh - 3.25rem); } .pagination { font-size: 1rem; @@ -7484,7 +7484,7 @@ html { margin: -.8em auto; } .is-fullheight { - min-height: calc(100vh - ( 5rem )); } + min-height: calc(100vh - ( 3.25rem )); } .is-fullwidth { width: 100vw; @@ -7546,7 +7546,7 @@ html { z-index: 100; position: fixed; right: 25px; - top: calc(25px + ( 5rem )); } + top: calc(25px + ( 3.25rem )); } .notification-fade { animation: notification-fade .2s; } @@ -7637,7 +7637,7 @@ video { justify-content: center; } .video-side-bar { - height: calc(100vh - ( 5rem )); } + height: calc(100vh - ( 3.25rem )); } .video-side-bar video { width: 100%; height: 50%; diff --git a/resources/sass/variables.scss b/resources/sass/variables.scss index 6c6e880..72046bb 100644 --- a/resources/sass/variables.scss +++ b/resources/sass/variables.scss @@ -8,4 +8,4 @@ // $widescreen-enabled: false; // $fullhd-enabled: false; -$navbar-height: 5rem; +// $navbar-height: 5rem;