Welcome to Assassin's Creed Wiki! Log in and join the community.
MediaWiki:Common.css: Difference between revisions
Jump to navigation
Jump to search
imported>ReverieCode Adding class for Template:Otheruses |
imported>ReverieCode No edit summary |
||
| Line 547: | Line 547: | ||
/** Template:Otheruses **/ | /** Template:Otheruses **/ | ||
.otheruses { | .otheruses { | ||
width: | width: fit-content; | ||
margin: 10px auto; | margin: 10px auto; | ||
border-radius: 7px; | border-radius: 7px; | ||
Revision as of 11:19, 3 October 2023
/***** CSS placed here will be applied to all skins on the entire site. *****/
@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);
/* Borrowed from https://dev.fandom.com/wiki/InterlanguageFlags */
@import "/load.php?mode=articles&articles=u:dev:MediaWiki:InterlanguageFlags.css&only=styles";
/***************/
/* Overrides */
/***************/
pi-smart-data-label pi-data-label pi-secondary-font pi-item-spacing {
padding: 5px;
}
/***************/
/* Background */
/*************/
body.mediawiki {
background-repeat: no-repeat;
background-attachment: fixed;
background-position: center;
background-size: cover;
}
.WikiaPageBackground { /*
background: rgba(0, 0, 0, 0.28) !important;
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,
body.background-dynamic:before {
background-repeat: no-repeat;
/* background-position: center; */
background-size: cover;
}
.WikiaActivityModule,
.WikiaPagesOnWikiModule,
.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 */
.allpagesredirect a {
color:#888;
font-style:italic;
}
.watchlistredir a {
color:#888;
font-style:italic;
}
/* default skin for navigation boxes */
table.navbox {
background-color:#F9F9F9;
border:1px solid #AAA;
clear:both;
font-size:90%;
margin:1em 0em 0em;
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;
}
}
/* Standard Navigationsleisten, aka "box hiding thingy" from the German Wikipedia. Documentation at Wikipedia:NavFrame on Wikipedia. */
div.Boxmerge,
div.NavFrame {
margin:0px;
padding:4px;
border:1px solid #AAA;
text-align:center;
border-collapse:collapse;
font-size:95%;
}
div.Boxmerge div.NavFrame {
border-style:none;
border-style:hidden;
}
div.NavFrame + div.NavFrame {
border-top-style:none;
border-top-style:hidden;
}
div.NavPic {
background-color:#FFF;
margin:0px;
padding:2px;
float:left;
}
div.NavFrame div.NavHead {
height:1.6em;
font-weight:bold;
background-color:#CCF;
position:relative;
}
div.NavFrame p {
font-size:100%;
}
div.NavFrame div.NavContent {
font-size:100%;
}
div.NavFrame div.NavContent p {
font-size:100%;
}
div.NavEnd {
margin:0px;
padding:0px;
line-height:1px;
clear:both;
}
a.NavToggle {
position:absolute;
top:0px;
right:3px;
font-weight:normal;
font-size:smaller;
}
/* Small reference list for Template:Reflist */
ol.references {
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 */
ol.references > li:target,
sup.reference:target,
span.citation:target,
cite:target {
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 {
color: #006500;
}
.mw-plusminus-neg {
color: #8B0000;
}
/* remove talk link from forum namespace (monobooks/newskins/quartzskins/monaco) -Splarka */
body.ns-110 #ca-talk, body.ns-110 #this_talk, body.ns-110 #page_tabs li+li {
display:none;
}
/* Put a checker background at the image description page only visible if the image has transparent background */
#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 {
line-height: 1.5em;
list-style: none;
margin: .3em 0 0;
padding: 0;
}
.nonumtoc #toc ul ul,
.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
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-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; }
/**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 {
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**/
#featured_content .right {
float: left;
width: 322px;
}
#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 */
.not-patrolled {
background-color: #0A0A0A;
border: 1px solid #323232;
margin-bottom: -1px;
padding: 0 2px 2px;
}
/* TOC */
#toc, .toc {
color: #FFF;
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 {
margin-left:inherit;
margin-right:inherit;
font-weight:bold;
}
wikitable .filehistory th {
background-color: #003153 !important;
background-image: -moz-linear-gradient(top, #090f0f, #6086a7) !important;
background-image: -webkit-gradient(linear, 0% 100%, 0% 100%, from(#090f0f), to(#6086a7)) !important;
}
wikitable .filehistory td {
background-color: #0A0A0A;
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 {
background-color: #003153 !important;
background-image: -moz-linear-gradient(top, #090f0f, #6086a7) !important;
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));
}
/* Images */
.WikiaArticle .thumbinner {
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;
border-color: #f9e199;
border: 1px solid #f9e199;
color: #D5D4D4;
}
.picture-attribution {
display:none !important;
}
.article-thumb .caption {
color: #FFF;
}
/* Tab overrides*/
.tabberlive .tabbertab {
border: 1px #ffffff solid !important;
border-top:0 !important;
background-color: #0A0A0A !important;
}
ul.tabbernav {
border-bottom: 1px #ffffff solid !important;
}
ul.tabbernav li a:link { color: #ffffff !important; }
ul.tabbernav li a:visited { color: #090f0f !important; }
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; }
ul.tabbernav li.tabberactive a {
color: #000 !important;
border-bottom: 1px solid #ffffff !important;
}
aside.portable-infobox {
width:300px;
background-color: #333333;
}
.tabbernav > li {
line-height: 10px !important;
}
.tabbernav {
padding-bottom: 0px !important;
}
.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*/
#articleCategories {
background:url("https://images.wikia.nocookie.net/assassinscreed/images/thumb/5/5e/AbstergoIndustriesLogoWhite.png/100px-AbstergoIndustriesLogoWhite.png") no-repeat scroll 99% !important;
}
/* Setting poll bar color */
.pollAnswerVotes span {
color:#000;
}
.pollAnswerVotes div[class^="wpPollBar"] {
background-color:#FFF;
}
/* Fixing RC autocomments */
.autocomment {
color: #FFF;
}
.activityfeed .subtle {
color: #FFF;
}
/* Fixing Gallery */
.theme-fandomdesktop-dark .wikia-gallery-item .lightbox-caption,
.theme-fandomdesktop-dark .wikia-gallery-item .title,
.theme-fandomdesktop-dark .wikia-gallery-caption-below .lightbox-caption {
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 {
display: none;
}
/* Wikia article issue */
.WikiaArticle {
position: relative;
}
/* Isu Devanagari */
@font-face {
font-family: IsuDevanagari;
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 {
font-family: IsuDevanagari;
}
/* This section is to attempt a fix for the faction infobox */
.portable-infobox .pi-data-label{
flex-basis: 92px;
}
/* This section is to fix the WP-REAL icon on the same line as the eraicons */
#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;
}
/* Templates */
/** Template:Otheruses **/
.otheruses {
width: fit-content;
margin: 10px auto;
border-radius: 7px;
font-size: smaller;
padding: 0.5em;
}
.theme-fandomdesktop-dark .otheruses {
background: #1f4469;
border: 1px solid #000;
}
.theme-fandomdesktop-light .otheruses {
background: #c4dff9;
border: 1px solid #acbdcd;
}