Template:Navbox/styles.css: Difference between revisions

m Add .tf-navbox + .tf-navhead for multi-header navboxes [audit Batch C]
m Add .tf-cnav for menu navbox centering [audit Batch C]
Line 12: Line 12:
.tf-shipnav th { background: #c10b00; font-size: 100%; }
.tf-shipnav th { background: #c10b00; font-size: 100%; }


/* Multi-header type/fleet/award navboxes: same container, but only cells
/* Multi-header type/fleet/award navboxes: same container, only .tf-navhead
  tagged .tf-navhead are coloured; per-cell alignment kept inline. */
  cells are coloured; per-cell alignment kept inline. */
.tf-navbox {
.tf-navbox {
margin: 0 auto;
margin: 0 auto;
Line 22: Line 22:
}
}
.tf-navhead { background: #c10b00; font-size: 100%; text-align: center; }
.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; }