MediaWiki:Gadget-MobileStyle.css: Difference between revisions
From the Super Mario Wiki, the Mario encyclopedia
Jump to navigationJump to search
No edit summary |
No edit summary |
||
Line 43: | Line 43: | ||
.rootpage-MarioWiki_Featured_articles dl, | .rootpage-MarioWiki_Featured_articles dl, | ||
.rootpage-MarioWiki_Changing_username dl { | .rootpage-MarioWiki_Changing_username dl { | ||
font-size: 100% !important; | |||
margin-bottom: 0 !important; | margin-bottom: 0 !important; | ||
} | } | ||
Revision as of 18:23, August 23, 2023
/* 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#disambig,
.notice-template#aboutfile,
.notice-template.copyright {
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;
}
.navbox-section .nav-right {
display: none !important;
}
@media all and (max-width: 720px) {
.nav-right {
display: none !important;
}
.navbox-section .nav-right {
float: none !important;
width: auto !important;
display: block !important;
margin: 0 !important;
}
}
/* Misc. */
.infobox-wide {
width: 100%;
padding: 4px;
margin: 0 !important;
font-size: 85% !important;
}
.infobox-wide td, .infobox-wide th {
padding: 2px !important;
}
.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;
}
#pgod {
font-size: 6em !important;
}
.mw-parser-output .mediaRow {
width: 100% !important;
margin: 0 !important;
}
@media all and (max-width: 719px) {
.mediaRow .fileInfo {
display: none !important;
}
.videoRow .fileMain > center {
margin-top: 5px !important;
}
.audioRow .fileMain > center {
margin-top: 10px !important;
}
}
/* Userboxes */
.mw-parser-output .userbox > table {
width: 100% !important;
}
@media all and (max-width: 719px) {
#userboxes {
float: none !important;
margin: 15px 0 15.75px !important;
max-width: none !important;
}
.userbox {
width: 99% !important;
}
}
@media all and (min-width: 720px) {
#userboxes {
max-width: 275px !important;
}
.userbox {
width: 98.5% !important;
}
}
/* Template:Nav templates */
.mobile .navbox.multi > tbody > tr:first-child > th {
font-size: 115% !important;
}
.skin-minerva .navbox.multi > tbody > tr:first-child {
display: none !important;
}
.skin-minerva .navbox.multi {
border: 0 !important;
border-spacing: 0 !important;
}