MediaWiki:Common.css

/* * This configuration file sets the defaults for basic colors. Variables that need to be exposed * (usable outside of this stylesheet) should use CSS custom properties, while only internal * variables (usable only inside this stylesheet) should use SASS variables. */ .theme-fandomdesktop-dark { --border-color: #5f5f5f; --pi-background: #484848; --module-bg: var(--pi-background); --secondary-label-color: #5f5f5f; }

.theme-fandomdesktop-light { --border-color: #d6d6d6; --pi-background: #f9f9f9; --module-bg: var(--pi-background); --secondary-label-color: #f2f2f2; }

/* Community header transparency */ .wds-community-header, .wds-community-header::before, .accent { background: transparent !important; }

/* * Miscellaneous fixes to the Fandom skin. Generally, opinionated styles should not * be put here, but rather obvious fixes to broken functionality, or glaring style * issues. */


 * target {

animation: highlight 3s ease; }

@keyframes highlight { 0% {		background-color: #eeee9b; color: var(--module-bg); }

100% {		background-color: transparent; }

}

.page__main .references > li:target { background-color: rgba(195, 227, 255, 0.5); }

.mainpage a.external:after { display: none; }

/* Universal styles for all portal variants. */ .portal { background-color: var(--module-bg); border: 1px solid var(--border-color); border-radius: 3px; }

/* * Accompanying CSS for portable infoboxes. * Fandom Developers entry: https://dev.fandom.com/wiki/Portable_infoboxes */ .portable-infobox { background: var(--module-bg); border: none; }

.portable-infobox .pi-item, .portable-infobox .pi-item-spacing { padding: 0; }

.page-content .portable-infobox .pi-title { background-color: var(--theme-accent-color); color: var(--theme-accent-label-color); font-size: 1rem; padding: 0.2em 0.5em; }

.portable-infobox .pi-caption { padding: 6px 0; }

.portable-infobox .pi-header { background-color: var(--theme-accent-color); color: var(--theme-accent-label-color); padding: 5px 0 !important; }

.portable-infobox .pi-data-label { background-color: var(--secondary-label-color); padding: 8px; flex-basis: 115px; }

.portable-infobox .pi-smart-data-label { flex-basis: auto; }

.portable-infobox .pi-data-value { padding: 8px; }

.portable-infobox .pi-data-label, .portable-infobox .pi-data-value { word-break: normal; overflow-wrap: normal; hyphens: none; }

.portable-infobox .pi-border-color { border: 0 !important; }

.wds-tabs__tab-label { font-size: 13px !important; }

.portable-infobox .pi-panel .wds-tabs li:only-child { display: none; }

.pi-smart-group .pi-smart-data-label, .pi-smart-group .pi-smart-data-value { margin: 0; margin-bottom: 3px; }

.pi-navigation { text-align: center; padding: 5px !important; background-color: var(--secondary-label-color); }

/* Table styling */ .ooui-theme-fandomooui .article-table { font-size: 0.85rem; border: 1px solid var(--border-color); }

.ooui-theme-fandomooui .article-table.align-right { float: right; margin: 0 0 1rem 1rem; }

.ooui-theme-fandomooui .article-table.align-left { float: left; margin: 0 1rem 1rem 0; }

.ooui-theme-fandomooui .article-table th { background-color: var(--theme-accent-color); color: var(--theme-accent-label-color); }

.ooui-theme-fandomooui .article-table th a { color: inherit !important; }

.ooui-theme-fandomooui .filepage-table th { border: 1px solid var(--theme-accent-color); text-align: right; }

.ooui-theme-fandomooui .article-table td { border: 1px solid var(--border-color); background-color: var(--module-bg); } /* * Accompanying CSS for Template:Documentation and Template:Docparam. * Project Wiki entry: https://important.wikia.com/wiki/Template:Documentation * Project Wiki entry: https://important.wikia.com/wiki/Template:Docparam */ .documentation { background: var(--module-bg); border: 1px solid var(--border-color); border-radius: 3px; overflow: hidden; }

.documentation__header, .documentation__footer { padding: 0 1rem; box-sizing: border-box; line-height: 3; background-color: var(--secondary-label-color); }

.documentation__header { border-bottom: 1px solid var(--border-color); }

.documentation__header__headline { font-weight: bold; }

.documentation__header__action-links { float: right; font-size: 0.85rem; }

.documentation__footer { border-top: 1px solid var(--border-color); font-size: 0.85rem; text-align: right; clear: both; }

.documentation__content { padding: 1rem; box-sizing: border-box; }

.documentation #toc { margin-top: 0; margin-bottom: 6px; }

.docparam { background-color: var(--module-bg); border: 1px solid var(--border-color); border-radius: 3px; overflow: hidden; margin-bottom: 1rem; }

.docparam__header { border-bottom: 1px solid var(--border-color); background-color: var(--secondary-label-color); padding: 5px 5px; box-sizing: border-box; }

.docparam__header__icon { display: inline-block; }

.docparam__header__name { display: inline-block; position: relative; top: 2px; }

.docparam__header__default { float: right; line-height: 2.5; font-size: 0.9rem; }

.docparam__description { padding: 1rem; box-sizing: border-box; }

/* * Accompanying CSS for Template:Mbox. * Fandom Developers entry: https://dev.fandom.com/wiki/Global_Lua_Modules/Mbox * Lua module: https://dev.fandom.com/wiki/Module:Mbox */ .mbox { background: var(--module-bg); display: flex; position: relative; border-radius: 3px; border: 1px solid var(--border-color); border-left-width: 8px; margin-bottom: 12px; min-height: 32px; }

.mbox__content { display: table; width: 100%; padding: 8px 1rem; }

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

.mbox__content__wrapper { display: table-cell; vertical-align: middle; padding-right: 1rem; }

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

.mbox__content__text { display: block; }

.mbox__content__text__comment { font-size: 0.85rem; }

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

.mbox__close { position: absolute; top: 0; right: 0; padding: 2px 7px; font-weight: bold; font-size: 1rem; cursor: pointer; transition: color 0.15s ease-in; }

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

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

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

.filepage-table .mbox__content__wrapper { padding: 8px 15px; }

/* * Accompanying CSS for Template:Navbox, its auxiliaries, and its implementations. * Fandom Developers entry: https://dev.fandom.com/wiki/Global_Lua_Modules/Navbox * Lua module: https://dev.fandom.com/wiki/Module:Navbox */ .navbox { background: var(--module-bg); border: 1px solid var(--border-color); border-radius: 3px; font-size: 0.75rem; line-height: 23px; overflow: hidden; word-break: break-word; }

.navbox .navbox-title { background-color: var(--theme-accent-color); color: var(--theme-accent-label-color); font-size: 14px; line-height: 23px; font-weight: 500; }

.navbox .navbox-title a { color: inherit !important; }

.navbox .navbox-template-links { top: 4px; }

.navbox .navbox-group { background: var(--secondary-label-color); border: 1px solid var(--border-color); border-bottom-color: var(--secondary-label-color); text-align: center; vertical-align: middle; }

.navbox .navbox-subgroup { background-color: var(--module-bg); width: 15%; vertical-align: middle; text-align: center; }

.navbox-table { border-collapse: collapse; }

.navbox-table-layout .navbox-group { width: 15%; }

.navbox-table .navbox-padding { padding: 10px; }

.navbox-table .navbox-list { border: 1px solid var(--border-color); vertical-align: middle; }

.navbox-above, .navbox-footer, .navbox-header { background: var(--secondary-label-color); }

.navbox.left { clear: left; float: left; margin: 0 1.5em 0.5em 0; }

.navbox.right { clear: right; float: right; margin: 0 0 0.5em 1.5em; }

.navbox-image { background-color: var(--module-bg); border: 1px solid transparent; }

.navbox-content { padding: 0 2px 3px 2px !important; }

.navbox-above, .navbox-base { border-bottom: 1px solid var(--border-color); }

.navbox-above { position: relative; }

.navbox > .navbox-table-wrapper:first-child, .navbox-section > .navbox-table-wrapper:first-child { margin-top: -6px; }

.navbox-content ul { list-style: none !important; margin: 0; padding: 0; }

.navbox-list.\32 -columns ul, .navbox-list.\33 -columns ul, .navbox-list.\34 -columns ul, .navbox-list.\35 -columns ul { column-rule: 4px double var(--border-color); list-style-type: none; margin: 0; }

.navbox-list.\32 -columns ul { column-count: 2; }

.navbox-list.\33 -columns ul { column-count: 3; }

.navbox-list.\34 -columns ul { column-count: 4; }

.navbox-list.\35 -columns ul { column-count: 5; }

.navbox-list.\32 -columns ul li, .navbox-list.\33 -columns ul li, .navbox-list.\34 -columns ul li, .navbox-list.\35 -columns ul li { margin: 0; }

/* Fix for broken navbox styling (08-2021) */ .table-wide { display: inline; } .table-wide-inner { margin: 0; }

/* * Accompanying CSS for Template:Quote. * Fandom Developers entry: https://dev.fandom.com/wiki/Global_Lua_Modules/Quote * Lua module: https://dev.fandom.com/wiki/Module:Quote */
 * root {

--pull-quote-max-width: 80%; --pull-quote-mark-color: theme-accent-color; --pull-quote-mark-font: "Times New Roman", serif; --pull-quote-hyphens: auto; --pull-quote-frame-color: #bbb; }

.page-content .mw-parser-output .pull-quote { display: flex; flex-direction: column; align-items: center; max-width: var(--pull-quote-max-width); margin: 1em auto; font-size: 1em; line-height: 1.8; font-style: normal; }

.page-content .mw-parser-output .pull-quote__text { position: relative; padding: 0 2em; hyphens: var(--pull-quote-hyphens); color: var(--pull-quote-text-color); margin-bottom: 1em; font-size: 14px; margin-bottom: 1em; }

.page-content .mw-parser-output .pull-quote__text:before, .page-content .mw-parser-output .pull-quote__text:after { position: absolute; font-size: 3em; font-family: var(--pull-quote-mark-font); font-weight: 700; color: var(--pull-quote-mark-color); }

.page-content .mw-parser-output .pull-quote__text:before { content: "“"; top: 0; left: 0; line-height: 1; display: block; }

.page-content .mw-parser-output .pull-quote__text:after { content: "”"; bottom: 0; right: 0; line-height: 0.2; display: block; }

.page-content .mw-parser-output .pull-quote::before { display: none; }

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

.page-content .mw-parser-output .pull-quote--left { float: left; margin: 1em 2em 1em 0; }

.page-content .mw-parser-output .pull-quote--right { float: right; margin: 1em 0 1em 2em; }

.page-content .mw-parser-output .pull-quote__source { text-align: right; width: 100%; }

/* Accompanying CSS for Module:Context-link. */ .context-link { padding-left: 1em; font-style: italic; }

/* QuickBar (formerly known as WikiaBar) styling */ .WikiaBarWrapper { opacity: 0.5; transition: opacity 0.1s ease-in; }

.WikiaBarWrapper:hover { opacity: 1; }

.WikiaBarWrapper .tools .wds-dropdown__toggle>a, .WikiaBarWrapper .tools>li>a { color: var(--theme-accent-label-color); }

.mw-collapsible-text { color: var(--theme-accent-label-color); }