MediaWiki:Gadget-MobileStyle.css
Jump to navigation
Jump 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;
}
/* Project talk pages */
.rootpage-Pikipedia_Featured_article dd {
margin-top: 0.25em !important;
margin-left: 0.25em !important;
}
.rootpage-Pikipedia_Featured_article dl,
.rootpage-Pikipedia_Featured_article dl dt {
margin-left: 0 !important;
}
.rootpage-Pikipedia_Featured_article p + dl,
.rootpage-Pikipedia_Featured_article ul + dl,
.rootpage-Pikipedia_Featured_article ol + dl {
margin-top: -0.5em !important;
}
.rootpage-Pikipedia_Featured_article dl + dl {
margin-top: -0.25em !important;
}
.rootpage-Pikipedia_Featured_article dl {
font-size: 100% !important;
margin-bottom: 0 !important;
}
/* Dismissable site notice */
.mw-dismissable-notice-body {
margin: 0 !important;
}
.mw-dismissable-notice-close {
float: left !important;
}
/* Infoboxes */
.infobox {
color: #000;
text-align: left;
}
.infoboxTitle {
font-size: 125%;
text-align: center;
}
/* Site boxes */
.pikipediaBox {
color: #000;
margin: 5px auto 12.5px !important;
font-size: 90% !important;
}
.pikipediaBox p {
margin: 5px !important;
}
body.mediawiki .pikipediaBox img {
max-width: none !important;
}
@media all and (max-width: 719px) {
.pikipediaBox {
text-align: left !important;
}
body.mediawiki .pikipediaBox img {
max-width: 50px !important;
}
}
/* Titled boxes */
.titledBox {
display: block !important;
margin-top: 1em !important;
padding: 6px;
}
.titledBoxTitle {
display: block !important;
font-size: 135% !important;
font-weight: bold;
padding: 0 5px;
}
/* Misc. */
.forumheader {
padding: 8px 0 6px 12px;
margin-bottom: 15px;
}
.mobilenofloat {
float: none !important;
}
.cquote td {
padding-top: 0 !important;
padding-bottom: 0 !important;
}
#whosonline {
margin-bottom: 0;
}
#rc-staff {
padding-left: 0 !important;
}
.switchabletabs li {
padding: 0.25em 0.5em !important;
}
.refs {
margin: 0 !important;
padding: 0 !important;
max-height: none !important;
}
body.skin-minerva .refs {
margin-left: -1em;
}
.mw-parser-output .refs ol.references {
padding-left: 2em;
}
.mw-htmlform-field-HTMLTextField div[style*="64px"] {
margin-top: 10px !important;
}
.navbox > tbody > tr > td {
padding-left: 2px !important;
padding-right: 2px !important;
}