Template:Navbox/styles.css

Revision as of 08:21, 12 July 2026 by MDGarcia (talk | contribs) (Add .tf-cnav for menu navbox centering [audit Batch C])
/* Shared styling for navboxes. Replaces legacy <center>/bgcolor/align. */

/* Single-header ship-class navboxes: the lone header cell is the title. */
.tf-shipnav {
	margin: 0 auto;
	background: #efefef;
	border: 1px solid #aaaaaa;
	font-size: 85%;
	color: black;
}
.tf-shipnav th, .tf-shipnav td { text-align: center; }
.tf-shipnav th { background: #c10b00; font-size: 100%; }

/* Multi-header type/fleet/award navboxes: same container, only .tf-navhead
   cells are coloured; per-cell alignment kept inline. */
.tf-navbox {
	margin: 0 auto;
	background: #efefef;
	border: 1px solid #aaaaaa;
	font-size: 85%;
	color: black;
}
.tf-navhead { background: #c10b00; font-size: 100%; text-align: center; }

/* Menu/manual navboxes: a standard wikitable that just needs centering. */
.tf-cnav { margin: 0 auto; }