MediaWiki:Gadget-NavboxStyle.css

From the Super Mario Wiki, the Mario encyclopedia
Jump to navigationJump to search

Note: After publishing, you may have to bypass your browser's cache to see the changes.

  • Firefox / Safari: Hold Shift while clicking Reload, or press either Ctrl-F5 or Ctrl-R (⌘-R on a Mac)
  • Google Chrome: Press Ctrl-Shift-R (⌘-Shift-R on a Mac)
  • Internet Explorer / Edge: Hold Ctrl while clicking Refresh, or press Ctrl-F5
  • Opera: Press Ctrl-F5.
/* Navbox template CSS */

/* Site styles */
.navbox {
	width: 100%;
	color: #000;
	clear: both;
	font-size: 88%;
	background: #fff;
	border: 1px solid grey;
	margin-top: 15px;
}
.nav-right {
	color: #000;
	clear: right;
	float: right;
	font-size: 90%;
	margin: 0 0 10px 1em;
}
.content-table-wrapper + .content-table-wrapper .navbox,
.navbox + .navbox,
.navbox .navbox {
	margin-top: 0 !important;
}
.navbox .navbox {
	font-size: 100%;
}
.navbox .footer sup[id^="footnote"] + small {
	font-size: 100% !important;
}
.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%;
	background: #999;
}
.navbox tr th {
	background: #ccc;
}
.navbox tr:not(:first-child) th:not([rowspan]):not([colspan]) {
	background: #E6E6E6;
}
.navbox tr:nth-child(2n) td {
	background: #F6F6F6;
}
.navbox tr td {
	background: #FCFCFC;
}
.client-nojs .navspace {
	display: none;
}
@media print {
	.navbox {
		display: none;
	}
}

/* Link colors */
.navbox th a {
	color: inherit !important;
}
.navbox td a {
	color: #00f;
}
.navbox td a:visited {
	color: #00c;
}
.navbox td a.new {
	color: #c20;
}
.navbox td a.new:visited {
	color: #A55858;
}

/* Light-colored species templates */
.navbox.light > * > tr:first-child th { color: #000; }

/* Peach games */
.navbox.peach tr:first-child th { color: #000; }
.navbox.peach tr:nth-child(2n) td { background: pink; }
.navbox.peach tr td { background: mistyrose; }

/* Spinoffs */
.navbox.spinoff tr:first-child th { color: #000; }
.navbox.spinoff tr:nth-child(2n) td { background: #ffb; }
.navbox.spinoff tr td { background: #ffd; }

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

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

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

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

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

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

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

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

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

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

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

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

/* Consoles */
.navbox.console tr:first-child th { color: #000; }
.navbox.console tr:nth-child(2n) td { background: #F5F5F5; }
.navbox.console tr td { background: #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;
}