MediaWiki:Mobile.css

@import url("/index.php?action=raw&title=MediaWiki:OSFEFonts.css&ctype=text/css"); @import url("/index.php?action=raw&title=MediaWiki:SkinSlideshow.css&ctype=text/css"); @import url("/index.php?action=raw&title=MediaWiki:Transforms.css&ctype=text/css"); @import url("/index.php?action=raw&title=MediaWiki:LinkFormatting.css&ctype=text/css");

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

footer { color: white; }

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

body { background: #25344b; }

.overlay-enabled, #content { background: transparent; color: white; }

.animations #mw-mf-page-center { background: hsla(0, 0%, 0%, 0.7); }

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

/* For hydradark only - makes the section collapse arrow visible */ .mw-ui-icon-arrow::before { filter: invert(100%); }

.header .branding-box h1 span { color: white; }

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

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

.content table td, .content table th { border: 0px solid #8bb9af; 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 #8bb9af; }

.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 { border-radius: 5px; border: 1px solid #eec247; box-shadow: 0 0 0 2px rgba(0, 0, 0, 0) inset; background: transparent; color: inherit; margin: 5px; padding: 5px; }

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

.fpbox .heading { border-bottom: 1px solid #505050; background: transparent; /* color: #e0e0e0; */ font-size: 132%; font-variant: small-caps; margin: 0 0 10px 0; padding: 0 0 5px 0; }

.fpbox .heading .smalllink { color: #3674b3; font-weight: bold; font-size: 75%; }

.fpbox .body { overflow: hidden; }

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

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

.fplinks .linkslabel { border-bottom: 2px solid #505050; 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; /*    background-color: #000000; background-image: -moz-linear-gradient(center top, #151515 0%, #000000 100%); background-image:-webkit-gradient(linear, center top, left bottom, color-stop(0%,#151515), color-stop(100%,#000000)); background-image:-webkit-linear-gradient(top, #151515 0%, #000000 100%); background-image:-o-linear-gradient(top, #151515 0%, #000000 100%); background-image:-ms-linear-gradient(top, #151515 0%, #000000 100%); background-image: linear-gradient(to bottom, #151515 0%, #000000 100%); */ border: 2px solid #505050; border-radius: 2px; box-shadow: 0 0 0 2px #505050 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: 2px solid #505050; background: #ddddb7 !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%; }

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

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

/*** infoboxes ***/ .infoboxtable { max-width: 300px; float: none; border: 1px solid #777; padding: 0.25em; display: table !important; border-collapse: separate; }

.infoboxname { color: #fff; padding: 5px; background: #777; }

.infoboxdetails { color: #fff; padding: 5px; background: #777; }

.infoboxtable div { color: #fff; background: #777; text-align: right; font-weight: bold; padding: 1px 5px; }

/*** invert icons for dark theme ***/ .skin-minerva .copyright-icon, .fpbox.mobilecollapsible .heading a:before, .oo-ui-iconElement-icon { filter:invert(1); }

.mw-echo-ui-notificationItemWidget-icon, .mw-echo-ui-toggleReadCircleButtonWidget-circle, .mw-ui-icon:before { filter:brightness(2); }

.mw-echo-ui-notificationsInboxWidget-main-toolbar-top .oo-ui-iconElement-icon, .mw-mf-user:before, .search-overlay .clear:before { filter:none; }
 * 1) mw-mf-diffview .meta:before,

/* ***************************** */ /* Start Fonts                  */ /* Copy to Mobile.css if edited! */

/* vietnamese */ @font-face { font-family: 'Josefin Sans'; font-style: normal; font-weight: 400; font-display: swap; src: url(https://fonts.gstatic.com/s/josefinsans/v15/Qw3PZQNVED7rKGKxtqIqX5E-AVSJrOCfjY46_DjQbMlhLzTs.woff2) format('woff2'); unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+1EA0-1EF9, U+20AB; } /* latin-ext */ @font-face { font-family: 'Josefin Sans'; font-style: normal; font-weight: 400; font-display: swap; src: url(https://fonts.gstatic.com/s/josefinsans/v15/Qw3PZQNVED7rKGKxtqIqX5E-AVSJrOCfjY46_DjQbMhhLzTs.woff2) format('woff2'); unicode-range: U+0100-024F, U+0259, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF; } /* latin */ @font-face { font-family: 'Josefin Sans'; font-style: normal; font-weight: 400; font-display: swap; src: url(https://fonts.gstatic.com/s/josefinsans/v15/Qw3PZQNVED7rKGKxtqIqX5E-AVSJrOCfjY46_DjQbMZhLw.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; } /* cyrillic-ext */ @font-face { font-family: 'Montserrat'; font-style: normal; font-weight: 400; font-display: swap; src: local('Montserrat Regular'), local('Montserrat-Regular'), url(https://fonts.gstatic.com/s/montserrat/v14/JTUSjIg1_i6t8kCHKm459WRhyzbi.woff2) format('woff2'); unicode-range: U+0460-052F, U+1C80-1C88, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F; } /* cyrillic */ @font-face { font-family: 'Montserrat'; font-style: normal; font-weight: 400; font-display: swap; src: local('Montserrat Regular'), local('Montserrat-Regular'), url(https://fonts.gstatic.com/s/montserrat/v14/JTUSjIg1_i6t8kCHKm459W1hyzbi.woff2) format('woff2'); unicode-range: U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; } /* vietnamese */ @font-face { font-family: 'Montserrat'; font-style: normal; font-weight: 400; font-display: swap; src: local('Montserrat Regular'), local('Montserrat-Regular'), url(https://fonts.gstatic.com/s/montserrat/v14/JTUSjIg1_i6t8kCHKm459WZhyzbi.woff2) format('woff2'); unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+1EA0-1EF9, U+20AB; } /* latin-ext */ @font-face { font-family: 'Montserrat'; font-style: normal; font-weight: 400; font-display: swap; src: local('Montserrat Regular'), local('Montserrat-Regular'), url(https://fonts.gstatic.com/s/montserrat/v14/JTUSjIg1_i6t8kCHKm459Wdhyzbi.woff2) format('woff2'); unicode-range: U+0100-024F, U+0259, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF; } /* latin */ @font-face { font-family: 'Montserrat'; font-style: normal; font-weight: 400; font-display: swap; src: local('Montserrat Regular'), local('Montserrat-Regular'), url(https://fonts.gstatic.com/s/montserrat/v14/JTUSjIg1_i6t8kCHKm459Wlhyw.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; } /* cyrillic-ext */ @font-face { font-family: 'Ubuntu'; font-style: normal; font-weight: 400; font-display: swap; src: local('Ubuntu Regular'), local('Ubuntu-Regular'), url(https://fonts.gstatic.com/s/ubuntu/v14/4iCs6KVjbNBYlgoKcg72j00.woff2) format('woff2'); unicode-range: U+0460-052F, U+1C80-1C88, U+20B4, U+2DE0-2DFF, U+A640-A69F, U+FE2E-FE2F; } /* cyrillic */ @font-face { font-family: 'Ubuntu'; font-style: normal; font-weight: 400; font-display: swap; src: local('Ubuntu Regular'), local('Ubuntu-Regular'), url(https://fonts.gstatic.com/s/ubuntu/v14/4iCs6KVjbNBYlgoKew72j00.woff2) format('woff2'); unicode-range: U+0400-045F, U+0490-0491, U+04B0-04B1, U+2116; } /* greek-ext */ @font-face { font-family: 'Ubuntu'; font-style: normal; font-weight: 400; font-display: swap; src: local('Ubuntu Regular'), local('Ubuntu-Regular'), url(https://fonts.gstatic.com/s/ubuntu/v14/4iCs6KVjbNBYlgoKcw72j00.woff2) format('woff2'); unicode-range: U+1F00-1FFF; } /* greek */ @font-face { font-family: 'Ubuntu'; font-style: normal; font-weight: 400; font-display: swap; src: local('Ubuntu Regular'), local('Ubuntu-Regular'), url(https://fonts.gstatic.com/s/ubuntu/v14/4iCs6KVjbNBYlgoKfA72j00.woff2) format('woff2'); unicode-range: U+0370-03FF; } /* latin-ext */ @font-face { font-family: 'Ubuntu'; font-style: normal; font-weight: 400; font-display: swap; src: local('Ubuntu Regular'), local('Ubuntu-Regular'), url(https://fonts.gstatic.com/s/ubuntu/v14/4iCs6KVjbNBYlgoKcQ72j00.woff2) format('woff2'); unicode-range: U+0100-024F, U+0259, U+1E00-1EFF, U+2020, U+20A0-20AB, U+20AD-20CF, U+2113, U+2C60-2C7F, U+A720-A7FF; } /* latin */ @font-face { font-family: 'Ubuntu'; font-style: normal; font-weight: 400; font-display: swap; src: local('Ubuntu Regular'), local('Ubuntu-Regular'), url(https://fonts.gstatic.com/s/ubuntu/v14/4iCs6KVjbNBYlgoKfw72.woff2) format('woff2'); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+2000-206F, U+2074, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }

/* End Fonts                    */ /* Copy to Mobile.css if edited! */ /* ***************************** */

/* ***************************** */ /* Start Text Effects           */ /* Copy to Mobile.css if edited! */

font.rarity-common { font-weight:bold; color:white; }

font.rarity-rare { font-weight:bold; color:lightblue; }

font.rarity-epic { font-weight:bold; color:plum; }

font.rarity-legendary { font-weight:bold; color:orange; }

font.rarity-calamity { background-image: linear-gradient(to left, lightcoral, sandybrown, palegoldenrod, springgreen, mediumaquamarine, skyblue, mediumslateblue, plum); -webkit-background-clip: text; -moz-background-clip: text; background-clip: text; font-weight:bold; color: transparent; }

/* End Text Effects             */ /* Copy to Mobile.css if edited! */ /* ***************************** */

/* Change float to none and clear to both when copying to Mobile.css */ div.infobox-container{ float:none; clear:both; margin:auto; }

/* ***************************** */ /* Start Infobox Spell          */ /* Copy to Mobile.css if edited! */

div.infobox-weapon { background-image: url("https://gamepedia.cursecdn.com/onestepfromeden_gamepedia_en/6/65/Infobox_Weapon_Background.png"); background-repeat: no-repeat; position: relative; width:   256px; height:  373px; overflow: hidden; margin:  5px; }

div.infobox-weapon div { position: absolute; overflow: hidden; }

div.infobox-spell { background-image: url("https://gamepedia.cursecdn.com/onestepfromeden_gamepedia_en/7/75/Infobox_Spell_Background.png"); background-repeat: no-repeat; position: relative; width:   256px; height:  402px; overflow: hidden; margin:  5px; }

div.infobox-spell div { position: absolute; overflow: hidden; }

div.infobox-spell-manacost { top:        17px; left:       0px; width:      65px; height:     40px; text-align: center; font-family: Josefin Sans; font-size:  40px; line-height: 1em; }

div.infobox-spell-name { top:        19px; left:       93px; width:      140px; height:     45px; text-align: left; font-family: Josefin Sans; font-weight: bold; font-size:  14px; line-height: 1.1em; }

div.infobox-spell-image { top:       55px; left:      64px; width:     128px; height:    128px; text-align: center; }

div.infobox-spell-effect { top:       171px; left:      28px; width:     200px; height:    110px; font-family:Ubuntu; text-align: center; }

div.infobox-spell-flavor { top:       289px; left:      13px; width:     145px; height:    70px; text-align: left; font-family:Ubuntu; font-style: italic; font-size: 0.8em; }

div.infobox-spell-damage { top:        321px; left:       180px; width:      80px; height:     45px; text-align: center; font-family: Josefin Sans; font-size:  2.7em; line-height: 1em; }

div.infobox-spell-shots { top:        352px; left:       190px; width:      70px; height:     14px; text-align: center; font-size:  1.0em; line-height: 1em; font-family: Montserrat; }

div.infobox-spell-brand { top:         370px; width:       256px; height:      32px; font-family: Josefin Sans; font-size:   1.5em; padding-left: 10px; }

/* End Infobox Spell            */ /* Copy to Mobile.css if edited! */ /* ***************************** */

/* ***************************** */ /* Start Infobox Artifact       */ /* Copy to Mobile.css if edited! */

div.infobox-artifact { background-image: url("https://gamepedia.cursecdn.com/onestepfromeden_gamepedia_en/b/bc/Infobox_Artifact_Background.png"); background-repeat: no-repeat; position: relative; width:   256px; height:  256px; overflow: hidden; margin:  5px; }

div.infobox-artifact div { position: absolute; overflow: hidden; }

div.infobox-artifact-name { top:        33px; left:       106px; width:      132px; height:     47px; text-align: left; font-family: Josefin Sans; font-weight: bold; font-size:  14px; line-height: 1.1em; }

div.infobox-artifact-effect { top:       113px; left:      15px; width:     222px; height:    85px; font-family:Ubuntu; text-align: left; }

div.infobox-artifact-flavor { top:       202px; left:      17px; width:     221px; height:    35px; text-align: left; font-family:Ubuntu; font-style: italic; font-size: 0.8em; }

/* End Infobox Artifact         */ /* Copy to Mobile.css if edited! */ /* ***************************** */

/* ***************************** */ /* Start Pact Element           */ /* Copy to Mobile.css if edited! */

div.pact { background-image: url("https://gamepedia.cursecdn.com/onestepfromeden_gamepedia_en/1/10/Pact_Background.png"); background-repeat: no-repeat; position: relative; width:   284px; height:  128px; overflow: hidden; margin:  5px; }

div.pact div { position: absolute; overflow: hidden; }

div.pact-image { top:        -7px; left:       189px; width:      100px; height:     100px; }

div.pact-name { top:        11px; left:       15px; width:      182px; height:     23px; text-align: left; font-family: Josefin Sans; font-weight: bold; font-size:  14px; line-height: 1.1em; }

div.pact-challenge { top:       28px; left:      15px; width:     182px; height:    70px; font-family:Ubuntu; text-align: left; }

div.pact-reward { top:       99px; left:      15px; width:     256px; height:    20px; font-family:Ubuntu; text-align: left; }

div.pact-id { top:       99px; left:      125px; width:     140px; height:    20px; font-family:Ubuntu; text-align: right; }

/* End Pact Element             */ /* Copy to Mobile.css if edited! */ /* ***************************** */

/* ***************************** */ /* Start Infobox Playfield      */ /* Copy to Mobile.css if edited! */

div img.infobox-playfield-scale { transform:scale(0.33,0.33); transform-origin:center bottom; max-width:none !important; }

div img.infobox-playfield-scale.flip-x { transform:scale(0.33,0.33) scaleX(-1.0); transform-origin:center bottom; max-width:none !important; }

div.infobox-playfield { background-image: url("https://gamepedia.cursecdn.com/onestepfromeden_gamepedia_en/2/26/Playfield.png"); background-repeat: no-repeat; position: relative; width:   338px; height:  168px; overflow: hidden; margin:  5px; }

div.infobox-playfield-serif { background-image: url("https://gamepedia.cursecdn.com/onestepfromeden_gamepedia_en/c/c1/Playfield_Serif.png"); background-repeat: no-repeat; position: relative; width:   338px; height:  168px; overflow: hidden; margin:  5px; }

div.entity { position: absolute; transform: translate(-50%, -100%); max-width:none; }

div.entity-flat-align{ position: absolute; transform: translate(-50%, -100%) translateY(5px); max-width:none; }

div.tilehighlight { position: absolute; transform: translate(-50%, -14px); width:    34px; height:   19px; padding:  0px; margin:   0px; }

div.row1 { top: 150px; }

div.row2 { top: 125px; }

div.row3 { top: 100px; }

div.row4 { top: 75px; }

div.col1 { left: 29px; }

div.col2 { left: 69px; }

div.col3 { left: 109px; }

div.col4 { left: 149px; }

div.col5 { left: 189px; }

div.col6 { left: 229px; }

div.col7 { left: 269px; }

div.col8 { left: 309px; }

/* End Infobox Playfield        */ /* Copy to Mobile.css if edited! */ /* ***************************** */

.flip-x { transform: scaleX(-1.0); }

.absolute-zero { position: absolute; top: 0px; left: 0px; }

.colorize-red { filter: brightness(50%) sepia(100%) saturate(10000%); }

.colorize-green { filter: brightness(50%) sepia(100%) hue-rotate(30deg) saturate(10000%); }

.colorize-blue { filter: brightness(40%) sepia(100%) hue-rotate(180deg) saturate(10000%); }