MediaWiki:Mobile.css

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

footer .last-modified-bar { background: #000; }

footer .last-modified-bar, footer:not(#footer) { border-color: #ffc600; }

.footer-content h2, .footer-content div, .footer-content ul:not(.footer-hydra) { margin: 10px; }

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

.header-container.header-chrome { background: #000; border-bottom: 1px solid #ffc600; }

/* end header and footer */

.nomobile { display: none; }

.search-overlay.visible, body { background: url(https://static.wikia.nocookie.net/machiavillain_gamepedia_en/images/5/57/Mvbackground.jpg/revision/latest) repeat top left #191516; color: #e0e0e0; }

.mw-body { background: transparent !important; }

/* Content area */ .footer-content { background: rgba(0, 0, 0, 0.6); border: 1px solid #ffc600; }
 * 1) bodyContent,

/* Links */ a, a:link, a:visited, a.extiw, a.extiw:visited, a.external, a.external:visited { color: #ffc600; }

/* Headers */ h1, h2 { background: none repeat scroll 0 0 rgba(0, 0, 0, 0); color: #ffc600; font-size: 200%; text-shadow: 3px 3px 3px rgba(0, 0, 0, 0.8); }

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

/* End content area */

.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: #101010; color: #e0e0e0; */ }

/* 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 .header { background-color: rgba(255, 101, 47, 0.7); box-shadow: 0px 3px 10px 1px rgba(202, 202, 202, 0.2); text-align: center; border: none; color: #e6e6e6; font-size: 150%; margin-bottom: 10px; height: auto; }

.fpbox { border-radius: 5px; border: 2px solid #505050; 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 hr { border: none; border-bottom: 2px solid #505050; }

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

.fplinks { margin: -2px -3px; }

.fplinks .linkslabel { border-bottom: 2px solid #505050; margin: 6px 3px 0 3px; }

.fplink { display: inline-block; vertical-align: middle; width: 100%; }

/* Yeah, using display: table makes for a lot of extra markup, but it makes proportionate sizing and vertical centering a lot easier, so going with it */ .fplink .box { display: table; width: 100%; border-spacing: 2px 3px; border-collapse: separate; }

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

.fplink .box .row .cell { background: #ff860a; border: 1px solid #000; border-radius: 2px; box-shadow: 0 0 1px #3c4258 inset; color: #fff; display: table-cell; font-weight: bold; position: relative; text-align: center; text-transform: uppercase; vertical-align: middle; }

.fplink .box .row .cell a { color: #ffffff !important; }

.fplink.wide .box .row .cell { padding: 0 5px; }

.fplink.image { width: 78px; height: 78px; }

.fplink.image .box .row .cell { width: 70px; height: 70px; vertical-align: bottom; }

.fplink.image .box .row .cell .image img { width: 70px; height: 70px; }

.fplink.image .image { position: absolute; top: 0; right: 0; bottom: 0; left: 0; font-size: 75%; z-index: 1; }

.fplink.image a { z-index: 2; }

.fplink a { display: block; position: relative; top: 0; right: 0; bottom: 0; left: 0; padding: 3px 5px; }

.fplink.image .image a { padding: 0; }

.fplink.image .link a { border-top: 2px solid #505050; background: #ddddb7 !important; }

.fplink.wide a { margin: 0 -5px; }

.fplink.image a { top: 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%; }

div.cpbox div.feature { width:unset !important; }

/*** 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.togglecollapse { position: relative; }

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

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

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