MediaWiki:Gadget-NavboxStyle.css

/* 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; } .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 { min-width: 45px; text-align: right; }

/* Site styles */ .navbox { margin-top: 15px; } .navbox + .navbox, .navbox .navbox { margin-top: 0; } .navbox .mw-collapsible-toggle { padding-right: 4px; } body:not(.mobile) .navbox.mw-made-collapsible tbody > tr:first-child > th:first-child { padding-left: 4.02em; } .navbox .mw-collapsible-toggle, .navbox .mw-collapsible-text { color: white; font-weight: bold; } .navbox.light .mw-collapsible-toggle, .navbox.light .mw-collapsible-text { color: black; }

/* Custom colors */ .navbox.kh3 .mw-collapsible-toggle, .navbox.kh3 .mw-collapsible-text { color: silver; } .navbox.ucx .mw-collapsible-toggle, .navbox.ucx .mw-collapsible-text { color: #2AD8AB; } .navbox.tcg .mw-collapsible-toggle, .navbox.tcg .mw-collapsible-text { color: dimgray; } .navbox.trav .mw-collapsible-toggle, .navbox.trav .mw-collapsible-text { color: #ffff01; } .navbox.dr .mw-collapsible-toggle, .navbox.dr .mw-collapsible-text { color: #014D3C; }