From f528170ae3be295672e0d6de9ed01b445b5f8425 Mon Sep 17 00:00:00 2001 From: NeilBrommer Date: Tue, 12 Jun 2018 18:18:14 -0700 Subject: [PATCH] Add an underline to the active navbar item --- static/css/main.css | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) diff --git a/static/css/main.css b/static/css/main.css index 67fa564..b87c3aa 100644 --- a/static/css/main.css +++ b/static/css/main.css @@ -11,12 +11,23 @@ body { cursor: default; } -.navbar, .fixed-top { +.navbar.fixed-top { + padding-top: 0; + padding-bottom: 0; background-color: #3f51b5 !important; box-shadow: 0 3px 6px rgba(0,0,0,0.16), 0 3px 6px rgba(0,0,0,0.23); border-bottom: #002984 1px solid; } +.nav-item { + padding-top: 0.5rem; + padding-bottom: 0.5rem; +} + +.navbar-nav .nav-item.active { + padding-bottom: 0.25rem; + border-bottom: white 0.25rem solid; +} a:not(.nav-link):not(.navbar-brand) { color: #3f51b5; }