MediaWiki:Infobox.css

/* CSS for the wiki's infoboxes */ .portable-infobox { width: 270px; border-top-left-radius: 0; border-top-right-radius: 0; border-bottom-left-radius: 0; border-bottom-right-radius: 0; border-color: #aaa; } .portable-infobox .pi-border-color { border-color: #aaa; } .portable-infobox.pi-background { background-color: #f9f9f9; }

/* Title and header settings */ .portable-infobox .pi-title { color: white; }

.portable-infobox .pi-header { color: black; text-align: center; }

/* Slightly reduce padding */ .portable-infobox .pi-data { padding: 3px 6px; }

/* Slightly extend data labels to avoid word breaks .portable-infobox .pi-data-label { flex-basis: 135px; }

/* Remove hyphens on data values */ .portable-infobox .pi-data-value { -webkit-hyphens: none; hyphens: none; }

/* Tabs */ .portable-infobox .wds-tabs__wrapper { background-color: #dfdfdf; } .portable-infobox .wds-tabs { flex-wrap: wrap; } .portable-infobox .wds-tabs__tab, .portable-infobox .wds-tabs__tab-label { transition: none; } .portable-infobox .wds-tabs__tab.wds-is-current { color: white; background-color: #aaa; box-shadow: none; } .portable-infobox .wds-tabs__tab:not(.wds-is-current) { color: black; background-color: transparent; } .portable-infobox .wds-tabs__tab .wds-tabs__tab-label { height: 32px; letter-spacing: 0; font-weight: normal; }

/* Center the text in the navigation */ .portable-infobox .pi-navigation { text-align: center; }

/* Dark theme coloring */ .theme-fandomdesktop-dark .portable-infobox.pi-background { background-color: var(--theme-page-background-color--secondary) !important; }