MediaWiki:Wikia.css

/** * Portableinfobox Fallout style * Written by Shining-Armor; amended by CzechOut * * 3 alcohols were consumed in the process of making this */ .portable-infobox { background-color: #FFFFFF; border: 1px solid #AAA; font-size: 11px !important; line-height: 14px !important; padding: 1px; }

.portable-infobox > div { background-color: #044D22; background-image: url(https://images.wikia.nocookie.net/fallout/images/d/d1/WidgetBackground.jpg); border: none !important; color: #FFFFFF; font-size: 10px !important; font-style: italic; line-height: 14px !important; margin-bottom: -6px; }

.portable-infobox > div div { color: #FFFFFF; font-size: 10px !important; font-style: italic; line-height: 14px !important; margin-left: auto; margin-right: auto; }

.portable-infobox > div div a { color: #AFA000 !important; }

.portable-infobox .pi-title { background-color: #044D22; background-image: url(https://images.wikia.nocookie.net/fallout/images/d/d1/WidgetBackground.jpg?1); color: #FFFFFF; font-weight: bold; padding-bottom: 5px !important; padding-top: 5px !important; text-align: center; }

.portable-infobox .pi-group { border: none !important; }

.portable-infobox .pi-group .pi-header { background-color: #C9CDAC; border: 1px solid #AAA; font-weight: bold; margin-bottom: 1px; text-align: center; }

.portable-infobox .pi-group .pi-data { background-color: #FFF; border-bottom: none; margin-left: -1px; padding: 0px; padding-top: 0px; width: 100.8%; }

.portable-infobox .pi-group .pi-data .pi-data-label { background-color: #C9CDAC; border: 1px solid #AAA; font-size: 11px !important; line-height: 14px !important; margin: 0px 0.0px 1px 1px !important; padding-right: 0px; text-align: right; }

.portable-infobox .pi-group .pi-data .pi-data-label h3 { overflow: hidden !important; }

.portable-infobox .pi-group .pi-data .pi-data-value, .portable-infobox .pi-horizontal-group-item { font-size: 11px !important; line-height: 14px !important; background: #E7EADA; border: 1px solid #AAA; } .portable-infobox .pi-group .pi-data .pi-data-value { width: 100%; padding-left: 2px !important; margin: 0px 0.5px 1px 1px !important; }

.portable-infobox .pi-image { background-color: #E7EADA; border-bottom: 1px solid #AAAAAA; margin-bottom: 1px; }

/*.portable-infobox .pi-image a img { max-width: 100%; }

.portable-infobox .pi-image figcaption { border-left: 1px solid #AAAAAA; border-right: 1px solid #AAAAAA; color: #000; text-align: center; } /* I don't get paid enough to fit this above */ .portable-infobox section:last-of-type { margin-bottom: -1px !important; } /* Addenda by User:CzechOut */ .portable-infobox { width:246px!important; background:#fff; border:1px solid #aaa!important; -moz-box-shadow:2px 2px 2px #AAA; -webkit-box-shadow:2px 2px 2px #AAA; -o-box-shadow:2px 2px 2px #AAA; -ms-box-shadow:2px 2px 2px #AAA; box-shadow:2px 2px 2px #AAA; }

.portable-infobox .pi-title { font-size:15px; background-color:#044D22; font-weight:900!important; text-align:center; color:#fff; } .portable-infobox .pi-title a, .portable-infobox .pi-title a:link, .portable-infobox .pi-title a:visited { color:#AFA000!important } .pi-image { border:1px solid grey; margin:0; padding:1px; background-color:#e7eada; line-height:130%; } img.pi-image-thumbnail { max-width:100%!important; height:auto; } .portable-infobox .pi-image figcaption { border:none!important } .portable-infobox .pi-secondary-background{ background-color: #C9CDAC; } .portable-infobox .pi-header { padding:0; margin:0; font-weight:bold; text-align:center; color:#000; } .pi-border-color { border-color:transparent; } .pi-data .pi-data-label { font-weight:normal; text-align:right; -ms-flex-preferred-size: auto; -webkit-flex-basis:auto; -moz-flex-basis:auto; /*flex-basis:auto; display:-webkit-flex; display:flex; -webkit-align-items:center; align-items:center; -webkit-justify-content:center; justify-content:center;*/ line-height:140%; color:#2a3439; width:40%; padding-right:2px!important; } .pi-data .pi-data-value { text-align:left; -ms-flex-preferred-size: auto; -webkit-flex-basis:auto; -moz-flex-basis:auto; flex-basis:auto; line-height:140%; width:auto; } .pi-data-value:first-child { text-align:center } /* .pi-data-value:last-child { -ms-flex-preferred-size: auto; -webkit-flex-basis:auto; -moz-flex-basis:auto; flex-basis:auto; width:100%!important; text-align:left; } div.pi-data-value.pi-font img { display:inline!important; } /* .pi-data:last-child { background-color:#c0c0c0; -ms-flex-preferred-size: auto; -webkit-flex-basis:auto; -moz-flex-basis:auto; flex-basis:auto; width:100%; text-align:center; align-items:center; justify-content:center; } /* Horizontal groups */ .pi-horizontal-group .pi-horizontal-group-item { vertical-align:middle; } .pi-horizontal-group .pi-data-label { background-color:#C9D0AC!important; width:50%; }   /* ====================   Themes ==================== */ .portable-infobox.pi-theme-event { max-width:300px; min-width:300px; width:100% } .portable-infobox.pi-theme-event img.pi-image-thumbnail { max-width:100%; min-width:100%; height:auto } .portable-infobox.pi-theme-gamebryoammo .pi-horizontal-group { table-layout:inherit!important } /* .portable-infobox.pi-theme-armor .pi-image { float:left!important; margin-bottom:-10px; padding: 30px 16px 30px 16px; border:none; } /* This does the "resistances" line .portable-infobox.pi-theme-armor .pi-secondary-background { padding:0; } .pi-theme-armor-fobos .pi-horizontal-group .pi-data-label:first-child { width:148%!important; } .pi-theme-armor-fobos .pi-horizontal-group .pi-data-value:first-child { width:60%!important; background-color:#c9d0ac!important }

/*#####################################*/ /*### Smart group fix for infoboxes ###*/ /*#####################################*/

.pi-smart-group .pi-smart-data-label { background-color: #C9CDAC !important; border: 1px solid #AAA; font-weight: bold; margin-bottom: 1px; text-align: center; font-size: 11px!important; }

.pi-smart-data-value { font-size: 11px !important; line-height: 14px !important; background: #E7EADA; border: 1px solid #AAA; }

.portable-infobox section:last-of-type .pi-smart-group-body { margin-bottom:1px!important; }

/* ====================  End PI code ==================== */