Welcome to Assassin's Creed Wiki! Log in and join the community.
MediaWiki:Common.css: Difference between revisions
Jump to navigation
Jump to search
Update gallery-box color |
Fix stray backslashes |
||
| Line 1: | Line 1: | ||
/***** Assassin's Creed Wiki — Common.css *****/ | /***** Assassin's Creed Wiki — Common.css *****/ | ||
/***** Adapted for MediaWiki Vector skin (light theme) *****/ | /***** Adapted for MediaWiki Vector skin (light theme) *****/ | ||
/***** Replaces the imported Fandom CSS with Vector-compatible styles *****/ | /***** Replaces the imported Fandom CSS with Vector-compatible styles *****/ | ||
/* ========================================================================== | /* ========================================================================== | ||
Google Fonts | Google Fonts | ||
========================================================================== */ | ========================================================================== */ | ||
@import url('https://fonts.googleapis.com/css2?family=Aldrich&family=Cinzel&family=Lora&display=swap'); | @import url('https://fonts.googleapis.com/css2?family=Aldrich&family=Cinzel&family=Lora&display=swap'); | ||
/* ========================================================================== | /* ========================================================================== | ||
Portable Infobox — Themed for AC Wiki on Vector | Portable Infobox — Themed for AC Wiki on Vector | ||
The extension provides default light-theme styling. We enhance it here | The extension provides default light-theme styling. We enhance it here | ||
with AC Wiki branding (dark blue/gold color scheme). | with AC Wiki branding (dark blue/gold color scheme). | ||
========================================================================== */ | ========================================================================== */ | ||
aside.portable-infobox { | aside.portable-infobox { | ||
width: 310px; | width: 310px; | ||
border: 1px solid #a2a9b1; | border: 1px solid #a2a9b1; | ||
border-radius: 4px; | border-radius: 4px; | ||
background-color: #f8f9fa; | background-color: #f8f9fa; | ||
font-size: 0.85em; | font-size: 0.85em; | ||
overflow: hidden; | overflow: hidden; | ||
} | } | ||
.portable-infobox .pi-title { | .portable-infobox .pi-title { | ||
text-align: center; | text-align: center; | ||
font-size: 1.4em; | font-size: 1.4em; | ||
font-weight: bold; | font-weight: bold; | ||
padding: 10px; | padding: 10px; | ||
background-color: #003153; | background-color: #003153; | ||
color: #ffffff; | color: #ffffff; | ||
border: 0; | border: 0; | ||
margin: 0; | margin: 0; | ||
line-height: 1.4; | line-height: 1.4; | ||
} | } | ||
.portable-infobox .pi-header { | .portable-infobox .pi-header { | ||
background-color: #003153; | background-color: #003153; | ||
color: #ffffff; | color: #ffffff; | ||
text-align: center; | text-align: center; | ||
font-size: 1.1em; | font-size: 1.1em; | ||
font-weight: bold; | font-weight: bold; | ||
padding: 6px 10px; | padding: 6px 10px; | ||
border: 0; | border: 0; | ||
margin: 0; | margin: 0; | ||
line-height: 1.3; | line-height: 1.3; | ||
} | } | ||
.portable-infobox .pi-media { | .portable-infobox .pi-media { | ||
text-align: center; | text-align: center; | ||
margin: 0; | margin: 0; | ||
} | } | ||
.portable-infobox .pi-image-thumbnail { | .portable-infobox .pi-image-thumbnail { | ||
max-width: 100%; | max-width: 100%; | ||
height: auto; | height: auto; | ||
} | } | ||
.portable-infobox .pi-navigation { | .portable-infobox .pi-navigation { | ||
font-size: 0.9em; | font-size: 0.9em; | ||
text-align: center; | text-align: center; | ||
padding: 8px 10px; | padding: 8px 10px; | ||
background-color: #eaecf0; | background-color: #eaecf0; | ||
} | } | ||
.portable-infobox .pi-data { | .portable-infobox .pi-data { | ||
display: flex; | display: flex; | ||
border-bottom: 1px solid #c8ccd1; | border-bottom: 1px solid #c8ccd1; | ||
padding: 5px 10px; | padding: 5px 10px; | ||
box-sizing: border-box; | box-sizing: border-box; | ||
} | } | ||
.portable-infobox .pi-data-label { | .portable-infobox .pi-data-label { | ||
flex-basis: 92px; | flex-basis: 92px; | ||
font-weight: bold; | font-weight: bold; | ||
font-size: inherit; | font-size: inherit; | ||
overflow: hidden; | overflow: hidden; | ||
word-wrap: break-word; | word-wrap: break-word; | ||
hyphens: none; | hyphens: none; | ||
} | } | ||
.portable-infobox .pi-data-value { | .portable-infobox .pi-data-value { | ||
flex-grow: 1; | flex-grow: 1; | ||
word-break: break-word; | word-break: break-word; | ||
hyphens: none; | hyphens: none; | ||
padding-left: 10px; | padding-left: 10px; | ||
} | } | ||
.portable-infobox .pi-data-value ul { | .portable-infobox .pi-data-value ul { | ||
margin: 0; | margin: 0; | ||
padding-left: 1.2em; | padding-left: 1.2em; | ||
} | } | ||
.portable-infobox .pi-data-value ul li { | .portable-infobox .pi-data-value ul li { | ||
text-align: left; | text-align: left; | ||
} | } | ||
.portable-infobox .pi-group { | .portable-infobox .pi-group { | ||
border-bottom: 1px solid #c8ccd1; | border-bottom: 1px solid #c8ccd1; | ||
} | } | ||
.portable-infobox .pi-group > .pi-item:last-child { | .portable-infobox .pi-group > .pi-item:last-child { | ||
border-bottom: 0; | border-bottom: 0; | ||
} | } | ||
.portable-infobox .pi-caption { | .portable-infobox .pi-caption { | ||
color: #72777d; | color: #72777d; | ||
font-style: italic; | font-style: italic; | ||
font-size: 0.9em; | font-size: 0.9em; | ||
text-align: center; | text-align: center; | ||
padding: 4px 10px; | padding: 4px 10px; | ||
} | } | ||
.portable-infobox > .pi-item:last-child { | .portable-infobox > .pi-item:last-child { | ||
border-bottom: 0; | border-bottom: 0; | ||
} | } | ||
/* Smart data layout (used in some AC wiki infoboxes) */ | /* Smart data layout (used in some AC wiki infoboxes) */ | ||
.pi-smart-data-value.pi-data-value ul, | .pi-smart-data-value.pi-data-value ul, | ||
.pi-smart-data-value.pi-data-value ul li { | .pi-smart-data-value.pi-data-value ul li { | ||
text-align: left; | text-align: left; | ||
} | } | ||
.pi-horizontal-group-item.pi-data-value ul, | .pi-horizontal-group-item.pi-data-value ul, | ||
.pi-horizontal-group-item.pi-data-value ul li { | .pi-horizontal-group-item.pi-data-value ul li { | ||
text-align: left; | text-align: left; | ||
} | } | ||
/* ========================================================================== | /* ========================================================================== | ||
Navigation Boxes (Navboxes) | Navigation Boxes (Navboxes) | ||
========================================================================== */ | ========================================================================== */ | ||
table.navbox { | table.navbox { | ||
background-color: #fdfdfd; | background-color: #fdfdfd; | ||
border: 1px solid #aaa; | border: 1px solid #aaa; | ||
clear: both; | clear: both; | ||
font-size: 90%; | font-size: 90%; | ||
margin: 1em 0 0; | margin: 1em 0 0; | ||
padding: 2px; | padding: 2px; | ||
text-align: center; | text-align: center; | ||
width: 100%; | width: 100%; | ||
} | } | ||
table.navbox th { | table.navbox th { | ||
background-color: #ccf; | background-color: #ccf; | ||
font-size: 120%; | font-size: 120%; | ||
padding-left: 1em; | padding-left: 1em; | ||
padding-right: 1em; | padding-right: 1em; | ||
} | } | ||
@media print { | @media print { | ||
.navbox { | .navbox { | ||
display: none; | display: none; | ||
} | } | ||
} | } | ||
/* ========================================================================== | /* ========================================================================== | ||
NavFrame (collapsible navigation boxes from German Wikipedia style) | NavFrame (collapsible navigation boxes from German Wikipedia style) | ||
========================================================================== */ | ========================================================================== */ | ||
div.Boxmerge, | div.Boxmerge, | ||
div.NavFrame { | div.NavFrame { | ||
margin: 0; | margin: 0; | ||
padding: 4px; | padding: 4px; | ||
border: 1px solid #aaa; | border: 1px solid #aaa; | ||
text-align: center; | text-align: center; | ||
border-collapse: collapse; | border-collapse: collapse; | ||
font-size: 95%; | font-size: 95%; | ||
} | } | ||
div.Boxmerge div.NavFrame { | div.Boxmerge div.NavFrame { | ||
border-style: hidden; | border-style: hidden; | ||
} | } | ||
div.NavFrame + div.NavFrame { | div.NavFrame + div.NavFrame { | ||
border-top-style: hidden; | border-top-style: hidden; | ||
} | } | ||
div.NavPic { | div.NavPic { | ||
background-color: #fff; | background-color: #fff; | ||
margin: 0; | margin: 0; | ||
padding: 2px; | padding: 2px; | ||
float: left; | float: left; | ||
} | } | ||
div.NavFrame div.NavHead { | div.NavFrame div.NavHead { | ||
height: 1.6em; | height: 1.6em; | ||
font-weight: bold; | font-weight: bold; | ||
background-color: #ccf; | background-color: #ccf; | ||
position: relative; | position: relative; | ||
} | } | ||
div.NavFrame p, | div.NavFrame p, | ||
div.NavFrame div.NavContent, | div.NavFrame div.NavContent, | ||
div.NavFrame div.NavContent p { | div.NavFrame div.NavContent p { | ||
font-size: 100%; | font-size: 100%; | ||
} | } | ||
div.NavEnd { | div.NavEnd { | ||
margin: 0; | margin: 0; | ||
padding: 0; | padding: 0; | ||
line-height: 1px; | line-height: 1px; | ||
clear: both; | clear: both; | ||
} | } | ||
a.NavToggle { | a.NavToggle { | ||
position: absolute; | position: absolute; | ||
top: 0; | top: 0; | ||
right: 3px; | right: 3px; | ||
font-weight: normal; | font-weight: normal; | ||
font-size: smaller; | font-size: smaller; | ||
} | } | ||
/* ========================================================================== | /* ========================================================================== | ||
References | References | ||
========================================================================== */ | ========================================================================== */ | ||
ol.references { | ol.references { | ||
font-size: 100%; | font-size: 100%; | ||
} | } | ||
.references-small { | .references-small { | ||
font-size: 90%; | font-size: 90%; | ||
} | } | ||
.references-2column { | .references-2column { | ||
font-size: 90%; | font-size: 90%; | ||
column-count: 2; | column-count: 2; | ||
} | } | ||
/* Highlight clicked reference in blue */ | /* Highlight clicked reference in blue */ | ||
ol.references > li:target, | ol.references > li:target, | ||
sup.reference:target, | sup.reference:target, | ||
span.citation:target, | span.citation:target, | ||
cite:target { | cite:target { | ||
background-color: #def; | background-color: #def; | ||
} | } | ||
/* ========================================================================== | /* ========================================================================== | ||
Table of Contents | Table of Contents | ||
========================================================================== */ | ========================================================================== */ | ||
#toc, | #toc, | ||
.toc { | .toc { | ||
background-color: #f8f9fa; | background-color: #f8f9fa; | ||
border: 1px solid #a2a9b1; | border: 1px solid #a2a9b1; | ||
padding: 5px; | padding: 5px; | ||
} | } | ||
/* No-number TOC variant */ | /* No-number TOC variant */ | ||
.nonumtoc .tocnumber { | .nonumtoc .tocnumber { | ||
display: none; | display: none; | ||
} | } | ||
.nonumtoc #toc ul, | .nonumtoc #toc ul, | ||
.nonumtoc .toc ul { | .nonumtoc .toc ul { | ||
line-height: 1.5em; | line-height: 1.5em; | ||
list-style: none; | list-style: none; | ||
margin: 0.3em 0 0; | margin: 0.3em 0 0; | ||
padding: 0; | padding: 0; | ||
} | } | ||
.nonumtoc #toc ul ul, | .nonumtoc #toc ul ul, | ||
.nonumtoc .toc ul ul { | .nonumtoc .toc ul ul { | ||
margin: 0 0 0 2em; | margin: 0 0 0 2em; | ||
} | } | ||
/* TOC level limiting */ | /* TOC level limiting */ | ||
.toclimit-2 .toclevel-1 ul, | .toclimit-2 .toclevel-1 ul, | ||
.toclimit-3 .toclevel-2 ul, | .toclimit-3 .toclevel-2 ul, | ||
.toclimit-4 .toclevel-3 ul, | .toclimit-4 .toclevel-3 ul, | ||
.toclimit-5 .toclevel-4 ul, | .toclimit-5 .toclevel-4 ul, | ||
.toclimit-6 .toclevel-5 ul, | .toclimit-6 .toclevel-5 ul, | ||
.toclimit-7 .toclevel-6 ul { | .toclimit-7 .toclevel-6 ul { | ||
display: none; | display: none; | ||
} | } | ||
/* ========================================================================== | /* ========================================================================== | ||
Wikitable — Light theme overrides | Wikitable — Light theme overrides | ||
========================================================================== */ | ========================================================================== */ | ||
table.wikitable { | table.wikitable { | ||
margin: 1em 1em 1em 0; | margin: 1em 1em 1em 0; | ||
background: #f8f9fa; | background: #f8f9fa; | ||
border: 1px solid #a2a9b1; | border: 1px solid #a2a9b1; | ||
border-collapse: collapse; | border-collapse: collapse; | ||
} | } | ||
table.wikitable th, | table.wikitable th, | ||
table.wikitable td { | table.wikitable td { | ||
border: 1px solid #a2a9b1; | border: 1px solid #a2a9b1; | ||
padding: 0.2em 0.4em; | padding: 0.2em 0.4em; | ||
} | } | ||
table.wikitable th { | table.wikitable th { | ||
background: #eaecf0; | background: #eaecf0; | ||
text-align: center; | text-align: center; | ||
} | } | ||
table.wikitable caption { | table.wikitable caption { | ||
margin-left: inherit; | margin-left: inherit; | ||
margin-right: inherit; | margin-right: inherit; | ||
font-weight: bold; | font-weight: bold; | ||
} | } | ||
/* ========================================================================== | /* ========================================================================== | ||
VG Template (game data tables) | VG Template (game data tables) | ||
========================================================================== */ | ========================================================================== */ | ||
.vgr th { | .vgr th { | ||
background-color: #003153; | background-color: #003153; | ||
color: #e1e1e1; | color: #e1e1e1; | ||
border-color: #a2a9b1; | border-color: #a2a9b1; | ||
} | } | ||
.vgr td { | .vgr td { | ||
background-color: #f8f9fa; | background-color: #f8f9fa; | ||
color: #202122; | color: #202122; | ||
border-color: #a2a9b1; | border-color: #a2a9b1; | ||
} | } | ||
.vgr tr:hover td { | .vgr tr:hover td { | ||
background-color: #eaecf0; | background-color: #eaecf0; | ||
} | } | ||
/* ========================================================================== | /* ========================================================================== | ||
File history tables | File history tables | ||
========================================================================== */ | ========================================================================== */ | ||
table.filehistory th { | table.filehistory th { | ||
background-color: #eaecf0; | background-color: #eaecf0; | ||
} | } | ||
table.filehistory td { | table.filehistory td { | ||
background-color: #f8f9fa; | background-color: #f8f9fa; | ||
border-color: #a2a9b1; | border-color: #a2a9b1; | ||
} | } | ||
/* ========================================================================== | /* ========================================================================== | ||
Misc Fixes | Misc Fixes | ||
========================================================================== */ | ========================================================================== */ | ||
/* Mark redirects in Special:Allpages and Special:Watchlist */ | /* Mark redirects in Special:Allpages and Special:Watchlist */ | ||
.allpagesredirect a, | .allpagesredirect a, | ||
.watchlistredir a { | .watchlistredir a { | ||
color: #888; | color: #888; | ||
font-style: italic; | font-style: italic; | ||
} | } | ||
/* Display tagline below header */ | /* Display tagline below header */ | ||
#siteSub { | #siteSub { | ||
display: inline; | display: inline; | ||
font-size: 92%; | font-size: 92%; | ||
font-weight: normal; | font-weight: normal; | ||
} | } | ||
/* Recent changes: color additions/removals */ | /* Recent changes: color additions/removals */ | ||
.mw-plusminus-pos { | .mw-plusminus-pos { | ||
color: #006500; | color: #006500; | ||
} | } | ||
.mw-plusminus-neg { | .mw-plusminus-neg { | ||
color: #8b0000; | color: #8b0000; | ||
} | } | ||
/* Remove talk link from forum namespace */ | /* Remove talk link from forum namespace */ | ||
body.ns-110 #ca-talk, | body.ns-110 #ca-talk, | ||
body.ns-110 #this_talk, | body.ns-110 #this_talk, | ||
body.ns-110 #page_tabs li + li { | body.ns-110 #page_tabs li + li { | ||
display: none; | display: none; | ||
} | } | ||
/* Transparent background checker on image description pages */ | /* Transparent background checker on image description pages */ | ||
#file img { | #file img { | ||
background: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQAQMAAAAlPW0iAAAABlBMVEX////MzMw46qqDAAAAD0lEQVQI12P4z8BQARBDAKkC/dnKHb0AAAAASUVORK5CYII=") repeat; | background: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQAQMAAAAlPW0iAAAABlBMVEX////MzMw46qqDAAAAD0lEQVQI12P4z8BQARBDAKkC/dnKHb0AAAAASUVORK5CYII=") repeat; | ||
} | } | ||
/* Small reference list for Template:Reflist */ | /* Small reference list for Template:Reflist */ | ||
.same-bg { | .same-bg { | ||
background: none; | background: none; | ||
} | } | ||
/* ========================================================================== | /* ========================================================================== | ||
Era Icons and WP-REAL icon positioning | Era Icons and WP-REAL icon positioning | ||
========================================================================== */ | ========================================================================== */ | ||
#title-eraicons { | #title-eraicons { | ||
display: inline-flex; | display: inline-flex; | ||
flex-wrap: wrap; | flex-wrap: wrap; | ||
width: calc(100% - 25px); | width: calc(100% - 25px); | ||
} | } | ||
#title-wpicon { | #title-wpicon { | ||
display: inline-flex; | display: inline-flex; | ||
height: 30px; | height: 30px; | ||
} | } | ||
#title-wpicon .floatright { | #title-wpicon .floatright { | ||
margin: 0; | margin: 0; | ||
} | } | ||
.header-icons { | .header-icons { | ||
margin-bottom: 20px; | margin-bottom: 20px; | ||
} | } | ||
#mw-indicator-wp-real { | #mw-indicator-wp-real { | ||
position: absolute; | position: absolute; | ||
right: 35px; | right: 35px; | ||
} | } | ||
/* Fix paragraph after Template:Era and Template:WP-REAL */ | /* Fix paragraph after Template:Era and Template:WP-REAL */ | ||
#title-eraicons + p, | #title-eraicons + p, | ||
.title-wp-real + p { | .title-wp-real + p { | ||
margin-top: 0; | margin-top: 0; | ||
} | } | ||
/* ========================================================================== | /* ========================================================================== | ||
Notice Templates (otheruses, stubs) | Notice Templates (otheruses, stubs) | ||
========================================================================== */ | ========================================================================== */ | ||
.otheruses, | .otheruses, | ||
.stubnotice { | .stubnotice { | ||
width: fit-content; | width: fit-content; | ||
margin: 10px auto; | margin: 10px auto; | ||
border-radius: 7px; | border-radius: 7px; | ||
font-size: smaller; | font-size: smaller; | ||
padding: 0.5em; | padding: 0.5em; | ||
} | } | ||
.otheruses { | .otheruses { | ||
background: #c4dff9; | background: #c4dff9; | ||
border: 1px solid #acbdcd; | border: 1px solid #acbdcd; | ||
} | } | ||
.stubnotice { | .stubnotice { | ||
background: #cdcdcd; | background: #cdcdcd; | ||
border: 1px solid #afafaf; | border: 1px solid #afafaf; | ||
color: #000; | color: #000; | ||
} | } | ||
.stubnotice a { | .stubnotice a { | ||
color: #05769d; | color: #05769d; | ||
} | } | ||
/* ========================================================================== | /* ========================================================================== | ||
Tabber overrides (TabberNeue extension) | Tabber overrides (TabberNeue extension) | ||
========================================================================== */ | ========================================================================== */ | ||
.tabber__header { | .tabber__header { | ||
border-bottom: 1px solid #a2a9b1; | border-bottom: 1px solid #a2a9b1; | ||
} | } | ||
/* ========================================================================== | /* ========================================================================== | ||
Image thumbnails | Image thumbnails | ||
========================================================================== */ | ========================================================================== */ | ||
.thumbinner { | .thumbinner { | ||
border-radius: 4px; | border-radius: 4px; | ||
} | } | ||
/* Remove unnecessary breakline in infobox lists */ | /* Remove unnecessary breakline in infobox lists */ | ||
.mw-parser-output ul ul { | .mw-parser-output ul ul { | ||
margin: 1px 0 1px 1.5em; | margin: 1px 0 1px 1.5em; | ||
} | } | ||
/* ========================================================================== | /* ========================================================================== | ||
Mobile responsiveness for infobox | Mobile responsiveness for infobox | ||
========================================================================== */ | ========================================================================== */ | ||
@media screen and (max-width: 720px) { | @media screen and (max-width: 720px) { | ||
aside.portable-infobox { | aside.portable-infobox { | ||
float: none; | float: none; | ||
width: 100%; | width: 100%; | ||
margin: 0 0 15px 0; | margin: 0 0 15px 0; | ||
} | } | ||
.portable-infobox .pi-title { | .portable-infobox .pi-title { | ||
text-align: center; | text-align: center; | ||
} | } | ||
.portable-infobox .pi-data-label { | .portable-infobox .pi-data-label { | ||
flex-basis: 30%; | flex-basis: 30%; | ||
} | } | ||
} | } | ||
Latest revision as of 02:13, 4 March 2026
/***** Assassin's Creed Wiki — Common.css *****/
/***** Adapted for MediaWiki Vector skin (light theme) *****/
/***** Replaces the imported Fandom CSS with Vector-compatible styles *****/
/* ==========================================================================
Google Fonts
========================================================================== */
@import url('https://fonts.googleapis.com/css2?family=Aldrich&family=Cinzel&family=Lora&display=swap');
/* ==========================================================================
Portable Infobox — Themed for AC Wiki on Vector
The extension provides default light-theme styling. We enhance it here
with AC Wiki branding (dark blue/gold color scheme).
========================================================================== */
aside.portable-infobox {
width: 310px;
border: 1px solid #a2a9b1;
border-radius: 4px;
background-color: #f8f9fa;
font-size: 0.85em;
overflow: hidden;
}
.portable-infobox .pi-title {
text-align: center;
font-size: 1.4em;
font-weight: bold;
padding: 10px;
background-color: #003153;
color: #ffffff;
border: 0;
margin: 0;
line-height: 1.4;
}
.portable-infobox .pi-header {
background-color: #003153;
color: #ffffff;
text-align: center;
font-size: 1.1em;
font-weight: bold;
padding: 6px 10px;
border: 0;
margin: 0;
line-height: 1.3;
}
.portable-infobox .pi-media {
text-align: center;
margin: 0;
}
.portable-infobox .pi-image-thumbnail {
max-width: 100%;
height: auto;
}
.portable-infobox .pi-navigation {
font-size: 0.9em;
text-align: center;
padding: 8px 10px;
background-color: #eaecf0;
}
.portable-infobox .pi-data {
display: flex;
border-bottom: 1px solid #c8ccd1;
padding: 5px 10px;
box-sizing: border-box;
}
.portable-infobox .pi-data-label {
flex-basis: 92px;
font-weight: bold;
font-size: inherit;
overflow: hidden;
word-wrap: break-word;
hyphens: none;
}
.portable-infobox .pi-data-value {
flex-grow: 1;
word-break: break-word;
hyphens: none;
padding-left: 10px;
}
.portable-infobox .pi-data-value ul {
margin: 0;
padding-left: 1.2em;
}
.portable-infobox .pi-data-value ul li {
text-align: left;
}
.portable-infobox .pi-group {
border-bottom: 1px solid #c8ccd1;
}
.portable-infobox .pi-group > .pi-item:last-child {
border-bottom: 0;
}
.portable-infobox .pi-caption {
color: #72777d;
font-style: italic;
font-size: 0.9em;
text-align: center;
padding: 4px 10px;
}
.portable-infobox > .pi-item:last-child {
border-bottom: 0;
}
/* Smart data layout (used in some AC wiki infoboxes) */
.pi-smart-data-value.pi-data-value ul,
.pi-smart-data-value.pi-data-value ul li {
text-align: left;
}
.pi-horizontal-group-item.pi-data-value ul,
.pi-horizontal-group-item.pi-data-value ul li {
text-align: left;
}
/* ==========================================================================
Navigation Boxes (Navboxes)
========================================================================== */
table.navbox {
background-color: #fdfdfd;
border: 1px solid #aaa;
clear: both;
font-size: 90%;
margin: 1em 0 0;
padding: 2px;
text-align: center;
width: 100%;
}
table.navbox th {
background-color: #ccf;
font-size: 120%;
padding-left: 1em;
padding-right: 1em;
}
@media print {
.navbox {
display: none;
}
}
/* ==========================================================================
NavFrame (collapsible navigation boxes from German Wikipedia style)
========================================================================== */
div.Boxmerge,
div.NavFrame {
margin: 0;
padding: 4px;
border: 1px solid #aaa;
text-align: center;
border-collapse: collapse;
font-size: 95%;
}
div.Boxmerge div.NavFrame {
border-style: hidden;
}
div.NavFrame + div.NavFrame {
border-top-style: hidden;
}
div.NavPic {
background-color: #fff;
margin: 0;
padding: 2px;
float: left;
}
div.NavFrame div.NavHead {
height: 1.6em;
font-weight: bold;
background-color: #ccf;
position: relative;
}
div.NavFrame p,
div.NavFrame div.NavContent,
div.NavFrame div.NavContent p {
font-size: 100%;
}
div.NavEnd {
margin: 0;
padding: 0;
line-height: 1px;
clear: both;
}
a.NavToggle {
position: absolute;
top: 0;
right: 3px;
font-weight: normal;
font-size: smaller;
}
/* ==========================================================================
References
========================================================================== */
ol.references {
font-size: 100%;
}
.references-small {
font-size: 90%;
}
.references-2column {
font-size: 90%;
column-count: 2;
}
/* Highlight clicked reference in blue */
ol.references > li:target,
sup.reference:target,
span.citation:target,
cite:target {
background-color: #def;
}
/* ==========================================================================
Table of Contents
========================================================================== */
#toc,
.toc {
background-color: #f8f9fa;
border: 1px solid #a2a9b1;
padding: 5px;
}
/* No-number TOC variant */
.nonumtoc .tocnumber {
display: none;
}
.nonumtoc #toc ul,
.nonumtoc .toc ul {
line-height: 1.5em;
list-style: none;
margin: 0.3em 0 0;
padding: 0;
}
.nonumtoc #toc ul ul,
.nonumtoc .toc ul ul {
margin: 0 0 0 2em;
}
/* TOC level limiting */
.toclimit-2 .toclevel-1 ul,
.toclimit-3 .toclevel-2 ul,
.toclimit-4 .toclevel-3 ul,
.toclimit-5 .toclevel-4 ul,
.toclimit-6 .toclevel-5 ul,
.toclimit-7 .toclevel-6 ul {
display: none;
}
/* ==========================================================================
Wikitable — Light theme overrides
========================================================================== */
table.wikitable {
margin: 1em 1em 1em 0;
background: #f8f9fa;
border: 1px solid #a2a9b1;
border-collapse: collapse;
}
table.wikitable th,
table.wikitable td {
border: 1px solid #a2a9b1;
padding: 0.2em 0.4em;
}
table.wikitable th {
background: #eaecf0;
text-align: center;
}
table.wikitable caption {
margin-left: inherit;
margin-right: inherit;
font-weight: bold;
}
/* ==========================================================================
VG Template (game data tables)
========================================================================== */
.vgr th {
background-color: #003153;
color: #e1e1e1;
border-color: #a2a9b1;
}
.vgr td {
background-color: #f8f9fa;
color: #202122;
border-color: #a2a9b1;
}
.vgr tr:hover td {
background-color: #eaecf0;
}
/* ==========================================================================
File history tables
========================================================================== */
table.filehistory th {
background-color: #eaecf0;
}
table.filehistory td {
background-color: #f8f9fa;
border-color: #a2a9b1;
}
/* ==========================================================================
Misc Fixes
========================================================================== */
/* Mark redirects in Special:Allpages and Special:Watchlist */
.allpagesredirect a,
.watchlistredir a {
color: #888;
font-style: italic;
}
/* Display tagline below header */
#siteSub {
display: inline;
font-size: 92%;
font-weight: normal;
}
/* Recent changes: color additions/removals */
.mw-plusminus-pos {
color: #006500;
}
.mw-plusminus-neg {
color: #8b0000;
}
/* Remove talk link from forum namespace */
body.ns-110 #ca-talk,
body.ns-110 #this_talk,
body.ns-110 #page_tabs li + li {
display: none;
}
/* Transparent background checker on image description pages */
#file img {
background: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQAQMAAAAlPW0iAAAABlBMVEX////MzMw46qqDAAAAD0lEQVQI12P4z8BQARBDAKkC/dnKHb0AAAAASUVORK5CYII=") repeat;
}
/* Small reference list for Template:Reflist */
.same-bg {
background: none;
}
/* ==========================================================================
Era Icons and WP-REAL icon positioning
========================================================================== */
#title-eraicons {
display: inline-flex;
flex-wrap: wrap;
width: calc(100% - 25px);
}
#title-wpicon {
display: inline-flex;
height: 30px;
}
#title-wpicon .floatright {
margin: 0;
}
.header-icons {
margin-bottom: 20px;
}
#mw-indicator-wp-real {
position: absolute;
right: 35px;
}
/* Fix paragraph after Template:Era and Template:WP-REAL */
#title-eraicons + p,
.title-wp-real + p {
margin-top: 0;
}
/* ==========================================================================
Notice Templates (otheruses, stubs)
========================================================================== */
.otheruses,
.stubnotice {
width: fit-content;
margin: 10px auto;
border-radius: 7px;
font-size: smaller;
padding: 0.5em;
}
.otheruses {
background: #c4dff9;
border: 1px solid #acbdcd;
}
.stubnotice {
background: #cdcdcd;
border: 1px solid #afafaf;
color: #000;
}
.stubnotice a {
color: #05769d;
}
/* ==========================================================================
Tabber overrides (TabberNeue extension)
========================================================================== */
.tabber__header {
border-bottom: 1px solid #a2a9b1;
}
/* ==========================================================================
Image thumbnails
========================================================================== */
.thumbinner {
border-radius: 4px;
}
/* Remove unnecessary breakline in infobox lists */
.mw-parser-output ul ul {
margin: 1px 0 1px 1.5em;
}
/* ==========================================================================
Mobile responsiveness for infobox
========================================================================== */
@media screen and (max-width: 720px) {
aside.portable-infobox {
float: none;
width: 100%;
margin: 0 0 15px 0;
}
.portable-infobox .pi-title {
text-align: center;
}
.portable-infobox .pi-data-label {
flex-basis: 30%;
}
}
/* Fix gallery-box dark background from Fandom templates */
.gallery-box {
background-color: #eaf3fb !important;
border-color: #a2a9b1 !important;
color: #202122;
}