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; } .skin-timeless .navbox td { padding-top: 0 !important; } .mobile .navbox td { padding-left: 0; padding-right: 0; } .mobile .navbox 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 */ .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: 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; }