MediaWiki:Common.css

/* CSS placed here will be applied to the all skins NOTE: Common.css only affects desktop, and not mobile, as a separate one exists at FandomMobile.css */

/* Imports */ @import url("/MediaWiki:InterlanguageIcons.css?ctype=text/css&action=raw"); @import url("/MediaWiki:Infobox.css?ctype=text/css&action=raw"); @import url("/MediaWiki:Highlights.css?ctype=text/css&action=raw"); @import url("/MediaWiki:Themes.css?ctype=text/css&action=raw"); @import url("/MediaWiki:Mainpage.css?ctype=text/css&action=raw"); @import url("/MediaWiki:Miscellaneous.css?ctype=text/css&action=raw");

/* Variables by skin */ .theme-fandomdesktop-light { /* Light theme only */ --general-bg-color: #f9f9f9; --border-color: #aaa; --border-color--rgb: 170, 170, 170; } .theme-fandomdesktop-dark { /* Dark theme only */ --general-bg-color: var(--theme-page-background-color--secondary); --border-color: var(--theme-border-color); --border-color--rgb: var(--theme-border-color--rgb); }

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

/******************* * Navboxes *******************/ .navbox { width: 100%; background: white; margin: 1em auto; font-size: 84%; clear: both; padding: 2px; border-spacing: 0; border: 1px solid #aaa; }

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

.navbox .navbox-title { background: #CCF; font-weight: bold; font-size: 110%; }

.navbox .navbox-vde { float: left; width: 65px; font-size: 80%; }

.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: 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: #DDF; text-align: center; }

.navbox .navbox-image { background: white; text-align: center; }

.navbox .navbox-group, .navbox .navbox-header { background: #DDF; 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 white; }

.navbox .navbox-image-right { border-left: 2px solid white; }

.navbox .navbox-list { background: white; width: 100%; height: 100%; padding: 0; }

.navbox .alt > .navbox-list { background: #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; }

/* Make links colored when custom colored links is turned on (via "|bodyclass=navbox-colored-links") */ .navbox.navbox-colored-links .mw-collapsible-toggle a, .navbox.navbox-colored-links .navbox-vde a, .navbox.navbox-colored-links .navbox-title a, .navbox.navbox-colored-links .navbox-group a, .navbox.navbox-colored-links .navbox-header a, .navbox.navbox-colored-links .navbox-above a, .navbox.navbox-colored-links .navbox-below a, /* Make sure that the colored links also apply when such classes are only applied to elements) */ .navbox .navbox-title.navbox-colored-links a, .navbox .navbox-title.navbox-colored-links .navbox-vde a, .navbox .navbox-title.navbox-colored-links .mw-collapsible-toggle a, .navbox .navbox-group.navbox-colored-links a, .navbox .navbox-header.navbox-colored-links a, .navbox .navbox-above.navbox-colored-links a, .navbox .navbox-below.navbox-colored-links a {   color: inherit; }

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

/* plainlist */ .plainlist ol, .plainlist ul { line-height: inherit; list-style: none; margin: 0; padding: 0; /* Reset Minerva default */ }

.plainlist ol li, .plainlist ul li { margin-bottom: 0; }

/* 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 var(--border-color); margin: 1em 0; clear: both; background-color: #ecfcf4; }

.template-documentation .template-documentation-header { padding: 1em; border-bottom: 1px solid var(--border-color); }

.template-documentation .template-documentation-langs { display: flex; flex-wrap: wrap; list-style: none; margin: 0; padding: 0; padding-bottom: 0.5em; border-top: 1px solid var(--border-color); }

.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 { border-top: 1px solid var(--border-color); 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; }

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

/* Expand hover - from SMTOWN Wiki */ .portal img { opacity: 1; filter: alpha(opacity=100); transition: all 0.5s ease; }

.portal img:hover { opacity: 1; filter: alpha(opacity=100); transform: scale(1.10); }

/* Icons style */ /* Add tiny bit of padding between the Eras icons and the Edit button dropdown */ /* Spacing for Top icons */ vertical-align: middle; margin: 5px 5px 0; } .skin-fandomdesktop #icons { margin-right: 5px; } /* "printable version" tweaks */ @media print { /* tweaks for title-messing templates */ #icons { display: none!important; visibility: hidden !important } }
 * 1) icons { padding-bottom: 2px; }
 * 1) icons img {

/* make code tags more prominent (and match pre tags) */ code, .code { background-color: var(--general-bg-color); border: var(--border-color); color: inherit; padding: 1px 4px; font-family: monospace; }

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

/* 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: var(--general-bg-color); border: 1px solid var(--border-color); border-left: 10px solid var(--border-color); min-height: 32px; margin-bottom: 5px; line-height: 1.5; }

.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-size: 20px; font-weight: bold; }

.mbox__content__text { display: block; font-size: 14px; }

.mbox__content__text__comment { font-size: 12px; }

.mbox__content__aside { display: table-cell; width: 100px; vertical-align: middle; text-align: center; padding-left: 15px; } /* Close not needed .mbox__close { position: absolute; right: 0; top: 0; padding: 2px 7px; font-weight: bold; font-size: 16px; color: #fff; cursor: pointer; transition: all .15s ease-in; }

.mbox__close:hover { color: #ccc; }

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

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

/* Multiple issues */ .mbox.mbox-type-multiissues .mbox { border: none; border-collapse: collapse; background-color: transparent; margin: 0 0 -7px 1.6em; width: auto; } .mbox.mbox-type-multiissues .mbox__content__text .mbox__content__text { display: list-item; line-height: 1.5; list-style-type: disc; } .mbox.mbox-type-multiissues .mbox__content__header { font-size: 12px; } .mbox.mbox-type-multiissues .mbox__content__text .mbox__content { padding: 0; } .mbox.mbox-type-multiissues .mbox__content__text .mbox__content__header, .mbox.mbox-type-multiissues .mbox__content__text .mbox__content__image, .mbox.mbox-type-multiissues .mbox__content__text .mbox__content__text__comment, .mbox.mbox-type-multiissues .mbox__content__text .mbox__close { display: none; }

/* Fanon notice */ .fanon-notice { box-sizing: border-box; background-color: var(--general-bg-color); border: 1px solid var(--border-color); margin-bottom: 12px; padding: 12px 24px; word-wrap: break-word; overflow-wrap: break-word; overflow: hidden; }

/* Dark theme images */ .theme-fandomdesktop-dark .mbox img[data-image-name="Info icon.png"] { filter: invert(1); }

/* Remove weird extra spacing on paragraphs */ .page-content p { margin: 5px 0 8px; } /* The above are not enough to fix extra paragraph spacing, so this should do it */ .page-content p + p { margin-top: 8px; } /* Apply it also on the page header */ .page-header { margin-bottom: 5px; } /* As well as the lists */ .page-content ul, /* Bulleted lists - * */ .page-content ol /* Numbered lists - # */ { margin: 6px 0 2px 36px; } .page-content dl /* Description lists - ; */ { margin: 8px 0; } /* Even the Table of Contents */ .page-content .toc { margin: 12px auto 12px 0; } /* Even the headings as well */ .page-content h1, .page-content h2 { margin: 18px 0 9px; } .page-content h3, .page-content h4, .page-content h5, .page-content h6 { margin: 16px 0 8px; } /* Make h6 slightly smaller than h5 */ .page-content h5 { font-size: 14px; } .page-content h6 { font-size: 13px; }

/* Bold page title */ .page-header__title { font-weight: 500; }

/* Adding background color to table of contents */ .page-content .toc { background-color: var(--general-bg-color); } /* A much more visible border color for emphasis */ .page-content .toc, .page-content .toc .toctitle { border-color: var(--border-color); }

/* Make h1 headings look like page titles (bold also) */ .page-content h1 { font-weight: 500; padding: 6px 0; border-bottom: 1px solid var(--border-color); } /* Fix h2 border color */ .page-content h2 { border-bottom: 1px solid var(--border-color); }

/* Sets links weight from bold to inherit */ .page-content .mw-parser-output a { font-weight: inherit; }

/* Fix hlist and plainlist padding on navboxes */ .page-content .hlist ul, .page-content .shortcutbox.plainlist ol, .page-content .shortcutbox.plainlist ul { margin: 0 0 0 0; }

/* Rail module fix */ .rail-module { border-color: var(--border-color); }

/* Fix redlink problems */ a.new { cursor: pointer; } /* Make the cursor pointer when hovered */ a.new:hover, a.new:focus, a.new:active { text-decoration-style: solid; } /* Solid underlines instead of dashed */

/* Fix abbr on hover and make the cursor show the question mark instead of the text selector */ abbr { cursor: help; }

/* Add invert classes for each light/dark theme on FandomDesktop */ .theme-fandomdesktop-light .invlight img, .theme-fandomdesktop-dark .invdark img { filter: invert(1); }

/* Dark theme fixes */ /* Navboxes */ .theme-fandomdesktop-dark .navbox { border-color: var(--theme-border-color); } .theme-fandomdesktop-dark .navbox, .theme-fandomdesktop-dark .navbox .navbox-subgroup .navbox-gutter, .theme-fandomdesktop-dark .navbox .navbox-image, .theme-fandomdesktop-dark .navbox .navbox-list { background-color: var(--theme-page-background-color); } .theme-fandomdesktop-dark .navbox .navbox-group, .theme-fandomdesktop-dark .navbox .navbox-image-left, .theme-fandomdesktop-dark .navbox .navbox-image-right { border-color: var(--theme-page-background-color); }

.theme-fandomdesktop-dark .navbox .navbox-title { background-color: rgba(0,0,255,.3); }

.theme-fandomdesktop-dark .navbox .navbox-above, .theme-fandomdesktop-dark .navbox .navbox-below, .theme-fandomdesktop-dark .navbox .navbox-group, .theme-fandomdesktop-dark .navbox .navbox-header { background-color: rgba(0,0,255,.2); }

.theme-fandomdesktop-dark .navbox .alt > .navbox-list { background: var(--theme-page-background-color--secondary); }

/* Dark theme bounce image */ .theme-fandomdesktop-dark .bounceme { background-color: transparent; }

/* Dark theme table coloring */ .theme-fandomdesktop-dark .table-yes { background-color: rgba(0,255,0,.3) !important; } .theme-fandomdesktop-dark .table-no { background-color: rgba(255,0,0,.3) !important; } .theme-fandomdesktop-dark .table-no2 { background-color: rgba(0,0,225,.2) !important; } .theme-fandomdesktop-dark .table-na { background-color: rgba(128,128,128,.3) !important; color: #E0E0E0 !important; }

/* Tabs styling */ .topnav-tabs { font-weight: normal; text-align: left; margin-bottom: 5px; } .topnav-tabs .topnav-tab { background-color: var(--general-bg-color); min-width: 80px; margin-left: 10px; display: inline-block; padding: 5px 10px; text-align: center; margin-bottom: 0; font-size: 100%; border-bottom: none !important; border: 1px solid var(--border-color); } .topnav-tabs .topnav-tab.topnav-tab-current { background-color: var(--border-color); } .topnav-tabs-bottom { border-bottom: 1px solid var(--border-color); clear: both; }

/* Dark theme fixes for the template */ .theme-fandomdesktop-dark .collapsebox-header { background-color: var(--theme-border-color) !important; } .theme-fandomdesktop-dark .collapsebox-content { border-color: var(--theme-border-color) !important; }

/* Dark theme documentation coloring */ .theme-fandomdesktop-dark .template-documentation { background-color: rgba(0,255,0,.3); }

/* Adds background to galleries */ .wikia-gallery .gallery-image-wrapper.accent { background-color: var(--general-bg-color); border-color: var(--border-color); }