diff --git a/content/assets/stylesheets/includes/navbar.scss b/content/assets/stylesheets/includes/navbar.scss index 2b5cd9f..a004479 100644 --- a/content/assets/stylesheets/includes/navbar.scss +++ b/content/assets/stylesheets/includes/navbar.scss @@ -30,6 +30,10 @@ width: 100px; } } + + //Height of the line underneath when hovering over a menu item + $border-height: 3px; + .nav { height: 100%; align-items: flex-end; @@ -42,7 +46,7 @@ font-size: 1.15em; &:not(.nav-search) { - border-bottom: 3px solid transparent; + border-bottom: $border-height solid transparent; border-top: 3px solid transparent; } @@ -59,5 +63,9 @@ border-bottom-color: $zeus-orange; } } + + .nav-search { + margin-bottom: $border-height; + } } } \ No newline at end of file