MediaWiki:Gadget-GlobalStyle.css

From Pikipedia, the Pikmin wiki
Revision as of 17:25, December 22, 2024 by Porplemontage (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump 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-wiki-logo { background-size: 150px; }

body.anon.ns-content.action-view.mobile #bodyContent .pikipediaBox.hide,
body.anon.ns-content.action-view.mobile p:has(+ .pikipediaBox.hide):has(> br:only-child) {
	display: none !important;
}

/* Tabs fix */
.client-js .switch:first-child { margin-top: 48.7px; }
.client-js .infobox .switch:first-child { margin-top: 31.7px; }
.client-js .mobile .infobox .switch:first-child { margin-top: 42.7px; }
.client-js .mobile.skin-timeless .infobox .switch:first-child { margin-top: 37px; }
.client-js .mobile .switchable.floatright .switch:first-child { margin-top: 61.5px; }
.client-js .switchable.floatright .switch:first-child { margin-top: 36.6px; }
.client-js .switchable > .switch:not(:first-of-type) { display: none; }
.infobox .switchable > .switch:not(:first-of-type) { display: none; }

/* Patrolling gadgets */
.client-js .patrol-links #filetoc + #file {
	margin-top: 1.65em;
}
.client-js .patrol-links #mw-diff-otitle1:first-child,
.client-js .patrol-links #mw-diff-ntitle1:first-child {
	margin-top: 1.6em;
}
.client-js .patrol-links #mw-diff-otitle4:last-child,
.client-js .patrol-links #mw-diff-ntitle4:last-child {
	display: none;
}
.client-js .rc-popular .rcoptions form:last-child {
	margin-bottom: 1.6em;
}

/* Upload licenses */
.mw-htmlform-field-Licenses, .mw-upload-editlicenses {
	display: none;
}

/* Content tables */
.hiddentable .mw-collapsible-toggle,
.technicaltable .mw-collapsible-toggle {
	text-align: right;
	min-width: 3.25em;
	margin-left: 0 !important;
}
.mw-collapsible-toggle {
	font-weight: normal;
}
.technicaltable {
	min-width: 380px;
}

/* Forum */
.forumheader {
	background: #f9f9f9;
	border: 1px solid #aaa;
}