FANDOM


(fix)
m (gallery tweaks)
 
Line 605: Line 605:
 
.custom-tooltip.wds-is-flipped:after,
 
.custom-tooltip.wds-is-flipped:after,
 
.custom-tooltip.wds-is-flipped:before { top: 0; top: -9px; }
 
.custom-tooltip.wds-is-flipped:before { top: 0; top: -9px; }
  +
  +
/* Gallery */
  +
.wikia-gallery > .wikia-gallery-item {
  +
background: rgba(0, 0, 0, .2);
  +
margin: 2px;
  +
}
  +
.wikia-gallery-item > .thumb > .gallery-image-wrapper {
  +
background: none;
  +
border: 0;
  +
}

Latest revision as of 16:15, May 27, 2019

/* CSS in this page will be loaded topmost */
 
/* Imports: dev:FandomIcons */
@import url("/load.php?mode=articles&articles=u:dev:MediaWiki:FandomIcons.css&only=styles");
 
/* Mark redirects in Special:Allpages and Special:Watchlist */
.allpagesredirect, .watchlistredir {
   font-style: italic;
}
/* wordmark/logo's effect */
.wds-community-header__wordmark{ transition: .3s ease-out; }
.wds-community-header__wordmark:hover{
    filter: brightness(1.6);
    -webkit-filter: brightness(1.6);
}
hr {
    background-color: #d6ad6f;
    height: 1px;
    border: 0;
}
h2 { 
    color: #ffe37b;
    border-color: #d6ad6f !important;
}
h2 .mw-headline{
    font-family: times;
    font-size:18pt !important;
}
 
/* Wikitable */
.WikiaArticle .wikitable { background: #00124b; }
.WikiaArticle .wikitable tr:hover td{ background: #1a2854 !important; }
.WikiaArticle .wikitable,
.WikiaArticle .wikitable th,
.WikiaArticle .wikitable td {
    border: 2px solid #00124b;
    background: #001041;
}
.WikiaArticle .wikitable tr:nth-child(2n) td { background: #000e38; }
.WikiaArticle .wikitable th {
    background: #000c2e;
}
 
.WikiaArticle .toc {
    margin-top: 20px;
    background: #000e3c;
    border-color: #d6ad6f;
}
.compact-toc .toclevel-2 { display: inline; } /* Level 2 compact TOC */
/* Custom height TOC */
.h-toc { overflow: auto; display: inline-block; position: relative; }
.h-toc .toc { margin: 0; }
.h-toc #toctitle { background: #000e3c; position: sticky; top: 0; }
 
/*********************************************************************/
/******************************* Poll ********************************/
/*********************************************************************/
.ajax-poll {
    width: auto !important;
    border: 0 !important;
    padding-left: 0 !important;
}
.ajax-poll .pollAnswer {
    position: relative;
}
.ajax-poll .pollAnswerVotes{
    position: static;
    margin-bottom: 8px;
}
.ajax-poll .pollAnswerName{
    position: absolute;
    top: 0;
    padding: 0;
    z-index: 3;
}
.ajax-poll .pollAnswerVotes span{
    top: initial;
    left: initial;
    right: 0;
}
.poll-entry, .ajax-poll .pollAnswerVotes {
    background: #0b1a4a;
    border: none;
}
.poll-entry div, .ajax-poll .pollAnswerVotes div { background: #015781 }
.poll-entry{
    margin-bottom: 8px;
    height: 23px;
}
.poll-entry .percent { display: none; }
.poll-entry:hover .percent { display: inline; }
.poll-entry:hover .num { display: none; }
 
/***************************************************************************/
/******************************** Stat box *********************************/
/***************************************************************************/
.statbox{
    border: 1px solid #d6ad6f;
    text-align: center;
    min-width: 30%;
    max-width: 65%;
}
.statbox td{
    box-shadow: inset 0 0 30px #001;
    padding: 5px;
}
.statbox th{ padding: 0 5px; }
.statbox img {
    max-height: 110px;
    width: auto;
}
.tabberlive .statbox{
    max-width: 100%;
    border: 0;
}
.s-cells td{ box-shadow: inset 0 0 10px #001; }
.nopad-cells td{ padding: 0; }
 
/***************************************************************************/
/********************************* Navbox **********************************/
/***************************************************************************/
.navbox{
    padding: 2px;
    text-align:center;
    font-family: times;
    clear: both;
    background: #000d34;
}
.navbox .top-row{ margin-top: 2px; }
.navbox .section{
    margin-top: 2px;
    width: 100%;
}
.navbox,
.navbox .section { position: relative; }
.navbox .note {
    background: #000d34;
    text-align: left;
    font-size: 13px;
    border-top: 2px solid #0b1a4a;
}
.navbox .h3 { border-left: 2px solid #0b1a4a; }
.navbox td,
.navbox th { border-top: 2px solid #0b1a4a; }
 
.navlink,
.navbox .section > .mw-collapsible-toggle,
.navbox > .mw-collapsible-toggle { position: absolute; }
 
.navlink { left: 2px; }
.navbox .section > .mw-collapsible-toggle { right: 0; }
.navbox > .mw-collapsible-toggle{ right: 2px; }
.navbox .mw-collapsible-toggle {
    cursor: pointer;
    width: 40px;
    height: 22px;
    margin-top: -2px;
}
.navbox .mw-collapsible-toggle-expanded:after { margin-top: 3px; }
.navbox .mw-collapsible-toggle:after {
    content: '';
    display: inline-block;
    height: 5px;
    width: 5px;
    position: absolute;
    top: 9px;
    margin-left: -4px;
    border-color: #000;
    border-color: currentColor;
    border-style: solid;
    border-width: 2px 2px 0 0;
    -ms-transform: rotate(-45deg);
    -o-transform: rotate(-45deg);
    -webkit-transform: rotate(-45deg);
    -moz-transform: rotate(-45deg);
    transform: rotate(-45deg);
}
.navbox .mw-collapsible-toggle-collapsed:after{
    -ms-transform: rotate(-45deg);
    -o-transform: rotate(-45deg);
    -webkit-transform: rotate(135deg);
    -moz-transform: rotate(135deg);
    transform: rotate(135deg);
}
 
/***************************************************************************/
/********************************** Card ***********************************/
/***************************************************************************/
.card-wrapper .card-name{
    text-align: center;
    font-size: 13pt;
    padding: 6px 0;
}
.card-wrapper .wikitable { margin: 0; width: 100%; }
.card-wrapper .wikitable,
.card-wrapper .wikitable td,
.card-wrapper .wikitable th { border: none; }
.card-wrapper .wikitable th { width: 110px; color: #fff; }
.card-wrapper:hover .card-image{ box-shadow: 3px -3px 15px #000; }
.card-wrapper .card-image { transition: .3s; }
 
/***************************************************************************/
/*************************** Portable Infobox ******************************/
/***************************************************************************/
.portable-infobox {
    background:url('https://vignette.wikia.nocookie.net/fireemblem/images/c/c1/PI-Topleft.png/revision/latest'), url('https://vignette.wikia.nocookie.net/fireemblem/images/a/a2/PI-Bottomright.png/revision/latest'), -ms-radial-gradient(#001866 25%, #000);
    background:url('https://vignette.wikia.nocookie.net/fireemblem/images/c/c1/PI-Topleft.png/revision/latest'), url('https://vignette.wikia.nocookie.net/fireemblem/images/a/a2/PI-Bottomright.png/revision/latest'), -moz-radial-gradient(#001866 25%, #000);
    background:url('https://vignette.wikia.nocookie.net/fireemblem/images/c/c1/PI-Topleft.png/revision/latest'), url('https://vignette.wikia.nocookie.net/fireemblem/images/a/a2/PI-Bottomright.png/revision/latest'), -webkit-radial-gradient(#001866 25%, #000);
    background:url('https://vignette.wikia.nocookie.net/fireemblem/images/c/c1/PI-Topleft.png/revision/latest'), url('https://vignette.wikia.nocookie.net/fireemblem/images/a/a2/PI-Bottomright.png/revision/latest'), radial-gradient(#001866 25%, #000);
	background-repeat: no-repeat;
	background-position: top left, bottom right;
	border: 1px solid #ffe37b;
    width: 285px;
}
.portable-infobox b { color: #ffe37b; }
.portable-infobox .pi-title,
.portable-infobox .custom-pi-title{
    color: #ffe37b;
    font-family: times;
    font-size: 18pt;
    padding: 10px 0 !important;
    text-align:center;
}
.portable-infobox .custom-pi-title br ~ a > img {
    margin-top: 10px;
    width: 100%;
    height: auto;
}
.portable-infobox .pi-secondary-background {
    background-color: transparent;
    border-top: 1px solid #ffe37b;
    text-align: center;
    margin-right: -25px;
}
.portable-infobox .pi-header:first-child::after {
    border-color: #ffe37b;
    margin-right: 25px;
}
.pi-border-color{ border-color: #001866 !important;}
.pi-data:not(:last-of-type), .pi-group { border: none; }
.pi-data:not([data-source='image']) { overflow: visible; }
.pi-item-spacing:not(.pi-tab-link) { padding: 5px 0; }
.pi-horizontal-group { padding: 1px 0; }
.pi-caption { text-align: center; }
.pi-data-label {padding: 5px 3px;}
.pi-horizontal-group .pi-data-label { padding: 5px 3px !important;}
.pi-horizontal-group td,
.pi-horizontal-group th { border: none !important; }
.pi-data-value { margin: auto;}
.portable-infobox > .pi-data:nth-child(2n+1){
    background: rgb(0, 11, 50);
    background: rgba(0, 0, 0, 0.2);
}
 
/* Adjusting tabber inside */
.portable-infobox .tabbertab,
.portable-infobox .tabbernav li.tabberactive a,
.portable-infobox .tabbernav li a,
.portable-infobox .tabbernav li a:hover{ background: none !important; }
.portable-infobox .tabberlive {	margin-top: 0;}
.portable-infobox .tabbernav,
.portable-infobox .tabbernav li a{ border: 0;}
.portable-infobox .tabbernav li,
.portable-infobox .tabbernav li:hover { margin: 0 !important; }
.portable-infobox .tabbertab {
    border: none !important;
    padding: 0 !important;
}
/* Styling image collection */
.pi-image-collection-tabs li {
    color: #a18445;
    font-weight: bold;
    border: none !important;
}
.pi-image-collection-tabs .current,
.pi-image-collection-tabs li:hover {
    background: none !important;
    color: #ffe37b;
}
.pi-image-collection-tab-content{ background: none; }
 
/*********************************************************************/
/***************************** Tabber ********************************/
/*********************************************************************/
/* Default */
.tabberlive{ display: inline-block !important; } /* auto-width tabber */
.tabbernav { border-color: #d6ad6f !important; }
.tabber p { margin: 0 !important; }
.tabbernav li.tabberactive a {
	background: #000d34 !important;
	color: #ffe37b !important;
	border-bottom: none !important;
	border-color:#d6ad6f !important;
	border-top-left-radius:5px;
	border-top-right-radius:5px;
	padding-bottom:4px;
}
.tabbernav li a {
	background: #000d34 !important;
	color: #a18445 !important;
	border-color:#a18445 !important;
	border-top-left-radius:5px;
	border-top-right-radius:5px;
}
.tabbernav li a:hover{
    background: #000d34 !important;
    border-color: #d6ad6f !important;
    color: #ffe37b !important;
}
.tabbernav li:first-child { margin-left: -3px; }
.tabberlive .tabbertab {
	border-color: #d6ad6f !important;
	background: #000d34;
	padding: 0 !important;
}
 
/* FEH */
.feh + .tabber .tabbernav { border-color: #33416f !important; }
.feh + .tabber li a {
    background: initial !important;
    border: 0;
    border-bottom: 1px solid;
    border-color:  #33416f !important;
    font-family: Georgia;
    padding-bottom: 3px;
    transition: .5s ease-out border-bottom;
}
.feh + .tabber .tabberactive a{ border-bottom: 1px solid !important; }
.feh + .tabber .tabbertab { background: none; border: 0; }
.feh + .tabberlive .statbox{ border: 1px solid #d6ad6f; }
 
/* Tabview styling */
.ns-0 .tabs { border-bottom: 1px solid #33416f; text-align: center; }
.ns-0 .tabs li{ display: inline-block; float: none; }
.ns-0 .tabs li a { color: #fff; }
.ns-0 .tabs li a,
.ns-0 .tabs li.selected {
    font-weight: normal;
    font-family: Georgia, times, serif;
    font-size: 18px;
    border: 0;
}
.ns-0 .tabs li.selected a {
    position: relative;
    color: #ffe37b;
}
.ns-0 .tabs li.selected a:after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(to right, #33416f 0%, #ffe37b 35%, #ffe37b 65%, #33416f 100%);
    transition: background 5s;
}
 
/*********************************************************************/
/***************************** Bxslider ******************************/
/*********************************************************************/
/* =========================== General ============================= */
.bx-wrapper {
    position: relative;
    margin: auto;
}
.bx-pager.bx-default-pager { text-align: center;}
.bx-pager-item {
    display: inline-block;
    margin-right: 15px;
}
.bx-controls-direction a{
    width: 40px;
    height: 60px;
    position: absolute;
    top: 30%;
    top: calc(50% - 30px);
    text-indent: -9999px;
    background-size: cover;
    background-repeat: no-repeat;
    opacity: .6;
    z-index: 99;
}
.bx-controls-direction a:hover{ opacity: 1; }
.bx-prev {
    left: 0;
    background-image: url('https://vignette.wikia.nocookie.net/fireemblem/images/d/d3/Slider-arr.png/revision/latest');
}
.bx-next {
    right: 0;
    background-image: url('https://vignette.wikia.nocookie.net/fireemblem/images/3/3d/Slider-arr-right.png/revision/latest');
}
/* =========================== Carousel ============================= */
.carousel .slide{
    height: 130px;
    border: 2px solid;
    border-color: transparent;
    overflow: hidden;
    width: 226px;
}
 
/* Main series */
.games .slide{
    border-color: #d6ad6f;
    background-color: #000;
}
.games .slide img {
    transition: 0.4s opacity;
    -webkit-transform: translateZ(0); /*fix transition bug in Chrome*/
}
.games .game{
    width: 100%;
    position: absolute;
    text-align: center;
    top: 0;
    opacity: 0;
    line-height: 130px; /* line-height = height, text vertically aligned center */
}
.games .game a{
    display: block;
    color: #fff;
    font-size: 150%;
}
.games .game a span{ /* text vertically aligned center */
    display: inline-block;
    vertical-align: middle;
    line-height: normal;
}
.games .slide .game { transition: 0.4s opacity; }
.games .slide:hover .game { opacity: 1; }
.games .slide:hover img { opacity: 0.4; }
 
/*********************************************************************/
/******************************* Misc ********************************/
/*********************************************************************/
 
.portable-infobox .bx-viewport { width: 285px !important; }
 
/* Clashing color fixes */
.mw-plusminus-pos{ color: #0f0; }
.mw-plusminus-neg{ color: #f00; }
table{ border-color: #ddd; }
.light { color:#333;} /* fix text and.. */
.light a { color: #05a !important; } /* ..link color where.. */
.light a:hover { color: #08b !important; } /* ..background is light */
.dark { color: #fff; }
.dark a { color: #3cf !important; }
.dark a:hover { color: #218CC1 !important; }
 
.responsive img{ width: 100%; height: auto; } /* make image fit screen size */
 
/* Selector styling */
.sel-container{
    display: inline;
    position: relative;
}
.sel-container select{
    background-color: #00124B;
    border-color: #d6ad6f;
    color: #fff;
    padding: 3px 5px;
    margin: 2px;
    box-shadow: inset 0 0 10px #000;
    cursor: pointer;
}
 
/* Preview template */
.p-container {
    overflow: hidden;
    margin: 3px;
    border: 2px solid;
    position: relative;
    display: inline-block;
}
.p-container > .link {
    position: absolute;
    text-align: center;
    width: 100%;
    background: rgb(0,0,0);
    background: rgba(0,0,0,.7);
    border-top: 1px solid;
    transition: .3s;
    bottom: -100px;
}
.p-container > .link > a {
    font-weight: bold;
    display: block;
}
.p-container:hover > .link { bottom: 0; }
 
.categories .p-container > .link {
    top: 0; bottom: 0;
    border-top: 0;
    background: rgba(0,0,0,.65);
}
.categories .p-container > .link > a {
    line-height: 80px;
    display: block;
    color: #fff;
}
 
/* Bracket */
.bracket {
    position:relative;
    margin-bottom: 20px;
}
.bracket .portrait img{
    border-radius: 40px;
    border: 1px solid #fff;
}
.bracket .connector {
    width: 40px;
    border: 3px solid;
    position: absolute;
}
.bracket .line {
    width: 40px;
    height: 3px;
    background: #fff;
    position: absolute;
    top: -10px;
}
.bracket .top {
    border-bottom: none;
    top: 40px;
}
.bracket .bottom {
    border-top: none;
    bottom: 40px;
}
.bracket .left {
    border-left: none;
    left: 80px;
}
.bracket .right {
    border-right: none;
    right: 80px;
}
 
.notice {
    background: rgba(0,0,0,.2);
    color: #fff;
    padding: 5px;
    border: 1px solid #d6ad6f;
}
 
.quote {
    font-family: times;
    font-size: 12pt;
    display: table;
    padding: 5px 10px;
    font-style: italic;
    border-left: 1px solid #d6ad6f;
    background: rgba(0,0,0,.2);
}
.quote + .quote { margin-top: 3px; }
 
/* Collapsible toggle */
[class^="mw-customtoggle"] { cursor: pointer;}
.mw-collapsible-toggle.arrow-toggle {
    float:  none;
    cursor: pointer;
    position: relative;
}
.mw-collapsible-toggle.arrow-toggle:before {
    content: '';
    display: inline-block;
    height: 5px;
    width: 5px;
    position: absolute;
    top: 50%;
    top: calc(50% - 5px);
    right: 15px;
    border-color: currentColor;
    border-style: solid;
    border-width: 2px 2px 0 0;
    -ms-transform: rotate(-45deg);
    -o-transform: rotate(-45deg);
    -webkit-transform: rotate(-45deg);
    -moz-transform: rotate(-45deg);
    transform: rotate(-45deg);
}
.mw-collapsible-toggle-collapsed.arrow-toggle:before {
    margin-top: -3px;
    -ms-transform: rotate(-45deg);
    -o-transform: rotate(-45deg);
    -webkit-transform: rotate(135deg);
    -moz-transform: rotate(135deg);
    transform: rotate(135deg);
}
 
/* wdsTooltips */
.custom-tooltip > .wds-dropdown__content {
    color: #000;
    min-width: 100%;
    padding: 3px;
    top: 100%;
    top: calc(100% + 8px);
}
.custom-tooltip:after,
.custom-tooltip:before { bottom: 0; bottom: -9px; }
.custom-tooltip.wds-is-flipped > .wds-dropdown__content {
    bottom: 100%;
    bottom: calc(100% + 8px);
}
.custom-tooltip.wds-is-flipped:after,
.custom-tooltip.wds-is-flipped:before { top: 0; top: -9px; }
 
/* Gallery */
.wikia-gallery > .wikia-gallery-item {
    background: rgba(0, 0, 0, .2);
    margin: 2px;
}
.wikia-gallery-item > .thumb > .gallery-image-wrapper {
    background: none;
    border: 0;
}
Community content is available under CC-BY-SA unless otherwise noted.