MediaWiki:FandomMobile.css

/*Imports*/ /** Fonts **/ @import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@500&display=swap'); @font-face { font-family: 'Montserrat', sans-serif; } /* End Imports */

/* Article Space & UI */ /** Admin colors **/ /*** Text colors ***/ a[href$=":ElpisGalaxy"], a[href$="/ElpisGalaxy"] { color: #9370DB !important; font-weight: 600 !important;} a[href$=":D4rkWzd"], a[href$="/D4rkWzd"] { color: #9370DB !important; font-weight: 600 !important;} /*** End Text colors ***/ /*** Profile frame colors ***/ .page-User_ElpisGalaxy div.user-identity-avatar img.user-identity-avatar__image, .page-Message_Wall_ElpisGalaxy div.user-identity-avatar img.user-identity-avatar__image, .page-User_blog_ElpisGalaxy div.user-identity-avatar img.user-identity-avatar__image, .page-Special_Contributions_ElpisGalaxy div.user-identity-avatar img.user-identity-avatar__image, .page-Special_UserProfileActivity_ElpisGalaxy div.user-identity-avatar img.user-identity-avatar__image, img.wds-avatar__image[alt='ElpisGalaxy'], div.EntityHeader_avatar__2TDnq[alt='ElpisGalaxy'] { border-color: #9370DB !important; } .page-User_D4rkWzd div.user-identity-avatar img.user-identity-avatar__image, .page-Message_Wall_D4rkWzd div.user-identity-avatar img.user-identity-avatar__image, .page-User_blog_D4rkWzd div.user-identity-avatar img.user-identity-avatar__image, .page-Special_Contributions_D4rkWzd div.user-identity-avatar img.user-identity-avatar__image, .page-Special_UserProfileActivity_D4rkWzd div.user-identity-avatar img.user-identity-avatar__image, img.wds-avatar__image[alt='D4rkWzd'], div.EntityHeader_avatar__2TDnq[alt='D4rkWzd'] { border-color: #9370DB !important; } /*** End Profile frame colors ***/ /** End Admin colors **/ /** Expand-Collapse button appearance **/ .mw-collapsible-toggle a { color: inherit !important; } .mw-collapsible-toggle { float:left !important; padding: 0 6px; color: #037ec4; font-weight: bold; } /** End Expand-Collapse **/ /** Maps background color **/ .interactive-maps__map { background-color: #b4dcfc !important; } /** End Maps **/ /** Mobile Infobox - adding accent color to group titles **/ .pi-header-wrapper { background: var(--theme-accent-color); margin-bottom: 8px; color: #3a3a3a !important; } .pi-group { margin: 0; padding-top: 0; padding-bottom: 5px; } .pi-group:not(:first-child){ border-top: 0 !important; } .pi-group .pi-item:not(.pi-header) { padding-left: 12px !important; padding-right: 12px !important; } .pi { border-radius: 0 0 4px 4px; } /** End Mobile Infobox **/ /**Removing icon overlay from recommended articles slideshow at the botton of the page **/ .related-content-items-wrapper > a > div > div { display: none; } /** End recommended articles **/ /** Adding margin after bullet lists to fix bad spacing in discography lists **/ ul { margin-bottom: 1.125rem; } /** End Spacing Fix */ /* End Article Space & UI */

/* Front Page */ /** Headings **/ .heading-a { text-align: center; overflow: auto !important; padding: 14px !important; margin: 10px 0 10px 0 !important; border-width: 1px !important; font-family: Montserrat !important; font-weight: 500 !important; font-size: 24px !important; border-radius: 0 !important; line-height: 26px; color: #3a3a3a !important; } .heading-b { text-align: center; overflow: auto !important; padding: 5px !important; margin: 10px 0 5px 0 !important; border-width: 0.5px !important; font-family: Montserrat !important; font-weight: 500 !important; font-size: 18px !important; border-radius: 0 !important; line-height: 20px; color: #3a3a3a !important; } .mobile-main-page h2 { background-color: var(--theme-accent-color) !important; padding: 12px 4px !important; font-family: 'Montserrat' !important; text-align: center !important; color: #3a3a3a !important; } .mobile-main-page h2 > .chevron-wrapper, .mobile-main-page h2 > .section-edit-link, .mobile-main-page h2 > .vertical-separator { display: none !important; } /** End Headings **/ /** Flexbox Grid **/ .flexGrid { display: flex; flex-wrap: wrap; justify-content: center; } .flexGrid > div{ margin: 1px; } /** End Flexbox Grid **/ /** Template:Infocard **/ .infocard-mobile > .article-table-wrapper, .infocard-mobile > .article-table-wrapper tr:not(:last-of-type), .infocard-mobile > .article-table-wrapper tr>th { border-color: var(--theme-accent-color) !important; } .infocard-mobile-titlecell { padding:2px !important; } .infocard-mobile-title { font-size: 1.4em !important; overflow: auto; padding: 1px !important; margin-bottom: 0 !important; text-align: center !important; font-family: Montserrat !important; font-weight: 500; color: #3a3a3a !important; } .infocard-mobile-image > figure > a > img { max-height: 400px; } /** End Template:Infocard/mobile **/ /** Template:Imagebox **/ .imagebox { height: 180px; width: 180px; position: relative; display: inline-block; } .imagebox-inner-1 { position: absolute; height: 100%; width: 100%; overflow: hidden; } .imagebox-inner-2 { position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%); height: 180px; width: 180px; overflow: hidden; } .imagebox-caption { background-color: rgba(0,0,0,0.5); position: absolute; bottom: 0; font-size: 10px; color: white; width: 180px; z-index: 3; font-family: Montserrat; font-weight: 500; } .imagebox-caption > p { text-align: center; margin: 5px 0; font-size: 12px; } .imagebox-caption > p > b > a { color:#fff; } .imagebox-inner-2 > figure > a > img { border: none !important; border-radius: 0 !important; } /** End Template:Imagebox **/ /** Template:Imagebox/alt **/ .imagebox-alt { height: 135px; width: 240px; position: relative; display: inline-block; } .imagebox-alt-inner-1 { position: absolute; height: 100%; width: 100%; overflow: hidden; } .imagebox-alt-inner-2 { position: absolute; top: 50%; left: 50%; transform: translate(-50%,-50%); height: 135px; width: 240px; overflow: hidden; } .imagebox-alt-caption { width: 240px; } .imagebox-alt-caption > p { text-align: center; margin-bottom: 10px; font-size: 16px; font-weight: 400; line-height: 18px; } .imagebox-alt-inner-2 > figure > a > img { border: none !important; border-radius: 0 !important; } /** End Template:Imagebox/alt **/ /** Hide default mobile main page and display full mobile main page **/ .mobile-main-page__wiki-description, .mobile-main-page__trending-articles, .mobile-main-page__popular-categories, .mobile-main-page .collapsible-section { display: none !important; } .mobile-main-page .mobile-hidden { display: block !important; } /** End Hide default mobile main page**/ /** Wider main page area **/ .mobile-hidden > #mw-content-text { padding: 0; } /** End wider front page **/ /** Better Fandom Stats **/ .mobile-hidden { margin-top: 5px !important; } .fandom-stats-item { padding-bottom: 0 !important; } .fandom-stats-container { margin-bottom: 10px !important; border-bottom: 1px solid var(--theme-border-color) !important; } /** End Fandom Stats **/ /** Wiki title at front page above logo */ .wiki-title { font-size: 24px !important; font-weight: 400 !important; margin-bottom: 20px !important; } /** End Wiki title**/ /* End Front Page **/

/* Utils */ /** Colors that change automatically based on dark/light theme **/ .accent-color { color: var(--theme-accent-color) !important; } .accent-color-bg { background-color: var(--theme-accent-color) !important; } .accent-color-border { border-color: var(--theme-accent-color) !important; } /** End Auto Colors **/ /** Utility classes **/ .text-center { text-align: center; } .text-white { color: white; } .text-justify { padding: 0 20px !important; text-align:justify !important; text-align-last: center !important; text-justify: inter-character !important; } .text-padding { padding-left: 20px; padding-right: 20px; } .display-none { display: none; } /** End Utility classes **/ /* End Utils */