Difference between revisions of "Template:Main menu/styles.css"

no edit summary
Tag: Reverted
Tag: Reverted
Line 17: Line 17:
position: relative;
position: relative;
display: inline-block;
display: inline-block;
padding: 0.5rem 2rem;
}
}


.main-menu-container a, .main-menu-change-language span, .language-link {
.main-menu-container > a, .main-menu-change-language span, .language-link {
display: block;
display: block;
padding: 0.5rem 2rem;
background-color: #f1f1f1;
background-color: #f1f1f1;
}
}
.main-menu-container a:hover, .main-menu-change-language span:hover {
.main-menu-container > a:hover, .main-menu-change-language span:hover {
background-color: #e0e0e0;
background-color: #e0e0e0;
}
}
Line 38: Line 38:
.main-menu-dropdown-content a, .language-link {
.main-menu-dropdown-content a, .language-link {
display: inline-block;
display: inline-block;
margin-right: 5px;
}
}
.main-menu-dropdown-content a:hover, .language-link:hover {
.main-menu-dropdown-content a:hover, .language-link:hover {