MediaWiki:Common.css

/*** Infoboxes ***/ .portable-infobox { border-radius:20px !important; border:1px solid #03211F !important; } .portable-infobox .pi-title { color: #ffffff; background:#002366 !important; text-align: center; border-top-right-radius:20px !important; border-top-left-radius:20px !important; } .portable-infobox .pi-header { color: #ffffff; background:#002366 !important; text-align: center !important; } .portable-infobox { width: 300px; } .portable-infobox { overflow: hidden; }

.portable-infobox .pi-image { border-bottom: 1px solid #ffffff; background: #ffffff; } .portable-infobox .pi-image-thumbnail { width: 300px; max-width: 300px; height: auto; } .pi-data-value { text-align:right; line-height: 12px; }

.pi-data-value ul { text-align:right; }

.portable-infobox.pi-background, .pi-europa .pi-data-label:nth-child(2n), .pi-europa .pi-data-value:nth-child(2n) { background-color: #f5f5f5; }

.portable-infobox .pi-data:not(:last-of-type), .pi-smart-group-body:not(:last-of-type) { /* This removes unwanted lines */ border-bottom: solid 1px #d7d7d7 !important; } .pi-smart-group:not(:last-of-type) {     /* This puts back the ones we want */ border-bottom: solid 1px #d7d7d7 !important; } .pi-group .pi-group { border-top:   1px #d7d7d7 !important;     /* And one more special case */ }

.portable-infobox .pi-title.pi-item-spacing { padding: 3px 5px; }

.portable-infobox .pi-header.pi-item-spacing { padding: 4px; }

.portable-infobox .pi-title, .portable-infobox .pi-header { margin-left: 0px !important; border: 1px solid #9e9e9e; }

.portable-infobox .pi-smart-data-value { padding: 6px 6px; } /* Use a slightly smaller text size for Imperial measurements in infoboxes */ .portable-infobox .imperial { font-size: 0.8em; color: #000000; } h2.pi-title { font-size: 15px !important; text-transform: uppercase; font-weight: lighter; } .pi-group.pi-collapse-closed:not(:last-child) .pi-header { border-bottom: 2px solid #f5f5f5; } .pi-header.pi-secondary-font { text-transform: uppercase; text-align: left; font-weight: lighter; font-size: 13px !important; } .pi-smart-group *, .pi-horizontal-group * { text-align: center; } .portable-infobox .pi-data-label { color: #000000; font-size: 9px !important; text-transform: uppercase; font-weight: lighter; line-height: 10px; } .pi-panel-scroll-wrapper .pi-section-navigation .pi-section-tab { margin: 0; } .pi-section-tab .pi-section-label { text-transform: uppercase; font-size: 8pt; color: #276b9e; height: 30px; } .pi-panel .pi-section-label { font-weight: lighter; }

.portable-infobox .pi-secondary-background { background: #002366; text-align: center; } .pi-image-collection-tabs .pi-tab-link { text-transform: uppercase; font-size: 8pt; color: #000; } .pi-image-collection .pi-image-collection-tabs { background: #ffffff; border:none; padding-bottom:3px; margin:0em 0 0em 0em; text-align: center; }

.portable-infobox ul.pi-image-collection-tabs li { border: 0; color: #000; padding:1px; } .pi-image-collection-tabs .pi-tab-link:after { content: "|"; color: #000000; font-weight: bold; width: 1em; padding-right: 3px; } .portable-infobox .pi-image-collection-tabs .pi-tab-link:last-child:after { content: none; } .pi-image-collection-tabs .current { background-color: transparent !important;; } .pi-europa.pi-theme-value .pi-data-value { text-align:left !important; }

.pi-horizontal-group-item.pi-data-value { padding: 9px; } /*** Infoboxes end ***/

.floatright1 { border: 0; clear: right; float: right; margin: 0 0 0px 0px; position: relative; } .floatleft1 { border: 0; clear: left; float: left; margin: 0 0 0px 0px; position: relative; }

max-width:100%; margin:auto; display:inline-block; }
 * 1) wmDiv img {