From 65a7f720d2a2e68df3794f7e16a41a930dc377b4 Mon Sep 17 00:00:00 2001 From: Kasper Friis Christensen Date: Sat, 15 Apr 2017 19:45:23 +0200 Subject: [PATCH] Beautified dropdown --- src/static_src/css/bornhack.css | 23 ++++++++++++++++++----- 1 file changed, 18 insertions(+), 5 deletions(-) diff --git a/src/static_src/css/bornhack.css b/src/static_src/css/bornhack.css index 5a153057..76b49dd9 100644 --- a/src/static_src/css/bornhack.css +++ b/src/static_src/css/bornhack.css @@ -26,7 +26,7 @@ a, a:active, a:focus { .navbar { margin: auto; background-color: rgb(255, 255, 255); - border-bottom: 1px solid rgb(250, 250, 250); + border-bottom: 1px solid rgb(230, 230, 230); } .navbar .navbar-brand { @@ -47,6 +47,23 @@ a, a:active, a:focus { margin-top: 6px; } +.nav li a { + padding: 30px 7px; +} + +.nav .dropdown-menu { + padding: 0; +} + +.nav .dropdown-menu .divider { + margin: 0; +} + +.nav .dropdown-menu > li > a { + padding-top: 15px; + padding-bottom: 15px; +} + @media (max-width: 767px) { .navbar-fixed-top .navbar-collapse { max-height: 450px; @@ -130,10 +147,6 @@ footer { content: ""; } -.nav li a { - padding: 30px 7px; -} - .text-container { display: flex; align-items: center;