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>BertH
Removed, since this was interfering with background ad display. Don't revert this change, but please let me know if you have any concerns.
Fix stray backslashes
 
(107 intermediate revisions by 12 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
@import "/index.php?title=MediaWiki:Wikia.css/highlight&action=raw&ctype=text/css";
  ========================================================================== */
/**Forum formatting**/
@import url('https://fonts.googleapis.com/css2?family=Aldrich&family=Cinzel&family=Lora&display=swap');
@import "/index.php?title=MediaWiki:Wikia.css/forum&action=raw&ctype=text/css";


@import url(http://fonts.googleapis.com/css?family=Aldrich);
/* ==========================================================================
  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 {
/* Background */
    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;
}


body.mediawiki  {
.portable-infobox .pi-header {
background-repeat: no-repeat;
    background-color: #003153;
     background-attachment: fixed;
    color: #ffffff;
     background-position: center;  
    text-align: center;
  background-size: cover;
     font-size: 1.1em;
     font-weight: bold;
    padding: 6px 10px;
    border: 0;
    margin: 0;
    line-height: 1.3;
}
}


.WikiaPageBackground {
.portable-infobox .pi-media {
  background: rgba(0, 0, 0, 0.28) !important;
    text-align: center;
  border: 2px solid #39757f;
    margin: 0;
  -moz-box-shadow:0 0 30px #000;
  -webkit-box-shadow:0 0 30px #000;
  box-shadow:0 0 30px #000;
  background-repeat: no-repeat;
  background-attachment: fixed;
  background-position: center;
  background-size: cover;
}
}


body.background-dynamic:after,
.portable-infobox .pi-image-thumbnail {
body.background-dynamic:before {
     max-width: 100%;
     background-repeat: no-repeat;
     height: auto;
     background-position: center;
  background-size: cover;
}
}


.WikiaActivityModule,
.portable-infobox .pi-navigation {
.WikiaPagesOnWikiModule,
     font-size: 0.9em;
.LatestPhotosModule,
     text-align: center;
.WikiaSpotlightsModule,
     padding: 8px 10px;
.HotSpotsModule,
     background-color: #eaecf0;
.UserProfileAchievementsModule,
.WikiaLatestEarnedBadgesModule,
.FollowedPagesModule,
.CommunityCornerModule {
     margin: 0px auto;
    -moz-border-radius: 10px !important;
     -webkit-border-radius:10px!important;
     -o-border-radius:10px!important;
     border-radius:10px!important;
    background: rgba(0, 0, 0, 0.28) !important;
    border: 1px solid #39757f  !important;
}
}


/**********/
.portable-infobox .pi-data {
/* portal */
    display: flex;
/**********/
    border-bottom: 1px solid #c8ccd1;
.portal_container { }
    padding: 5px 10px;
.portal_section ul  { list-style: disc; }
    box-sizing: border-box;
.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) ; }


/******************/
.portable-infobox .pi-data-label {
/* portal: slider */
    flex-basis: 92px;
/******************/
    font-weight: bold;
#portal_slider { margin: 0px; padding: 0px; font-family: Verdana, Arial, Helvetica, sans-serif; position: relative; height: 470px; }
    font-size: inherit;
#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; }
    overflow: hidden;
#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); }
    word-wrap: break-word;
#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; }
    hyphens: none;
#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-data-value {
    flex-grow: 1;
    word-break: break-word;
    hyphens: none;
    padding-left: 10px;
}


/*******************/
.portable-infobox .pi-data-value ul {
/* portal: content */
    margin: 0;
/*******************/
    padding-left: 1.2em;
#portal_content { font-size: 0.9em; line-height: 1.7em; }
}
#portal_content .portal_body > table { height: 400px; }
#portal_content ul { list-style: disc outside; }
#portal_content ul ul { margin-left: 1em; }
/****************/
/* portal: news */
/****************/
#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-data-value ul li {
/* portal: forums */
    text-align: left;
/******************/
}
#portal_forums .forum_title { }
#portal_forums .forum_edited { text-align: right; }


/*******************/
.portable-infobox .pi-group {
/* portal: twitter */
    border-bottom: 1px solid #c8ccd1;
/*******************/
}
#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-group > .pi-item:last-child {
/* main page jquery tabs/sliders */
    border-bottom: 0;
/*********************************/
}
.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; }


/**********************/
.portable-infobox .pi-caption {
/**Portal definitons  */
    color: #72777d;
/**********************/
    font-style: italic;
    font-size: 0.9em;
    text-align: center;
    padding: 4px 10px;
}


.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-item:last-child {
border: 1px solid #000;
    border-bottom: 0;
}
}


.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 {
/* Smart data layout (used in some AC wiki infoboxes) */
border: 1px solid #999;
.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,
/* Mark redirects in Special:Allpages and Special:Watchlist */
.pi-horizontal-group-item.pi-data-value ul li {
.allpagesredirect a {
     text-align: left;
    color:#888;
    font-style:italic;
}
.watchlistredir a {
     color:#888;
    font-style:italic;
}
}


/* Infobox template style */
/* ==========================================================================
.infobox {
  Navigation Boxes (Navboxes)
background-color: transparent;
  ========================================================================== */
border: 2px solid #fff;
border-radius:7px;
-moz-border-radius:7px;
-webkit-border-radius:7px;
-o-border-radius:7px;
-ms-border-radius:7px;
color:#ffffff;
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 #fff;
}
.infobox.bordered .borderless td,
.infobox.bordered .borderless th {
    border:0;
}
.infobox.bordered .mergedtoprow td,
.infobox.bordered .mergedtoprow th {
    border:0;
    border-top:1px solid #fff;
    border-right:1px solid #fff;
}
.infobox.bordered .mergedrow td,
.infobox.bordered .mergedrow th {
    border:0;
    border-right:1px solid #fff;
}


/* 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 343: 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;
}
}


/**VG Template Class**/
/* ==========================================================================
  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 {
.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;
}
}


/* New Pages */
/* Display tagline below header */
.not-patrolled  {
#siteSub {
background-color: #0A0A0A;
    display: inline;
border: 1px solid #323232;
    font-size: 92%;
margin-bottom: -1px;
    font-weight: normal;
padding: 0 2px 2px;
}
}


/* TOC */
/* Recent changes: color additions/removals */
#toc, .toc {
.mw-plusminus-pos {
color: #FFF;
    color: #006500;
background-color: transparent;
border: 1px solid #6b6a6a;
}
}


/* Wikitable class for skinning normal tables */
.mw-plusminus-neg {
table.wikitable {
     color: #8b0000;
     margin:1em 1em 1em 0;
    background:#1c1c1c;
    border:1px #000000 solid;
    border-collapse:collapse;
}
}
table.wikitable th, table.wikitable td {
 
    border:1px #000000 solid;
/* Remove talk link from forum namespace */
     padding:0.2em;
body.ns-110 #ca-talk,
body.ns-110 #this_talk,
body.ns-110 #page_tabs li + li {
     display: none;
}
}
table.wikitable th {
 
     background:#1c1c1c;
/* Transparent background checker on image description pages */
    text-align:center;
#file img {
     background: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQAQMAAAAlPW0iAAAABlBMVEX////MzMw46qqDAAAAD0lEQVQI12P4z8BQARBDAKkC/dnKHb0AAAAASUVORK5CYII=") repeat;
}
}
table.wikitable caption, {
 
    margin-left:inherit;
/* Small reference list for Template:Reflist */
    margin-right:inherit;
.same-bg {
     font-weight:bold;
     background: none;
}
}


wikitable .filehistory th {
/* ==========================================================================
background-color: #003153 !important;
  Era Icons and WP-REAL icon positioning
background-image: -moz-linear-gradient(top, #090f0f, #6086a7) !important;
  ========================================================================== */
background-image: -webkit-gradient(linear, 0% 100%, 0% 100%, from(#090f0f), to(#6086a7)) !important;
 
}
#title-eraicons {
    display: inline-flex;
wikitable .filehistory td {
    flex-wrap: wrap;
background-color: #0A0A0A;
    width: calc(100% - 25px);
color: #E1E1E1;
border-color: #000000;
}
wikitable .filehistory tr {
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 {
#title-wpicon {
background-color: #003153 !important;
    display: inline-flex;
background-image: -moz-linear-gradient(top, #090f0f, #6086a7) !important;
    height: 30px;
background-image: -webkit-gradient(linear, 0% 100%, 0% 100%, from(#090f0f), to(#6086a7)) !important;
}
table.filehistory td {
background-color: #0A0A0A;
color: #E1E1E1;
border-color: #000000;
}
table.filehistory tr {
background-color: #003153;
background-image: -moz-linear-gradient(top, #090f0f, #6086a7);
background-image: -webkit-gradient(linear, 0% 100%, 0% 100%, from(#090f0f), to(#6086a7));
}
}


/* History diff */
#title-wpicon .floatright {
table.diff, td.diff-otitle, td.diff-ntitle { background: inherit }
    margin: 0;
}


/* Images */
.header-icons {
.WikiaArticle .thumbinner {
    margin-bottom: 20px;
background: transparent !important;
border-color: #6b6a6a !important;
border-radius:7px;
-moz-border-radius:7px;
-webkit-border-radius:7px;
-o-border-radius:7px;
-ms-border-radius:7px;
}
}


.picture-attribution {  
#mw-indicator-wp-real {
display:none !important;  
    position: absolute;
    right: 35px;
}
}


.article-thumb .caption {
/* Fix paragraph after Template:Era and Template:WP-REAL */
  color: #FFF;
#title-eraicons + p,
.title-wp-real + p {
    margin-top: 0;
}
}


/* Tab overrides*/
/* ==========================================================================
  Notice Templates (otheruses, stubs)
.tabberlive .tabbertab {
  ========================================================================== */
border: 1px #ffffff solid !important;
 
border-top:0 !important;
.otheruses,
background-color: #0A0A0A !important;
.stubnotice {
    width: fit-content;
    margin: 10px auto;
    border-radius: 7px;
    font-size: smaller;
    padding: 0.5em;
}
}
 
ul.tabbernav {
.otheruses {
border-bottom: 1px #ffffff solid !important;
    background: #c4dff9;
    border: 1px solid #acbdcd;
}
}
 
ul.tabbernav li a:link { color: #ffffff !important; }
.stubnotice {
ul.tabbernav li a:visited { color: #090f0f !important; }
    background: #cdcdcd;
    border: 1px solid #afafaf;
ul.tabbernav li.tabberactive a, ul.tabbernav li a:hover, ul.tabbernav li a {
     color: #000;
color: #ffffff !important;
border: 1px #ffffff solid !important;
background-image: -moz-linear-gradient(
     center bottom,
    rgb(96,134,167) 0%,
    rgb(9,15,15) 100%) !important;
background-image: -webkit-gradient(
    linear,
    left bottom,
    left top,
    color-stop(0, rgb(96,134,167)),
    color-stop(1, rgb(9,15,15))) !important;  
}
}


ul.tabbernav li a[disabled="disabled"] { font-weight: normal !important;  color: #9f9f9f !important; outline-style: none !important; }
.stubnotice a {
    color: #05769d;
ul.tabbernav li.tabberactive a {
color: #000 !important;
border-bottom: 1px solid #ffffff !important;  
}
}
/* end of tabber overrides*/


#WikiaArticleCategories {
/* ==========================================================================
background:url("http://images.wikia.com/assassinscreed/images/thumb/5/5e/AbstergoIndustriesLogoWhite.png/100px-AbstergoIndustriesLogoWhite.png") no-repeat scroll 99% #434242 !important;
  Tabber overrides (TabberNeue extension)
  ========================================================================== */
 
.tabber__header {
    border-bottom: 1px solid #a2a9b1;
}
}


/*Difference*/
/* ==========================================================================
  Image thumbnails
  ========================================================================== */
 
.thumbinner {
    border-radius: 4px;
}


table.diff {
/* Remove unnecessary breakline in infobox lists */
background: #000000;
.mw-parser-output ul ul {
}
    margin: 1px 0 1px 1.5em;
table.diff td {
background-color: #0A0A0A;
}
table.diff td div {
background-color: #191919;
}
.WikiaArticle td.diff-deletedline {
background-color: #190000;
color: #E10000;
}
.WikiaArticle td.diff-addedline {
background-color: #001900;
color: #00E100;
}
.diffchange-inline {
color: #a43e09;
}
}


/* ==========================================================================
  Mobile responsiveness for infobox
  ========================================================================== */
@media screen and (max-width: 720px) {
    aside.portable-infobox {
        float: none;
        width: 100%;
        margin: 0 0 15px 0;
    }


/* Setting poll bar color */
    .portable-infobox .pi-title {
        text-align: center;
    }


.pollAnswerVotes span {
    .portable-infobox .pi-data-label {
    color:#000;
        flex-basis: 30%;
    }
}
}


.pollAnswerVotes div[class^="wpPollBar"] {
/* Fix gallery-box dark background from Fandom templates */
     background-color:#FFF;
.gallery-box {
     background-color: #eaf3fb !important;
    border-color: #a2a9b1 !important;
    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;
}