MediaWiki:Navbox.css

/*navbox*/ .navbox { width: 100%; font-size: 88%; margin: auto; clear: both; text-align: center; border-color: #021C5F; }

.navbox-inner,.navbox-subgroup { width: 100%; }

.navbox-group,.navbox-title,.navbox-abovebelow { padding: 0.25em 1em; line-height: 1.5em; text-align: center; }

th.navbox-group { white-space: nowrap; text-align: right; }

.navbox,.navbox-subgroup { background: var(--theme-page-background-color); }

.navbox-list { line-height: 1.5em; border-color: var(--theme-page-background-color); }

.navbox th,.navbox-title { background: #5D72A7; }

.navbox-title a { color: #ffffff; }

.navbox-abovebelow,th.navbox-group,.navbox-subgroup .navbox-group,.navbox-subgroup .navbox-abovebelow { color: #000000; background: #818EAF; }

.navbox-subgroup .navbox-title { background: #59678D; }

.navbox-even { background: var(--theme-page-background-color--secondary); }

.navbox-odd { background: var(--theme-page-background-color); }

table.navbox { margin-top: 1em; }

table.navbox table.navbox { margin-top: 0; }

table.navbox + table.navbox { margin-top: -1px; }

.navbox .hlist td dl,.navbox .hlist td ol,.navbox .hlist td ul,.navbox td.hlist dl,.navbox td.hlist ol,.navbox td.hlist ul { padding: 0.125em 0; }

.hlist dl,.hlist ol,.hlist ul { margin: 0; padding: 0; }

.hlist dd,.hlist dt,.hlist li { display: inline; }

.hlist .inline,.hlist .inline dl,.hlist .inline ol,.hlist .inline ul,.hlist dl dl,.hlist dl ol,.hlist dl ul,.hlist ol dl,.hlist ol ol,.hlist ol ul,.hlist ul dl,.hlist ul ol,.hlist ul ul { display: inline; }

.hlist dt:after { content: ":" }

.hlist dd:after,.hlist li:after { content: " · "; font-weight: bold; }

.hlist dd:last-child:after,.hlist dt:last-child:after,.hlist li:last-child:after { content: none; }

.hlist dd.hlist-last-child:after,.hlist dt.hlist-last-child:after,.hlist li.hlist-last-child:after { content: none; }

.hlist dd dd:first-child:before,.hlist dd dt:first-child:before,.hlist dd li:first-child:before,.hlist dt dd:first-child:before,.hlist dt dt:first-child:before,.hlist dt li:first-child:before,.hlist li dd:first-child:before,.hlist li dt:first-child:before,.hlist li li:first-child:before { content: " (";   font-weight: normal; }

.hlist dd dd:last-child:after,.hlist dd dt:last-child:after,.hlist dd li:last-child:after,.hlist dt dd:last-child:after,.hlist dt dt:last-child:after,.hlist dt li:last-child:after,.hlist li dd:last-child:after,.hlist li dt:last-child:after,.hlist li li:last-child:after { content: ") ";   font-weight: normal; }

.hlist dd dd.hlist-last-child:after,.hlist dd dt.hlist-last-child:after,.hlist dd li.hlist-last-child:after,.hlist dt dd.hlist-last-child:after,.hlist dt dt.hlist-last-child:after,.hlist dt li.hlist-last-child:after,.hlist li dd.hlist-last-child:after,.hlist li dt.hlist-last-child:after,.hlist li li.hlist-last-child:after { content: ") ";   font-weight: normal; }

.hlist ol { counter-reset: listitem; }

.hlist ol > li { counter-increment: listitem; }

.hlist ol > li:before { content: " " counter(listitem) " "; white-space: nowrap }

.hlist dd ol > li:first-child:before,.hlist dt ol > li:first-child:before,.hlist li ol > li:first-child:before { content: " (" counter(listitem) " "; }

.navbar { display: inline; font-size: 88%; font-weight: normal; }

.navbar ul { display: inline; white-space: nowrap; }

.mw-body-content .navbar ul { line-height: inherit; }

.navbar li { word-spacing: -0.125em; }

.navbox .navbar { display: block; font-size: 100%; }

.navbox-title .navbar { float: left; text-align: left; margin-right: 0.5em; width: 6em; }

.collapseButton { float: right; font-weight: normal; margin-left: 0.5em; text-align: right; width: auto; }

.navbox .collapseButton { width: 6em; }

.mw-collapsible-toggle { font-weight: normal; text-align: right; }

.navbox .mw-collapsible-toggle { width: 6em; }

/* Portable Navbox */ .pi-theme-navbox { --pi-secondary-background: var(--theme-link-color); --pi-secondary-background--label: #010932; --pi-border-color:#010932; padding: 0 3px; } .pi-theme-navbox .pi-data { padding:0; } .portable-infobox.pi-theme-navbox .pi-item { border:0; margin: 3px 0; grid-column-gap: 3px; } .portable-infobox.pi-theme-navbox :is(.pi-data-label,.pi-data-value) { line-height: 1.5em; font-size: .7em; padding: 0.25em 1em; } .portable-infobox.pi-theme-navbox .pi-data-label { text-align:right; flex-basis:200px; background-color: var(--custom-tertiary-color); color: var(--custom-tertiary-color-text); } .portable-infobox.pi-theme-navbox .pi-data-value { flex-basis:100%; } .portable-infobox.pi-theme-navbox .pi-data:nth-child(odd) .pi-data-value { background-color: var(--theme-page-background-color--secondary);