MediaWiki:Mobile.css

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

/* FONTS */ @font-face { font-family: 'GothamPro-Black'; src: local('GothamPro-Black'), local('GothamPro-Black'), url('/media/hydra/fonts/GothamPro-Black.ttf') format('truetype'); }

/* Base styles */ .content { margin:0; padding-left:0.5em; }

/* Header and footer */ .header-container.header-chrome { background:linear-gradient(#523351,#393351); background-color:#393351; }

.header .branding-box h1, .header .branding-box a { color: #FFD66E; }

/* fixes a weird empty block between search and notification */ .header > div { width:unset; }

.mw-ui-icon-minerva-mainmenu::before, .mw-ui-icon-minerva-magnifying-glass::before{ filter:invert(1); }

.overlay.search-overlay { background:wheat; }

footer { background: wheat; color:black }

.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; }

.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; */ }

.overlay-enabled, #content { background-color: wheat; color: black; }

/* anchors */ a, a:visited, div#content a.extiw, div#content a.extiw:visited, div#content a.external, div#content a.external:visited { color: #AC6F8A; font-family: "GothamPro-Black"; }

a:hover { color: #916083; }

/* For hydradark only - makes the section collapse arrow visible */ /* .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 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); 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 #505050; }

.content table.wikitable > tr > th, .content table.wikitable > * > tr > th { background-color: inherit; padding: 3px; }

/* Responsive main page stuff */ /******************** /* Main menu styles * /********************/ .primary-navigation-enabled { border-left: 12px solid #505050 !important; background: #101010 !important; }

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

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

border-bottom: 12px solid #505050; }
 * 1) mw-mf-page-left ul:first-child {

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: #3674b3; }
 * 1) mw-mf-page-left ul li a,
 * 2) mw-mf-page-left ul.hlist li a {

border-left: 12px solid #aaaaaa; 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; }

/* Template documentation styles */ /* If modifying these styles, be sure to update the desktop skin! */ .doc { margin: 0em auto 1em; background-color: rgba(0, 0, 0, 0.1); border: 2px solid #BDCAC3; border-radius: 1em; padding: 1em; }

.doc-header { padding-bottom: 3px; border-bottom: 1px solid #BDCAC3; margin-bottom: 1ex; }

.doc-footer { margin: 0; background-color: rgba(0, 0, 0, 0.1); border: 2px solid #BDCAC3; border-radius: 1em; padding: 1em; }

/********************* /* Front page styles * /*********************/ .fpbox { background: rgba(255,255,255,0.5); border-radius: 5px; border: 2px solid #875A7F; color: black; /* change for hydra (light) wikis */ margin: 5px 5px 5px 5px; padding: 5px 5px 5px 5px; }

.fpbox .welcome { border-bottom: 1px solid #875A7F; color: #8c5b75; /* change for hydra (light) wikis */ font-size: 150%; margin: 0 0 10px 0; padding: 0 0 5px 0; text-transform: uppercase; text-align: center; font-family: "GothamPro-Black"; }

.fpbox .heading { background:linear-gradient(#523351,#393351); background-color: #393351; border: 2px solid #B2738D; color: #FCC56B; /* change for hydra (light) wikis */ font-size: 132%; text-transform: uppercase; margin: 0 0 10px 0; padding: 4px; font-family: "GothamPro-Black", sans-serif; }

.fpbox .heading a { color:#FFD66E; }

.fpbox .heading .smalllink { color: black; /* change for hydra (light) wikis */ font-size: 75%; font-weight: bold; }

.fpbox .body { overflow: hidden; }

.fpbox.mobilecollapsible .heading a.togglecollapse { display: block; padding: 0 0 0 15px; }

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

.fpbox.mobilecollapsible.collapsed .heading { border: none; margin-bottom: -4px; }

.fpbox.mobilecollapsible.collapsed .heading a.togglecollapse { background: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAUAAAAHCAQAAABqrk9lAAAAAmJLR0QA/4ePzL8AAAAJcEhZcwAACxMAAAsTAQCanBgAAAAHdElNRQfiBgcKGQuEiih2AAAALklEQVQI12OczPD2vzAjAwMDAxMDAwPD2/9wJoQDZTIwvP0PZwozMsEYUAUQEwDWNwihamz9rAAAAABJRU5ErkJggg==") left center no-repeat; }

.fpbox.mobilecollapsible.collapsed .body { display: none; }

.fpbox.mobilecollapsible.expanded .heading a.togglecollapse { background: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAcAAAAECAQAAADoz+32AAAAAmJLR0QA/4ePzL8AAAAJcEhZcwAACxMAAAsTAQCanBgAAAAHdElNRQfiBgcKGQFkX8FoAAAAIklEQVQI12Ns+M+ABJiEGREcYUYmBgaYgDAjAwMTjAERBABjNAH/5hy/QgAAAABJRU5ErkJggg==") left center no-repeat; }

.fpbox hr { border: none; border-bottom: 2px solid #505050; }

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

.fpmain .columns { overflow: hidden; }

.fpmain .columns .leftcol { width: 100%; margin: 0; padding: 0; }

.fpmain .columns .rightcol { width: 100%; margin: 0; padding: 0; }

@media (min-width: 400px) { .fpmain .columns .leftcol { float: left; width: 50%; margin: 0; padding: 0; }

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

/*** Template:FP link styles ***/ .fplinks { display: flex; flex-wrap: wrap; justify-content: space-evenly; align-items: stretch; text-align: center; }

.fplink-outer { padding: 5px; flex-basis: calc(50% - 10px); width: calc(50% - 15px); min-width: 115px; display: inline-block; vertical-align: middle; }

.fplink-wide { flex-basis: calc(33% - 10px); width: calc(33% - 15px); }

.fplink-fullwidth { flex-basis: 100%; width: calc(100% - 15px); font-weight: bold; }

.fplink { padding: 0.5em; box-sizing: border-box; width: 100%; height: 100%; display: table; background: #FCC96E; background-image: linear-gradient(to bottom,#FCC96E 0%,#FAA15A 100%); border: 1px solid #505050; border: 1px solid #964E26; border-radius: 4px; }

.fplink-fullwidth .fplink { background: rgba(100,100,100,0.4); }

.fplink-plain { background: transparent; border-radius: 0; border: 0; box-shadow: none; }

.fplink-inner { display: table-row; }

.fplink a { display: table-cell; vertical-align: middle; }

.fplink a, .fplink a.extiw { color: #3E3351; }

.fplink img { max-width: 150px; width: 100%; height: auto; }

.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%; }

.fpbox .bigmobilelinks .rightcol { padding: 0.25em 0 0 0; }

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

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

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

.fpbox .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; }

.fpbox .bigmobilelinks a { display: flex; align-items: center; justify-content: center; background: rgba(128, 128, 128, 0.2); min-height: 4em; margin: 0.25em 0; padding: 0; }

.fpbox .gallery .gallerybox { width: unset !important; }

.fpbox ul.gallery { padding-left:0; }

/*** mobile front page collapse ***/ .skin-minerva .fpbox.mobilecollapsible .heading a.togglecollapse { display: block; padding: 0 0 0 15px; }

.skin-minerva .fpbox.mobilecollapsible .heading a.togglecollapse:active, .skin-minerva .fpbox.mobilecollapsible .heading a.togglecollapse:hover { text-decoration: none; }

.skin-minerva .fpbox.mobilecollapsible.collapsed .heading { border: none; margin-bottom: -4px; }

.skin-minerva .fpbox.mobilecollapsible .heading a.togglecollapse { position: relative; }

.skin-minerva .fpbox.mobilecollapsible .heading a.togglecollapse: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%23222%22/%3E %3C/svg%3E"); position: absolute; left: 0; top: 50%; margin-top: -6px; }

.skin-minerva .fpbox.mobilecollapsible.collapsed .heading a.togglecollapse:before { transform: rotate(-90deg); }

.skin-minerva .fpbox.mobilecollapsible.collapsed .body { display: none; }

div.cpbox div.feature { 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; }

/* color of lines */ border: 0; overflow: hidden; border-top: 1px solid #AC6F8A; border-bottom: 1px solid #AC6F8A; padding: 0.5em 0; }
 * 1) page-actions {

.content .mw-parser-output > h2, .content .section-heading { width: 100%; border-bottom: 3px solid #ac6f8a; margin-bottom: 0.5em; }

/*************************************** @supports (mask-size:100%) or (-webkit-mask-size:100%){ /*don't apply any of this if the browser doesn't support a necessary part*/ .temtemPortrait { position:relative; mask-image:url(https://static.wikia.nocookie.net/temtem_gamepedia_en/images/7/76/Temtem_portrait_background.png/revision/latest); /**/ -webkit-mask-image:url(https://static.wikia.nocookie.net/temtem_gamepedia_en/images/7/76/Temtem_portrait_background.png/revision/latest); mask-size:100%; -webkit-mask-size:100%; display:inline-block; text-align:center; vertical-align: middle; }
 * Used by Template:Temtem portrait *

.temtemPortrait:before { position:absolute; height:100%; width:100%; top:0; left:0; content:""; background:url(https://static.wikia.nocookie.net/temtem_gamepedia_en/images/9/98/Temtem_portrait_border.png/revision/latest) no-repeat top left; /**/ background-size:100%; pointer-events:none; }

.temtemPortrait.background { background:url(https://static.wikia.nocookie.net/temtem_gamepedia_en/images/7/76/Temtem_portrait_background.png/revision/latest) no-repeat 100% / 100%; /**/ }

.temtemPortrait img { vertical-align:top; } } /*******************************
 * End Template:Temtem portrait *

/********************************** .gender-ratio { display:inline-block; border:1px solid black; height:1em; width:90%; max-width:10em; margin:0.1em; border-radius:5px; overflow:hidden; background-color:#aaa; }
 * Used by [[Template:Gender ratio *

.gender-ratio .male, .gender-ratio .female { height:1em; display:inline-block; margin:0; vertical-align:top; }

.gender-ratio .male { background-color:#25f; }

.gender-ratio .female { background-color:#fac; } /*******************
 * End gender ratio *

/**************** /* Tabber */ .tabber.tabberlive { overflow-y: auto; }
 * Tabber styles *

ul.tabbernav { border-color: #875A7F; }

ul.tabbernav li a, ul.tabbernav li a:link { background: linear-gradient(to bottom,#FCC96E 0%,#FAA15A 100%); background-color: #FCC96E; border: 1px solid #875A7F; border-radius: 4px 4px 0 0; margin-left: 1px; font-size:1.1em; }

ul.tabbernav li a:hover, ul.tabbernav li.tabberactive a:hover { box-shadow:inset 0 0 0 10px rgba(0,0,0,0.05); }

ul.tabbernav li.tabberactive a, ul.tabbernav li.tabberactive a:hover { color: #FCC56B; background: linear-gradient(#523351,#393351); background-color:#7D5873; border-color: #B2738D; }

ul.tabbernav li { display: inline-block; padding-top:0; margin-top: 0.25em; }

.tabber .tabbertab { border-color: #875A7F; } /********************
 * End Tabber styles *

/************************************ .encounterbox table { border-collapse:separate; }
 * Used by Template:Encounterbox *

.encounterbox table td{ border:none; }

.encounterbox-table { border-radius: 10px; width: 100%; background: #FAEFD9; border: 3px solid #875A7F; padding: 5px; text-align:center; }

.encounterbox .areaName { border-radius: 10px; text-align: left; background: #4E3351; padding: 3px; height: 25px; color: #FCC56B; border: 3px solid #B2738D; }

.encounterbox .map { border-radius: 10px; background: #7D5873; padding: 5px; width: 33%; }

.encounterbox .encounterbox-temtem { display:table; border-radius: 10px; width: 12% !important; padding: 3px; float: left; margin-right: 1%; margin-left: 8px; }

.encounterbox .type { border-radius: 10px; width: 45px; height: 45px; text-align: center; }

.encounterbox .temtemName { border-radius: 10px; text-align: center; background: #4E3351; padding: 3px; color: #FCC56B; border: 3px solid #B2738D; }

.encounterbox .row, .encounterbox .tv { border-radius: 10px; background: #7D5873; width: 50px; height: 25px; text-align: center; color: #EEEEEE; }

.tv-container { display:flex; flex-wrap:wrap; border-top:2px solid #b2738d; padding-top:2px; }

.tv { margin-bottom:2px;; background:#7D5873; border-radius:10px; color:#eee; padding:0 3px; text-align:center; flex:1 0 45%; }

.encounterbox-table .map { display:block; width:calc(100% - 10px); }

.encounterbox-table .map img { max-width:100%; height:auto; }

.encounterbox-table .encounters { display:flex; width:100%; justify-content:center; flex-flow:row wrap; }

.encounterbox-table .encounterbox-temtem { float:none; }

.encounterbox-table .temtemPortrait img, .encounterbox-table .temtemPortrait { max-width:64px; max-height:64px; }

.encounterbox-table .encounterbox-temtem .type img, .encounterbox-table .encounterbox-temtem .type { width:24px; height:24px; } /****************************
 * End Template:Encounterbox *

/***************** .content .infobox { float: none; width:94%; max-width:23em; margin:auto; padding: 4px; border:2px solid #875A7F; background-color:rgba(255,255,255,0.5); border-radius:10px; }
 * Infobox styles *

.content .infobox td, .content .infobox th{ border:0; }

.content .infobox-table { width: 100% !important; display:table; padding: 0; margin:0; background-color:transparent; border: 0; }

.content .infobox-header, .content .infobox-section { background: linear-gradient(#523351,#393351); background-color: #7D5873; border:2px solid #B2738D; border-radius: 4px; font-family: "GothamPro-Black", sans-serif; letter-spacing: 0.05em; color: #FCC56B; text-shadow: 0px 1px #8B8C99; font-weight:bold; text-align:center; }

.content .infobox-header { font-size: 150%; padding:0.4em; }

.content .infobox-section { padding:0.05em 0.5em; }

.content .infobox-centered { text-align: center; }

.content .infobox-centered img { max-width:100%; height:auto; }

.content .infobox-row { vertical-align: top; }

.content .infobox-row-name { min-width:50%; text-align: right; vertical-align:middle; background-color:#7D5873; padding:0.1em 0.7em; color:#eee; text-shadow:1px 1px 1px rgba(0,0,0,0.5); font-size:89%; }

.content .infobox .infobox-row-name a, .content .infobox .infobox-section a { color:#E5C3E5; }

.content .infobox-half-row { margin:0; width:100%; height:100%; text-align:center; border: 1px solid #875A7F; border-radius:10px; }

.content .infobox-half-row .infobox-row-name { text-align:center; height:.89em; }

.content .infobox-spacer { height: 0.5em; }

.content .infobox .tv-table { width:100%; text-align:center; border-spacing:2px 0; margin:0; }

.content .infobox .tv-table th { border:1px solid #875A7F; border-bottom:none; border-radius:5px 5px 0 0; width:14%; font-size:0.8em; }

.content .infobox .tv-table td { border:1px solid #875A7F; border-top:none; border-radius:0 0 5px 5px; height:1em; }

.typeMatchup { display:block; border-radius:6px; margin:3px auto; }

.typeMatchup .infobox-row-name, .typeMatchup .infobox-row-value { display:inline-block; width:calc(50% - 0.9em); }

.typeMatchup .infobox-row-name { background:none; text-shadow:none; color:#000; text-align:left; min-width:unset; }

.typeMatchup .infobox-row-value { text-align:center; }

.typeMatchup.green { background:#0F03; }

.typeMatchup.yellow { background:#FF03; }

.typeMatchup.gray { background:#0003; }

.typeMatchup.red { background:#F003; } /*********************
 * End infobox styles *

/******************************* .shopbox { border-radius: 10px; width: 100%; max-width: 70em; background: #FAEFD9; border: 3px solid #875A7F; padding: 5px; margin:5px auto; }
 * Used by Template:Shopbox *

.shopbox-header { border-radius: 10px; background: #4E3351; padding: 3px; height: 1.5em; min-height:25px; color: #FCC56B; border: 3px solid #B2738D; }

.shopbox-group-header { border-radius: 10px; background: #7D5873; height: 25px; margin:5px auto; text-align: left; text-indent: 15px; padding-bottom:2px; color: #EEEEEE; }

.shopbox-group { display:flex; flex-flow:row wrap; }

.shopbox-item { display:grid; grid-template-areas:"a b" "a c"; grid-template-columns:50px auto; box-sizing:border-box; width:calc(50% - 2px); border-radius: 10px; float: left; text-align: center; border: 3px solid #B2738D; margin: 1px; }

.shopbox-image { float:left; grid-area:a; width:50px; display:flex; align-items:center; }

.shopbox-image a { display:flex; width:50px; height:50px; align-items:center; justify-content:center; }

.shopbox-image img { width:auto; max-width:100%; height:auto; max-height:100%; }

.shopbox-link { grid-area:b; font-size:0.8em; padding-top:8px; display:flex; align-items:center; }

.shopbox-cost { grid-area:c; display:flex; justify-content:center; align-items:flex-end; padding-bottom:8px; font-size:0.9em; }

.shopbox-cost img { width:1em; height:auto; } /***********************
 * End Template:Shopbox *