MediaWiki:Infoboxes.css

/* ========================  This CSS page controls the GENERAL look of infoboxes. If you're looking for styles that only affect INDIVIDUAL infoboxes, please go to MediaWiki:Themes.css ========================= */ .portable-infobox { background:#fff; border:1px solid #012c57; color:black; line-height:95%; width:250px!important; line-height:130%; padding:5px } .portable-infobox .pi-item-spacing { padding:1px 0 0 0; } .pi-data:hover { background-color:#d8dfe5; } .portable-infobox .pi-title, .portable-infobox .pi-header { background:#012c57; color:#fff; padding:2px; font-weight:bold; text-align:center; } .portable-infobox .pi-title a, .portable-infobox .pi-title a:link, .portable-infobox .pi-title a:visited, .portable-infobox .pi-title a:hover, .portable-infobox .pi-header a, .portable-infobox .pi-header a:visited, .portable-infobox .pi-header a:link, .portable-infobox .pi-header a:hover, .portable-infobox .pi-navigation a, .portable-infobox .pi-navigation a:link, .portable-infobox .pi-navigation a:visited, .portable-infobox .pi-navigation a:hover { color:#fff; text-decoration:none; } .portable-infobox .pi-title a:new, .portable-infobox .pi-title a:new:visited, .portable-infobox .pi-header a:new, .portable-infobox .pi-header a:new:visited, .portable-infobox .pi-navigation a:new, .portable-infobox .pi-navigation a:new:visited { color:#eee; text-decoration:none; } .portable-infobox .pi-data-label { background:#94a4b4; color:#fff; -webkit-align-items: center; align-items: center; display: -webkit-flex; display: -moz-flex; display: -ms-flex; display: flex; padding-left:2px!important; -ms-flex-preferred-size:70%; -webkit-flex-basis:70%; -moz-flex-basis:70%; flex-basis:70%; } .portable-infobox .pi-data-label a, .portable-infobox .pi-data-label a:link, .portable-infobox .pi-data-label a:visited { color:#fff } .portable-infobox .pi-data-value { background:#f5f5f5; border:1px solid #e8e8e8; text-align:right; padding-right:2px; } .portable-infobox .pi-data-value, .portable-infobox .pi-data-label { -webkit-hyphens:none; -moz-hyphens:none; -ms-hyphens:none; hyphens:none; line-height:130%; } .portable-infobox img.pi-image-thumbnail { width:250px; height:auto; padding-top:4px; } img.pi-image-thumbnail { max-width:100%; height:auto; }