diff --git a/css/navbar.css b/css/navbar.css index 569f2e2..e6dc180 100644 --- a/css/navbar.css +++ b/css/navbar.css @@ -33,6 +33,10 @@ CSS für den Block Navbar mit seinen Elementen nach BEM background: none; border: none; cursor: pointer; + font-weight: 600; + padding: 0.5rem 1rem; + color: #fff; + text-decoration: none; } .nav__dropdown-menu { @@ -53,7 +57,7 @@ CSS für den Block Navbar mit seinen Elementen nach BEM font-weight: 600; } -.nav .nav__link { +.nav__link { display: inline-block; font-weight: 600; background: none; @@ -64,7 +68,7 @@ CSS für den Block Navbar mit seinen Elementen nach BEM text-decoration: none; } -.nav .nav__button { +.nav__button { display: inline-block; background: #fff; border: none; @@ -76,6 +80,7 @@ CSS für den Block Navbar mit seinen Elementen nach BEM font-weight: 600; margin-left: 0.5rem; } + .nav__dropdown:hover .nav__dropdown-menu { display: block; }