MediaWiki:Common/PortableNavibox.css

.portable-infobox.pi-europa.pi-theme-Navibox { width: auto; margin: 0; float: none; } .WikiaArticle .portable-infobox.pi-theme-Navibox .plainlinksneverexpand a.external:after { display:none; }

.pi-europa.portable-infobox.pi-theme-Navibox .pi-data-label { flex-basis: 120px; } .pi-europa.portable-infobox.pi-theme-Navibox .pi-data-value { text-align:left; flex-grow: 5; flex-basis: unset; }

/* Style for horizontal lists (separator following item). @source mediawiki.org/wiki/Snippets/Horizontal_lists @author User:Edokter Modified for Wikia PortableInfobox Navibox hack */ .portable-infobox.pi-theme-Navibox .pi-data-value dl, .portable-infobox.pi-theme-Navibox .pi-data-value ol, .portable-infobox.pi-theme-Navibox .pi-data-value ul { margin: 0; padding: 0; } /* Display list items inline */ .portable-infobox.pi-theme-Navibox .pi-data-value dd, .portable-infobox.pi-theme-Navibox .pi-data-value dt, .portable-infobox.pi-theme-Navibox .pi-data-value li { margin: 0; display: inline; } /* Display nested lists inline */ .hlist.inline, .hlist.inline dl, .hlist.inline ol, .hlist.inline ul, .portable-infobox.pi-theme-Navibox .pi-data-value dl dl, .portable-infobox.pi-theme-Navibox .pi-data-value dl ol, .portable-infobox.pi-theme-Navibox .pi-data-value dl ul, .portable-infobox.pi-theme-Navibox .pi-data-value ol dl, .portable-infobox.pi-theme-Navibox .pi-data-value ol ol, .portable-infobox.pi-theme-Navibox .pi-data-value ol ul, .portable-infobox.pi-theme-Navibox .pi-data-value ul dl, .portable-infobox.pi-theme-Navibox .pi-data-value ul ol, .portable-infobox.pi-theme-Navibox .pi-data-value ul ul { display: inline; } /* Hide empty list items */ .portable-infobox.pi-theme-Navibox .pi-data-value .mw-empty-li { display: none; } /* Generate interpuncts */ .portable-infobox.pi-theme-Navibox .pi-data-value dt:after { content: ": "; } .portable-infobox.pi-theme-Navibox .pi-data-value dd:after, .portable-infobox.pi-theme-Navibox .pi-data-value li:after { content: " · "; font-weight: bold; } .portable-infobox.pi-theme-Navibox .pi-data-value dd:last-child:after, .portable-infobox.pi-theme-Navibox .pi-data-value dt:last-child:after, .portable-infobox.pi-theme-Navibox .pi-data-value li:last-child:after { content: none; } /* Add parentheses around nested lists */ .portable-infobox.pi-theme-Navibox .pi-data-value dd dd:first-child:before, .portable-infobox.pi-theme-Navibox .pi-data-value dd dt:first-child:before, .portable-infobox.pi-theme-Navibox .pi-data-value dd li:first-child:before, .portable-infobox.pi-theme-Navibox .pi-data-value dt dd:first-child:before, .portable-infobox.pi-theme-Navibox .pi-data-value dt dt:first-child:before, .portable-infobox.pi-theme-Navibox .pi-data-value dt li:first-child:before, .portable-infobox.pi-theme-Navibox .pi-data-value li dd:first-child:before, .portable-infobox.pi-theme-Navibox .pi-data-value li dt:first-child:before, .portable-infobox.pi-theme-Navibox .pi-data-value li li:first-child:before { content: " (";   font-weight: normal; } .portable-infobox.pi-theme-Navibox .pi-data-value dd dd:last-child:after, .portable-infobox.pi-theme-Navibox .pi-data-value dd dt:last-child:after, .portable-infobox.pi-theme-Navibox .pi-data-value dd li:last-child:after, .portable-infobox.pi-theme-Navibox .pi-data-value dt dd:last-child:after, .portable-infobox.pi-theme-Navibox .pi-data-value dt dt:last-child:after, .portable-infobox.pi-theme-Navibox .pi-data-value dt li:last-child:after, .portable-infobox.pi-theme-Navibox .pi-data-value li dd:last-child:after, .portable-infobox.pi-theme-Navibox .pi-data-value li dt:last-child:after, .portable-infobox.pi-theme-Navibox .pi-data-value li li:last-child:after {    content: ")"; font-weight: normal; } /* Put ordinals in front of ordered list items */ .portable-infobox.pi-theme-Navibox .pi-data-value ol { counter-reset: listitem; } .portable-infobox.pi-theme-Navibox .pi-data-value ol > li { counter-increment: listitem; } .portable-infobox.pi-theme-Navibox .pi-data-value ol > li:before { content: " " counter(listitem) "\a0"; } .portable-infobox.pi-theme-Navibox .pi-data-value dd ol > li:first-child:before, .portable-infobox.pi-theme-Navibox .pi-data-value dt ol > li:first-child:before, .portable-infobox.pi-theme-Navibox .pi-data-value li ol > li:first-child:before { content: " (" counter(listitem) "\a0"; }

/* Styles for specific naviboxes */ .pi-europa.portable-infobox.pi-theme-Navibox.pi-theme-WebcomicDemo .pi-data-label a { color: white; } .pi-europa.portable-infobox.pi-theme-Navibox.pi-theme-WebcomicDemo .pi-data-value { text-align:center; }