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, .mobile .navbox + .navbox { margin-top: 0 !important; } .skin-timeless .navbox td { padding-top: 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; margin-bottom: 15px !important; } .mobile.skin-timeless .navbox-heading::after { border: 0 !important; } .mobile.skin-timeless .navbox-heading > .mw-ui-icon { display: none !important; } .mobile.skin-timeless .navbox-heading + .collapsible-block { display: block !important; }

/* Site styles */ .navbox { margin-top: 15px; } .navbox + .navbox, .navbox .navbox { margin-top: 0; } .navbox .mw-collapsible-toggle { padding-right: 4px; } .navbox .mw-collapsible-toggle-expanded { padding-left: 5px; } body:not(.mobile) .navbox.mw-made-collapsible tbody > tr:first-child > th:first-child { padding-left: 46px; } .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; }