MediaWiki:Fandomdesktop.css

/* CSS Imports */

@import "/load.php?mode=articles&articles=u:dev:MediaWiki:BalancedSearch.css&only=styles"; @import "/load.php?mode=articles&articles=u:dev:MediaWiki:BalancedComments.css&only=styles"; @import "/load.php?mode=articles&articles=u:dev:MediaWiki:SpoilerBlur/code.css&only=styles";

/* Font Import */

@import url('https://fonts.googleapis.com/css?family=Montserrat:wght@500|Varela+Round|Noto+Sans');

/* Font Variables */

body.theme-fandomdesktop-light { --wiki-page-font: 'Noto Sans', sans-serif; --wiki-heading-font: 'Noto Sans', sans-serif; } body.theme-fandomdesktop-dark { --wiki-page-font: 'Montserrat', sans-serif; --wiki-heading-font: 'Varela Round', sans-serif; }

/* Background */

body { scrollbar-width: thin; scrollbar-color: rgba(50, 50, 50, 0.5) transparent; } .page__main, .page__right-rail { background: rgba(var(--theme-page-background-color--rgb), 0.6); } .theme-fandomdesktop-light .page__main, .theme-fandomdesktop-light .page__right-rail { background: rgba(var(--theme-page-background-color--rgb), 0.7); color: #343434; } .rail-module { background: transparent; }

/* Page Header */

.fandom-community-header { background: var(--theme-sticky-nav-background-color); padding: 15px 20px 5px 20px; margin-bottom: -12px; border-radius: 4px 4px 0 0; } .page__main { border-radius: 0 0 4px 4px !important; }

/* Font */

main.page__main { font-family: var(--wiki-page-font); } h1.page-header__title { font-family: var(--wiki-heading-font); } .page__main h1, .page__main h2, .page__main h3, .page__main h4, .page__main h5, .page__main h6 { font-family: var(--wiki-heading-font); } .fandom-community-header, .fandom-community-header__local-navigation, .fandom-sticky-header__sitename { font-family: var(--wiki-heading-font); }

/* h2 heading */

.headertype { background: var(--theme-accent-color); }   border-bottom-color: var(--theme-accent-color) !important; }
 * 1) mw-content-text h2 {

/* Scrollbar */


 * -webkit-scrollbar {

display: initial; width: 10px; height: 10px; }
 * -webkit-scrollbar-track {

background: transparent; }
 * -webkit-scrollbar-thumb {

background-color: var(--theme-accent-color); }
 * -webkit-scrollbar-thumb:hover {

background-color: rgba(var(--theme-accent-color--rgb), 0.8); }
 * -webkit-scrollbar-thumb:active {

background-color: rgba(var(--theme-accent-color--rgb), 0.6); }

/* Mainpage */

.mainpage__container { border: 1px solid var(--theme-accent-color); background-color: var(--theme-page-background-color); padding: 0.4em 1em; border-radius: 4px; } .mainpage__heading { text-align: center; padding-bottom: 15px; padding-top: 15px; } .mainpage__underline { border: none; height: 4px; margin: 20px 0 20px 0; width: 100%; background-image: linear-gradient(to right, rgba(255, 255, 255, 0), rgb(var(--theme-accent-color--rgb)), rgba(255, 255, 255, 0)); } .mainpage__hr { border: none; height: 2px; background-color: var(--theme-accent-color); } .mainpage__welcome-helpline { text-align: center; color: var(--theme-accent-color); text-transform: uppercase; font-weight: bold; margin: 15px; } .mainpage__stats { color: var(--theme-accent-color); text-shadow: 0 2px 7px var(--theme-accent-color); font-size: 1.30em; margin: 15px 0 10px 0; } .mainpage__warning { display: inline-block; margin: 20px 0 20px 0; outline: 2px solid #d21f3c; outline-offset: 5px; outline-style: dashed; } .activityfeed .mw-changeslist-legend { float: none; margin-left: 0; border-color: var(--theme-accent-color); } .gallery-dark { display: none; }

/* Dark Theme Customization */

.theme-fandomdesktop-dark .mainpage__container { border-width: 2px; } .theme-fandomdesktop-dark .gallery-light { display: none; } .theme-fandomdesktop-dark .gallery-dark { display: block; }

/* Tabs */

.ln-tab { min-width: 5em; max-width: 15em; display: inline-block; border: 1px solid var(--theme-accent-color); padding: .0em 0.5em; height: 2.4em; margin-bottom:10px; margin-right: 2px; background: transparent; } .ln-tab-active { min-width: 5em; max-width: 20em; display: inline-block; border: 1px solid var(--theme-accent-color); padding: .0em 0.5em; height: 2.4em; margin-bottom: 10px; margin-right: 2px; background-color: var(--theme-accent-color); font-size: 100%; }

/* Infobox */

.pi-europa .pi-title { font-size: 14px; line-height: 24px; } .pi-europa .pi-header { font-size: 12px; line-height: 18px; } .pi-europa .pi-item-spacing { padding: 5px 10px; } .portable-infobox { -webkit-box-shadow: 0 0 10px 0 rgb(0, 0, 0); -moz-box-shadow: 0 0 10px 0 rgb(0, 0, 0); -khtml-box-shadow: 0 0 10px 0 rgb(0, 0, 0); box-shadow: 0 0 10px 0 rgb(0, 0, 0); border: 1px solid var(--theme-accent-color); background: transparent; margin-right: 8px; } .portable-infobox .pi-item-spacing { padding: 5px 20px; } .portable-infobox .pi-title { font-size: 18px; } .portable-infobox .pi-header { font-size: 14px; } .pi-image-collection-tab-content { background-color: transparent; } .portable-infobox.pi-image-collection-tab-content { background-color: transparent; } .portable-infobox .pi-image-collection-tabs .pi-tab-link { border-style: none; font-size: 12px; color: var(--theme-link-color); font-weight: bold; } .portable-infobox .pi-image-collection-tabs .pi-tab-link.current { background-color: transparent; color: #e6e6e6; } .portable-infobox .pi-caption { text-align: center; } .portable-infobox .pi-data { border: none; background: none; } .portable-infobox .pi-data-label { font-weight: bold; } .portable-infobox .pi-image-collection-tabs { background-color: transparent; text-align: center; } .portable-infobox .pi-horizontal-group { text-align: center; } .portable-infobox .pi-image-collection .pi-image-collection-tabs { text-align: center; } .pi-title, .pi-header { text-align: center; font-weight: bold; } .theme-fandomdesktop-dark .pi-title, .theme-fandomdesktop-dark .pi-header { font-family: var(--wiki-headings-font); }

/* Table */

.ooui-theme-fandomooui .article-table td, .ooui-theme-fandomooui .WikiaTable td, .ooui-theme-fandomooui .article-table th, .ooui-theme-fandomooui .WikiaTable th, .ooui-theme-fandomooui .article-table tr, .ooui-theme-fandomooui .WikiaTable tr { border: 1px solid var(--theme-accent-color); } .ooui-theme-fandomooui .article-table th, .ooui-theme-fandomooui .WikiaTable th { background: var(--theme-accent-color); color: var(--theme-link-color); } .ooui-theme-fandomooui .article-table td, .ooui-theme-fandomooui .WikiaTable td { background: var(--theme-page-background-color); } .article-table, .cell-hide, .article-table tr{ background: none !important; border: 0 !important; }

/* Search page */

.mw-body-content .unified-search__input, .page-content .unified-search__input, .WikiaPageContentWrapper .unified-search__input { border-radius: 40px; } .unified-search__input__button { border-radius: 0 20px 20px 0; } .unified-search__input__wrapper { border-radius: 20px 0 0 20px !important; } .mw-body-content .unified-search__layout, .page-content .unified-search__layout, .WikiaPageContentWrapper .unified-search__layout { grid-template-columns: none !important; }

/* BackToTopButton */

opacity: 0.8; }
 * 1) BackToTopBtn div:hover {

/* Wiki Notification */

.mw-notification.mw-notification-tag-WikiaNotification { max-height: 320px !important; }

/* Reddit */

.mainpage__reddit img { border-radius: 50%; } .join-button { margin-top: 10px; border: 1px solid var(--theme-accent-color); background-color: transparent; border-radius: 25px; text-transform: none !important; cursor: pointer; } .join-button a:hover, .join-button a:active { text-decoration: none !important; } .join-button:hover { background-color: var(--theme-accent-color); }

/* Chinese Webnovel Template */

.cn-novels .mw-parser-output .tabber .wds-tab__content a { display: inline-block; color: var(--theme-page-text-color); text-decoration: none !important; border-radius: 6px; background-color: var(--theme-page-background-color); padding: 5px 10px; margin: 0 3px 3px 0; } .cn-novels .mw-parser-output .tabber .wds-tab__content a:hover { background-color: var(--theme-accent-color); color: var(--theme-accent-label-color); position: relative; box-shadow: 0 3px 20px 0 rgba(0,0,0,.2); -webkit-box-shadow: 0 3px 20px 0 rgba(0,0,0,.2); }

/* Link Preview */

.npage-preview { animation: all 2s ease-in; }