MediaWiki:Mobile.css
Note: After publishing, you may have to bypass your browser's cache to see the changes.
- Firefox / Safari: Hold Shift while clicking Reload, or press either Ctrl-F5 or Ctrl-R (⌘-R on a Mac)
- Google Chrome: Press Ctrl-Shift-R (⌘-Shift-R on a Mac)
- Internet Explorer / Edge: Hold Ctrl while clicking Refresh, or press Ctrl-F5
- Opera: Press Ctrl-F5.
@media screen and (max-width: 720px) {
/* 1) Un-hide the navbox that Minerva’s mobile CSS has display:none’d */
.content .navbox,
.content .vertical-navbox {
display: block !important;
visibility: visible !important;
height: auto !important;
max-height: none !important;
opacity: 1 !important;
box-sizing: border-box;
width: 100% !important;
}
/* 2) Turn the inner table into a scroll container */
.content .navbox-inner {
display: block !important;
overflow-x: auto !important;
-webkit-overflow-scrolling: touch !important;
width: max-content !important;
min-width: 100% !important;
}
/* 3) Lay out all your groups/items in a single row */
.content .navbox-group,
.content .navbox-list {
white-space: nowrap !important;
margin: 0 !important;
padding: 0 !important;
}
.content .navbox-group > li,
.content .navbox-list > li {
display: inline-block !important;
float: none !important;
}
}