MediaWiki:Gadget-GlobalStyle.css

From SmashWiki, the Super Smash Bros. wiki
Revision as of 20:14, February 27, 2024 by Porplemontage (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
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 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: block; width: max-content; 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: 38px;
	text-align: right;
	margin-right: 5px;
}
.infobox .mw-collapsible-toggle + * {
	padding-left: 43px;
}

/* Hitbox tables */
table.wikitable.hitboxtable {
	display: block;
	overflow: auto;
	border: 0;
}

/* Table padding classes */
table.wikitable.nopad tr > * {
	padding: 0;
}
table.wikitable.lesspad > * > tr > * {
	padding: 0.2em;
}

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