MediaWiki:Gadget-GlobalStyle.css: Difference between revisions

From SmashWiki, the Super Smash Bros. wiki
Jump to navigationJump to search
mNo edit summary
mNo edit summary
Line 34: Line 34:
text-align: right;
text-align: right;
margin-right: 5px;
margin-right: 5px;
}
.infobox .mw-collapsible-toggle + a {
padding-left: 39px;
}
}



Revision as of 13:14, January 30, 2024

/* CSS placed here will be applied to all skins on both desktop and mobile
   The "mobile" body class can be used to target mobile specifically */

.mw-special-Upload .noupload, .useronly,
.autoconfonly, .editprotected, .editinterface {
	display: none;
}
body.anon #siteNotice .messagebox:not(.show),
body.anon.ns-content.action-view.mobile #bodyContent .messagebox:not(.show) {
	display: none !important;
}

/* Tabs fix */
.tabber { display: inline-block; }
.tabbertab:first-child { padding: 5px; }
.tabbertab:not(:first-of-type) { display: none; }
.infobox .tabbertab:first-child { padding: 5px 0 0; }
.client-js .tabbertab:first-child { margin-top: 22px; }
.mw-parser-output > .tabber, section > .tabber { display: table; margin-bottom: 0.5em; }
.mobile ul.tabbernav li a { padding-top: 4px; padding-bottom: 4px; }
.client-js .mobile .tabbertab:first-child { margin-top: 27px; }
.tabbertab > p:first-child { margin-top: 0.2em; }
.tabbertab > p:last-child { margin-bottom: 0; }

/* Hide subpages navigation for non-subpages */
.page-Super_Smash_Bros_for_Nintendo_3DS_Wii_U_♪—A_Smashing_Soundtrack .subpages {
	display: none !important;
}

/* Show/hide toggle */
.infobox .mw-collapsible-toggle {
	font-size: 90%;
	min-width: 34px;
	text-align: right;
	margin-right: 5px;
}
.infobox .mw-collapsible-toggle + a {
	padding-left: 39px;
}

/* Hitbox tables */
table.wikitable.hitboxtable {
	display: block;
	overflow: auto;
	background: none !important;
	border: 0;
}
table.wikitable.hitboxtable tbody {
	background: #f9f9f9;
}

/* Anon edit warning box */
.mw-anon-edit-warning {
	border: none;
	background: none;
	padding: 0;
	margin: 0;
}