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('https://fonts.googleapis.com/css2?family=Courgette&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; } /* 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"], a[href$=":CartoonFan311"], a[href$="/CartoonFan311"] { color: var(--color-crat) !important; font-weight: bold !important; }

/* Message boxes */ .mbox { --type-important: rgba(200, 0, 0, 0.8); --type-moderate: rgba(233, 124, 47, 0.8); --type-minor: rgba(241, 197, 37, 0.8); display: flex; position: relative; background-color: rgba(255, 255, 255, 0.7); border: 1px solid #d6d6d6; border-left-width: 8px; border-left-color: #d6d6d6; border-radius: 3px; margin-bottom: 5px; min-height: 32px; }

.mbox.mbox-type-important { border-left-color: var(--type-important); }

.mbox.mbox-type-moderate { border-left-color: var(--type-moderate); }

.mbox.mbox-type-minor { border-left-color: var(--type-minor); }

.mbox__content { display: table; box-sizing: border-box; width: 100%; padding: 8px 15px; }

.mbox__content__image { display: table-cell; width: 40px; height: 100%; text-align: center; vertical-align: middle; padding-right: 15px; }

.mbox__content__wrapper { display: table-cell; vertical-align: middle; }

.mbox__content__header { display: block; font-weight: bold; }

.mbox__content__text { display: block; }

.mbox__content__text__comment { font-size: small; }

.mbox__content__aside { display: table-cell; width: 100px; vertical-align: middle; text-align: center; padding-left: 15px; border-left: 1px solid #d6d6d6; }

.mbox__close { position: absolute; right: 0; top: 0; padding: 2px 7px; font-weight: bold; font-size: 16px; color: #bbb; cursor: pointer; transition: all .15s ease-in; }

.mbox__close:hover { color: #777; }

.mbox__close:after { content: '×'; }

.mw-collapsed + .mbox__close { transform: rotate(45deg); padding: 4px 7px 5px 2px; }

/* Ensure text is readable in the FandomDesktop dark theme. */ .theme-fandomdesktop-dark .mbox { background-color: var(--theme-page-background-color--secondary); border-color: var(--theme-border-color); }

/******************* * Navboxes *******************/ /* .navbox { --navbox-bg-color: #fff; --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; }

/* Remove the word "Home" on the main page */ .mainpage .page-header__title, .mainpage .page-header__separator { display: none; }

/* Main Page Layout */ .mp-header { background-color: var(--theme-accent-color); color: var(--theme-accent-label-color); padding: 0.2em 0.4em !important; border: none !important; margin: 0 0 10px 0 !important; font-size: 20px !important; font-family: 'Courgette' !important; text-align: center; } .mp-box { margin-bottom: 12px; border: 1px solid var(--theme-accent-color); padding: 6px; text-align: center; background-color: rgba(var(--theme-accent-color--rgb), .25); }

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