/**
* [[Category:Template style pages]]
*/
.menu {
background: #f8f9fa;
border: 1px solid #a2a9b1;
box-sizing: border-box;
clear: both;
float: right;
margin: 0 0 1em 1em;
overflow: hidden;
text-align: center;
width: 330px;
}
.menu.collapse .menu-content {
display: none;
}
.menu.center .menu-list {
text-align: center;
}
.menu.center .menu-list ul {
list-style: none;
margin: 0;
}
.menu.center .menu-list ul ul {
margin-bottom: .5em;
}
.menu-header {
background: #1b476a;
color: white;
cursor: pointer;
font-weight: bold;
margin: .5em;
position: relative;
}
.menu-header a {
color: inherit;
text-decoration: underline;
}
.menu-icon {
float: left;
}
.menu-arrow {
float: right;
}
.menu-icon img,
.menu-arrow img {
filter: invert(1);
margin: 0 5px;
position: relative;
bottom: 1px;
vertical-align: middle;
}
.menu-content {
margin: .5em;
overflow: hidden;
}
.menu-logo,
.menu-image {
margin: .5em;
}
.menu-logo img,
.menu-image img {
vertical-align: middle;
margin: auto;
}
.menu-title {
font-size: large;
margin: 7px;
text-align: center;
}
.menu-subtitle {
margin: .5em;
}
.menu-text {
margin: .5em;
}
.menu-list {
margin: .5em;
text-align: left;
}
/**
* Special features
*/
.menu-persistent-button {
position: relative;
}
.menu-persistent-button .mw-ui-button:hover:after {
background: #a2a9b1;
border-radius: 2px;
color: white;
content: attr( title );
opacity: .8;
padding: .5em;
position: absolute;
left: 50%;
transform: translateX( -50% );
top: 2.5em;
}
.menu-progress-buttons {
margin: .5em;
text-align: center;
}
.menu-progress-buttons a:nth-child(2) {
margin-left: .5em;
}
.menu-progress-bar {
background: #a2a9b1;
margin: .5em;
text-align: center;
}
.menu-progress {
background: #3366cc;
color: white;
margin: 0;
}
.menu-no-progress {
margin-left: .5em;
width: 0;
}
.menu-book {
margin: .5em;
text-align: center;
}
/**
* Dark mode
*/
body.poncho-dark-mode .menu {
background: #303134;
border-color: #3c4043;
color: #bdc1c6;
}
/**
* Small screens
*/
@media screen and (max-width:600px) {
.menu {
float: none;
margin: 1em 0;
width: 100%;
}
.menu-logo,
.menu-image {
float: none;
}
.menu .selflink {
font-weight: bold;
}
.menu-content {
display: none;
}
}