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('http://fonts.cdnfonts.com/css/circular-std');

/* Mark redirects in Special:Allpages and Special:Watchlist */ .allpagesredirect { font-style: italic; } .allpagesredirect:after { color: #808080; content: " (redirect)" } .watchlistredir { font-style: italic; } /* Variables */ .theme-fandomdesktop-light { --shadow-admin: 0px 0px 2px rgba(0,0,0,.5), 0px 0px 2px rgba(0,0,0,.5); --color-admin: #00ff00; } .theme-fandomdesktop-dark { --shadow-admin: 0px 0px 2px #00ff00, 0px 0px 2px #00ff00; --color-admin: #ffffff; } /* 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-admin) !important; text-shadow: var(--shadow-admin) !important; }

/* Message boxes */ .mbox { display: flex; position: relative; background-color: rgba(0, 255, 0, 0.1); border: 1px solid #00ff00; border-left-width: 6px; border-left-color: #00ff00; margin-bottom: 5px; min-height: 32px; }

.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: 0 15px; border-left: 1px solid #d6d6d6; }

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

.mbox__close:hover { color: var(--theme-link-color--hover); }

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

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

/******************* * Navboxes *******************/ /* .navbox { --navbox-bg-color: #fff; --navbox-text-color: black; --navbox-title-color: #cfc; --navbox-header-color: #dfd; --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: black; color: white; padding: 0.2em 0.4em !important; border: 1px solid #0f0 !important; margin: 0 0 10px 0 !important; font-size: 20px !important; font-family: monospace !important; font-weight: normal !important; text-shadow: 0px 0px 4px #00ff00, 0px 0px 8px #00ff00, 0px 0px 8px #00ff00; text-align: center; } .mp-box { margin-bottom: 12px; border: 1px solid #0f0; padding: 6px; text-align: center; }

/* Adding Background colors to the main page boxes */ .theme-fandomdesktop-light .mp-box { background-color: rgba(0, 0, 0, .25); color: black; } .theme-fandomdesktop-dark .mp-box { background-color: rgba(0, 255, 0, .25); color: white; }

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

/* Selections */
 * selection {

background-color: rgba(0, 255, 0, .33); }

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