MediaWiki:Gadget-MobileStyle.css: Difference between revisions

From the Kingdom Hearts Wiki, the Kingdom Hearts encyclopedia
Jump to navigationJump to search
mNo edit summary
mNo edit summary
 
(3 intermediate revisions by the same user not shown)
Line 19: Line 19:
}
}


/* Infoboxes */
/* Infobox templates */
.infobox {
color: #000;
text-align: center;
border: 2px solid #000;
border-radius: 10px;
background: #f9f9f9;
}
.tabber .infobox {
.tabber .infobox {
padding: 2px !important;
padding: 2px !important;
}
.infobox.journal {
border-color: #0089B3;
background: #C7E2EA;
}
.infobox.journal-green {
border-color: #98C058;
background: #E8FFEE;
}
}
.mediawiki .infobox.journal,
.mediawiki .infobox.journal,
Line 42: Line 27:
padding-left: 1em !important;
padding-left: 1em !important;
padding-right: 1em !important;
padding-right: 1em !important;
}
.infobox td,
.infobox th {
vertical-align: top;
}
.infobox.data td,
.infobox.data th {
vertical-align: middle;
}
.infobox big {
font-size: 125% !important;
}
.infobox caption {
font-size: larger;
margin-left: inherit;
}
.infobox.bordered {
border-collapse: collapse;
}
.infobox.bordered td,
.infobox.bordered th {
border: 1px solid #aaa;
}
.infobox.bordered .borderless td,
.infobox.bordered .borderless th {
border: 0;
}
}
.infobox td[rowspan="13"] a > img {
.infobox td[rowspan="13"] a > img {
Line 93: Line 52:
margin-right: 0 !important;
margin-right: 0 !important;
}
}
.tabber.goleft,
.tabber.goleft, .tabber.goright {
.tabber.goright {
margin-bottom: 0.75em !important;
margin-bottom: 0.75em !important;
}
}
Line 100: Line 58:
.tabber.goright .tabbertab {
.tabber.goright .tabbertab {
text-align: center !important;
text-align: center !important;
}
.mediawiki .tabbertab table.sortable {
width: 100% !important;
display: table !important;
}
}
.tabber.info {
.tabber.info {
Line 128: Line 90:
display: table !important;
display: table !important;
width: 100% !important;
width: 100% !important;
}
/* Alignment classes */
.gocenter {
margin-left: auto;
margin-right: auto;
}
.goleft {
clear: left;
float: left;
}
.goright {
clear: right;
float: right;
}
}



Latest revision as of 15:55, 26 March 2024

/* CSS placed here will affect users of the mobile site */

/* Indicator icons */
.mw-indicators {
	display: flex;
}
.mw-indicators.mw-body-content img {
	height: 30px !important;
	width: auto !important;
}

/* Dismissable site notice */
.mw-dismissable-notice-body {
	margin: 0 !important;
}
.mw-dismissable-notice-close {
	float: left !important;
	margin-top: 6px !important;
}

/* Infobox templates */
.tabber .infobox {
	padding: 2px !important;
}
.mediawiki .infobox.journal,
.mediawiki .infobox.journal-green {
	padding-left: 1em !important;
	padding-right: 1em !important;
}
.infobox td[rowspan="13"] a > img {
	max-width: none !important;
}
.infobox.board div {
	width: auto !important;
}
.infobox.board div > div {
	left: 7.5px !important;
	right: 7.5px !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;
	}
	.tabber.info {
		margin: 0 0 13.5px !important;
	}
}
@media all and (min-width: 720px) {
	.tabber.info {
		max-width: 315px !important;
		margin: 0 0 5px 13px !important;
	}
}
.tabber.info {
	display: block;
	float: right;
}
.tabber.info .tabber.info {
	margin: 0 !important;
}
.tabber.info table {
	display: block !important;
	float: none !important;
	width: auto !important;
	max-width: none !important;
	margin: 0 !important;
}
.tabber.info tbody {
	display: table !important;
	width: 100% !important;
}

/* Main page */
#welcomeTagline {
	margin-top: -5px;
}
.container {
	display: none;
}
.nav {
	display: inline;
}

/* Misc. */
.forumheader {
	border: 1px solid #AAA;
	background-color: #F9F9F9;
	padding: 8px 0 6px 12px;
	margin: 10px 0 15px;
}
.mobilenofloat {
	float: none !important;
}
.canon {
	display: block !important;
}
#whosonline {
	margin-bottom: 0;
}
#rc-staff {
	padding-left: 0 !important;
	margin-bottom: -9px !important;
}
body.anon #rc-linktable {
	display: none;
}
body.mediawiki .notice {
	font-size: 95%;
}
body.mediawiki .notice table {
	font-size: 100%;
}
body.mediawiki .notice-template {
	width: 100% !important;
	font-size: 90% !important;
	margin: 0 auto 10px !important;
}
body.mediawiki.ns-6 .notice-template {
	margin: 10px auto !important;
}
body.mediawiki .notice-template + .notice-template {
	margin-top: -5px !important;
}
.notice-template#aboutfile,
.notice-template.copyright {
	width: 100% !important;
	text-align: left !important;
}
.notice-template p:last-of-type {
	margin-bottom: 0;
}
.notice-template tr:first-child big {
	font-size: 100% !important;
}
body.mediawiki #disambig img,
body.mediawiki .notice-template img {
	max-width: none !important;
}
@media all and (max-width: 719px) {
	.notice-template img, .welcome img,
	.notice-template.maintenance td.icon {
		display: none;
	}
	.notice-template.maintenance tr:not(:first-child) td {
		font-size: 95%;
		text-align: left !important;
		padding-left: 0.55em !important;
	}
	.CharTheme {
		float: none !important;
	}
}

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

/* Talk bubbles */
.talkbubble {
	border-radius: 10px !important;
}
.talkbubble td {
	border: none !important;
	padding: 0 !important;
}
body.mediawiki .talkbubble td:first-of-type img {
	max-width: none !important;
}
@media all and (max-width: 719px) {
	.talkbubble td:first-of-type img {
		display: none;
	}
}

/* Suite tabs */
.suiteul {
	padding-right: 0 !important;
}
.suite_tab, .suite_tab_selected {
	display: inline-flex;
	border: none !important;
	border-radius: 5px !important;
	padding: 2px 6px 1px !important;
	margin-bottom: 3px !important;
	vertical-align: bottom !important;
}
.suite_tab {
	background: #f4f4f4;
	box-shadow: -2px 2px 4px #333;
}
.suite_tab.suite_tab_selected {
	background: #fff;
	box-shadow: 0 1px 2px #333;
}
.suite_tab_large {
	position: relative;
}
.suite_tab_mini {
	border-top-left-radius: 0 !important;
	border-bottom-left-radius: 0 !important;
}
body.skin-minerva .suite_tab_mini {
	padding: 6px 6px 5px !important;
}