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>Cristophorus35
m Adjustment removed.
Restyle for Vector light theme — remove Fandom CSS
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 *****/


@import url("/load.php?debug=false&&allinone=0&lang=en&mode=articles&articles=MediaWiki:Wikia.css/comments|MediaWiki:Wikia.css/highlight|MediaWiki:Wikia.css/forum|MediaWiki:Mainpage.css|MediaWiki:LightDarkTheming.css|MediaWiki:CustomArticle.css|MediaWiki:PortalSlider.css&only=styles");
/* ==========================================================================
@import url(https://fonts.googleapis.com/css?family=Aldrich|Cinzel|Lora);
  Google Fonts
  ========================================================================== */
@import url('https://fonts.googleapis.com/css2?family=Aldrich&family=Cinzel&family=Lora&display=swap');


/* Borrowed from https://dev.fandom.com/wiki/InterlanguageFlags */
/* ==========================================================================
@import "/load.php?mode=articles&articles=u:dev:MediaWiki:InterlanguageFlags.css&only=styles";
  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 {
/* Overrides  */
    margin: 0;
/***************/
     padding-left: 1.2em;
pi-smart-data-label pi-data-label pi-secondary-font pi-item-spacing {
     padding: 5px;
}
}


/***************/
.portable-infobox .pi-data-value ul li {
/* Background */
    text-align: left;
/*************/
}


body.mediawiki  {
.portable-infobox .pi-group {
background-repeat: no-repeat;
     border-bottom: 1px solid #c8ccd1;
    background-attachment: fixed;
    background-position: center;
     background-size: cover;
}
}


.WikiaPageBackground { /*
.portable-infobox .pi-group > .pi-item:last-child {
  background: rgba(0, 0, 0, 0.28) !important;
    border-bottom: 0;
  border: 2px solid #bb7252;
  -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; */
  background-image:url(https://images.wikia.nocookie.net/__cb20150523132209/assassinscreed/images/7/79/Background_Transparency.png);
  background-repeat:repeat;
}
}


body.background-dynamic:after,
.portable-infobox .pi-caption {
body.background-dynamic:before {
    color: #72777d;
     background-repeat: no-repeat;
    font-style: italic;
/*    background-position: center; */
     font-size: 0.9em;
     background-size: cover;
    text-align: center;
     padding: 4px 10px;
}
}


.WikiaActivityModule,
.portable-infobox > .pi-item:last-child {
.WikiaPagesOnWikiModule,
     border-bottom: 0;
.LatestPhotosModule,
.WikiaSpotlightsModule,
.HotSpotsModule,
.UserProfileAchievementsModule,
.WikiaLatestEarnedBadgesModule,
.FollowedPagesModule,
.CommunityCornerModule,
.videos-module-rail,
.insights-module,
.insights-dark module {
     margin: 0px auto;
    -moz-border-radius: 10px !important;
    -webkit-border-radius:10px!important;
    -o-border-radius:10px!important;
    border-radius:0px!important;
    background: rgba(0, 0, 0, 0.28) !important;
    border: 1px solid #bb7252  !important;
}
}


/* Mark redirects in Special:Allpages and Special:Watchlist */
/* Smart data layout (used in some AC wiki infoboxes) */
.allpagesredirect a {
.pi-smart-data-value.pi-data-value ul,
     color:#888;
.pi-smart-data-value.pi-data-value ul li {
    font-style:italic;
     text-align: left;
}
}
.watchlistredir a {
 
     color:#888;
.pi-horizontal-group-item.pi-data-value ul,
    font-style:italic;
.pi-horizontal-group-item.pi-data-value ul li {
     text-align: left;
}
}


/* default skin for navigation boxes */
/* ==========================================================================
  Navigation Boxes (Navboxes)
  ========================================================================== */
 
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;
}
.same-bg {
    background:none
}
}


/* Highlight clicked reference in blue to help navigation */
/* Highlight clicked reference in blue */
ol.references > li:target,
ol.references > li:target,
sup.reference:target,
sup.reference:target,
span.citation:target,
span.citation:target,
cite:target {  
cite:target {
     background-color: #DEF;
     background-color: #def;
}
.theme-fandomdesktop-dark ol.references > li:target,
.theme-fandomdesktop-dark sup.reference:target,
.theme-fandomdesktop-dark span.citation:target,
.theme-fandomdesktop-dark cite:target {
background-color: #234;
}
 
/* Display text below main article header, located at MediaWiki:Tagline */
#siteSub {
    display:inline;
    font-size:92%;
    font-weight:normal;
}
}


/* Colour the number of characters added/removed in the recent changes */
/* ==========================================================================
.mw-plusminus-pos {
  Table of Contents
    color: #006500;
  ========================================================================== */
}


.mw-plusminus-neg {
#toc,
     color: #8B0000;
.toc {
     background-color: #f8f9fa;
    border: 1px solid #a2a9b1;
    padding: 5px;
}
}


/* remove talk link from forum namespace (monobooks/newskins/quartzskins/monaco) -Splarka */
/* No-number TOC variant */
body.ns-110 #ca-talk, body.ns-110 #this_talk, body.ns-110 #page_tabs li+li {
.nonumtoc .tocnumber {
     display:none;
     display: none;
}
 
/* Put a checker background at the image description page only visible if the image has transparent background */
#file img {
    background: url("https://images.wikia.nocookie.net/central/images/5/5d/Checker-16x16.png") repeat;
}
}


/* 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 235: 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**/
.vgr th {
background-color: #003153;
background-image: -moz-linear-gradient(top, #090f0f, #6086a7);
background-image: -webkit-gradient(linear, 0% 100%, 0% 100%, from(#090f0f), to(#6086a7));
color: #E1E1E1;
border-color: #000000;
}
.vgr td {
background-color: #0A0A0A;
color: #E1E1E1;
border-color: #000000;
}
.vgr tr:hover td {
background-color: #192c32;
color: #090f0f;
}
}


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


/**FB**/
table.wikitable {
#featured_content .right {
    margin: 1em 1em 1em 0;
float: left;
    background: #f8f9fa;
width: 322px;
    border: 1px solid #a2a9b1;
}
    border-collapse: collapse;
#featured_content .facebook_panel {
background-image: url('https://images.wikia.nocookie.net/assassinscreed/images/e/e8/Facebookpanel.png');
width: 322px;
height: 329px;
}
#featured_content .facebook_frame {
padding-left: 13px;
padding-top: 13px;
}
}


/* New Pages */
table.wikitable th,
.not-patrolled  {
table.wikitable td {
background-color: #0A0A0A;
    border: 1px solid #a2a9b1;
border: 1px solid #323232;
    padding: 0.2em 0.4em;
margin-bottom: -1px;
padding: 0 2px 2px;
}
}


/* TOC */
table.wikitable th {
#toc, .toc {
    background: #eaecf0;
color: #FFF;
    text-align: center;
background-color: transparent;
border: 1px solid #6b6a6a;
}
}


/* Wikitable class for skinning normal tables */
table.wikitable {
    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 {
table.wikitable caption {
     margin-left:inherit;
     margin-left: inherit;
     margin-right:inherit;
     margin-right: inherit;
     font-weight:bold;
     font-weight: bold;
}
}


wikitable .filehistory th {
/* ==========================================================================
background-color: #003153 !important;
  VG Template (game data tables)
background-image: -moz-linear-gradient(top, #090f0f, #6086a7) !important;
  ========================================================================== */
background-image: -webkit-gradient(linear, 0% 100%, 0% 100%, from(#090f0f), to(#6086a7)) !important;
 
}
.vgr th {
    background-color: #003153;
wikitable .filehistory td {
    color: #e1e1e1;
background-color: #0A0A0A;
    border-color: #a2a9b1;
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 {
.vgr td {
background-color: #003153 !important;
    background-color: #f8f9fa;
background-image: -moz-linear-gradient(top, #090f0f, #6086a7) !important;
    color: #202122;
background-image: -webkit-gradient(linear, 0% 100%, 0% 100%, from(#090f0f), to(#6086a7)) !important;
    border-color: #a2a9b1;
}
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));
}
}


/* Images */
.vgr tr:hover td {
.WikiaArticle .thumbinner {
    background-color: #eaecf0;
border-radius:7px;
-moz-border-radius:7px;
-webkit-border-radius:7px;
-o-border-radius:7px;
-ms-border-radius:7px;
}
}


.WikiaArticle .article-thumb {
/* ==========================================================================
    background-color: #322d1f;
  File history tables
    border-color: #f9e199;
  ========================================================================== */
    border: 1px solid #f9e199;
    color: #D5D4D4;
}


.picture-attribution {  
table.filehistory th {
display:none !important;  
    background-color: #eaecf0;
}
}


.article-thumb .caption {
table.filehistory td {
  color: #FFF;
    background-color: #f8f9fa;
    border-color: #a2a9b1;
}
}


/* Tab overrides*/
/* ==========================================================================
  Misc Fixes
  ========================================================================== */


.tabberlive .tabbertab {
/* Mark redirects in Special:Allpages and Special:Watchlist */
border: 1px #ffffff solid !important;
.allpagesredirect a,
border-top:0 !important;
.watchlistredir a {
background-color: #0A0A0A !important;
    color: #888;
    font-style: italic;
}
}
 
ul.tabbernav {
/* Display tagline below header */
border-bottom: 1px #ffffff solid !important;
#siteSub {
    display: inline;
    font-size: 92%;
    font-weight: normal;
}
}
 
ul.tabbernav li a:link { color: #ffffff !important; }
/* Recent changes: color additions/removals */
ul.tabbernav li a:visited { color: #090f0f !important; }
.mw-plusminus-pos {
    color: #006500;
ul.tabbernav li.tabberactive a, ul.tabbernav li a:hover, ul.tabbernav li a {
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; }
.mw-plusminus-neg {
    color: #8b0000;
ul.tabbernav li.tabberactive a {
color: #000 !important;
border-bottom: 1px solid #ffffff !important;  
}
}


aside.portable-infobox {
/* Remove talk link from forum namespace */
     width:300px;
body.ns-110 #ca-talk,
    background-color: #333333;
body.ns-110 #this_talk,
body.ns-110 #page_tabs li + li {
     display: none;
}
}
 
.tabbernav > li {
/* Transparent background checker on image description pages */
line-height: 10px !important;
#file img {
    background: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQAQMAAAAlPW0iAAAABlBMVEX////MzMw46qqDAAAAD0lEQVQI12P4z8BQARBDAKkC/dnKHb0AAAAASUVORK5CYII=") repeat;
}
}
.tabbernav {
 
padding-bottom: 0px !important;
/* Small reference list for Template:Reflist */
}
.same-bg {
     background: none;
.portable-infobox {
     width:310px !important;
}
.portable-infobox .pi-navigation,
.portable-infobox .pi-header,
.portable-infobox .pi-caption,
.portable-infobox .pi-data-value,
.portable-infobox .pi-data-label {
    -webkit-hyphens:none;
    -moz-hyphens:none;
    -epub-hyphens:none;
    -ms-hyphens:none;
    hyphens:none;
}
}


/* end of tabber overrides*/
/* ==========================================================================
  Era Icons and WP-REAL icon positioning
  ========================================================================== */


#articleCategories {
#title-eraicons {
background:url("https://images.wikia.nocookie.net/assassinscreed/images/thumb/5/5e/AbstergoIndustriesLogoWhite.png/100px-AbstergoIndustriesLogoWhite.png") no-repeat scroll 99% !important;
    display: inline-flex;
    flex-wrap: wrap;
    width: calc(100% - 25px);
}
}


 
#title-wpicon {
/* Setting poll bar color */
    display: inline-flex;
 
     height: 30px;
.pollAnswerVotes span {
     color:#000;
}
}


.pollAnswerVotes div[class^="wpPollBar"] {
#title-wpicon .floatright {
     background-color:#FFF;
     margin: 0;
}
}


/* Fixing RC autocomments */
.header-icons {
.autocomment {
    margin-bottom: 20px;
color: #FFF;
}
}


.activityfeed .subtle {
#mw-indicator-wp-real {
color: #FFF;
    position: absolute;
    right: 35px;
}
}


/* Fixing Gallery */
/* Fix paragraph after Template:Era and Template:WP-REAL */
.theme-fandomdesktop-dark .wikia-gallery-item .lightbox-caption,
#title-eraicons + p,
.theme-fandomdesktop-dark .wikia-gallery-item .title,
.title-wp-real + p {
.theme-fandomdesktop-dark .wikia-gallery-caption-below .lightbox-caption {
    margin-top: 0;
color: #FFF;
}
.theme-fandomdesktop-light .wikia-gallery-item .lightbox-caption,
.theme-fandomdesktop-light .wikia-gallery-item .title,
.theme-fandomdesktop-light .wikia-gallery-caption-below .lightbox-caption {
color: #3a3a3a;
}
}


/* This obstructs user experience. It needs to go */
/* ==========================================================================
.ebs-container {
  Notice Templates (otheruses, stubs)
    display: none;
  ========================================================================== */
}


/* Wikia article issue */
.otheruses,
.WikiaArticle {
.stubnotice {
     position: relative;
     width: fit-content;
    margin: 10px auto;
    border-radius: 7px;
    font-size: smaller;
    padding: 0.5em;
}
}


/* Isu Devanagari */
.otheruses {
@font-face {
    background: #c4dff9;
  font-family: IsuDevanagari;
    border: 1px solid #acbdcd;
  src: url(https://doc-00-6c-docs.googleusercontent.com/docs/securesc/u08kukp0bg4ri8k2096rrf57ambhdf6u/rutjbeliij0l41rvoqf8smlmdss3o33t/1611803175000/11385823252313310745/02250969256977242478/1z0wsd9FPLNpxRxaPrEuzZxLfSd0vh0G-?e=download&authuser=0&nonce=q8mkr6t6rm4ik&user=02250969256977242478&hash=pgnjup60r21ujfovut4aoj2hsobvjd0n) format('ttf');
}
}


.isu {
.stubnotice {
  font-family: IsuDevanagari;
    background: #cdcdcd;
    border: 1px solid #afafaf;
    color: #000;
}
}


/* This section is to attempt a fix for the faction infobox */
.stubnotice a {
.portable-infobox .pi-data-label{
    color: #05769d;
  flex-basis: 92px;
}
}


/* This section is to fix the WP-REAL icon on the same line as the eraicons */
/* ==========================================================================
#title-eraicons {
  Tabber overrides (TabberNeue extension)
display: inline-flex;
  ========================================================================== */
flex-wrap: wrap;
width: calc(100% - 25px);
}


#title-wpicon {
.tabber__header {
display: inline-flex;
    border-bottom: 1px solid #a2a9b1;
height: 30px;
}
}


#title-wpicon .floatright {
/* ==========================================================================
margin: 0;
  Image thumbnails
}
  ========================================================================== */


.header-icons {
.thumbinner {
margin-bottom: 20px;
    border-radius: 4px;
}
}


#mw-indicator-wp-real {
/* Remove unnecessary breakline in infobox lists */
position: absolute;
.mw-parser-output ul ul {
right: 35px;
    margin: 1px 0 1px 1.5em;
}
}


/* Templates */
/* ==========================================================================
  Mobile responsiveness for infobox
  ========================================================================== */


/** Notice templates **/
@media screen and (max-width: 720px) {
.otheruses, .stubnotice {
    aside.portable-infobox {
  width: fit-content;
        float: none;
  margin: 10px auto;
        width: 100%;
  border-radius: 7px;
        margin: 0 0 15px 0;
  font-size: smaller;
    }
  padding: 0.5em;
}


.theme-fandomdesktop-dark .otheruses {
    .portable-infobox .pi-title {
  background: #1f4469;
        text-align: center;
  border: 1px solid #000;
    }
}
.theme-fandomdesktop-light .otheruses {
  background: #c4dff9;
  border: 1px solid #acbdcd;
}


.theme-fandomdesktop-dark .stubnotice {
    .portable-infobox .pi-data-label {
  background: #8d8d8d;
        flex-basis: 30%;
  border: 1px solid #000;
    }
  color: #000;
}
.theme-fandomdesktop-light .stubnotice {
  background: #cdcdcd;
  border: 1px solid #afafaf;
  color: #000;
}
}
.theme-fandomdesktop-dark .stubnotice a { color: #155381; }
.theme-fandomdesktop-light .stubnotice a { color: #05769d; }

Revision as of 22:34, 3 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%;
    }
}