MediaWiki:Infobox.css

/* General Infobox styling */ .portable-infobox { border-color: #aaa; border-radius: 0 !important; } .portable-infobox.pi-background { background-color: #f8f9fa; } .portable-infobox .pi-border-color { border-color: transparent; }

/* Tweak caption */ .portable-infobox .pi-caption { font-size: 0.85em; font-style: inherit; color: var(--theme-page-text-color); }

/* Center the header and navigation */ .portable-infobox .pi-horizontal-group .pi-header, .portable-infobox .pi-navigation { text-align: center; }

/* Make the infobox more look like Wikipedia */ /* Infoboxes */ .portable-infobox .pi-item-spacing.pi-title, .portable-infobox .pi-item-spacing.pi-header, .portable-infobox .pi-horizontal-group .pi-item-spacing.pi-header { margin: 3px; padding: 3px; font-size: 1em; }

.portable-infobox .pi-image { margin: 3px; }

.portable-infobox .pi-item-spacing { padding: 3px; }

.portable-infobox .pi-horizontal-group .pi-horizontal-group-item.pi-item-spacing.pi-data-label { padding-bottom: 0; } .portable-infobox .pi-horizontal-group .pi-horizontal-group-item.pi-item-spacing.pi-data-value { padding-top: 0; }

.portable-infobox .wds-tabs__wrapper > .wds-tabs { margin: 0px 3px !important; }

/* Dark mode infobox */ /* Fix the white background problem */ .theme-fandomdesktop-dark .portable-infobox.pi-background { background-color: var(--theme-page-background-color--secondary); }