MediaWiki:Gadget-MobileStyle.css

From SmashWiki, the Super Smash Bros. wiki
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-last {
	display: none;
}

/* Project talk pages */
.rootpage-SmashWiki_Featured_content dd {
	margin-top: 0.25em !important;
	margin-left: 0.25em !important;
}
.rootpage-SmashWiki_Featured_content dl,
.rootpage-SmashWiki_Featured_content dl dt {
	margin-left: 0 !important;
}
.rootpage-SmashWiki_Featured_content p + dl,
.rootpage-SmashWiki_Featured_content ul + dl,
.rootpage-SmashWiki_Featured_content ol + dl {
	margin-top: -0.5em !important;
}
.rootpage-SmashWiki_Featured_content dl + dl {
	margin-top: -0.25em !important;
}
.rootpage-SmashWiki_Featured_content 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;
}

/* Navigation templates */
.navbox-section .nav-right,
section:nth-last-of-type(2) > .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;
	}
}

/* Infoboxes */
.infobox {
	color: #000;
	text-align: left;
	background: #f9f9f9;
	border: 1px solid #aaa;
}
.infobox > tbody > tr:first-child > td:first-child,
.infobox > tbody > tr:first-child > th:first-child {
	font-size: 125% !important;
}
.infobox td small {
	font-size: 100% !important;
}
.mw-parser-output div.infobox {
	font-size: 90%;
	text-align: left;
	position: relative;
	border: medium none;
	background: #f9f9f9;
	margin-bottom: 2em;
}
@media all and (min-width: 720px) {
	div.infobox {
		clear: right !important;
		float: right !important;
		margin: 0.5em 0 1em 35px !important;
		width: auto !important;
		max-width: 315px;
	}
	table.infobox {
		max-width: 315px;
	}
}

/* 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. */
#welcomeTagline {
	margin-top: -5px;
}
.forumheader {
	border: 1px solid #AAA;
	padding: 8px 0 6px 12px;
	margin-bottom: 15px;
}
.mobilenofloat {
	float: none !important;
}
.videoTable {
	display: block !important;
}
.cquote {
	font-size: 95% !important;
	margin-left: auto !important;
	margin-right: auto !important;
}
.cquote td {
	padding-top: 0 !important;
}
.cquote td#text {
	padding-bottom: 6px !important;
}
.cquote td#q-mark {
	line-height: 1 !important;
}
#rc-mostwanted {
	font-size: 100%;
	border-spacing: 0;
}
#rc-mostwanted td {
	padding: 0;
}
body.anon #rc-mostwanted,
body.anon #rc-maintenance {
	display: none;
}
body.anon #whosonline + p {
	margin-bottom: -9px;
}
body.mediawiki .messagebox img {
	max-width: none !important;
}
@media all and (max-width: 719px) {
	.messagebox {
		clear: both;
		width: auto !important;
		text-align: left !important;
		padding-left: 0 !important;
	}
	.messagebox td:first-of-type:last-of-type {
		padding-left: 16px !important;
	}
	body.mediawiki .messagebox img {
		max-width: 50px !important;
	}
	.wikitable, #InterwikiArticle {
		float: none !important;
	}
}
@media all and (min-width: 720px) {
	table.messagebox {
		min-width: 80% !important;
		margin-left: auto !important;
		margin-right: auto !important;
	}
	body.mediawiki #niwa img {
		max-width: none !important;
	}
	table #InterwikiArticle {
		width: 100% !important;
	}
}

/* Userboxes */
.userbox > table {
	margin: 0 !important;
}
.userbox + .infobox {
	clear: right !important;
}
@media all and (max-width: 719px) {
	.userbox {
		float: none !important;
	}
}

/* Moveset navboxes */
.moveset-nav .moveset-sub {
	margin-bottom: 0 !important;
}
.moveset-nav .moveset-sub + .moveset-sub {
	margin-top: 0 !important;
}
body.mediawiki .moveset-nav a > img {
	max-width: none !important;
}
.mobile .moveset-nav {
	margin-top: 7.5px !important;
	margin-bottom: 0 !important;
}

/* Special move navboxes */
.special-moves .wikitable {
	width: 100% !important;
}
.special-moves {
	width: 100% !important;
	margin-top: 25px !important;
}
.special-moves .special-moves,
.special-moves + .special-moves {
	margin-top: 0 !important;
}
.mobile .sm-single {
	font-size: 85% !important;
	margin: 15px 0 0 !important;
}
.mobile .sm-single + .sm-single {
	margin-top: 5px !important;
}

/* Hitbox tables */
table.hitboxtable {
	clear: both !important;
	display: block !important;
}

/* Template:ImageCaption */
.ImageCaption {
	text-align: center;
}
.ImageCaption .thumbcaption img {
	display: none;
}

/* Template:FrameStripStart */
.frame-strip {
	border-spacing: 0 !important;
}
.frame-strip td {
	padding: 0 !important;
}