MediaWiki:Themes.css

.pi-InfoButton { top: 0; line-height: normal; float: left; position: relative; } .pi-Label { float: left; position: relative; left: 4px; top: -1px; } .pi-title { background-color: rgba(255, 0, 0, 0.7); color: white; text-align: center; } .portable-infobox { width: 250px; background: transparent; overflow: hidden; border-bottom-right-radius: 10px; border-bottom-left-radius: 10px; } .pi-item.pi-data.pi-item-spacing.pi-border-color, .pi-item.pi-image { background-color: rgba(255, 127, 127, 0.7); } .pi-header.pi-secondary-font.pi-secondary-background.pi-item-spacing { color: white; background-color: rgba(255, 0, 0, 0.7); text-align: center; } .pi-data:last-of-type + .pi-group { border-top-width: 0; } .portable-infobox.pi-navigation:last-child, .portable-infobox .pi-navigation:last-child { font-size: 0.8em; line-height: 1.5; text-align: center; background: rgba(255, 0, 0, 0.7); border-top: 1px solid rgba(255, 127, 127, 0.7); } .portable-infobox .pi-data:nth-child(even) { background-color: rgba(255, 139, 139, .7) !important; } .portable-infobox .pi-data:nth-child(odd) { background-color: rgba(255, 127, 127, 0.7) !important; } /* Eliminate border between rows */ .portable-infobox .pi-border-color { border-bottom-style: none !important; } /* Standardized padding for infobox elements */ .portable-infobox .pi-item-spacing { padding: 4px; } /* Field labels */ .portable-infobox .pi-data-label { padding: 0; display: -webkit-flex; display: flex; } .pi-data .pi-data-label { -webkit-flex-basis: auto; -moz-flex-basis: auto; flex-basis: auto; -webkit-align-items: center; -moz-align-items: center; align-items: center; width: 40%; } .pi-data .pi-data-value { ms-flex-preferred-size: auto; -webkit-flex-basis: auto; -moz-flex-basis: auto; flex-basis: auto; -webkit-align-items: center; -moz-align-items: center; align-items: center; } .portable-infobox .pi-data-value:not(:first-child) { padding-left: 5px; } .portable-infobox .pi-data-value li { line-height: 1.5em; } .pi-navigation small a { color: white; }