MediaWiki:Common.css

/* CSS placed here will be applied to all skins Any fixes to the light and dark themes will go to Fandomdesktop.css

/* Imports */ @import url("/MediaWiki:Infobox.css?ctype=text/css&action=raw"); @import url("/MediaWiki:Themes.css?ctype=text/css&action=raw"); @import url("/MediaWiki:Portal.css?ctype=text/css&action=raw"); @import url("/MediaWiki:Circular.css?ctype=text/css&action=raw"); @import url("/MediaWiki:Pokemon.css?ctype=text/css&action=raw"); @import url("/MediaWiki:Mainpage.css?ctype=text/css&action=raw"); @import url("/MediaWiki:Colors.css?ctype=text/css&action=raw"); @import url("/MediaWiki:Notice.css?ctype=text/css&action=raw"); /* @import "/load.php?mode=articles&articles=u:dev:MediaWiki:BalancedSlider.css&only=styles"; */ @import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,400;0,500;0,700;1,400;1,500;1,700&display=swap');

/* Mark redirects in Special:Allpages and Special:Watchlist */ .allpagesredirect { font-style: italic; } .allpagesredirect:after { color: #808080; content: " (redirect)" } .watchlistredir { font-style: italic; } /* Variables */
 * root {

--color-crat: #228b22; --color-admin: #0080ff; --color-cmod: #00ff00; }

.theme-fandomdesktop-light { --secondary-bg-color: #f9f9f9; --tertiary-bg-color: #f0f0f0; }

.theme-fandomdesktop-dark { --secondary-bg-color: #2f2f2f; --tertiary-bg-color: #393939; }

/* Staff highlighting */ a[href$=":Sid_the_Kpop_fan"], a[href$="/Sid_the_Kpop_fan"], a[href$=":Sid%20the%20Kpop%20fan"], a[href$="/Sid%20the%20Kpop%20fan"] { color: var(--color-crat) !important; font-weight: bold !important; }

/******************* * Navboxes *******************/ /* .navbox { --navbox-bg-color: white; --navbox-text-color: black; --navbox-title-color: #ccf; --navbox-header-color: #ddf; --navbox-alt-color: #f7f7f7; --navbox-border-color: #aaa; } .navbox { width: 100%; background: var(--navbox-bg-color, white); color: var(--navbox-text-color, black); margin: 1em auto; font-size: 84%; clear: both; padding: 2px; border-spacing: 0; border: 1px solid var(--navbox-border-color, #AAA); }
 * CSS Vars
 * Note: The linter will throw an error. See this page for more info.

/* Merges navboxes that are directly under eachother */ .navbox + .navbox { margin-top: -11px; }

.navbox .navbox-title { background: var(--navbox-title-color, #CCF); color: var(--navbox-text-color, black); font-weight: bold; }

.navbox .navbox-vde { float:left; width:65px; }

.navbox .navbox-title-padright { padding-right: 65px; }

.navbox .navbox-title-padleft { padding-left: 65px; }

.navbox .navbox-subgroup { border-spacing: 0; width: 100%; }

.navbox .navbox-gutter { height: 2px; }

.navbox .navbox-subgroup .navbox-gutter { background: var(--navbox-bg-color, white); }

.navbox .navbox-section-row > td { padding: 0; height: 100%; }

.navbox .navbox-section { width: 100%; border-spacing: 0; }

.navbox .navbox-above, .navbox .navbox-below { background: var(--navbox-header-color, #DDF); text-align: center; }

.navbox .navbox-image { background: var(--navbox-bg-color, white); text-align: center; }

.navbox .navbox-group, .navbox .navbox-header { background: var(--navbox-header-color, #DDF); color: var(--navbox-text-color, black); font-weight: bold; height: 100%; padding: 2px 4px; }

.navbox .navbox-header-collapsible { padding-left: 65px; }

.navbox .navbox-group { text-align: right; padding-right: 1em; min-width: 150px; }

.navbox .navbox-group, .navbox .navbox-image-left { border-right: 2px solid var(--navbox-bg-color, white); }

.navbox-image-right { border-left: 2px solid var(--navbox-bg-color, white); }

.navbox .navbox-list { background: var(--navbox-bg-color, white); color: var(--navbox-text-color, black); width: 100%; height: 100%; padding: 0; }

.navbox .alt > .navbox-list { background: var(--navbox-alt-color, #F7F7F7); }

.navbox .navbox-list div { padding: 0px 4px; }

.navbox .navbox-list.no-group { text-align: center; padding-top: 2px; padding-bottom: 2px; }

.navbox .mw-collapsible-toggle { width: 65px; }

/* hlist */ .hlist ul { margin: 0; list-style: none; }

.hlist li, .hlist ul ul { display: inline; }

.hlist li a { white-space: nowrap; }

.hlist ul ul:before { content: "(" }

.hlist ul ul:after { content: ")" }

.hlist li:after { content: " • "; }

.hlist ul ul li:after { content: " • "; }

.hlist li:last-child:after, .hlist ul ul li:last-child:after { content: none; }

/* Make the list of references smaller */ ol.references { font-size: 90%; margin-bottom: 0.5em; }

/* Hatnotes and disambiguation notices */ .hatnote { font-style: italic; } .hatnote i { font-style: normal; } div.hatnote { padding-left: 1.6em; margin-bottom: 0.5em; } div.hatnote + div.hatnote { margin-top: -0.5em; }

/** * CSS for Module:Documentation and Template:Documentation */

/** * ====================== * Template documentation * ====================== */ .template-documentation { border: 1px solid #CCC; border-color: var(--theme-border-color, #CCC); margin: 1em 0; }

.template-documentation .template-documentation-header { background-color: #EEE; background-color: var(--theme-page-background-color--secondary, #EEE); border-bottom: 1px solid #CCC; border-color: var(--theme-border-color, #CCC); padding: 1em; }

.template-documentation .template-documentation-langs { background-color: #F6F6F6; background-color: rgba(var(--theme-border-color--rgb, 246,246,246), 0.15); border-bottom: 1px solid #CCC; border-color: var(--theme-border-color, #CCC); display: flex; flex-wrap: wrap; list-style: none; margin: 0; padding: 0; padding-bottom: 0.5em }

.template-documentation .template-documentation-langs li { margin: 0 0 0 1em; padding: 0.5em 0 0; }

.template-documentation .template-documentation-langs li.selected { order: -1; }

.template-documentation .template-documentation-langs li.selected a { color: black; font-weight: bold; }

.template-documentation .template-documentation-content { overflow-y: auto; padding: 1em; }

.template-documentation .template-documentation-footer { background-color: #EEE; background-color: var(--theme-page-background-color--secondary, #EEE); border-top: 1px solid #CCC; border-color: var(--theme-border-color, #CCC); font-size: 100%; padding: .5em 1em; text-align: right; }

/* */ .jTemplate { font-weight: normal; font-style: normal; } .jTemplate .romaji { font-style: italic; } .jTemplate .lit:before { content: '“'; } .jTemplate .lit:after { content: '”'; } .jTemplate .help { font-size: 9px; font-weight: bold; line-height: 0; vertical-align: super; }

/* */
 * root {

--pull-quote-max-width: 80%; --pull-quote-text-color: var(--theme-page-text-color, rgba(0, 0, 0, .8)); --pull-quote-mark-color: rgba(0, 0, 0, .15); --pull-quote-mark-font: "Times New Roman", serif; --pull-quote-hyphens: auto; --pull-quote-frame-color: #bbb; }

/* #content added as a parent selector to the following in order to override default blockquote styles. */

display: flex; flex-wrap: wrap; max-width: var(--pull-quote-max-width); margin: 1em auto; font-size: 1em; line-height: 1.8; }
 * 1) content .pull-quote {

flex-basis: 100%; position: relative; padding: 0 2em; hyphens: var(--pull-quote-hyphens); color: var(--pull-quote-text-color); }
 * 1) content .pull-quote__text {

position: absolute; font-size: 3em; font-family: var(--pull-quote-mark-font); font-weight: 700; color: var(--pull-quote-mark-color); }
 * 1) content .pull-quote__text::before, #content .pull-quote__text::after {

content: "“"; top: 0; left: 0; line-height: 1; }
 * 1) content .pull-quote__text::before {

content: "”"; bottom: 0; right: 0; line-height: 0.2; }
 * 1) content .pull-quote__text::after {

margin-left: auto; }
 * 1) content .pull-quote__source {

content: "—"; }
 * 1) content .pull-quote__source::before {

border: 1px solid var(--pull-quote-frame-color); border-left: 0; border-right: 0; padding: 1em 0; text-align: justify; }
 * 1) content .pull-quote--right, #content .pull-quote--left {

float: right; margin: 1em 0 1em 2em; }
 * 1) content .pull-quote--right {

float: left; margin: 1em 2em 1em 0; }
 * 1) content .pull-quote--left {

/*http://codepen.io/agasthyanavaneeth/pen/nvgCz.css*/ dl.transcript_dialogue dd { display: inline; }

dl.transcript_dialogue dd:after { content: ''; display: block; }

dl.transcript_dialogue dt { display: inline-block; min-width: 100px; }

dt.transcript_author { text-align: right; } dt.transcript_quote { color: blue; }

/* =========    HOVER LIST ========== */ .increase img { opacity: 1; filter: alpha(opacity=100); transition: all 0.6s ease; } .increase img:hover { opacity: 0.8; filter: alpha(opacity=80); transform:scaleX(1.05) scaleY(1.05); } .hoverimage img { -webkit-transition: all 1s ease; -moz-transition: all 1s ease; -o-transition: all 1s ease; -ms-transition: all 1s ease; transition: all 1s ease; opacity: 1; filter: alpha(opacity=100); } .hoverimage img:hover { opacity: 0.5; filter: alpha(opacity=50); } .grayscalehover { -webkit-transition: all 1s ease; -moz-transition: all 1s ease; -o-transition: all 1s ease; -ms-transition: all 1s ease; transition: all 1s ease; } .grayscalehover:hover { -webkit-filter: invert(100%); } .hoverspin img { opacity: 1; filter: alpha(opacity=100); transition: all 0.6s ease; } .hoverspin img:hover { opacity: 0.5; filter: alpha(opacity=50); -webkit-transform: rotate(360deg); -moz-transform: rotate(360deg); -o-transform: rotate(360deg); -ms-transform: rotate(360deg); transform: rotate(360deg); }

/** Rotate **/ .rotate img { opacity: 1; filter: alpha(opacity=100); transition: all 1.5s ease; } .rotate img:hover { opacity: 0.5; filter: alpha(opacity=50); -webkit-transform: rotateY(360deg); -moz-transform: rotateY(360deg); -o-transform: rotateY(360deg); -ms-transform: rotateY(360deg); transform: rotateY(360deg); } /** Inclination **/ .inclinate img { opacity: 1; filter: alpha(opacity=100); transition: all 0.6s ease; } .inclinate img:hover { opacity: 0.5; filter: alpha(opacity=50); -webkit-transform: skewX(20deg); -moz-transform: skewX(20deg); -o-transform: skewX(20deg); -ms-transform: skewX(20deg); transform: skewX(20deg); }

/* Spanse - Credits to Fate/Grand Order Wiki */ .spanse, .spancr, .spanmm, .spanen, .spanqunew, .spansk, .navbutton { float:left; display: block; position: relative; z-index: 99; } .spanse2, .spancr2, .spanmm2, .spanen2, .spanqunew2, .spansk2, .navbutton { transition-duration: 1s; transition-timing-function: ease-out; display: block; position: absolute; z-index: 100; } .spanse2, .spancr2, .spanmm2, .spanen2, .spanqunew2, .spansk2, .navbutton { opacity: 0; } .spanse2:hover, .spanmm2:hover, .spanen2:hover, .spancr2:hover, .spanqunew2:hover, .spansk2:hover, .navbutton:hover { opacity: 100; }

/* Deleted page warning red instead of orange (Jpop Wiki) */ .warningbox { background-color: rgba(255, 0, 0, 0.1); border-color: #f00; }

/* make code tags more prominent (and match pre tags) */ code, .code { background-color: rgba(183,183,183,0.23); border: 1px solid rgba(156, 156, 156, 0.4); color: inherit; padding: 1px 4px; font-family: monospace; }

/* Hide icons from Template:Icons (will be shown by JS after being moved) and push them down a little bit so they match up nicely with the interlang list */ .page__main #icons { display: none; margin-top: 2px; } /* Fix icon positioning */ .page-header { position: relative; }

/* Horizontally aligned TOCs */ .hlist .toc:not(.sticky-toc) ul { max-width: none; } .hlist .toc:not(.sticky-toc) ul li:not(:first-child) { margin-left: 0; } .hlist .toc:not(.sticky-toc) ul li a { display: inline; } .hlist .toc:not(.sticky-toc) li li:first-child:before { content: "("; } .hlist .toc:not(.sticky-toc) li li:last-child:after {	content: ")"; }

/* ================  Navigational "bounce" effect mainly used on front page idea derives from the work of  Alessio Atzeni, a Roman web designer who can be found at  http://www.alessioatzeni.com ================ */ /* Adapted from User:CzechOut from w:c:kateprice ================  Credits to Encyclopedia SpongeBobia */

.bounceme { position:relative; float:left; width:300px; height:200px; margin:10px; overflow:hidden; text-align:left; -webkit-box-shadow:1px 1px 2px #e6e6e6; -moz-box-shadow:1px 1px 2px #e6e6e6; box-shadow:1px 1px 2px #e6e6e6; background-color:#f5f5f5; font-family: 'Circular Std', sans-serif; }

.bounceme img { width:auto; height:200px; } .bounceme .info { position:absolute; top:-220px; width:300px; height:200px; overflow:hidden; background-color:#3333ff; }

.bounceme .info #heading { display:block; text-decoration:none; color:white; font-family: 'Circular Std', sans-serif; font-weight: bold; text-align: center; font-size: 14px; padding: 6px; background: #3366ff; margin: 20px 0 0 0; border-top:2px solid white; border-bottom:2px solid white; letter-spacing: 0; }

.bounceme .info #text { font-size: 12px; position: relative; color: white; padding: 5px; text-align: center; font-weight: normal; font-family: 'Circular Std', sans-serif; }

.bounceme .info #button { text-decoration:none; font-size: 10pt; color: white; padding:0px 3px; text-align: center; background: #3399ff; margin:0 auto; border-radius:5px; -moz-border-radius:5px; -webkit-border-radius:5px; -khtml-border-radius:5px; -icab-border-radius:5px; -o-border-radius:5px; white-space:nowrap; font-family: 'Circular Std', sans-serif; font-weight: bold; }

.bounceme:hover .info { -ms-filter: "progid: DXImageTransform.Microsoft.Alpha(Opacity=100)"; filter: alpha(opacity=100); opacity: 1; top: 0px; -webkit-transition-delay: 0s; -moz-transition-delay: 0s; -o-transition-delay: 0s; -ms-transition-delay: 0s; transition-delay: 0s; -webkit-animation: bounceY 0.7s linear; -moz-animation: bounceY 0.7s linear; -ms-animation: bounceY 0.7s linear; animation: bounceY 0.7s linear; }

@-moz-keyframes bounceY { 0% { -moz-transform: translateY(-205px);} 40% { -moz-transform: translateY(-100px);} 65% { -moz-transform: translateY(-52px);} 82% { -moz-transform: translateY(-25px);} 92% { -moz-transform: translateY(-12px);} 55%, 75%, 87%, 97%, 100% { -moz-transform: translateY(0px);} }

@-webkit-keyframes bounceY { 0% { -webkit-transform: translateY(-205px);} 40% { -webkit-transform: translateY(-100px);} 65% { -webkit-transform: translateY(-52px);} 82% { -webkit-transform: translateY(-25px);} 92% { -webkit-transform: translateY(-12px);} 55%, 75%, 87%, 97%, 100% { -webkit-transform: translateY(0px);} }

@keyframes bounceY { 0% { transform: translateY(-205px);} 40% { transform: translateY(-100px);} 65% { transform: translateY(-52px);} 82% { transform: translateY(-25px);} 92% { transform: translateY(-12px);} 55%, 75%, 87%, 97%, 100% { transform: translateY(0px);} } .bounceme .info a:not(.new) { color: #66ccff; } .bounceme .info a.new { color: #ff9999; }