Update navbar.css
This commit is contained in:
+9
-1
@@ -46,13 +46,21 @@ CSS für den Block Navbar mit seinen Elementen nach BEM
|
|||||||
padding: 0.5rem 0;
|
padding: 0.5rem 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
.nav__link,
|
|
||||||
.nav__dropdown-menu a {
|
.nav__dropdown-menu a {
|
||||||
padding: 0.5rem 1rem; /* Abstand um den Text */
|
padding: 0.5rem 1rem; /* Abstand um den Text */
|
||||||
color: #333;
|
color: #333;
|
||||||
text-decoration: none;
|
text-decoration: none;
|
||||||
font-weight: 600;
|
font-weight: 600;
|
||||||
}
|
}
|
||||||
|
.nav__link {
|
||||||
|
font-weight: 600;
|
||||||
|
background: none;
|
||||||
|
border: none;
|
||||||
|
cursor: pointer;
|
||||||
|
padding: 0.5rem 1rem;
|
||||||
|
color: #fff;
|
||||||
|
text-decoration: none;
|
||||||
|
}
|
||||||
|
|
||||||
.nav__dropdown:hover .nav__dropdown-menu {
|
.nav__dropdown:hover .nav__dropdown-menu {
|
||||||
display: block;
|
display: block;
|
||||||
|
|||||||
Reference in New Issue
Block a user