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; } .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; }

/* Site styles */ .navbox { font-size: 88%; margin-top: 15px; } .navbox + .navbox, .navbox .navbox { margin-top: 0; } .navbox .navbox { font-size: 100%; } .navbox th { font-size: 108%; } .navbox tr:first-child th { font-size: 116%; } .navbox .mw-collapsible-toggle { padding-right: 4px; } body:not(.mobile) .navbox.mw-made-collapsible tbody > tr:first-child > th:first-child { padding-left: 3.935em; } .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; }