MediaWiki:Mobile.css

/* *********************************************************************************** */ /* CSS placed here will affect users of the mobile site                               */ /*                                                                                    */ /* The mobile css has been moved to two different pages: MediaWiki:Light_mobile.css    */ /* and MediaWiki:dark_mobile.css                                                      */ /* Wiki managers can either customize one or the other for their wiki and overwrite   */ /* this page with the customized version, or update them in situ and use the import   */ /* commands shown below                                                               */ /*                                                                                    */ /* The following is for the regular light-themed mobile css                            */ /*                                                                                    */ /* @import url(/index.php?title=MediaWiki:Light_mobile.css&action=raw&ctype=text/css); */ /*                                                                                    */ /*                                                                                     */ /* Replace the line above with the following is for the dark-themed mobile css         */ /*                                                                                    */ /* @import url(/index.php?title=MediaWiki:Dark_mobile.css&action=raw&ctype=text/css);  */ /*                                                                                    */ /* *********************************************************************************** */

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

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

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

.fpbox.mobilecollapsible .heading > a { position: relative; }

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

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

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

/*** navboxes ***/ table.navbox { border: 1px solid #aaaaaa; clear: both; font-size: 88%; margin: auto; padding: 1px; text-align: center; width: 100%; display: table !important; }

/* Border between adjacent navboxes */ table.navbox + table.navbox { margin-top: -1px; }

.navbox-abovebelow, .navbox-title, table.navbox th { padding-left: 1em; padding-right: 1em; text-align: center; }

.navbox-group { font-weight: bold; padding-left: 1em; padding-right: 1em; white-space: nowrap; }

/* Base background */ .navbox, .navbox-subgroup { background: rgba(255, 255, 255, 0.2); }

.navbox-list { border-color: rgba(255, 255, 255, 0.2); /* Must match background color */ }

/* Level 1 color */ .navbox-title, table.navbox th { background: rgba(255, 255, 255, 0.2); }

/* Level 2 styling */ .navbox-abovebelow, .navbox-group, .navbox-subgroup .navbox-title { background: rgba(255, 255, 255, 0.2); }

/* Level 3 styling */ .navbox-subgroup .navbox-abovebelow, .navbox-subgroup .navbox-group { background: rgba(0, 0, 0, 0.05); }

/* Even row striping */ .navbox-even { background: rgba(0, 0, 0, 0.05); }

/* Odd row striping */ .navbox-odd { background: transparent; }

.collapseButton { font-weight: normal; width: auto; }

.navbox .collapseButton { width: 6em; }

.navbar { font-size: 88%; font-weight: normal; }

.navbox .navbar { font-size: 100%; }

table.collapsed tr.collapsible { display: none; }

/*** amboxes ***/ .ambox { background-color: rgba(100,100,100,0.5); border-bottom-color: #383838; border-right-color: #383838; border-top-color: #383838; border-collapse: collapse; font-size: 95%; margin: 0 auto 2px; width: 80%; }

.ambox-gray { border-left-color: #383838; }

.ambox.ambox-tiny { font-size: 90%; margin: 2px 0; width: auto; }

.ambox + .ambox { margin-top: -2px; }

.ambox-text { padding: 0.25em 0.5em; }

.ambox-image { padding: 2px 0 2px 0.5em; text-align: center; width: 60px; }

.ambox-tiny .ambox-image { padding: 2px 0.5em; text-align: left; width: auto; }

/* Ambox colors */ .ambox-blue { border-left: 10px solid #1e90ff; }

.ambox-red { border-left: 10px solid #b22222; }

.ambox-orange { border-left: 10px solid #f28500; }

.ambox-yellow { border-left: 10px solid #f4c430; }

.ambox-purple { border-left: 10px solid #9932cc; }

.ambox-gray { border-left: 10px solid #bba; }

.ambox-green { border-left: 10px solid #228b22; }

/* Ambox small text */ .amsmalltext { font-size: smaller; margin-left: 0.8em; margin-top: 0.5em; }

/* copyright images tweak */ .copyright-icon { background-image: url("https://static.wikia.nocookie.net/commons_hydra/images/thumb/b/b6/Copyright.png/32px-Copyright.png"); background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='200' height='200'%3E%3Cpath d='M100 200C44.772 200 0 155.228 0 100S44.772 0 100 0s100 44.772 100 100-44.772 100-100 100zm0-179.115c-43.694 0-79.115 35.421-79.115 79.115 0 43.694 35.421 79.115 79.115 79.115 43.694 0 79.115-35.421 79.115-79.115 0-43.694-35.421-79.115-79.115-79.115zm0 108.599c20.627 0 27.518-18.427 27.518-18.427h26.536s-7.847 43.734-54.054 43.734c-30.532 0-55.283-24.751-55.283-55.282 0-30.532 24.751-55.283 55.283-55.283 45.365 0 53.317 41.769 53.317 41.769h-26.781S118.966 69.533 100 69.533c-16.555 0-29.975 13.421-29.975 29.976s13.42 29.975 29.975 29.975z'/%3E%3C/svg%3E%0A"); background-position: center center; background-repeat: no-repeat; background-size: 100%; width: 32px; height: 32px; }

/*** front page styles ***/ .fpmain { width: 100%; overflow: hidden; }

.fpbox { margin: 5px; padding: 5px; overflow: auto; background: rgba(0,0,0, 0.05); border: 1px solid #505050; box-shadow: 1px 1px 2px rgba(100,100,100, 0.5); }

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

.fpbox .heading, .fpbox .mainheading, .fpbox .welcome { margin: 0 0 10px; padding: 0 0 5px; overflow: auto; border: 0; border-bottom: 1px solid #505050; }

.fpbox .mainheading, .fpbox .welcome { font-size: 150%; font-weight: bold; }

.fpbox .heading { text-align: center; font-size: 132%; }

.linkslabel { margin: 15px 5px 5px; padding: 0 0 5px; border-bottom: 2px solid #505050; }

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

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

/*** 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(25% - 10px); width: calc(25% - 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: rgba(100,100,100,0.3); border: 1px solid #505050; }

.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 img { max-width: 150px; width: 100%; height: auto; }

/***************** @font-face { font-family: 'Caudex'; src: local('Caudex'), url('/media/hydra/fonts/Caudex-Regular.ttf') format('truetype'); }
 * Base framework *

body, .primary-navigation-enabled { background:url(https://static.wikia.nocookie.net/strandedsails_gamepedia_en/images/f/fa/Bg_mobile.jpg/revision/latest); /* */ background-size:cover; background-attachment:fixed; background-color:#1b71ac; }

div#content, div#mw-mf-page-center, .navigation-enabled #mw-mf-page-center { background:transparent; }

div#bodyContent, div.content-unstyled { position:relative; padding:1em; margin:1em 0; max-width:calc(100% - 2em); /* 100% - padding */ border:1px solid #000; border-left:none; border-right:none; background-color:rgba(216,194,134,0.95); box-shadow:inset 0 0 10px rgba(0,0,0,0.5), 3px 3px 1px rgba(0,0,0,0.5); }

div#bodyContent::after, div.content-unstyled::after { position: absolute; width: 100%; height: calc(100% + 30px); top: -15px; left:0; content: ""; border-image: url(https://static.wikia.nocookie.net/strandedsails_gamepedia_en/images/4/46/Border.png/revision/latest); border-image-width: 40px 0; border-image-slice: 33% 25%; border-image-repeat: round; pointer-events: none; }

div.header-container.header-chrome { background-color: rgba(216,194,134); letter-spacing:0.05em; font-family:'Caudex', serif; color: #000; text-shadow:1px 2px 1px rgba(0,0,0,0.2); border-bottom:1px solid #000; box-shadow:inset 0 0 4px rgba(0,0,0,0.5); overflow:hidden; }

div.header-chrome div:nth-child(5) { display:none; }

form.header div.search-box { margin:10px 20px; }

border: 1px solid #000; background-color: rgba(216,194,134,0.95); box-shadow: inset 0 0 10px rgba(0,0,0,0.5),3px 3px 1px rgba(0,0,0,0.5); }
 * 1) page-actions {

margin-right:0; }
 * 1) page-actions #ca-edit {

a#mw-mf-main-menu-button { background-color:#c8300e; background-image:linear-gradient(to bottom, #EA4313, #860C04); box-shadow:inset 0px 0px 5px rgba(0,0,0,0.5); border:1px solid #000; height:2em; padding-top:0.5em; margin-right:5px; }

footer .last-modified-bar { background-color: #070707; border-bottom:#f48020 1px solid; }

footer .last-modified-bar a { color:#D7DEE8; text-shadow:1px 1px 1px rgba(0,0,0,0.3), -1px 1px 1px rgba(0,0,0,0.3), 1px -1px 1px rgba(0,0,0,0.3), -1px -1px 1px rgba(0,0,0,0.3); }

.page-list .info, .topic-title-list .info, .site-link-list .info, .page-list .component, .topic-title-list .component, .site-link-list .component { color:#A2A4A5; }

nav div.menu ul li { background-color:#000; }

nav div.menu ul li a, nav div.menu ul li a:visited { color:#fff; }

.notification-count { background:none; }

/*********************
 * End base framework *

/***************** div.overlay.search-overlay { background-color:rgba(0,0,0,0.8); background:linear-gradient(to bottom, rgba(0,0,0,0.8) 90%, transparent); color:#0e0e0e; } div.overlay.search-overlay h3 { text-shadow:none; } /*********************
 * Search overlay *
 * End search overlay *

/******************* footer { border-top:none; background: #1b1b1c ; color: rgb(240,240,240); } footer div.license a, #footer-info-desktop-toggle a, ul.footer-places a { color:#5A93CC !important; } footer div.license a:visited, #footer-info-desktop-toggle a:visited, ul.footer-places a:visited { color:#800074 !important; } .content table th { background-color: rgba(0, 0, 0, 0); } footer a, footer a.external { color:rgba(0 0 128); } footer a:visited { color:rgba(128 0 128); }
 * Gamepedia footer *

footer#footer .footer-box { flex:unset; }

footer#footer div.footer-box ul li { white-space:nowrap; } /***********************
 * End Gamepedia footer *

/************** .client-js div#preferences { background:rgba(0,0,0,0.1); border:1px solid #7f7f7f; margin-top:1px; }
 * Preferences *

.client-js #preftoc, .client-js #preftoc li, .client-js #preftoc li a, .client-js #preftoc li { background-image: none; background-color: transparent; font-family: sans-serif; text-shadow:1px 1px 1px rgba(0,0,0,0.1); font-size:1em; }

.client-js #preftoc li a:active { font-size:1em; }

.client-js ul#preftoc { margin-left:-0.1em; margin-bottom:5px; }

.client-js #preftoc li.selected a { background-image: none; color: #000; text-decoration:none; }

.client-js #preftoc li.selected { border:0; border-bottom: 2px solid #000; border-radius: 5px / 1px; padding-right:0; }

.client-js #preftoc li:not(.selected) a:hover { color:#fff; text-decoration:none; text-shadow:5px 5px 1px rgba(0,0,0,0.25); }

.client-js #preferences legend { color: #000; }

border-color:#7f7f7f; }
 * 1) preferences fieldset.prefsection fieldset {

.client-js .htmlform-tip { color:#333; } /******************
 * End Preferences *

/*************** background-color:rgba(0,0,0,0.2); padding:1px; }
 * Page History *
 * 1) pagehistory li.selected {
 * 1) pagehistory li.selected {

border:0; border-bottom:1px solid #000; }
 * 1) pagehistory li {

/**************
 * end history *

/********************* table.TablePager td { border:1px solid #000; }
 * tablepager styling *

table.TablePager tr th { background-color:#c8300e; background-image:linear-gradient(to bottom, #EA4313, #860C04); box-shadow:inset 0px 0px 5px rgba(0,0,0,0.5); font-family: 'Caudex', serif; letter-spacing:0.05em; color: #FED7A0; text-shadow:1px 2px 1px rgba(0,0,0,0.5); border:1px solid #000; }

table.TablePager tbody tr td { background-color:rgba(0,0,0,0.1) }

table.TablePager tbody tr:hover td { background:rgba(200,200,200,0.5); } /*************************
 * end tablepager styling *

/******************** table.wikitable { border:1px solid #000; background-color:rgba(0,0,0,0.1); }
 * wikitable styling *

table.wikitable tbody tr th table.wikitable > tr > th, table.wikitable > * > tr > th { background-color:#c8300e; background-image:linear-gradient(to bottom, #EA4313, #860C04); box-shadow:inset 0px 0px 5px rgba(0,0,0,0.5); font-family: 'Caudex', serif; letter-spacing:0.05em; color: #FED7A0; text-shadow:1px 2px 1px rgba(0,0,0,0.5); border:1px solid #000; }

table.wikitable tbody tr td { border:1px solid #000; } /************************
 * End wikitable styling *

/******************* div.thumbinner { background-color:rgba(0,0,0,0.1); border:2px solid #9B520E; box-shadow:inset 0 0 3px rgba(0,0,0,0.5), 0 0 1px #8912B8, 3px 3px 1px rgba(0,0,0,0.5); }
 * Thumnbail tweaks *

li.gallerybox div.thumb { background-color:rgba(0,0,0,0.1); border:2px solid #9B520E; box-shadow:inset 0 0 3px rgba(0,0,0,0.5), 0 0 1px #8912B8, 3px 3px 1px rgba(0,0,0,0.5); } /***********************
 * End thumbnail tweaks *

/*************************** ul#filetoc { background-color:rgba(0,0,0,0.15); border:1px solid #000; } /*******************************
 * Category bar and filetoc *
 * 1) catlinks,
 * 1) catlinks,
 * End Category bar and filetoc *

/********************************** div#toc, .client-js div.toc-mobile { background-color:rgba(0,0,0,0.35); border:1px solid #7f7f7f; box-shadow:inset 0 0 3px rgba(0,0,0,0.25); } /******************
 * Table of contents (toc) styling *
 * End toc styling *

/***************** .content .infobox { margin:auto; margin-bottom: 0.5em; padding: 4px; background-color: rgba(0,0,0,0.1); border:2px solid #9B520E; box-shadow:inset 0 0 3px rgba(0,0,0,0.5), 0 0 1px #8912B8, 3px 3px 1px rgba(0,0,0,0.5); max-width:90vw; }
 * Infobox styles *

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

.content .infobox-header, .content .infobox-section { text-align:center; background-color:#c8300e; background-image:linear-gradient(to bottom, #EA4313, #860C04); box-shadow:inset 0px 0px 5px rgba(0,0,0,0.5); font-family: 'Caudex', serif; color: #FED7A0; text-shadow:1px 2px 1px rgba(0,0,0,0.5); border:1px solid #000; }

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

.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 { text-align: left; white-space: nowrap; }

.content .infobox-spacer { height: 0.5em; } /*********************
 * End infobox styles *

pre { border:1px solid #666; }

code { color: #000; background-color: #f8f9fa; border: 1px solid #eaecf0; border-radius: 2px; padding: 1px 4px; }