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

/* light-colored templates */

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

/* Yellow */ .navbox.yellow tr:first-child th, .navbox.spinoff tr:first-child th a { color: #000 !important; } .navbox.yellow tr:nth-child(2n) td { background-color: #FFFFBB; } .navbox.yellow tr td { background-color: #FFFFDD; }

/* Sports */ .navbox.sport tr:first-child th, .navbox.sport tr:first-child th a { color: #000 !important; } .navbox.sport tr:nth-child(2n) td { background-color: #EFFF9F; } .navbox.sport tr td { background-color: #FFFFCC; }

/* Mario */ .navbox.mario tr:nth-child(2n) td { background-color: bisque; } .navbox.mario tr td { background-color: #FFF5EE; }

/* Yoshi */ .navbox.yoshi tr:nth-child(2n) td { background-color: #AFFFAA; } .navbox.yoshi tr td { background-color: #ECFFEC; }

/* Donkey Kong */ .navbox.dk tr:nth-child(2n) td { background-color: wheat; } .navbox.dk tr td { background-color: #FFF8DC; }