Difference between revisions of "Template:Main menu/styles.css"
Line 1: | Line 1: | ||
.main-menu-container > *{ | .main-menu-container > * { | ||
position: relative; | position: relative; | ||
display: inline-block; | display: inline-block; | ||
Line 12: | Line 12: | ||
} | } | ||
.dropdown-content a { | .dropdown-content a { | ||
display: | display: block; | ||
} | } | ||
.main-menu-home:hover > *, .main-menu-our-network:hover > * { | .main-menu-home:hover > *, .main-menu-our-network:hover > * { | ||
display: block; | display: block; | ||
} | } |
Revision as of 09:35, 8 January 2024
.main-menu-container > * {
position: relative;
display: inline-block;
}
.main-menu-home, .main-menu-scientific-community, .main-menu-book-index, .main-menu-our-network, .main-menu-contact {
display: inline-block;
}
.dropdown-content {
display: none ;
position: absolute;
z-index: 1;
}
.dropdown-content a {
display: block;
}
.main-menu-home:hover > *, .main-menu-our-network:hover > * {
display: block;
}