MediaWiki:Infoboxes.css

/* Infobox */ .portable-infobox { border: 1px solid #ccc; } .pi-border-color { border-color: #ccc; } .pi-background { background-color: #fff; } .pi-secondary-background { background-color: #fff; } /* Title */ .portable-infobox .pi-title { background-color: var(--colorscheme-bg, #1560bd); color: var(--colorscheme-txt, #fff5ee); font-size: 18px; font-weight: bold; line-height: 125%; text-align: center; } /* Header */ .portable-infobox .pi-header { background-color: var(--colorscheme-bg, #1560bd); color: var(--colorscheme-txt, #fff5ee); font-size: 14px; font-weight: bold; text-align: center; } .pi-navigation { background-color: transparent; text-align: center; } .pi-font { color: #000; } .pi-secondary-font { color: #000; } .pi-horizontal-group .pi-header { text-align: center !important; } /* Image tabs */ /** tabs on the bottom **/ /* DISABLED .portable-infobox .pi-image-collection { display: flex; flex-direction: column-reverse; } ul.pi-image-collection-tabs { margin: 0; } ul.pi-image-collection-tabs li { background: #fff; border: 1px solid #ccc; color: #3a3a3a; font-weight: bold; font-size: 10px; margin: 0; width: 50%; } ul.pi-image-collection-tabs li.current { background: #ccc; color: #3a3a3a; font-weight: bold; }	/** hover effect **/ ul.pi-image-collection-tabs li:hover { background-color: #eee; } ul.pi-image-collection-tabs li.current:hover { background-color: #ccc; } /* Image */ .pi-image-collection-tab-content { background-color: #fff; } img.pi-image-thumbnail { height: auto; max-width: 100%; }	/** centered image **/ .portable-infobox .pi-image-collection .pi-image { margin: auto; } /* Page tabs links */ .pi-theme-CharBox .pi-navigation.pi-secondary-background { text-align: center; font-size: 10px; padding: 2px; background: #fff; color: #000; border-top: 1px solid #ccc; }

/* Other */ /** link correction **/ .portable-infobox .pi-title a, .portable-infobox .pi-title a.new, .portable-infobox .pi-header a, .portable-infobox .pi-header a.new{ color: inherit; }	/** collapse color correction **/ .portable-infobox .pi-collapse .pi-header:first-child::after { border-color: inherit; }	/** tabber **/ .portable-infobox .tabberlive .tabbertab, .pi-navigation.pi-item-spacing.pi-secondary-background.pi-secondary-font { padding: 0; }	/** removing bullet from lists **/ .portable-infobox .pi-data-value ul { list-style-type: none; }	/** hover highlight **/ .portable-infobox .pi-data:hover { background-color: #eee; }