MediaWiki:Gadget-NavboxStyle.css

From Pikipedia, the Pikmin wiki
Revision as of 14:47, August 9, 2021 by Porplemontage (talk | contribs) (moving the map icons to MediaWiki:Gadget-GlobalStyle.css (since they are used outside of navboxes too, that's where I put more general desktop+mobile CSS))
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.
/* Navbox template CSS */

/* Site styles */
table.navbox {
	clear: both;
	font-size: 90%;
	text-align: center;
	border: 1px solid #AAA;
	background-color: #F9F9F9;
	min-width: 200px;
	max-width: 95%;
	padding: 0.2em;
	margin: 15px auto 0;
}
.navbox + .navbox {
	margin-top: 2px;
}
table.navbox th {
	background-color: #CCF;
	padding-left: 1em;
	padding-right: 1em;
}
table.navbox tr:not(:first-child) th {
	background-color: #DDF;
}
table.navbox .mw-collapsible-text,
table.navbox .mw-collapsible-toggle {
	font-weight: bold;
}
table.navbox .mw-collapsible-text,
table.navbox .mw-collapsible-toggle {
	color: #fff !important;
}
table.navbox.header-light .mw-collapsible-text,
table.navbox.header-light .mw-collapsible-toggle {
	color: #000 !important;
}
table.navbox .mw-collapsible-toggle-collapsed {
	margin-left: 10px;
}
body:not(.mobile) .navbox.mw-made-collapsible:not(.mw-collapsed) > tbody > tr:first-of-type > th {
	padding-left: 4.4em;
}
@media print {
	.navbox {
		display: none;
	}
}