MediaWiki:Themes.css

/* Infoboxes */ /* Author @ Stygies VIII */ .portable-infobox { color: #ffffff; border-color: #000000; margin-bottom: 0.5em; margin-left: 1em; padding: 0.2em; float: right; clear: right; width: 300px } .pi-europa.pi-background { background-color: #000; }

.portable-infobox .pi-header { background-image:none; }

.portable-infobox .pi-title { background-image:none; }

.portable-infobox .pi-item-spacing { padding: 0; } .portable-infobox .pi-item { border-bottom: 0px; } .portable-infobox .pi-item:not(.pi-group) { margin-bottom: 1px; } .portable-infobox .pi-navigation { background: #000000; text-align: center; } .portable-infobox .pi-image-collection-tabs { text-align: center; } /* Infobox titles and headers */ .portable-infobox .pi-title { font-weight: bold; font-size: large; line-height: 25px; border-color: 1px #000000; color: #FFFFFF; background-color: #AF111C; text-align: center; padding: 15px 3px; } .portable-infobox .pi-header { font-size: small; line-height: 10px; color: #FFFFFF; text-align: center; background-color: #AF111C !important; padding: 4px 0; border-bottom: 2px solid #000000; } /* Images in infoboxes */ .portable-infobox .pi-image .pi-image-thumbnail { max-width: 100%; margin: 4px; border: 1px #AF111C !important; background: #5C111E !important; } .portable-infobox .pi-caption { text-align: center; padding: 0 2px; } .portable-infobox .pi-image-collection-tabs { margin: 0; } .portable-infobox .pi-image-collection-tab-content { background: #00000; } .portable-infobox ul.pi-image-collection-tabs li { background: #AF111C; font-weight: normal; color: #FFFFFF; border: none; margin-right: 0; } .portable-infobox ul.pi-image-collection-tabs li.pi-item-spacing { padding: 2px 4px 1px; } .portable-infobox ul.pi-image-collection-tabs li.current { background: #000000; color: #FFFFFF; } /* Data in infoboxes */ .portable-infobox > .pi-group:last-child .pi-item:last-child, .portable-infobox > .pi-item:last-child, .portable-infobox .pi-data-label { margin-bottom: 0; } .portable-infobox .pi-secondary-font, .portable-infobox .pi-data-value { padding: 5px; border-bottom: 1px #000; flex-basis: 60%; } .portable-infobox .pi-data-value ul { list-style-type: disc; } .portable-infobox .pi-data-value ul, .portable-infobox .pi-data-value ol { margin-left: 4px; list-style-position: inside; } .portable-infobox .pi-secondary-font, .portable-infobox .pi-data-label { flex-basis: 40%; background-color: #28272C; border-bottom: 1px #000; }

.portable-infobox .pi-data-label.pi-horizontal-group-item:nth-child(even) { background-color: #28272C; }

.portable-infobox .pi-data-value.pi-horizontal-group-item:nth-child(even) { background: transparent; }

/* Fix .ogg players in Infoboxes */ .portable-infobox .pi-data-label { flex-shrink: 0; }

.portable-infobox .pi-data-value .ogg_player button, .portable-infobox .pi-data-value .ogg_player audio { width: 100% !important;/* override inline style */ box-sizing: border-box; }

.portable-infobox .pi-data-value .ogg_player .ogg-player-options { width: calc(100% - 10px) !important;/* override inline style */ }