MediaWiki:FandomMobile.css

/* CSS placed here will affect users of the mobile site */ /* Header and footer */ .header-container.header-chrome, background: #212121; }
 * 1) mw-mf-page-center {

.nomobile { display: none; }

body { background-position: left top; background-attachment: fixed; background-repeat: no-repeat; background-color: #000000; background-size: cover; color: #ffffff; }

a.watch-this-article { background-image: url("https://static.wikia.nocookie.net/commons_hydra/images/7/7b/Watch_lighter.png") !important; /* optional if a lighter version of the star icon is required */ }

/* search header */ .pre-content #page-actions { background: rgba(0, 0, 0, 0.85) !important; }

.overlay { background: rgba(0, 0, 0, 0.85); }

.overlay .overlay-header-container { background: rgba(0, 0, 0, 0.85) !important; }

.search-overlay .overlay-header, .search-overlay .results { background-color: rgba(0, 0, 0, 0.85) !important; color: #F2852C; }

.search-overlay { background: none repeat scroll 0 0 rgba(0, 0, 0, 0.5) !important; }

ul.suggestions-results, ul.suggestions-results li { background: rgba(0, 0, 0, 0.85); color: #F2852C; }

ul.suggestions-results li.suggestions-result { color: #F2852C; }

/* general header */ background: rgba(0, 0, 0, 0.85); }
 * 1) mw-mf-header form,
 * 2) mw-mf-sq {

/* non-content area */ footer { border-top: 1px solid #394147; color: #ffffff; background: rgba(0, 0, 0, 0.85); }

footer a { color: #F2852C; }

footer h2 { color: #ffffff; }

.globalNotice { position: relative; color: white; }

.page-Main_Page.is-authenticated .pre-content { display: none; }

.notification-count { background: transparent; }

/* content area */ .overlay-enabled, #content { background: rgba(0, 0, 0, 0.85); }

a, a.external { color: #F2852C; }

.content table th { background-color: rgba(0, 0, 0, 0); }

.content table td, .content table th { border: medium none; padding: 3px; }

h1, h2 { background: none repeat scroll 0 0 rgba(0, 0, 0, 0); border-bottom: 1px solid #404040; color: #ffffff; }

h3, h4, h5, h6 { background: none repeat scroll 0 0 rgba(0, 0, 0, 0); color: #ffffff; }

.thumb, background: transparent; border: 2px solid #ffffff; }
 * 1) content_wrapper .thumb {

table.wikitable { border: none; border-collapse: separate !important; border-spacing: 2px !important; margin: auto; margin-bottom: 1em; }

table.wikitable td { border: none; padding: 3px; background: rgba(0, 0, 0, 0); }

table.wikitable th { background: rgba(0, 0, 0, 0); border: none; padding: 3px; }

.mwm-notice, background: rgba(0, 0, 0, 0); border: 2px solid #F2852C; border-radius: 5px 5px 5px 5px; }
 * 1) searchbox {

.divclearable, a.watch-this-article, .jsEnabled #mw-mf-main-menu-button { background-color: rgba(0, 0, 0, 0); }

a.back_to_top, a.back_to_top:visited { margin-top: 7px; }

.fp-header { background:#290404; border:1px solid #D72402; color:#FFFFFF; font-size:150%; padding: 1px; text-align:center; margin: 15px 0 5px; }

.fp-archives { display: flex; flex-wrap:wrap; max-width: 500px; margin: 0 auto; justify-content: center; }

.fp-archives > div { width: 75px; text-align: center; margin: 5px; } .fp-archives .article-media-thumbnail { margin-bottom: 0; }

.fp-heroes { display: flex; flex-wrap: wrap; max-width: 360px; margin: 0 auto; justify-content: center; }

.fp-heroes > div { width: 80px; text-align: center; margin: 5px; }

.fp-classes { display: flex; flex-wrap: wrap; max-width: 600px; margin: 0 auto; justify-content: center; }

.fp-classes > div { width: 140px; margin: 5px; }

/* Hero Skills */ .healtitle, .wikitable > * > tr > .healtitle, .ooui-theme-fandomooui .wikitable > * > tr > .healtitle { background-color: #005C00; color: #ffffff; }

.bufftitle, .wikitable > * > tr > .bufftitle, .ooui-theme-fandomooui .wikitable > * > tr > .bufftitle { background-color: #267396; color: #ffffff; }

.destroytitle, .wikitable > * > tr > .destroytitle, .ooui-theme-fandomooui .wikitable > * > tr > .destroytitle { background-color: #610804; color: #ffffff; }

/* DD2 Skills */ .dd2-rank-self { font-variant: small-caps; }

/* There is currently a nasty bug in Fandom's mobile image renderer that inserts extra spaces around images. Something that gets rendered as   or in Desktop gets rendered instead as  . The extra spaces mess up the dot layout. The way to fix this right now is to set "font-size: 0" to effectively make the spaces invisible. However this also has some other unintended consequences, like messing up the vertical alignment. Hence the last two lines of the dd2-rank specification are here as a kludge to fix Fandom's bugs; hopefully they can be removed at some point in the future. .dd2-rank { display: inline-block; min-width: 53px; font-size: 0; vertical-align: middle; }

.dd2-skill-box { width: fit-content; --theme-border-color: transparent; --theme-page-background-color--secondary: #171010; }

.dd2-skill-name { text-align: center; font-weight: bold; }

.dd2-skill-basic-info { text-align: center; margin: auto; --theme-page-background-color--secondary: transparent; }

.dd2-skill-basic-info tr:last-child { vertical-align: top; }

.dd2-skill-data { text-align: center; width: 100%; }

.dd2-skill-effect { display: inline-block; width: fit-content; text-align: left }

.dd2-skill-notes { display: flex; }

.dd2-skill-notes div { flex-grow: 1; width: 0; }