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
 
Line 105: Line 105:
/* Misc. */
/* Misc. */
.forumheader {
.forumheader {
background: #F9F9F9;
border: 1px solid #AAA;
padding: 8px 0 6px 12px;
padding: 8px 0 6px 12px;
margin: 10px 0 15px;
margin: 10px 0 15px;

Latest revision as of 14:28, 7 August 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 {
	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;
}