MediaWiki:Gadget-NavboxStyle.css

From Pikipedia, the Pikmin wiki
Revision as of 05:07, April 12, 2021 by Porplemontage (talk | contribs)
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 templates, with mobile support */

/* Mobile */
.mobile .navbox {
	width: 100% !important;
	font-size: 85% !important;
	margin: 15px 0 0 !important;
}
.mobile .navbox .navbox {
	font-size: 100% !important;
	margin-top: 0 !important;
}
.mobile .navbox + .navbox {
	margin-top: 0 !important;
}
.mobile.skin-minerva .navbox + .navbox {
	margin-top: 2px !important;
}
.mobile .navbox td,
.mobile .navbox th {
	padding-left: 2px;
	padding-right: 2px;
}
.mobile .navbox th {
	white-space: normal !important;
}
.mobile .navbox tbody > tr:first-of-type > th {
	padding-left: 4px !important;
	padding-right: 4px !important;
}
.navbox-heading {
	clear: both !important;
}
.mobile.skin-timeless .navbox-heading {
	border: 0 !important;
	font-size: 0 !important;
	line-height: 0 !important;
	padding: 0 !important;
}
.mobile.skin-timeless .navbox-heading::after {
	border: 0 !important;
}
.client-nojs .mobile .navbox,
.client-nojs .mobile #bodyContent .navbox-heading,
.mobile.skin-timeless .navbox-heading > .mw-ui-icon {
	display: none !important;
}
.mobile.skin-timeless .navbox-heading + .collapsible-block {
	display: block !important;
}
.navbox .mw-collapsible-toggle {
	word-wrap: normal !important;
	overflow: visible !important;
}

/* Show/hide widths */
.navbox .mw-collapsible-toggle {
	width: 41px;
}
.mobile .navbox .mw-collapsible-toggle {
	width: 42px;
}

/* Site styles */
table.navbox {
	background-color: #F9F9F9;
	border: 1px solid #AAA;
	clear: both;
	font-size: 90%;
	margin: 15px auto 0;
	padding: 0.2em;
	text-align: center;
	min-width: 200px;
	max-width: 95%;
}
.navbox + .navbox {
	margin-top: 5px;
}
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.85em;
}
@media print {
	.navbox {
		display: none;
	}
}

/* Area navbox icons */
.navboxIcon img{
	transition: all 0.3s;
	transform: scale(0.8);
}
.navboxIcon img:hover{
	transform: scale(1.0);
}