MediaWiki:Mobile.css

/* CSS placed here will affect users of the mobile site */

.overlay #secondary-button.user-button, .header #secondary-button.user-button, .overlay .user-button, .header .user-button { background: transparent; }

body { background: #000 url(https://static.wikia.nocookie.net/daemonsxmachina_en/images/4/4c/Daemon_Machina_Background.jpg/revision/latest) no-repeat fixed center 30px / 100% auto; /* */ color: white; }

/* Header and footer */ .header-container.header-chrome, background: transparent; }
 * 1) mw-mf-page-center {

.header .branding-box h1 { border-bottom: none; }

.nomobile { display: none; }

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 .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: #c0c0c0; }

.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: #c0c0c0; }

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

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

/* non-content area */

.overlay-enabled, background: rgba(0, 0, 0, 0.7); color: white; }
 * 1) content {

footer { border-top: 1px solid #666668; color: #ffffff; text-shadow: 1px 1px #000000; }

footer a { color: #fefeee; text-shadow: 1px 1px #000000; }

footer h2 { color: #fefeee; text-shadow: 1px 1px #000000; }

/* content area */ a, a.external { color: #9db4c2; }

.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 white; color: white; }

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

.thumb, background: transparent; border: 2px solid rgba(0, 0, 0, 0.2); }
 * 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 rgba(0, 0, 0, 0.2); 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; }

a:visited { color:#919e6d; }

/* Fix black on black section arrows */ .mw-ui-icon-arrow::before { filter: invert(100%); }

ul.gallery, li.gallerybox { background-color: transparent; border-color: transparent; }

li.gallerybox div.thumb { background-color: #181818; border-color: #303030; }

position: relative; padding: 5px; background-color: #1f3850; border: #46ffdd 1px solid; border-radius: 3px; }
 * 1) action-table tr td .action-image {

position: absolute; top: -1px; left: -1px; z-index: 1; line-height: 1.1em; padding:0 1px 0 1px; color: #46ffdd; border: #46ffdd 1px solid; border-radius: 3px; }
 * 1) action-table tr td .animated {

/* Tablet */ @media screen and (min-width: 600px) { #action-table tr td .animated { font-size: 75%; padding: 1px 1px 0 1px; } }

/* Table layout for phones */ @media screen and (max-width: 600px) and (orientation:portrait) { #action-table { border: 0; }

#action-table thead, #action-table th { display: none; }

#action-table tr { margin-bottom: 15px; display: block; float: left; }

#action-table td { display: block; text-align: left; border: none; float: left; clear: right; width: 70%; padding: 0; }

#action-table td:first-child { display: inline-block; border: none; float: left; clear: none; width: 23%; padding-right: 5px; }

#action-table td:last-child { min-height: 26px; text-align: right; float: left; width: 98% }

#action-table td:last-child:before { content: attr(data-label); float: left; font-weight: bold; } }

.globalNotice { color: white; }

.header { background-color: #1f3042; border: #1f3042; box-shadow: none; color: #FFFFFF; font-size: 150%; margin-bottom: 10px; text-align: center; }

img.percentage { width: 95%; height: auto; padding-top:1%; }

/********************* /* Front page styles * /*********************/ .fpbox { border: 1px solid #1f3042; background: rgba(0, 0, 0, 0.25); color: white; margin: 5px 5px 5px 5px; padding: 5px 5px 5px 5px; overflow: auto; width: calc(100% - 2px); }

.fpbox .mainheading { border: none; border-bottom: 1px solid #1f3042; color: #ffffff; font-size: 150%; font-weight: bold; margin: 0 0 10px 0; padding: 0 0 5px 0; overflow: auto; }

.fpbox .heading { border: none; border-bottom: 1px solid #1f3042; color: #ffffff; font-size: 132%; margin: 0 0 10px 0; padding: 0 0 5px 0; overflow: auto; }

.fpbox.plain { border: none; box-shadow: none; background: transparent; }

.fpimagelist ul { list-style-type: none; list-style-image: none; }

.fpvideos { margin: 0 auto; overflow: hidden; text-align: center; }

.fpvideo { display: inline-block; margin: 0 5px; }

/* Auto-resize front page video to fit smaller columns */ .fpbox .embedvideowrap { width: 100%!important; max-width: 480px; margin: 0 auto; }

.fpbox .embedvideowrap iframe { width: 100%!important; }

/* Multi-column box support */ .fp-container main .columns .leftcol, .fp-container .columns .rightcol { width: 100%; margin: 0; padding: 0; }

@media (min-width: 990px) { .fp-container .columns .leftcol { float: left; width: 50%; }

.fp-container .columns .rightcol { float: right; width: 50%; } }

.fp-section { display: flex; flex-wrap: wrap; }

/* This CSS governs the responsive 3 column main page layout */ min-height:calc(325px + 2.3em); }
 * 1) fptweets {

display: grid; grid-template-areas: "a" "b" "c" "d"; grid-template-columns: 100%; } @media screen and (min-width:990px) { #fp-3column.fp-container { grid-template-areas: "a b" "c b" "c d"; grid-template-columns: 50% 50%; } } @media screen and (min-width:1350px) { #fp-3column.fp-container { grid-template-areas: "a b c" "d b c"; grid-template-columns: 33.3% 33.3% 33.3%; } }
 * 1) fp-3column.fp-container {

grid-area: a; }
 * 1) fp-1 {

grid-area: b; }
 * 1) fp-2 {

grid-area: c; }
 * 1) fp-3 {

grid-area: d; } /* end responsive 3 column main page layout */
 * 1) fp-4 {

/* INFOBOXES: game or book depended color style */ .infoboxtable { background-color: transparent; border: 1px solid #1f3042; color: white; float: right; font-size: 89%; margin-bottom: 0.5em; margin-left: 1em; padding: 0.2em; width: 300px; }

.infoboxtable td { vertical-align: top; }

.infoboxtable td > div { background-color: transparent; border: 2px solid inherit; border-radius: 5px; font-weight: bold; padding: 0.5px 7px; text-align: left; }

.infoboxname { background-color: #1f3042; border: 2px solid inherit; color: white; font-size: 100%; font-weight: bold; padding: 0.5em; }

.infoboxdetails { background: #1f3042; color: white; }

.feature { background: rgba(0, 0, 0, 0.1); border: 1px solid rgba(0, 0, 0, 0.5); border-radius: 5px; padding: 10px; }

.skin-hydradark div#mw-panel div.portal h3 { color: #c0c0c0; }

.overlay-enabled, #content { background: rgba(0, 0, 0, 0.8); }