From e2c6f3b09e595d9f7d5de8ac81e3b3111d3c404a Mon Sep 17 00:00:00 2001 From: Thibaud Colas Date: Wed, 20 Dec 2017 13:31:57 +0200 Subject: [PATCH] Change selectors to make !important unnecessary --- bakerydemo/static/css/main.css | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/bakerydemo/static/css/main.css b/bakerydemo/static/css/main.css index c855ec4..174f915 100644 --- a/bakerydemo/static/css/main.css +++ b/bakerydemo/static/css/main.css @@ -322,22 +322,22 @@ nav { border-top: 1px solid transparent; } /* The following is to stop a pixel shift on hover */ -.nav-pills>li.breads { +.nav-pills>.breads { width: 90px; } -.nav-pills>li.locations { +.nav-pills>.locations { width: 140px; } -.nav-pills>li.blog { +.nav-pills>.blog { width: 86px; } -.nav-pills>li.gallery { +.nav-pills>.gallery { width: 115px; } -.nav-pills>li.contactus { +.nav-pills>.contactus { width: 148px; } -.nav-pills>li.about { +.nav-pills>.about { width: 88px; } .nav-pills>li.active>a, .nav-pills>li.active>a:focus, .nav-pills>li.active>a:hover, @@ -387,10 +387,10 @@ li.has-submenu a.allow-toggle { } /* Mobile menu styling */ @media (max-width: 768px) { - .nav-pills>li { + .nav-pills>.presentation { display: block; float: none; - width: 100%!important; + width: 100%; } .nav-pills> li > a { border-top: 1px solid rgba(255,255,255,.1);