/**
* [[Category:Template style pages]]
*/
.horizontal-menu {
background: #f8f9fa;
border: 1px solid #a2a9b1;
box-sizing: border-box;
overflow: hidden;
margin: 1em 0;
}
.horizontal-menu.collapse .horizontal-menu-content {
display: none;
}
.horizontal-menu-header {
background: #1b476a;
color: white;
cursor: pointer;
font-weight: bold;
margin: .5em;
position: relative;
text-align: center;
}
.hide-header{
display:none;
}
.horizontal-menu-header a {
color: inherit;
text-decoration: underline;
}
.horizontal-menu-icon {
float: left;
}
.horizontal-menu-arrow {
float: right;
}
.horizontal-menu-icon img,
.horizontal-menu-arrow img {
filter: invert(1);
margin: 0 5px;
position: relative;
bottom: 1px;
vertical-align: middle;
}
.horizontal-menu-content {
margin: .5em;
overflow: hidden;
}
.horizontal-menu table {
border-collapse: separate;
border-spacing: 0 .5em;
font-size: small;
}
.horizontal-menu th {
text-align: left;
vertical-align: top;
white-space: nowrap;
}
.horizontal-menu td {
text-align: left;
}
.horizontal-menu li {
display: inline;
list-style: none;
margin-right: .5em;
}
/**
* Dark mode
*/
body.poncho-dark-mode .horizontal-menu {
background: #303134;
border-color: #3c4043;
color: #bdc1c6;
}
/**
* Small screens
*/
@media screen and (max-width:600px) {
.horizontal-menu {
margin: 1em 0;
}
.horizontal-menu table {
margin: 0
}
.horizontal-menu tr,
.horizontal-menu th,
.horizontal-menu td {
display: block;
}
.horizontal-menu ul {
padding-left: 0;
}
.horizontal-menu .selflink {
font-weight: bold;
}
.horizontal-menu-content {
display: none;
}
}