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
 
(167 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 *****/


/**Staff comments**/
/* ==========================================================================
@import "/index.php?title=MediaWiki:Wikia.css/comments&action=raw&ctype=text/css";
  Google Fonts
/**Forum formatting**/
  ========================================================================== */
@import "/index.php?title=MediaWiki:Wikia.css/forum&action=raw&ctype=text/css";
@import url('https://fonts.googleapis.com/css2?family=Aldrich&family=Cinzel&family=Lora&display=swap');


/**********/
/* ==========================================================================
/* portal */
  Portable Infobox — Themed for AC Wiki on Vector
/**********/
  The extension provides default light-theme styling. We enhance it here
.portal_container { }
  with AC Wiki branding (dark blue/gold color scheme).
.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) ; }


/******************/
aside.portable-infobox {
/* portal: slider */
    width: 310px;
/******************/
    border: 1px solid #a2a9b1;
#portal_slider { margin: 0px; padding: 0px; font-family: Verdana, Arial, Helvetica, sans-serif; position: relative; height: 500px; }
    border-radius: 4px;
#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; }
    background-color: #f8f9fa;
#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); }
    font-size: 0.85em;
#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; }
    overflow: hidden;
#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; }


.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 {
/* portal: content */
    background-color: #003153;
/*******************/
    color: #ffffff;
#portal_content { font-size: 0.9em; line-height: 1.7em; }
    text-align: center;
#portal_content .portal_body > table { height: 400px; }
    font-size: 1.1em;
#portal_content ul { list-style: disc outside; }
    font-weight: bold;
#portal_content ul ul { margin-left: 1em; }
    padding: 6px 10px;
    border: 0;
/****************/
    margin: 0;
/* portal: news */
    line-height: 1.3;
/****************/
}
#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-media {
/* portal: forums */
    text-align: center;
/******************/
    margin: 0;
#portal_forums .forum_title { }
}
#portal_forums .forum_edited { text-align: right; }


/*******************/
.portable-infobox .pi-image-thumbnail {
/* portal: twitter */
    max-width: 100%;
/*******************/
    height: auto;
#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-navigation {
/* main page jquery tabs/sliders */
    font-size: 0.9em;
/*********************************/
    text-align: center;
.ui-tabs { position: relative; padding: .2em; zoom: 1; }
    padding: 8px 10px;
.ui-tabs .ui-tabs-nav { margin: 0; padding: .2em .2em 0; }
    background-color: #eaecf0;
.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; }


/**********************/
.portable-infobox .pi-data {
/**Portal definitons  */
    display: flex;
/**********************/
    border-bottom: 1px solid #c8ccd1;
    padding: 5px 10px;
    box-sizing: border-box;
}


.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-label {
border: 1px solid #000;
    flex-basis: 92px;
    font-weight: bold;
    font-size: inherit;
    overflow: hidden;
    word-wrap: break-word;
    hyphens: none;
}
}


.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-value {
border: 1px solid #999;
    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;
}
}


/* Infobox template style */
.portable-infobox .pi-group > .pi-item:last-child {
.infobox {
     border-bottom: 0;
     border:1px solid #AAA;
    background-color:#F9F9F9;
    color:black;
    margin:0.5em 0 0.5em 1em;
    padding:0.2em;
    float:right;
    clear:right;
}
}
.infobox td,
 
.infobox th {
.portable-infobox .pi-caption {
     vertical-align:top;
    color: #72777d;
    font-style: italic;
    font-size: 0.9em;
     text-align: center;
    padding: 4px 10px;
}
}
.infobox caption {
 
    font-size:larger;
.portable-infobox > .pi-item:last-child {
     margin-left:inherit;
     border-bottom: 0;
}
}
.infobox.bordered {
 
     border-collapse:collapse;
/* 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;
}
}
.infobox.bordered td,
 
.infobox.bordered th {
.pi-horizontal-group-item.pi-data-value ul,
    border:1px solid #AAA;
.pi-horizontal-group-item.pi-data-value ul li {
}
     text-align: left;
.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:#1c1c1c;
    border:1px #000000 solid;
    border-collapse:collapse;
}
table.wikitable th, table.wikitable td {
    border:1px #000000 solid;
    padding:0.2em;
}
table.wikitable th {
    background:#1c1c1c;
    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-2column {
    font-size:90%;
    -moz-column-count:2;
    column-count:2;
}
.same-bg {
    background:none
}
}


/* Highlight clicked reference in blue to help navigation */
.references-small {
ol.references > li:target, sup.reference:target, span.citation:target, cite:target {  
     font-size: 90%;
     background-color: #DEF;
}
}


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


/* Colour the number of characters added/removed in the recent changes */
/* Highlight clicked reference in blue */
.mw-plusminus-pos {
ol.references > li:target,
     color: #006500;
sup.reference:target,
span.citation:target,
cite:target {
     background-color: #def;
}
}


.mw-plusminus-neg {
/* ==========================================================================
    color: #8B0000;
  Table of Contents
}
  ========================================================================== */


/* remove talk link from forum namespace (monobooks/newskins/quartzskins/monaco) -Splarka */
#toc,
body.ns-110 #ca-talk, body.ns-110 #this_talk, body.ns-110 #page_tabs li+li {
.toc {
     display:none;
    background-color: #f8f9fa;
    border: 1px solid #a2a9b1;
     padding: 5px;
}
}


/* Put a checker background at the image description page only visible if the image has transparent background */
/* No-number TOC variant */
#file img {
.nonumtoc .tocnumber {
     background: url("http://images.wikia.com/central/images/5/5d/Checker-16x16.png") repeat;
     display: none;
}
}


/* When <div class="nonumtoc"> is used on the table of contents,
  the ToC will display without numbers */
.nonumtoc .tocnumber { 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: .3em 0 0;
     margin: 0.3em 0 0;
     padding: 0;
     padding: 0;
}
}
.nonumtoc #toc ul ul,  
 
.nonumtoc .toc ul ul {  
.nonumtoc #toc ul ul,
     margin: 0 0 0 2em;  
.nonumtoc .toc ul ul {
     margin: 0 0 0 2em;
}
}
/* Allow limiting of which header levels are shown in a TOC;
 
  <div class="toclimit-3">, for instance, will limit to
/* TOC level limiting */
  showing ==headings== and ===headings=== but no further
  (as long as there are no =headings= on the page, which
  there shouldn't be according to the MoS).
*/
.toclimit-2 .toclevel-1 ul,
.toclimit-2 .toclevel-1 ul,
.toclimit-3 .toclevel-2 ul,
.toclimit-3 .toclevel-2 ul,
Line 307: Line 272:
.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 { display: none; }
.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 Class**/
/* ==========================================================================
  VG Template (game data tables)
  ========================================================================== */
 
.vgr th {
.vgr th {
background-color: #003153;
    background-color: #003153;
background-image: -moz-linear-gradient(top, #090f0f, #6086a7);
    color: #e1e1e1;
background-image: -webkit-gradient(linear, 0% 100%, 0% 100%, from(#090f0f), to(#6086a7));
    border-color: #a2a9b1;
color: #E1E1E1;
}
border-color: #000000;
 
}
.vgr td {
.vgr td {
background-color: #0A0A0A;
    background-color: #f8f9fa;
color: #E1E1E1;
    color: #202122;
border-color: #000000;
    border-color: #a2a9b1;
}
}
 
.vgr tr:hover td {
.vgr tr:hover td {
background-color: #192c32;
    background-color: #eaecf0;
color: #090f0f;
}
}


/*Aff tamplate*/
/* ==========================================================================
.TablePager th {
  File history tables
background-color: #003153;
  ========================================================================== */
background-image: -moz-linear-gradient(top, #090f0f, #6086a7);
 
background-image: -webkit-gradient(linear, 0% 100%, 0% 100%, from(#090f0f), to(#6086a7));
table.filehistory th {
color: #E1E1E1;
    background-color: #eaecf0;
border-color: #000000;
}
.TablePager td {
background-color: #0A0A0A;
color: #E1E1E1;
border-color: #000000;
}
.TablePager tr:hover td {
background-color: #192c32;
color: #090f0f;
}
}


/**FB**/
table.filehistory td {
#featured_content .right {
    background-color: #f8f9fa;
float: left;
    border-color: #a2a9b1;
width: 322px;
}
}
 
#featured_content .facebook_panel {
/* ==========================================================================
background-image: url('http://images4.wikia.nocookie.net/assassinscreed/images/e/e8/Facebookpanel.png');
  Misc Fixes
width: 322px;
  ========================================================================== */
height: 329px;
 
}
/* Mark redirects in Special:Allpages and Special:Watchlist */
.allpagesredirect a,
#featured_content .facebook_frame {
.watchlistredir a {
padding-left: 13px;
    color: #888;
padding-top: 13px;
    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;
}
}


/* New Pages */
.mw-plusminus-neg {
.not-patrolled  {
    color: #8b0000;
background-color: #0A0A0A;
}
border: 1px solid #323232;
 
margin-bottom: -1px;
/* Remove talk link from forum namespace */
padding: 0 2px 2px;
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%;
    }
}
}


/* TOC */
/* Fix gallery-box dark background from Fandom templates */
#toc, .toc {
.gallery-box {
color: #FFF;
    background-color: #eaf3fb !important;
background-color: transparent;
    border-color: #a2a9b1 !important;
border: 1px solid #6b6a6a;
    color: #202122;
}
}

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;
}