MediaWiki:Gadget-MobileStyle.css
From the Super Mario Wiki, the Mario encyclopedia
Jump to navigationJump to search
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.
/* CSS placed here will affect users of the mobile site */
/* Indicator icons */
body.skin-minerva .mw-indicator {
margin: 0 1px;
}
#mw-indicator-shortcut {
display: none;
}
/* Project talk pages */
.rootpage-MarioWiki_Proposals dd,
.rootpage-MarioWiki_Featured_articles dd,
.rootpage-MarioWiki_Changing_username dd {
margin-top: 0.25em !important;
margin-left: 0.25em !important;
}
.rootpage-MarioWiki_Proposals dl,
.rootpage-MarioWiki_Proposals dl dt,
.rootpage-MarioWiki_Featured_articles dl,
.rootpage-MarioWiki_Featured_articles dl dt,
.rootpage-MarioWiki_Changing_username dl,
.rootpage-MarioWiki_Changing_username dl dt {
margin-left: 0 !important;
}
.rootpage-MarioWiki_Proposals p + dl,
.rootpage-MarioWiki_Proposals ul + dl,
.rootpage-MarioWiki_Proposals ol + dl,
.rootpage-MarioWiki_Featured_articles p + dl,
.rootpage-MarioWiki_Featured_articles ul + dl,
.rootpage-MarioWiki_Featured_articles ol + dl,
.rootpage-MarioWiki_Changing_username p + dl,
.rootpage-MarioWiki_Changing_username ul + dl,
.rootpage-MarioWiki_Changing_username ol + dl {
margin-top: -0.5em !important;
}
.rootpage-MarioWiki_Proposals dl + dl,
.rootpage-MarioWiki_Featured_articles dl + dl,
.rootpage-MarioWiki_Changing_username dl + dl {
margin-top: -0.25em !important;
}
.rootpage-MarioWiki_Proposals dl,
.rootpage-MarioWiki_Featured_articles dl,
.rootpage-MarioWiki_Changing_username dl {
font-size: 100% !important;
margin-bottom: 0 !important;
}
/* Dismissable site notice */
.mw-dismissable-notice-body {
margin: 0 !important;
}
.mw-dismissable-notice-close {
margin-left: 5px !important;
}
/* Notice templates */
.notice-template {
width: auto !important;
font-size: 90% !important;
margin: 10px 0 !important;
}
.notice-template.file, .notice-template.copyright,
.notice-template#disambig, .notice-template#aboutfile {
width: 100% !important;
}
.content .notice-template p {
margin-bottom: 0.5em !important;
}
body.skin-timeless .notice-template p {
margin-top: 0.8em !important;
}
body.mediawiki .notice-template img {
max-width: none !important;
}
@media all and (max-width: 719px) {
.notice-template.copyright img,
.notice-template.copyright td:first-child {
display: none !important;
}
body.mediawiki .notice-template img {
max-width: 50px !important;
}
.notice-template.talk,
.notice-template.maintenance {
padding: 0 0.5em !important;
}
}
/* Navigation templates */
.nav-right {
display: block !important;
}
@media all and (max-width: 719px) {
.nav-right {
float: none !important;
width: auto !important;
margin: 0 0 2px !important;
}
section:not(.navbox-section):has(> :not(.nav-right)) .nav-right {
display: none !important;
}
}
@media all and (min-width: 720px) {
.navbox-section .nav-right, .navrights-only {
display: none !important;
}
}
/* Tabber tabs */
.mw-parser-output > div > .tabber {
display: table;
margin-bottom: 0.75em;
}
@media all and (max-width: 719px) {
.tabber {
display: block;
float: none !important;
width: 100% !important;
margin-left: 0 !important;
margin-right: 0 !important;
}
.tabber.goleft, .tabber.goright {
margin-bottom: 0.75em !important;
}
.tabber.goleft .tabbertab,
.tabber.goright .tabbertab {
text-align: center !important;
}
.mediawiki .tabbertab table.sortable {
width: 100% !important;
display: table !important;
}
}
body.skin-timeless ul.tabbernav li {
margin-bottom: 1px !important;
}
body.skin-minerva ul.tabbernav li {
margin-bottom: 3px !important;
}
.infobox .tabber {
display: inline-block;
}
/* Misc. */
.infobox-wide {
font-size: 85% !important;
}
.infobox-wide td, .infobox-wide th {
padding: 2px !important;
}
#bodyContent .infobox-wide {
margin-top: 0; margin-bottom: 0;
}
.infobox > tbody > tr:first-child > td:first-child,
.infobox > tbody > tr:first-child > th:first-child {
font-size: 125% !important;
}
.quote {
font-size: 95% !important;
font-family: inherit !important;
}
#whosonline {
margin-bottom: 0;
}
#rc-staff {
padding-left: 0 !important;
}
#user-niwa tr:not(:first-of-type) td {
display: inline-block;
margin: 0 1px 2px;
height: 25px;
}
/* Userboxes */
.mw-parser-output .userbox > table {
width: 100% !important;
}
@media all and (min-width: 720px) {
#userboxes {
max-width: 275px !important;
}
.userbox {
width: 98.5% !important;
}
}
/* Template:Nav templates */
body.skin-minerva .navbox.multi {
display: none !important;
}
.navbox.multi > tbody > tr:first-child > th {
font-size: 115% !important;
}