MediaWiki:Gadget-NavboxStyle.css: Difference between revisions

From Destinypedia, the Destiny wiki

No edit summary
No edit summary
Line 24: Line 24:
}
}
.mobile .navbox tr:first-child th span,
.mobile .navbox tr:first-child th span,
.mobile .navbox .navbox tr:first-child th {
.mobile .navbox:not(.multi) .navbox tr:first-child th {
font-size: 100% !important;
font-size: 100% !important;
}
}

Revision as of 21:00, April 14, 2021

/* 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 {
	font-size: 100% !important;
	padding-left: 2px !important;
	padding-right: 2px !important;
	white-space: normal !important;
}
.mobile .navbox tr:first-child th span,
.mobile .navbox:not(.multi) .navbox tr:first-child th {
	font-size: 100% !important;
}
.mobile .navbox tr:first-child th {
	font-size: 105% !important;
	padding-left: 4px !important;
	padding-right: 4px !important;
}
@media all and (min-width: 720px) {
	.mobile .navbox tr:first-child th {
		font-size: 110% !important;
	}
}
.mobile .navbox p, .mobile .navbox hr {
	margin: 0.1em 0 !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 {
	text-align: right;
	min-width: 3.729em;
}

/* Halo/Destiny styles */
.navbox-title,
.navbox-title a,
.navbox-title span {
	color: white !important;
}
.navbox-title.light,
.navbox-title.light a,
.navbox-title.light span {
	color: black !important;
}
body:not(.skin-minerva) .navbox-title {
	padding-right: 5px;
}
.navbox {
	clear: both;
	border-spacing: 0;
	margin: 15px auto 2px !important;
}
.navbox table {
	border-spacing: 0;
}
.navbox:last-of-type {
	margin-bottom: 0 !important;
}
.navbox .navbox {
	margin: 0 auto !important;
}
.navbox + .navbox-heading + .navbox,
.navbox + div + p + .navbox, 
.navbox + p + .navbox,
.navbox + .navbox {
	margin-top: 0 !important;
}
.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;
}
.navbox .center-template {
	margin: 0 !important;
}