MediaWiki:Gadget-NavboxStyle.css

/* Navbox template CSS */

/* Site styles */ .navbox { width: 100%; color: #000; font-size: 88%; background: #fff; border: 1px solid grey; margin-top: 15px; } .nav-right { color: #000; } .navbox + .navbox, .navbox .navbox { margin-top: 0; } .navbox .navbox { font-size: 100%; } .mobile .navbox tr:nth-of-type(2) > td:first-child { padding-left: 0 !important; padding-right: 0 !important; } .navbox:not(.multi) .mw-collapsible > tbody > tr:first-child > th { padding-left: 4.1em; } .navbox tr:first-child th { color: #fff; font-size: 108%; font-weight: bold; background: #999; } .navbox tr:first-child th, .navbox tr:first-child th a { color: #fff !important; } .navbox tr th { text-align: center; background: #ccc; } .navbox tr:not(:first-child) th:not([rowspan]):not([colspan]) { background: #E6E6E6; } .navbox tr th a, .navbox tr th a:visited, .navbox tr th a.new, .navbox tr th a.new:visited { color: #000; } .navbox tr:nth-child(2n) td { background: #F6F6F6; } .navbox tr td { background: #FCFCFC; } .navbox td a { color: #0000FF; } .navbox td a:visited { color: #0000CC; } .navbox td a.new { color: #CC2200; } .navbox td a.new:visited { color: #A55858; } @media print { .navbox { display: none; } }

/* for light-colored navboxes */ .navbox.light > * > tr:first-child th, .navbox.light > * > tr:first-child th a { color: black !important; }