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

/* Multi-navbox */ .skin-minerva .navbox.multi > tbody > tr:first-of-type { display: none !important; } .skin-minerva .navbox.multi { border: 0 !important; border-spacing: 0 !important; }

/* Site styles */ .navbox { width: 100%; color: black; font-size: 88%; background: none repeat scroll 0 0 white; border: 1px solid grey; margin-top: 15px; } .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: white; font-size: 108%; font-weight: bold; background: none repeat scroll 0 0 #999999; } .navbox tr:first-child th, .navbox tr:first-child th a { color: #FFFFFF !important; } .navbox tr th { text-align: center; background: none repeat scroll 0 0 #CCCCCC; } .navbox tr:not(:first-child) th:not([rowspan]):not([colspan]) { background: none repeat scroll 0 0 #E6E6E6; } .navbox tr th a, .navbox tr th a:visited, .navbox tr th a.new, .navbox tr th a.new:visited { color: #000000; } .navbox tr:nth-child(2n) td { background: none repeat scroll 0 0 #F6F6F6; } .navbox tr td { background: none repeat scroll 0 0 #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; } .navbox td a.selflink { color: #000; }

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

/* Super Princess Peach */ .navbox.spp tr:first-child th, .navbox.spp tr:first-child th a { color: black !important; } .navbox.spp tr:nth-child(2n) td { background-color: pink; } .navbox.spp tr td { background-color: mistyrose; }

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

/* RPGs - Paper Mario and Super Mario RPG */ .navbox.rpg tr:nth-child(2n) td { background-color: #CFEEFF; } .navbox.rpg tr td { background-color: aliceblue; }

/* RPGs - Mario & Luigi */ .navbox.rpg-ml tr:first-child th, .navbox.rpg-ml tr:first-child th a { color: black !important; } .navbox.rpg-ml tr:nth-child(2n) td { background-color: #CFEEFF; } .navbox.rpg-ml tr td { background-color: aliceblue; }

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

/* Crossovers */ .navbox.crossover tr:nth-child(2n) td { background-color: #E0FFE0; } .navbox.crossover tr td { background-color: #EDFFFF; }

/* Crossovers - Super Smash Bros. */ .navbox.crossover-ssb tr:first-child th, .navbox.crossover-ssb tr:first-child th a { color: black !important; } .navbox.crossover-ssb tr:nth-child(2n) td { background-color: #E0FFE0; } .navbox.crossover-ssb tr td { background-color: #EDFFFF; }

/* Luigi's Mansion */ .navbox.lm tr:nth-child(2n) td { background-color: #BBFF99; } .navbox.lm tr td { background-color: #EEFFCC; }

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

/* Wario */ .navbox.wario tr:nth-child(2n) td { background-color: #F8BFF8; } .navbox.wario tr td { background-color: #F8DFF8; }

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

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

/* Super Mario Land */ .navbox.mario-sml tr:first-child th, .navbox.mario-sml tr:first-child th a { color: black !important; } .navbox.mario-sml tr:nth-child(2n) td { background-color: bisque; } .navbox.mario-sml tr td { background-color: #FFF5EE; }

/* Alternate media */ .navbox.media tr:first-child th, .navbox.media tr:first-child th a { color: black !important; } .navbox.media tr:nth-child(2n) td { background-color: #FFEAAA; } .navbox.media tr td { background-color: #FFFFC0; }

/* Consoles */ .navbox.console tr:first-child th, .navbox.console tr:first-child th a { color: black !important; } .navbox.console tr:nth-child(2n) td { background-color: #F5F5F5; } .navbox.console tr td { background-color: #FBFBFB; }

/* Former subpages */ .navbox.subpage tr:first-child th { background-color: #6B8CFF; background-attachment: scroll, scroll; background-repeat: no-repeat, no-repeat; background-position: left center, right center; background-image: url(https://mario.wiki.gallery/images/1/1a/Temp_SMB_a.png), url(https://mario.wiki.gallery/images/1/1d/Temp_SMB_b.png); } .navbox.subpage tr:nth-child(2n) td { background-color: lavender; } .navbox.subpage tr td { background-color: ghostwhite; }