MediaWiki:Mobile.css

/********** Note that this loads before skin CSS, so selectors need to be more specific than the skin to override it.

There will still be a "white flash" as the default (light) mobile css initially loads. To avoid this, you should first enable the Gadgets extension, then add gphelp:MediaWiki:Gadget-darkmobile to your wiki and rename this css file to MediaWiki:Gadget-darkmobile.css /*** mobile-specific style classes ***/ .skin-minerva .nomobile { display: none; }

.skin-minerva .mobileleft { text-align: left; }

.skin-minerva .mobilecenter { text-align: center; }

.skin-minerva .mobileright { text-align: right; }

/********** interface

.skin-minerva .header-container.header-chrome, .skin-minerva #mw-mf-page-center { background: transparent; }

/*** text colors ***/ .skin-minerva #mw-mf-diffview #mw-mf-userinfo, .skin-minerva #mw-mf-diffview #mw-mf-userinfo .mw-mf-edit-count, .skin-minerva #mw-mf-diffview #mw-mf-userinfo .mw-mf-edit-count div, .skin-minerva #mw-mf-page-center, .skin-minerva .globalNotice, .skin-minerva .header-container.header-chrome, .skin-minerva .last-modified-bar a, .skin-minerva .last-modified-bar a:visited, .skin-minerva .last-modified-bar.active a, .skin-minerva .last-modified-bar.active a:visited, .skin-minerva .list-header, .skin-minerva .minerva-footer, .skin-minerva .mw-echo-ui-notificationItemWidget-content-actions-timestamp, .skin-minerva .mw-echo-ui-notificationItemWidget-content-message-header, .skin-minerva .mw-mf-user, .skin-minerva .oo-ui-buttonElement-frameless.oo-ui-widget-enabled > .oo-ui-buttonElement-button, .skin-minerva .overlay-footer-container, .skin-minerva .overlay-header-container, .skin-minerva .page-list .component, .skin-minerva .page-list .info, .skin-minerva .page-list li > a, .skin-minerva .page-list.side-list .list-thumb, .skin-minerva .page-summary h2, .skin-minerva .page-summary h3, .skin-minerva .search-overlay, .skin-minerva .search-overlay .results, .skin-minerva .search-overlay .search-content, .skin-minerva .search-overlay .search-feedback, .skin-minerva .site-link-list .component, .skin-minerva .site-link-list .info, .skin-minerva .site-link-list li, .skin-minerva .site-link-list li > a, .skin-minerva .site-link-list.side-list .list-thumb, .skin-minerva .topic-title-list .component, .skin-minerva .topic-title-list .info, .skin-minerva .topic-title-list li > a, .skin-minerva .topic-title-list.side-list .list-thumb, .skin-minerva footer .last-modified-bar, .skin-minerva footer .last-modified-bar.active, .skin-minerva nav ul li a, .skin-minerva.navigation-enabled #mw-mf-page-center, .skin-minerva.primary-navigation-enabled, .skin-minerva.secondary-navigation-enabled, a:not([href]), body { color: #e0e0e0; }

.action-edit #editpage-copywarn, .action-edit #mw-anon-edit-warning, .action-edit #section_0, .action-edit .diff-ntitle, .action-edit .diff-otitle, .action-edit .mw-editTools, .action-edit .mw-editnotice, .action-edit .preview-limit-report-wrapper, .action-submit #editpage-copywarn, .action-submit #mw-anon-edit-warning, .action-submit #section_0, .action-submit .diff-ntitle, .action-submit .diff-otitle, .action-submit .mw-editTools, .action-submit .mw-editnotice, .action-submit .preview-limit-report-wrapper, .skin-minerva .heading-holder .tagline, .skin-minerva .mw-echo-ui-notificationItemWidget-content-message-body, .skin-minerva .oo-ui-buttonElement-frameless.oo-ui-widget-enabled > .oo-ui-buttonElement-button:hover, .skin-minerva nav ul li a:visited { color: #ccc; }

.skin-minerva .mw-ui-anchor.mw-ui-progressive, .skin-minerva .mw-ui-anchor.mw-ui-progressive:active, .skin-minerva .mw-ui-anchor.mw-ui-progressive:focus, .skin-minerva nav ul.hlist li a, .skin-minerva #editpage-specialchars a, a, a.external, a.extiw, a:visited { color: #01b77b; }

a.new { color: #ea331d; }

/*** interface colors ***/ .client-js .skin-minerva .toc-mobile, .skin-minerva #mw-mf-diffview #mw-mf-userinfo, .skin-minerva .globalNotice, .skin-minerva .list-header, .skin-minerva .mw-echo-ui-bundleNotificationItemWidget-group, .skin-minerva .mw-echo-ui-crossWikiNotificationItemWidget-group, .oo-ui-buttonElement-framed.oo-ui-widget-enabled > .oo-ui-buttonElement-button, .skin-minerva .notifications-overlay .overlay-content, .skin-minerva .overlay-header-container, .skin-minerva .search-overlay .results, .skin-minerva .search-overlay .search-content, .skin-minerva .search-overlay .search-feedback { background-color: #303030; }

.oo-ui-buttonElement-framed.oo-ui-widget-enabled > .oo-ui-buttonElement-button:hover { background-color: #202020; }

.skin-minerva .minerva-footer, .skin-minerva .overlay-footer-container, .skin-minerva nav { background-color: #2c2c2c; }

.client-js .skin-minerva .toc-mobile, .skin-minerva #mw-mf-diffview #mw-mf-userinfo, .skin-minerva .header, .skin-minerva .header-container, .skin-minerva .minerva-footer, .skin-minerva .mw-echo-ui-bundleNotificationItemWidget-separator, .skin-minerva .mw-echo-ui-crossWikiNotificationItemWidget-separator, .skin-minerva .mw-echo-ui-notificationItemWidget, .skin-minerva .mw-echo-ui-notificationItemWidget:last-child, .skin-minerva .overlay-footer-container, .skin-minerva .page-list li, .skin-minerva .search-overlay .search-content, .skin-minerva .site-link-list li, .skin-minerva .topic-title-list li, .skin-minerva footer .last-modified-bar, .skin-minerva footer > .post-content > h2, .skin-minerva nav .secondary-action, .skin-minerva nav ul li, .skin-minerva.ns-special .content-header { border-color: #777; }

.skin-minerva .search-overlay, .skin-minerva.navigation-enabled #mw-mf-page-center, .skin-minerva.primary-navigation-enabled, .skin-minerva.search-overlay, .skin-minerva.secondary-navigation-enabled, body { background: #090909; }

/* content area */ .overlay-enabled, background-color: rgba(0, 0, 0, 0.8); border: 1px solid #063042; color: #D5D4D4; }
 * 1) content {

background-color: rgba(0, 0, 0, 0.7); padding: 10px; }
 * 1) bodyContent {

body { -webkit-background-size: cover; -moz-background-size: cover; -o-background-size: cover; background: url("https://static.wikia.nocookie.net/gwent_gamepedia/images/8/86/Gwent_bg.jpg/revision/latest?cb=20160619141647") no-repeat fixed center center / cover #000000; }

.skin-minerva .lazy-image-placeholder { background-color: #090909; }

.skin-minerva #content, .skin-minerva .mw-echo-ui-notificationsInboxWidget-toolbarWrapper, .skin-minerva.ns-special #content, .skin-minerva.ns-special #content form, .skin-minerva.ns-special .pre-content { background: transparent; }

/*** basics ***/ .center { text-align: center; }

.skin-minerva .content h1, .skin-minerva .content h2, .skin-minerva .pre-content h1, body { font-family: sans-serif; }

/*** header and footer ***/ .header { border-width: 1px 0; border-style: solid; }

.header-container.header-chrome { box-shadow: 0 1px 1px rgba(100,100,100,0.2); }

@supports (position:sticky) { .header-container.header-chrome { position: sticky; top: 0; z-index: 1000; }

.overlay-enabled .header-container.header-chrome { position: static; }

.navigation-enabled .header-container.header-chrome { z-index: 0; } }

.skin-minerva .globalNotice { overflow: hidden; padding: 0 0.5em 0.25em; }

.skin-minerva .notification-count { background: transparent; }

/*** notifications ***/ .skin-minerva .mw-echo-ui-bundleNotificationItemWidget-separator, .skin-minerva .mw-echo-ui-crossWikiNotificationItemWidget-separator, .skin-minerva .mw-echo-ui-notificationItemWidget, .skin-minerva .mw-echo-ui-notificationItemWidget:last-child { background: rgba(0,0,0,0.1); }

.skin-minerva .mw-echo-ui-notificationItemWidget-unread { background: rgba(0,0,0,0.3); }

.skin-minerva .mw-echo-ui-notificationItemWidget:hover { background: rgba(0,0,0,0.2); }

.skin-minerva .mw-echo-ui-notificationItemWidget-unread:hover { background: rgba(0,0,0,0.4); }

/*** search ***/ .skin-minerva .page-list li .watch-this-article, .skin-minerva .site-link-list li .watch-this-article, .skin-minerva .topic-title-list li .watch-this-article { top: 50%; margin-top: -0.75em; }

/*** navigation ***/ .skin-minerva.navigation-enabled .transparent-shield { background: rgba(50,50,50,0.9); }

.skin-minerva nav ul li { background: #090909; width: 100%; }

.skin-minerva nav ul li a:hover { box-shadow: inset 4px 0 0 0 #24a3d5; }

/*** last-modified bar ***/ .skin-minerva footer .last-modified-bar { background-color: #666; }

/* recently changed page last-modified bar*/ .skin-minerva footer .last-modified-bar.active { background: #00af89; }

/*** page history and diffs ***/ .skin-minerva .minoredit { color: #777; }

.skin-minerva #mw-mf-diffview #mw-mf-userinfo { z-index: 100; box-shadow: 0 -1px 3px rgba(0,0,0,0.6); opacity: 0.95; }

/*** editor ***/ .skin-minerva .editor-overlay-ve { color: #000; }

.skin-minerva .editor-overlay .wikitext-editor { background: rgba(0,0,0,0.1); }

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

/*** wikitables ***/ .content table.wikitable { display: table; }

.content table.wikitable > * > tr > th, .content table.wikitable > tr > th { background: #09db94; background-image:-moz-linear-gradient(center top, #09db94 0%, #063042 100%); background-image:-webkit-gradient(linear, center top, left bottom, color-stop(0%,#09db94), color-stop(100%,#063042)); background-image:-webkit-linear-gradient(top, #09db94 0%, #063042 100%); background-image:-o-linear-gradient(top, #09db94 0%, #063042 100%); background-image:-ms-linear-gradient(top, #09db94 0%, #063042 100%); background-image: linear-gradient(to bottom, #09db94 0%, #063042 100%); border-color: #063042; }

.content table.wikitable, .content table.wikitable > * > tr > td, .content table.wikitable > tr > td { border-color: #063042; background: transparent; }

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

.fpbox { margin: 5px; padding: 5px; overflow: auto; background: rgba(255,255,255, 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; }

/*** 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,

/* INFOBOXES */ .infoboxtable { background: #000000; background-image: -moz-linear-gradient(center top, #1A1D20 60%, #0A0B0C 100%); background-image: -webkit-gradient(linear, center top, left bottom, color-stop(60%,#1A1D20), color-stop(100%,#0A0B0C)); background-image: -webkit-linear-gradient(top, #1A1D20 60%, #0A0B0C 100%); background-image: -o-linear-gradient(top, #1A1D20 60%, #0A0B0C 100%); background-image: -ms-linear-gradient(top, #1A1D20 60%, #0A0B0C 100%); background-image: linear-gradient(to bottom, #1A1D20 60%, #0A0B0C 100%); border: 1px solid #404040; color: #ffffff; float: right; font-size: 89%; margin-bottom: 0.5em; margin-left: 1em; padding: 0.2em; width: 300px; }

.infoboxtable td { vertical-align: top; }

.infoboxtable td > div { background-color: rgb(41, 43, 46); border: 2px solid inherit; border-radius: 5px; font-weight: bold; padding: 0.5px 7px; text-align: right; }

.infoboxtable td > .tabber.tabberlive { background-color: rgba(0, 0, 0, 0); }

div.infoboxtable td * ul.tabbernav { text-align: center; }

.infoboxtable td > .tabber .tabbertab { padding: 0; }

.infoboxname { font-size: 110%; font-weight: bold; padding: 0.5em; }

/* Infobox-Icons */ div.icons { display: table-cell; vertical-align: middle; text-align: center; }

div.icons img, div.icons span { display: inline-block; }

div.icons span { width: 280px; }

div.icons img { margin-top: -0.5em; margin-bottom: -0.5em; }

.infoboxdetails { padding: 0em; }

.infoboxname, .infoboxdetails, .infoboxdescription { background: #09db94; background-image:-moz-linear-gradient(center top, #09db94 0%, #063042 100%); background-image:-webkit-gradient(linear, center top, left bottom, color-stop(0%,#09db94), color-stop(100%,#063042)); background-image:-webkit-linear-gradient(top, #09db94 0%, #063042 100%); background-image:-o-linear-gradient(top, #09db94 0%, #063042 100%); background-image:-ms-linear-gradient(top, #09db94 0%, #063042 100%); background-image: linear-gradient(to bottom, #09db94 0%, #063042 100%); border: 1px solid #063042; color: #ffffff; }

/* Sprites */ div.sprite { vertical-align: middle; }

.infoboxtable td > div.sprite { background-color: rgba(0, 0, 0, 0); border: none; border-radius: 0; font-weight: normal; height: 28px; padding: 0; text-align: left; vertical-align: middle; width: 28px; }

/* Tabber styling */ .tabberlive .tabbertab { border: 1px solid #434647 !important; border-bottom: medium none !important; border-left: medium none !important; border-right: medium none !important; }

ul.tabbernav { border-bottom: none !important; }

ul.tabbernav li a { -moz-border-bottom-colors: none; -moz-border-left-colors: none; -moz-border-right-colors: none; -moz-border-top-colors: none; background: none repeat scroll 0 0 #000000 !important; border: 1px solid #434647 !important; border-image: none; border-radius: 5px 5px 0 0 !important; margin-left: 3px; padding: 3px 0.5em; text-decoration: none; }

ul.tabbernav li { display: inline; list-style: none outside none; margin: 0 0 0 7px; }

ul.tabbernav li a:link { color: #01b77b !important; }

ul.tabbernav li a:hover { background: none repeat scroll 0 0 #000000 !important; border-color: #434647 !important; color: #FFFFFF !important; }

ul.tabbernav li.tabberactive a { background-color: #000000 !important; color: #FFFFFF !important; }

ul.tabbernav li.tabberactive a, ul.tabbernav li.tabberactive a:hover, ul.tabbernav li.tabberactive a:link { background-color: #000000 !important; border-bottom: 1px none !important; padding: 2px 0.5em 4px !important; }

div#mf-content * ul.tabbernav { text-align:center; }

/* Navboxes in general */ /* Lore navboxes */

.navbox_title { background: #063042; color: #ffffff; font-size:90%; }

/* Newer Navbox template style */ table.navbox { border: 1px solid #67676; clear: both; font-size: 88%; margin: auto; padding: 1px; text-align: center; width: 100%; }

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

.navbox-title, .navbox-abovebelow, 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: #0f0f0f; }

.navbox-list { border-color: #0f0f0f;  /* Must match background color */ }

/* Level 1 color */ .navbox-title, table.navbox th { background: #151414; color: #fff; }

/* Level 2 styling */ .navbox-abovebelow, .navbox-group, .navbox-subgroup .navbox-title { background: #1c1b1b; color: #fff; }

/* Level 3 styling */ .navbox-subgroup .navbox-group, .navbox-subgroup .navbox-abovebelow { background: #242222; color: #fff; }

/* Even row striping */ .navbox-even { background: #1C1E20; color: #fff; }

/* 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; } /* End of new Navbox styling */

.heading { background: #2f3f58 url('https://static.wikia.nocookie.net/gwent_gamepedia/images/7/78/Headerbg.png/revision/latest?cb=20180830180154') repeat-x; border: 1px solid #2f3f58; text-align: center; color: #FFFFFF; /*rausnehmen, wenn zentral auf Weiß! */   font-size: 130%; padding: 4px; box-shadow: 0 0.1em 0.75em #2f3f58; }

img.scalable { max-width: 100%; height:auto; } .globalNotice .globalNoticeDismiss { display: none; }