MediaWiki:Infobox.css

/* CSS for the wiki's infoboxes */ .portable-infobox { width: 270px; border: none; border-radius: 10px; box-shadow: 0 3px 12px 0 rgba(0,0,0,.3); overflow: hidden; margin-right: 12px; } .portable-infobox .pi-border-color { border: none; }

/* 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: white; 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 shadow */ .theme-fandomdesktop-dark .portable-infobox { box-shadow: 0 3px 12px 0 rgba(255,255,255,.1), 0 3px 12px 0 rgba(255,255,255,.3); }