MediaWiki:Gadget-NavboxStyle.css

From Halopedia, the Halo wiki

Revision as of 12:13, August 27, 2023 by Porplemontage (talk | contribs)

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 */
.navbox.default {
	background: #555;
}
.navbox.default .navbox.default {
	background: #777;
}
.navbox.default .navbox.default .navbox.default {
	background: #999;
}
.navbox-title.default {
	color: #fff;
}
.navbox-group.default {
	width: 15%;
	background: #fafafa;
	border-right: 1px dashed #000;
}
.navbox-list.default {
	background: #fafafa;
}
.navbox-abovebelow.default {
	background: #ccc;
}

/* Shared styles */
body.mediawiki .navbox-group a,
#mw-content-text .navbox-title a,
body.mediawiki .navbox-abovebelow a {
	color: inherit !important;
}
.navbox-title .mw-collapsible-toggle {
	padding-right: 5px;
}
.navbox-title {
	border-radius: 0.5em;
}
.navbox-group {
	font-weight: bold;
	text-align: center;
	border-radius: 0.5em 0 0 0.5em;
	padding: 0 4px;
}
.navbox-group + .navbox-list {
	border-radius: 0 0.5em 0.5em 0;
}
.navbox-abovebelow,
.navbox-list[colspan="2"] {
	text-align: center;
	border-radius: 0.5em;
}
.navbox-abovebelow {
	font-size: 90%;
}
.navbox {
	color: #000;
	width: 100%;
	clear: both;
	overflow: hidden;
	border-spacing: 0;
	border-radius: 0.75em;
	margin: 15px auto 2px !important;
}
.navbox table {
	border-spacing: 0;
}
.navbox p {
	margin: 0 !important;
}
.navbox:last-child {
	margin-bottom: 0 !important;
}
.navbox .navbox {
	margin: 0 auto !important;
}
.navbox + .navbox,
.navbox + p + .navbox,
.navbox + div + p + .navbox,
.navbox + .navbox-heading + .navbox,
.content-table-wrapper + .content-table-wrapper .navbox {
	margin-top: 0 !important;
}
.navbox-list > div > .navbox:first-of-type {
	margin-top: -1px !important;
}
.navbox-list.default:has(.navbox) {
	background: none !important;
}
.navbox-list > div:has(.navbox) {
  padding-left: 0 !important;
  padding-right: 0 !important;
}
.navbox-list:has(.navbox) {
	border-radius: 1em !important;
}
.navbox .navbox + .navbox,
.navbox .navbox + p + .navbox,
.mobile.skin-timeless .navbox + .navbox {
	margin-top: 2px !important;
}
.skin-timeless .navbox-title {
	padding-bottom: 0 !important;
}
.skin-timeless .navbox td {
	padding-top: 0 !important;
}
.client-nojs .navspace-big,
.client-nojs .navspace-small {
	display: none !important;
}
.navbox .center-template {
	margin: 0 !important;
}
@media print {
	.navbox {
		display: none;
	}
}