MediaWiki:Gadget-NavboxStyle.css

From the Nintendo Wiki, a wiki covering all things Nintendo
This is an old revision of this page, as edited by Eeyore the Iowan Goat (talk | contribs) at 12:26, March 14, 2022. It may differ significantly from the current revision.
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;
	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;
	}
}

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

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

/* <h3> kirby </h3> */

.navbox.kirby tr:first-child th, .navbox.kirby tr:first-child th a {
	color: #FFF !important;
}

.navbox.kirby tr:first-child th {
	background-color:#FF4868;
}

.navbox.kirby tr th {
    background: none repeat scroll 0 0 #FF96A8;
}

.navbox.kirby tr:not(:first-child) th:not([rowspan]):not([colspan]) {
	background: none repeat scroll 0 0 #FFD1D9;
}