Template:Main menu/styles.css
Go to top
.main-menu-container {
display: flex;
justify-content: center;
background-color: #f1f1f1;
}
.main-menu-container a {
text-decoration: none;
}
.padded {
padding: 0.5rem 2rem;
}
.padded:hover {
background-color: #e0e0e0;
}
.main-menu-dropdown-trigger {
position: relative;
}
.main-menu-dropdown-content {
display: none;
position: absolute;
z-index: 101;
min-width: 180px;
background-color: #f1f1f1;
transition: .5s;
}
.main-menu-dropdown-trigger:hover .main-menu-dropdown-content {
display: block;
}