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.image, .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;
}
.navbox-section .nav-right {
	display: none !important;
}
@media all and (max-width: 719px) {
	.nav-right {
		display: none !important;
	}
	.navbox-section .nav-right {
		float: none !important;
		width: auto !important;
		display: block !important;
		margin: 0 !important;
	}
}
@media all and (min-width: 720px) {
	.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;
	}
}
.infobox .tabber {
	display: inline-block;
}

/* Misc. */
.infobox-wide {
	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;
}