MediaWiki:Mobile.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 {

body.page-Gamepedia_Help_Wiki div.heading-holder { text-align: center; margin-top: 0.7em; margin-bottom: 0.7em; padding: 0; }

footer { color: #e0e0e0; }

/* Footer bullets */ .hlist-separated li::after { color: #F37F20; }

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

/* end header and footer */

.nomobile { display: none; }

/* Custom fonts */ @font-face { font-family: 'Montserrat'; font-style: normal; font-weight: 400; src: local('Montserrat-Regular'), url(https://fonts.gstatic.com/s/montserrat/v5/zhcz-_WihjSQC0oHJ9TCYBsxEYwM7FgeyaSgU71cLG0.woff) format('woff'); } @font-face { font-family: 'Montserrat'; font-style: normal; font-weight: 700; src: local('Montserrat-Bold'), url(https://fonts.gstatic.com/s/montserrat/v5/IQHow_FEYlDC4Gzy_m8fcgFhaRv2pGgT5Kf0An0s4MM.woff) format('woff'); }

.client-js .toc-mobile { background-color: rgba(0, 0, 0, 0) !important; border: 1px solid #505050 !important; }

.mw-ui-button, .last-modified-bar #mw-mf-last-modified { background-color: rgba(0, 0, 0, 0); color: #e0e0e0; }

body { background: #212121; color: #E0E0E0; }

.overlay-enabled, #content { background: #212121; color: #e0e0e0; }

h1, h2, h3, h4, h5, h6 { color: #E0E0E0; font-family: Montserrat; }

a, a:visited, a.external { color: #F37F20; }

.mw-ui-icon-arrow::before { filter: invert(100%); }

.thumb, li.gallerybox div.thumb { background-color: rgba(0, 0, 0, 0); border: 1px solid #505050; }
 * 1) content_wrapper .thumb,

.content .thumbcaption { color: #e0e0e0; }

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

.content table td, .content table th { border: 1px solid #505050; padding: 3px; }

.content table.wikitable { background-color: rgba(0, 0, 0, 0); border: 1px solid #C18555; margin: auto; margin-bottom: 1em; }

.content table.wikitable > tr > th, .content table.wikitable > tr > td, .content table.wikitable > * > tr > th, .content table.wikitable > * > tr > td { border: 1px solid #9F6A00; }

.content table.wikitable > tr > th, .content table.wikitable > * > tr > th { background-color: #282828; text-shadow: 1px 1px 0 #000000; padding: 3px; }

pre, .mw-code { background-color: #282828; border-color: #505050; }

/* TOC */ .client-js .toc-mobile { background-color: rgba(0, 0, 0, 0) !important; border: 1px solid #505050 !important; }

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

/* Search */ .search-overlay { background: rgba(0, 0, 0, 0.9) !important; }

.search-overlay .results, .search-overlay .search-feedback { background-color: #212121 !important; }

.list-thumb.list-thumb-none { background-image: linear-gradient(transparent,transparent),url(data:image/svg+xml,%3C%3Fxml%20version%3D%221.0%22%20encoding%3D%22utf-8%22%3F%3E%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20viewBox%3D%220%200%2056%2056%22%3E%3Cpath%20fill%3D%22%23212121%22%20d%3D%22M0%200h56v56H0z%22%2F%3E%3Cpath%20fill%3D%22%23E0E0E0%22%20d%3D%22M36.4%2013.5H17.8v24.9c0%201.4.9%202.3%202.3%202.3h18.7v-25c.1-1.4-1-2.2-2.4-2.2zM30.2%2017h5.1v6.4h-5.1V17zm-8.8%200h6v1.8h-6V17zm0%204.6h6v1.8h-6v-1.8zm0%2015.5v-1.8h13.8v1.8H21.4zm13.8-4.5H21.4v-1.8h13.8v1.8zm0-4.7H21.4v-1.8h13.8v1.8z%22%2F%3E%3C%2Fsvg%3E) !important; }

.page-summary h2, .page-summary h3 { color: #F37F20 !important; }

/* Hamburger menu */ nav { background: #212121 !important; }
 * 1) mw-mf-viewport,

nav ul li { background: #181818 !important; }

nav ul.hlist li { background: transparent !important; }

color: #b0e03b; }
 * 1) mw-mf-page-left ul li a.mw-ui-icon {

nav ul li a { font-weight: bold; }

nav ul.hlist li a { color: #F37F20 !important; }

nav ul:last-of-type { padding-bottom: 0; }

/* Overlays and editor */ .overlay.editor-overlay, .overlay-header-container, .overlay-footer-container { background: #212121 !important; }

.editor-overlay .wikitext-editor { color: #E0E0E0; }

.editor-overlay .summary-request { color: #E0E0E0 !important; }

.oo-ui-windowManager-modal > .oo-ui-dialog > .oo-ui-window-frame { background-color: rgba(0, 0, 0, 0.9) !important; }

.ve-ui-mwSaveDialog-options { background-color: #212121 !important; }

/* Notifications */ .mw-ui-anchor.mw-ui-progressive { color: #F37F20; }

/* Responsive main page stuff */ /******************** /* Main menu styles * /********************/ .primary-navigation-enabled { background: #101010 !important; }

background: transparent; }
 * 1) mw-mf-page-left {

background: transparent; }
 * 1) mw-mf-page-left ul {

border-top: 1px solid #505050; border-bottom: 1px solid #505050; background: transparent; text-shadow: none; }
 * 1) mw-mf-page-left ul li {

border: none; color: #F37F20; }
 * 1) mw-mf-page-left ul li a,
 * 2) mw-mf-page-left ul.hlist li a {

border-left: 12px solid #505050; background: #505050; }
 * 1) mw-mf-page-left ul li:hover {

border: none; }
 * 1) mw-mf-page-left ul.hlist li:hover {

color: #ffffff; }
 * 1) mw-mf-page-left ul li:hover a,
 * 2) mw-mf-page-left ul.hlist li:hover a {

/* Recent changes */ .content .mw-changeslist table td { border: none; padding: 1px; }

/********************* /* Front page styles * /*********************/ .fp-box { background: rgba(170, 170, 170, 0.05); border: 1px solid #F37F20; box-shadow: 0 0 2px #F37F20; margin: 0.5em; padding: 0.5rem; }

.fp-box .welcome { border-bottom: 1px solid #F37F20; background: transparent; color: #e0e0e0; font-size: 150%; text-transform: uppercase; text-align: center; margin: 0 0 10px 0; padding: 0 0 5px 0; }

.fp-box .fp-heading { border-bottom: 1px solid #F37F20; background: transparent; color: #B0E03B; font-size: 132%; font-family: 'Montserrat', Arial, sans-serif; font-weight: bold; margin: 0 0 0.5rem; padding: 0 0 0.5rem; text-align: center; }

.fp-box .fp-heading .smalllink { color: #B0E03B; font-weight: bold; font-size: 75%; }

.fp-box .fp-body { overflow: hidden; } .fp-box.mobilecollapsible .fp-heading a.togglecollapse { display: block; padding: 0 0 0 15px; }

.fp-box.mobilecollapsible .fp-heading a.togglecollapse:active, .fp-box.mobilecollapsible .fp-heading a.togglecollapse:hover { text-decoration: none; }

.fp-box.mobilecollapsible.collapsed .fp-heading { border: none; margin-bottom: 0; padding-bottom: 0; }

.fp-box.mobilecollapsible .fp-heading a { position: relative; color: #b0e03b; }

.fp-box.mobilecollapsible .fp-heading a:before { content: ''; width: 12px; height: 12px; background-image: url("/skins/Vector/images/arrow-down.png"); background-image: linear-gradient(transparent,transparent),url('data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 width=%2212%22 height=%2212%22 viewBox=%220 0 12 12%22%3E %3Cpath d=%22M11.05 3.996l-.965-1.053-4.035 3.86-3.947-3.86L1.05 3.996l5 5 5-5%22 fill=%22%23fff%22/%3E %3C/svg%3E'); position: absolute; left: 0; top: 50%; margin-top: -6px; }

.fp-box.mobilecollapsible.collapsed .fp-heading a:before { transform: rotate(-90deg); }

.fp-box.mobilecollapsible.collapsed .fp-body { display: none; }

.fp-box hr { border: none; border-bottom: 1px solid #F37F20; }

.fpplainbox { padding: 5px 8px 10px 8px; margin: 0 5px 10px 5px; vertical-align: top; }

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

.fp-columns { -webkit-column-width: 12em; -moz-column-width: 12em; column-width: 12em; -webkit-column-count: 2; -moz-column-count: 2; column-count: 2; -webkit-column-gap: 0.25em; -moz-column-gap: 0.25em; column-gap: 0.25em; }

.fp-columns ul { margin: 0; padding: 0; }

.fp-columns ul li { display: block; width: 100%; margin-bottom: 0.25em; box-sizing: border-box; border: 1px solid rgba(243, 127, 32, 0.2); background: rgba(170,170,170,0.05); border-radius: 4px; text-align: center; }

.fp-columns ul li a { display:block; text-decoration: none; padding: 0.25em 0.5em; }

.fp-columns li a:hover { background-color: rgba(0,0,0,0.2); text-decoration: none; }

.fplinks { display: flex; flex-flow: row wrap; justify-content: center; margin: -2px -3px; }

.fplinks .linkslabel { border-bottom: 1px solid #F37F20; margin: 6px 3px 0 3px; flex: 0 0 100%; }

.fplink { display: flex; align-items: stretch; justify-content: stretch; flex: 0 0 100%; padding: 2px 3px; box-sizing: border-box; }

@media (min-width: 400px) { .fplink { flex: 0 0 50%; } }

.fplink.wide { flex: 0 0 100%; }

.fplink .box { background: transparent; border: 1px solid #F37F20; border-radius: 2px; box-shadow: 0 0 0 2px #F37F20 inset; color: #e0e0e0; display: flex; flex-flow: column nowrap; font-weight: bold; align-items: stretch; justify-content: stretch; text-transform: uppercase; flex-grow: 1; min-height: 4em; }

.fplink.image { justify-content: flex-start; }

.fplink.image .box { min-height: 70px; }

.fplink.image .box .image { display: flex; flex-grow: 1; min-height: 70px; }

.fplink.image .image a { min-height: 70px; }

.fplink.image .box .image img { max-width: 100% !important; width: auto !important; max-height: 70px !important; }

.fplink.image .image { font-size: 75%; }

.fplink .link { display: flex; align-items: stretch; justify-content: stretch; flex-grow: 1; }

.fplink a { display: flex; align-items: center; justify-content: center; flex-grow: 1; }

.fplink.image .link a { border-top: 1px solid #F37F20; background: rgba(0, 0, 0, 0.25) !important; }

.fpvideos { margin: 0 auto; overflow: hidden; text-align: center; max-width: 480px; }

.fpvideo { position: relative; padding-top: 25px; padding-bottom: 56.25%; height: 0; }

.fpvideo iframe { position: absolute; top: 0; left: 0; width: 100%; height: 100%; }

.fp-box .bigmobilelinks .rightcol { padding: 0.25em 0 0 0; }

@media (min-width: 400px) { .fp-box .bigmobilelinks .rightcol { padding: 0; } }

.fp-box .bigmobilelinks ul, .fp-box .bigmobilelinks .leftcol ul, .fp-box .bigmobilelinks .rightcol ul { list-style: none; margin: 0; padding: 0 15px; }

.fp-box .bigmobilelinks ul ul, div#content .fp-box .bigmobilelinks .leftcol ul ul, div#content .fp-box .bigmobilelinks .rightcol ul ul { list-style: none; padding: 0.25em 1em 0 1em; }

.fp-box .bigmobilelinks ul li div { display: flex; align-items: center; justify-content: center; background: rgba(128, 128, 128, 0.1); min-height: 4em; margin: 0.25em 0; padding: 0; }

.fp-box .bigmobilelinks a { display: flex; align-items: center; justify-content: center; text-align: center; border: 1px solid #96bd38; background: rgba(128, 128, 128, 0.2); min-height: 3em; margin: 0.25em 0; padding: 0; border-radius: 10px; font-weight: 600; border: 1px solid #6d6d6d; padding: 2px; }

div.cpbox div.bg-highlight { width: unset !important; }

/* Classes permitting setting of alignment on mobile only or differently on desktop and mobile */ /* (See .desktopleft, .desktopcenter, .desktopright in MediaWiki:Common.css for the desktop equivalents */ .mobileleft {   text-align: left; }

.mobilecenter { text-align: center; }

.mobileright { text-align: right; }

.columns { padding: 0; margin: 10px 0 0 0; overflow: hidden; }

.columns .leftcol { float: left; width: 50%; margin: 0; padding: 0; }

.columns .centercol { float: left; margin: 0; padding: 0; }

.columns .rightcol { float: right; width: 50%; margin: 0; padding: 0; }

div.button a:hover { background-color: #8fb72e; }

div.button a { background: #B0E03B; color: #212121; padding: 5px 20px; border-radius: 5px; font-size: 130%; font-weight: bold; text-decoration: none; }

/* Infobox template style */ .content table.infobox { background-color: rgba(0, 0, 0, 0); border: 1px solid #F37F20; color: #FFFFFF; float: right; font-size: 89%; margin-bottom: 0.5em; padding: 0.2em; width: 300px; }

.content table.infobox td.infoboxlabel { background-color: #181818; border: 2px solid inherit; font-weight: bold; padding: 0.5px 7px; text-align: right; }

.infoboxname { background-color: #181818; color: #B0E03B; font-size: 110%; font-weight: bold; padding: 0.5em; }

.infoboxdescription { background-color: #181818; }

/* Fix for making areas more readable in either Hydra or Hydradark */ .bg-highlight { background-color: #181818; border-color: #080808; }

/* CSS placed here will be applied to GeSHi syntax highlighting */

/* Fix Geshi font size. Why does this work? Who knows! */ .mw-geshi.mw-geshi.mw-geshi, .mw-geshi.mw-geshi > div { font-family: monospace, monospace; }

/* Fix border-radius inside the code */ .mw-geshi pre { border-radius: 0; }

/* hydradark-specific colour tweaks */ /* css */

.mw-highlight .nf { color: aqua; }

.css.source-css .imp { color: #ff0000; }

.css.source-css .kw1 { color: #ffffff; }

.css.source-css .kw2 { color: #cc6633; }

.css.source-css .co1 { color: #a1a100; }

.css.source-css .co2 { color: #ff0000; }

.css.source-css .coMULTI { color: #808080; }

.css.source-css .es0 { color: #00FFFF; }

.css.source-css .es2 { color: #00FFFF; }

.css.source-css .br0 { color: #00AA00; }

.css.source-css .sy0 { color: #00AA00; }

.css.source-css .st0 { color: #ff0000; }

.css.source-css .nu0 { color: #cc66cc; }

.css.source-css .re0 { color: #cc00cc; }

.css.source-css .re1 { color: #6666ff; }

.css.source-css .re2 { color: #3399FF; }

.css.source-css .re3 { color: #cc6633; }

.css.source-css .ln-xtra, .css li.ln-xtra, .css div.ln-xtra { background-color: #101010; }

/* javascript */ .javascript.source-javascript .kw1 { color: #00ffff; }

.javascript.source-javascript .kw2 { color: #6699ff; }

.javascript.source-javascript .kw3 { color: #0066FF; }

.javascript.source-javascript .kw5 { color: #ff0000; }

.javascript.source-javascript .coMULTI, .javascript.source-javascript .co1 { color: #33cc66; }

.javascript.source-javascript .co2 { color: #009966; }

.javascript.source-javascript .br0 { color: #33CC33; }

.javascript.source-javascript .es0 { color: #00CCCC; }

.javascript.source-javascript .imp { color: #ff0000; font-weight: bold; }

.javascript.source-javascript .me1 { color: #cc00ff; }

.javascript.source-javascript .nu0 { color: #FFCC00; }

.javascript.source-javascript .st0 { color: #3399ff; }

.javascript.source-javascript .sy0 { color: #339933; }

.javascript.source-javascript .ln-xtra, .javascript.source-javascript li.ln-xtra, .javascript.source-javascript div.ln-xtra { background-color: #181818; }

/* Gamepedia images tweak */ .gamepedia-icon { background-image: url("https://static.wikia.nocookie.net/commons_hydra/images/3/38/Gamepedia_dark_transparent.png"); background-size: 100%; background-repeat: no-repeat; width: 500px; height: 111px; } .scalable img { max-width: 100%; height:auto; }

/*************************** /* Dark Wiki Variation */ .keysDark { color:black; border: 1px solid rgb(170, 170, 170); box-shadow: 0.1em 0.2em 0.2em rgb(221, 221, 221); border-radius: .2em; background-image: linear-gradient(to bottom, rgb(238, 238, 238), rgb(249, 249, 249), rgb(238, 238, 238)); background-color: rgb(249, 249, 249); padding: 0.1em 0.6em 0.1em 0.6em; margin-right:2px; font-size:85%; font-family:inherit; font-style:normal; }
 * Used by Template:Key *

/* Light Wiki Variation */ .keysLight { color:white; border: 1px solid rgb(0, 0, 0); box-shadow: 0.1em 0.2em 0.2em rgb(0, 0, 0); border-radius: .2em; background-image: linear-gradient(to bottom, rgb(0, 0, 0), rgb(15, 15, 15), rgb(30, 30, 30)); background-color: rgb(30, 30, 30); padding: 0.1em 0.6em 0.1em 0.6em; margin-right:2px; font-size:85%; font-family:inherit; font-style:normal; }

/******************************
 * End Template:Key coloration *

.tutorial-real-regex::before { font-family: "FontAwesome"; content:'\f058'; font-weight:bold; color:green; }