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: none; } .portable-infobox.pi-background { background-color: #f9f9f9; }

/* Slightly reduce padding between items */ .portable-infobox .pi-item-spacing { padding: 6px; }

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

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

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

/* Extending data labels on some infoboxes */ .portable-infobox.pi-theme-channel .pi-data-label { flex-basis: 95px; } .portable-infobox.pi-theme-object .pi-data-label { flex-basis: 95px; } .portable-infobox.pi-theme-company .pi-data-label { flex-basis: 95px; } .portable-infobox.pi-theme-film .pi-data-label { flex-basis: 125px; }

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

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