Welcome to Assassin's Creed Wiki! Log in and join the community.

MediaWiki:Common.css: Difference between revisions

From the Assassin's Creed Wiki
Jump to navigation Jump to search
imported>Vatsa1708
mNo edit summary
Fix stray backslashes
 
(178 intermediate revisions by 17 users not shown)
Line 1: Line 1:
/***** CSS placed here will be applied to all skins on the entire site. *****/
/***** Assassin's Creed Wiki — Common.css *****/
/***** Adapted for MediaWiki Vector skin (light theme) *****/
/***** Replaces the imported Fandom CSS with Vector-compatible styles *****/


/**********/
/* ==========================================================================
/* portal */
  Google Fonts
/**********/
  ========================================================================== */
.portal_container { }
@import url('https://fonts.googleapis.com/css2?family=Aldrich&family=Cinzel&family=Lora&display=swap');
.portal_section ul  { list-style: disc; }
.portal_section { border: 2px solid rgb(0,0,0); margin: 0 0 10px 0; background: transparent; background-image: -moz-linear-gradient(top, rgba(149,213,255, 0.1) 0, rgba(0,26,43,0.4) 100%); -moz-border-radius: 1em; -moz-box-shadow:0px 0px 4px rgba(240,248,255,0.5); background-image: -webkit-gradient(linear, 0% 0%, 0% 100%, color-stop(0, rgba(149,213,255, 0.1)), color-stop(100%, rgba(0,26,43,0.4))); -webkit-border-radius: 1em; -webkit-box-shadow: 0px 0px 4px rgba(240,248,255,0.5); border-radius: 1em; box-shadow: 0px 0px 4px rgba(240,248,255,0.5); }
.portal_header { padding: 0 1em; position: relative; }
.portal_header_text { display: table; width: 100%; padding: 0.6em 0 0 0; border-bottom: 1px dotted rgb(240,248,255); text-align: center; font-family: IMFELLDWPicaPRORegular; font-size: 2em; }
.portal_headerlinks { font-size: 0.8em; position: absolute; right: 1em; bottom: -2em; }
.portal_header, .portal_header a:link, .portal_header a:visited, .portal_header a:hover, .portal_header a:active { color: rgb(240,248,255) !important; }
.portal_body { padding: 0.8em; }
.portal_subheader { padding: 0 1em; position: relative; font-size: 0.9em; }
.portal_subheader, .portal_subheader a:link, .portal_subheader a:visited, .portal_subheader a:hover, .portal_subheader a:active { color: rgb(240,248,255) !important; }
.portal_subheader_text { display: table; width: 100%; padding: 0.4em 0 0 0; border-bottom: 1px dotted rgb(240,248,255); text-align: left; font-family: IMFELLDWPicaPRORegular; font-size: 1.8em; color: rgb(240,248,255) ; }


/******************/
/* ==========================================================================
/* portal: slider */
  Portable Infobox — Themed for AC Wiki on Vector
/******************/
  The extension provides default light-theme styling. We enhance it here
#portal_slider { margin: 0px; padding: 0px; font-family: Verdana, Arial, Helvetica, sans-serif; position: relative; height: 500px; }
  with AC Wiki branding (dark blue/gold color scheme).
#portal_slider #portal_next, #portal_slider #portal_prev { text-align: center; cursor: pointer; border: 0px solid #FEC356; height: 30px !important; width: 20px; font-family: arial, san-serif; font-size: 36px; line-height: 22px; font-weight: bold; cursor: pointer; position: absolute; bottom: 8px; background: transparent; -moz-box-shadow: inset 1px 1px 2px rgba(255,255,255, 0.8); -webkit-box-shadow: inset 1px 1px 2px rgba(255,255,255, 0.8); box-shadow: inset 1px 1px 2px rgba(255,255,255, 0.8); background-image: -moz-linear-gradient(bottom, rgb(0,128,170) 0, rgb(85,213,255) 100%); background-image: -webkit-gradient(linear, 0% 100%, 0% 0%, color-stop(0, rgb(0,128,170)), color-stop(100%, rgb(85,213,255))); text-shadow: 1px 1px rgba(255, 255, 255, 0.3), -1px 0 rgba(0,0,0,0.3); color: rgb(0, 143, 191); -moz-user-select: none; -webkit-user-select: none; user-select: none; }
  ========================================================================== */
#portal_slider #portal_next:hover, #portal_slider #portal_prev:hover { background-image: -moz-linear-gradient(bottom, rgb(0,175,234) 0, rgb(149,228,255) 100%); background-image: -webkit-gradient(linear, 0% 100%, 0% 0%, color-stop(0, rgb(0,175,234)), color-stop(100%, rgb(149,228,255))); color: rgb(0,175,234); }
#portal_slider #portal_next { right: 10px; -moz-border-radius-topright: 8px; -moz-border-radius-bottomright: 8px; -webkit-border-top-right-radius: 8px; -webkit-border-bottom-right-radiust: 8px; border-top-right-radius: 8px; border-bottom-right-radius: 8px; }
#portal_slider #portal_prev { right: 31px; -moz-border-radius-topleft: 8px; -moz-border-radius-bottomleft: 8px; -webkit-border-top-left-radius: 8px; -webkit-border-bottom-left-radius: 8px; border-top-left-radius: 8px; border-bottom-left-radius: 8px; }
#portal_slider > .portal_body { padding: 0; }


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 {
/* portal: content */
    text-align: center;
/*******************/
    font-size: 1.4em;
#portal_content { font-size: 0.9em; line-height: 1.7em; }
    font-weight: bold;
#portal_content .portal_body > table { height: 400px; }
    padding: 10px;
#portal_content ul { list-style: disc outside; }
    background-color: #003153;
#portal_content ul ul { margin-left: 1em; }
    color: #ffffff;
    border: 0;
/****************/
    margin: 0;
/* portal: news */
    line-height: 1.4;
/****************/
}
#portal_news .WikiaBlogListingBox, #portal_news ul, .CommunityCornerModule .WikiaBlogListingBox { font-size: 100%; width: auto; float: none; clear: none; border: 0; padding: 0; background: transparent; }
#portal_news .WikiaBlogListingBox h3, #portal_news .wikia-button, .CommunityCornerModule .WikiaBlogListingBox h3 { display: none; }
#portal_news .WikiaBlogListingBox ul li { border-top: 0px !important; border-bottom: 1px dotted rgb(240,248,255) !important; list-style-type: none;} /* override the default border #portal_news colors */
.WikiaBlogListingBox ul li:first-child { border: none !important; } /* override the override */


/******************/
.portable-infobox .pi-header {
/* portal: forums */
    background-color: #003153;
/******************/
    color: #ffffff;
#portal_forums .forum_title { }
    text-align: center;
#portal_forums .forum_edited { text-align: right; }
    font-size: 1.1em;
    font-weight: bold;
    padding: 6px 10px;
    border: 0;
    margin: 0;
    line-height: 1.3;
}


/*******************/
.portable-infobox .pi-media {
/* portal: twitter */
    text-align: center;
/*******************/
    margin: 0;
#portal_twitter ul li { border-top: 0px !important; border-bottom: 1px dotted rgb(240,248,255) !important; padding: 0.2em 0; list-style: none; } /* change it from a bulleted list into a unbulleted list */
}
#portal_twitter ul { margin-left: 0em !important; }


/*********************************/
.portable-infobox .pi-image-thumbnail {
/* main page jquery tabs/sliders */
    max-width: 100%;
/*********************************/
    height: auto;
.ui-tabs { position: relative; padding: .2em; zoom: 1; }
}
.ui-tabs .ui-tabs-nav { margin: 0; padding: .2em .2em 0; }
.ui-tabs .ui-tabs-nav li { list-style: none; float: left; position: relative; top: 1px; margin: 0 .2em 1px 0; border-bottom: 0 !important; padding: 0; white-space: nowrap; }
.ui-tabs .ui-tabs-nav li a { float: left; padding: .5em 1em; text-decoration: none; }
.ui-tabs .ui-tabs-nav li.ui-tabs-selected { margin-bottom: 0; padding-bottom: 1px; }
.ui-tabs .ui-tabs-nav li.ui-tabs-selected a, .ui-tabs .ui-tabs-nav li.ui-state-disabled a, .ui-tabs .ui-tabs-nav li.ui-state-processing a { cursor: text; }
.ui-tabs .ui-tabs-nav li a, .ui-tabs.ui-tabs-collapsible .ui-tabs-nav li.ui-tabs-selected a { cursor: pointer; }
.ui-tabs .ui-tabs-panel { display: block; border-width: 0; padding: 0; background: none; }
.ui-tabs .ui-tabs-hide { display: none !important; }
.ui-tabs-hide { display: none !important; }


/** Portal definitons **/
.portable-infobox .pi-navigation {
    font-size: 0.9em;
    text-align: center;
    padding: 8px 10px;
    background-color: #eaecf0;
}


.portal_sliderlink_1, .portal_sliderlink_2, .portal_sliderlink_3, .portal_sliderlink_4, .portal_sliderlink_6, .portal_sliderlink_5, .portal_sliderlink_6, .portal_sliderlink_7 {
.portable-infobox .pi-data {
border: 1px solid #000;
    display: flex;
    border-bottom: 1px solid #c8ccd1;
    padding: 5px 10px;
    box-sizing: border-box;
}
}


.portal_sliderlink_1:hover, .portal_sliderlink_2:hover, .portal_sliderlink_3:hover, .portal_sliderlink_4:hover, .portal_sliderlink_6:hover, .portal_sliderlink_5:hover, .portal_sliderlink_6:hover, .portal_sliderlink_7:hover {
.portable-infobox .pi-data-label {
border: 1px solid #999;
    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;
}


/* Mark redirects in Special:Allpages and Special:Watchlist */
.portable-infobox .pi-data-value ul li {
.allpagesredirect a {
     text-align: left;
     color:#888;
    font-style:italic;
}
}
.watchlistredir a {
 
     color:#888;
.portable-infobox .pi-group {
    font-style:italic;
     border-bottom: 1px solid #c8ccd1;
}
}


/* Forum formatting (by -Algorithm & -Splaka) */
.portable-infobox .pi-group > .pi-item:last-child {
.forumheader {
     border-bottom: 0;
    background-color:#F9F9F9;
     border:1px solid #AAA;
    margin-top:1em;
    padding:12px;
}
}
.forumlist td.forum_edited a {
 
     color:#000;
.portable-infobox .pi-caption {
     text-decoration:none;
     color: #72777d;
    font-style: italic;
    font-size: 0.9em;
     text-align: center;
    padding: 4px 10px;
}
}
.forumlist td.forum_title a {
 
     padding-left:20px;
.portable-infobox > .pi-item:last-child {
     border-bottom: 0;
}
}
.forumlist td.forum_title a.forum_new {
 
    font-weight:bold;
/* Smart data layout (used in some AC wiki infoboxes) */
    background:url(/images/4/4e/Forum_new.gif) center left no-repeat;
.pi-smart-data-value.pi-data-value ul,
    padding-left:20px;
.pi-smart-data-value.pi-data-value ul li {
}
     text-align: left;
.forumlist td.forum_title a.forum_new:visited {
    font-weight:normal;
    background:none;
    padding-left:20px;
}
.forumlist th.forum_title {
     padding-left:20px;
}
}


/* Infobox template style */
.pi-horizontal-group-item.pi-data-value ul,
.infobox {
.pi-horizontal-group-item.pi-data-value ul li {
    border:1px solid #AAA;
     text-align: left;
    background-color:#F9F9F9;
    color:black;
    margin:0.5em 0 0.5em 1em;
    padding:0.2em;
    float:right;
    clear:right;
}
.infobox td,
.infobox th {
    vertical-align:top;
}
.infobox caption {
    font-size:larger;
    margin-left:inherit;
}
.infobox.bordered {
    border-collapse:collapse;
}
.infobox.bordered td,
.infobox.bordered th {
    border:1px solid #AAA;
}
.infobox.bordered .borderless td,
.infobox.bordered .borderless th {
    border:0;
}
.infobox.bordered .mergedtoprow td,
.infobox.bordered .mergedtoprow th {
    border:0;
    border-top:1px solid #AAA;
    border-right:1px solid #AAA;
}
.infobox.bordered .mergedrow td,
.infobox.bordered .mergedrow th {
     border:0;
    border-right:1px solid #AAA;
}
}


/* Wikitable class for skinning normal tables */
/* ==========================================================================
table.wikitable {
  Navigation Boxes (Navboxes)
    margin:1em 1em 1em 0;
  ========================================================================== */
    background:#F9F9F9;
    border:1px #AAA solid;
    border-collapse:collapse;
}
table.wikitable th, table.wikitable td {
    border:1px #AAA solid;
    padding:0.2em;
}
table.wikitable th {
    background:#F2F2F2;
    text-align:center;
}
table.wikitable caption, {
    margin-left:inherit;
    margin-right:inherit;
    font-weight:bold;
}


/* default skin for navigation boxes */
table.navbox {
table.navbox {
     background-color:#F9F9F9;
     background-color: #fdfdfd;
     border:1px solid #AAA;
     border: 1px solid #aaa;
     clear:both;
     clear: both;
     font-size:90%;
     font-size: 90%;
     margin:1em 0em 0em;
     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;
     }
     }
}
}


/* Standard Navigationsleisten, aka "box hiding thingy" from the German Wikipedia. Documentation at Wikipedia:NavFrame on Wikipedia. */
/* ==========================================================================
  NavFrame (collapsible navigation boxes from German Wikipedia style)
  ========================================================================== */
 
div.Boxmerge,
div.Boxmerge,
div.NavFrame {
div.NavFrame {
     margin:0px;
     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:none;
     border-style: hidden;
     border-style:hidden;
}
}
div.NavFrame + div.NavFrame {
div.NavFrame + div.NavFrame {
    border-top-style:none;
     border-top-style: hidden;
     border-top-style:hidden;
}
}
div.NavPic {
div.NavPic {
     background-color:#FFF;
     background-color: #fff;
     margin:0px;
     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 {
    font-size:100%;
}
div.NavFrame div.NavContent {
    font-size:100%;
}
}
div.NavFrame p,
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:0px;
     margin: 0;
     padding:0px;
     padding: 0;
     line-height:1px;
     line-height: 1px;
     clear:both;
     clear: both;
}
}
a.NavToggle {
a.NavToggle {
     position:absolute;
     position: absolute;
     top:0px;
     top: 0;
     right:3px;
     right: 3px;
     font-weight:normal;
     font-weight: normal;
     font-size:smaller;
     font-size: smaller;
}
}


/* Small reference list for Template:Reflist */
/* ==========================================================================
  References
  ========================================================================== */
 
ol.references {
ol.references {
     font-size: 100%;
     font-size: 100%;
}
}
.references-small {  
 
     font-size:90%;
.references-small {
     font-size: 90%;
}
}
.references-2column {
.references-2column {
     font-size:90%;
     font-size: 90%;
     -moz-column-count:2;
     column-count: 2;
     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;
}
}
.same-bg {
 
     background:none
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;
}
}


/* Highlight clicked reference in blue to help navigation */
/* ==========================================================================
ol.references > li:target, sup.reference:target, span.citation:target, cite:target {  
  Misc Fixes
     background-color: #DEF;
  ========================================================================== */
 
/* Mark redirects in Special:Allpages and Special:Watchlist */
.allpagesredirect a,
.watchlistredir a {
     color: #888;
    font-style: italic;
}
}


/* Display text below main article header, located at MediaWiki:Tagline */
/* Display tagline below header */
#siteSub {
#siteSub {
     display:inline;
     display: inline;
     font-size:92%;
     font-size: 92%;
     font-weight:normal;
     font-weight: normal;
}
}


/* Colour the number of characters added/removed in the recent changes */
/* Recent changes: color additions/removals */
.mw-plusminus-pos {
.mw-plusminus-pos {
     color: #006500;
     color: #006500;
Line 291: Line 361:


.mw-plusminus-neg {
.mw-plusminus-neg {
     color: #8B0000;
     color: #8b0000;
}
}


/* remove talk link from forum namespace (monobooks/newskins/quartzskins/monaco) -Splarka */
/* Remove talk link from forum namespace */
body.ns-110 #ca-talk, body.ns-110 #this_talk, body.ns-110 #page_tabs li+li {
body.ns-110 #ca-talk,
     display:none;
body.ns-110 #this_talk,
body.ns-110 #page_tabs li + li {
     display: none;
}
}


/* Put a checker background at the image description page only visible if the image has transparent background */
/* Transparent background checker on image description pages */
#file img {
#file img {
     background: url("http://images.wikia.com/central/images/5/5d/Checker-16x16.png") repeat;
     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);
}
}


/* When <div class="nonumtoc"> is used on the table of contents,
#title-wpicon {
   the ToC will display without numbers */
    display: inline-flex;
.nonumtoc .tocnumber { display: none; }
    height: 30px;
.nonumtoc #toc ul,
}
.nonumtoc .toc ul {
 
     line-height: 1.5em;
#title-wpicon .floatright {
     list-style: none;
    margin: 0;
     margin: .3em 0 0;
}
     padding: 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;
}
}
.nonumtoc #toc ul ul,
 
.nonumtoc .toc ul ul {  
/* ==========================================================================
    margin: 0 0 0 2em;  
  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%;
    }
}
}
/* Allow limiting of which header levels are shown in a TOC;
 
  <div class="toclimit-3">, for instance, will limit to
/* Fix gallery-box dark background from Fandom templates */
  showing ==headings== and ===headings=== but no further
.gallery-box {
  (as long as there are no =headings= on the page, which
    background-color: #eaf3fb !important;
  there shouldn't be according to the MoS).
    border-color: #a2a9b1 !important;
*/
    color: #202122;
.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; }
}
}

Latest revision as of 03: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;
}