MediaWiki:Fandomdesktop.css

/* Imports */ @import url("/load.php?mode=articles&only=styles&articles=u:dev:MediaWiki:Global_Lua_Modules/NavboxBuilder.css"); /* Custom properties */ .theme-fandomdesktop-light { --theme-color: #0c3c6a; --secondary-color: #f5f5f5; --content-color: #fbfbfb; --theme-text-color: #eeeeee; } .theme-fandomdesktop-dark { --theme-color: #0f3554; --secondary-color: #353535; --content-color: #272727; --theme-text-color: #e6e6e6; } /* ############## */ /* ### Staff ### */ /* ############## */

.page-Special_RecentChanges a[title="User:Shrev64"], .page-Special_RecentChanges a[title="User:RB1196"] { font-weight: bold; color: #3370ff;}

/* ##################### */ /* ### Message boxes ### */ /* ##################### */ .mbox { background-color: var(--content-color); border: 1px solid var(--theme-border-color); border-left-color: var(--theme-border-color); border-left-width: 8px; border-radius: 3px; display: flex; margin-bottom: 5px; min-height: 32px; position: relative; } .mbox__content { box-sizing: border-box; display: table; font-size: 95%; line-height: 20px; padding: 6px 10px; width: 100%; } .mbox__content__image { display: table-cell; height: 100%; padding-right: 10px; text-align: center; vertical-align: middle; width: 40px; } .mbox__content__wrapper { display: table-cell; vertical-align: middle; } .mbox__content__header { display: block; font-weight: 500; } .mbox__content__text { display: block; } .mbox__content__text__comment { font-size: small; } .mbox__content__aside { border-left: 1px solid var(--theme-border-color); display: table-cell; padding-left: 15px; text-align: center; vertical-align: middle; width: 100px; } /* ################# */ /* ### Infoboxes ### */ /* ################# */ .portable-infobox { background: var(--content-color); border: 1px solid var(--theme-border-color); overflow: hidden; } .portable-infobox .pi-border-color { border: none; border-collapse: collapse; padding: 0; } .page-content .portable-infobox .pi-title { background: var(--theme-color); color: var(--theme-text-color); font-size: 1rem; padding: 0.2em 0.5em; } .portable-infobox .pi-caption { font-size: 12px; line-height: 18px; padding: 3px; text-align: center; } .portable-infobox .pi-header { background-color: var(--theme-color); color: var(--theme-text-color); font-size: 10px; font-weight: 500; padding: 5px 0 !important; text-align: center; } .portable-infobox .pi-navigation { background-color: var(--theme-color); border-top: 1px solid var(--theme-border-color); color: var(--theme-text-color); font-size: 12px; font-weight: normal; padding: 5px; text-align: center; } .portable-infobox .pi-navigation a { color: var(--theme-text-color); } .portable-infobox .pi-data { border-top: 1px solid var(--theme-border-color); } .portable-infobox .pi-data-label { background-color: var(--secondary-color); border-right: 1px solid var(--theme-border-color); font-size: 12px; font-weight: 500; padding: 3px 5px; } .portable-infobox.pi-layout-stacked .pi-data-label { border-right: none; } .portable-infobox .pi-data-value { background-color: var(--content-color); font-size: 12px; padding: 3px 5px; } /* Horizontal groups */ .portable-infobox .pi-horizontal-group .pi-horizontal-group-item:first-child { border-right: none; } .portable-infobox .pi-horizontal-group .pi-horizontal-group-item:not(:first-child) { border-left: 1px solid var(--theme-border-color); border-right: none; } /* Smart rows */ .pi-smart-group .pi-smart-data-value:not(:first-child) { border-left-color: var(--theme-border-color); } /* Image tabbers and panels */ .portable-infobox .pi-panel { border-top: 1px solid var(--theme-border-color); } .portable-infobox .wds-tabs__tab-label { font-size: 12px; height: 25px; letter-spacing: 0; text-transform: none; } .portable-infobox .pi-collapse .pi-header:first-child::after { border-color: var(--theme-text-color); } /* Job infobox */ .portable-infobox.type-job .pi-image-collection.wds-tabber { display: flex; flex-direction: column; } .portable-infobox.type-job .wds-tabs__wrapper { order: 99; } .portable-infobox.type-job .pi-smart-data-value[data-source="desc 1"], .portable-infobox.type-job .pi-smart-data-value[data-source="desc 2"], .portable-infobox.type-job .pi-smart-data-value[data-source="desc 3"] { hyphens: none !important; width: 100% !important; } .portable-infobox.type-job ~ .center figcaption .title { display: none; } /* File infobox */ .portable-infobox.type-file { box-sizing: border-box; width: 100%; } .portable-infobox.type-file .pi-data-label { flex-basis: 100px; hyphens: none; text-align: right; } .portable-infobox.type-file .pi-data-value { flex-basis: 100% } /* ################ */ /* ### Navboxes ### */ /* ################ */ .navbox { background-color: var(--content-color); border: 1px solid var(--theme-border-color); border-radius: 3px; font-size: 0.75rem; line-height: 23px; word-break: break-word; } .navbox + .navbox { margin-top: -6px; } .navbox-title { background-color: var(--theme-color); color: var(--theme-text-color); font-size: 100%; font-weight: 500; } .mw-parser-output .navbox .navbox-title a { color: inherit; font-weight: inherit; } .navbox-above, .navbox-below { background-color: var(--secondary-color); border: 1px solid var(--theme-border-color); } .navbox-header { background-color: var(--secondary-color); border-top: 1px solid var(--theme-border-color); font-weight: 500; } .navbox-table-layout .navbox-group, .navbox-table-layout .navbox-subgroup { background-color: var(--secondary-color); border: 1px solid var(--theme-border-color); font-weight: 500; vertical-align: middle; text-align: center; white-space: normal; width: 15%; } .page-content .mw-parser-output .navbox-header a, .page-content .mw-parser-output .navbox-group a, .page-content .mw-parser-output .navbox-subgroup a { color: var(--theme-page-text-color); font-weight: 500; } .navbox-table .navbox-list { border-bottom: 1px solid var(--theme-border-color); padding: 5px 10px; } .navbox-section { margin: 0; } .navbox-table { border-collapse: collapse; } .navbox-table-wrapper, .navbox-table-layout { margin-bottom: -1px; margin-left: -1px; margin-right: -1px; } .navbox-table-wrapper:first-child, .navbox-section-wrapper:first-child { margin-top: -1px; } .navbox-table-wrapper:last-child, .navbox-section-wrapper:last-child { margin-bottom: -1px; } /* Horizontal lists */ .navbox-above ul, .navbox-list ul, .navbox-below ul { list-style: none; margin: 0; } .navbox-above li, .navbox-list li, .navbox-below li { display: inline; } .navbox-above li:after, .navbox-list li:after, .navbox-below li:after { content: " · "; } .navbox-above li:last-child:after, .navbox-list li:last-child:after, .navbox-below li:last-child:after { content: none; } /* ############## */ /* ### Tables ### */ /* ############## */ .ooui-theme-fandomooui .article-table, .ooui-theme-fandomooui .wikitable.mw-templatedata-doc-params { background-color: var(--content-color); border: 1px solid var(--theme-border-color); font-size: 13px; } .article-table caption { background-color: var(--content-color); font-size: inherit; padding: 5px 15px; text-align: center; } .ooui-theme-fandomooui .article-table th, .ooui-theme-fandomooui .wikitable.mw-templatedata-doc-params th { background-color: var(--theme-color); border-right: 1px solid var(--theme-border-color); color: var(--theme-text-color); font-weight: 500; padding: 6px 12px; text-align: center; } .article-table th a { color: var(--theme-text-color); } .ooui-theme-fandomooui .article-table td, .ooui-theme-fandomooui .wikitable.mw-templatedata-doc-params td { border-right: 1px solid var(--theme-border-color); padding: 6px 12px; } .article-table ul, .article-table ol { margin: .4em 0 .5em 1em; } .article-table-wrapper { overflow-x: unset; } .article-table.align-right { float: right; margin: 0 0 1rem 1rem; } .article-table.align-left { float: left; margin: 0 1rem 1rem 0; } .striped tbody tr:nth-of-type(even) { background-color: var(--secondary-color); } /* ############### */ /* ### Modules ### */ /* ############### */ .mp-module { border: 1px solid var(--theme-border-color); border-radius: 3px; box-sizing: border-box; margin-bottom: 20px; overflow: hidden; width: 100%; } .mp-module__header { background-color: var(--theme-color); color: var(--theme-text-color); font-size: 15px; font-weight: 500; line-height: 30px; text-align: center; width: 100%; } .mp-module__content { background-color: var(--content-color); font-size: 13px; line-height: 23px; padding: 10px 15px; text-align: left; } /* ############################## */ /* ### Template documentation ### */ /* ############################## */ .documentation { background-color: transparent; border: 1px solid var(--theme-border-color); border-radius: 3px; overflow: hidden; } .documentation__header, .documentation__footer { background-color: var(--secondary-color); box-sizing: border-box; line-height: 40px; padding: 0 10px; } .documentation__header { border-bottom: 1px solid var(--theme-border-color); } .documentation__footer { border-top: 1px solid var(--theme-border-color); clear: both; font-size: 85%; text-align: right; } .documentation__header__headline { font-weight: 500; } .documentation__header__action-links { float: right; font-size: 85%; } .documentation__content { box-sizing: border-box; padding: 1em; } .documentation__content #toc { margin-top: 0; margin-bottom: 6px; } /* Documentation parameters */ .docparam { background-color: var(--content-color); border: 1px solid var(--theme-border-color); border-radius: 3px; margin-bottom: 10px; overflow: hidden; } .docparam__header { background-color: var(--content-color); border-bottom: 1px solid var(--theme-border-color); box-sizing: border-box; padding: 0 5px; } .docparam__header__icon { display: inline-block; } .docparam__header__name { display: inline-block; position: relative; top: 2px; } .docparam__header__default { float: right; font-size: 12px; line-height: 34px; } .docparam__description { box-sizing: border-box; padding: 10px; } .wikitable.mw-templatedata-doc-params { margin: 0; } .wikitable.mw-templatedata-doc-params caption { border: none; padding: 8px 0; } .wikitable.mw-templatedata-doc-params caption p:first-child { border-bottom: 1px solid var(--theme-border-color); font-family: var(--theme-page-headings-font); font-size: 21px; font-weight: normal; line-height: 1; margin: 0; margin-bottom: 6px; overflow: hidden; overflow-wrap: break-word; padding: 6px 0; text-align: left; } .mw-templatedata-doc-wrap .oo-ui-iconElement-icon:not(.oo-ui-iconElement-noIcon) { background-color: transparent; } /* ##################### */ /* ### Miscellaneous ### */ /* ##################### */ /* General elements */ .mw-parser-output p { margin: .4em 0 .5em } .page-content .mw-parser-output a { font-weight: normal; } .page-content b, .page-content strong { font-weight: 500; } .mw-parser-output dt { font-weight: 500; margin-top: 0.5em; } .ns-0 .mw-parser-output dd { display: list-item; list-style-type: disc; }

.mw-parser-output .wds-tabs { justify-content: center; flex-wrap: wrap; } /* Module:Context-link */ .context-link { color: var(--theme-page-text-color--hover); font-size: 95%; font-style: italic; margin-bottom: 5px; padding-left: 2em; } /* Quotations */ .quote { background-color: var(--content-color); border: 1px solid var(--theme-border-color); border-radius: 3px; display: table; font-size: 95%; font-style: italic; margin-bottom: 0.5em; padding: 0.75em; } .quote p { margin: 0; } .quote__source { font-style: normal; margin-left: 0.4em; } /* ToC */ background-color: var(--content-color); } .toclimit-1 .toclevel-1 ol, .toclimit-2 .toclevel-2 ol, .toclimit-3 .toclevel-3 ol, .toclimit-4 .toclevel-4 ol, .toclimit-5 .toclevel-5 ol, .toclimit-6 .toclevel-6 ol { display: none; } /* Image thumbnails */ .thumb.tleft, .thumb.tright { margin-top: 10px; } .thumb img { border-radius: 3px; } .page-content .mw-parser-output .thumbcaption { color: var(--theme-page-text-color--hover); } /* Preformatted text */ .mw-parser-output pre { background-color: var(--content-color); border: 1px solid var(--theme-border-color); border-radius: 3px; } /* Section headings */ .page-content h2 { font-size: 21px; font-weight: normal; line-height: 1; padding: 6px 0; } .page-content h3 { margin: 12px 0; } /* Galleries */ .wikia-gallery, .wikia-gallery .wikia-gallery-item .lightbox-caption { color: var(--theme-page-text-color--hover); text-align: center; }
 * 1) toc {

.wikia-gallery-item .thumb .gallery-image-wrapper { border: none; } /* Anchor targets */
 * target {

animation: highlight 3s ease; background-color: var(--secondary-color); } @keyframes highlight { 0% { background-color: var(--theme-color); color: var(--theme-text-color); } 100% { background-color: var(--secondary-color); color: var(--theme-page-text-color); } } /* Removed features */ .filehistory th:last-child, .filehistory td:last-child, .mw-logline-upload .comment, .mw-htmlform-field-Licenses, .mw-upload-editlicenses, .oo-ui-toolbar-bar .oo-ui-tool-name-multiUploadBar, display: none; }
 * 1) msupload-container {