MediaWiki:Gadget-mobile.css

/* - */ /* - IMPORTANT - */ /* All mobile-only styles in this gadget MUST have their selectors prefixed by .skin-minerva or they will override desktop styles on desktop as well due to a bug with gadgets. If the style is okay with being loaded with javascript, use MediaWiki:Mobile.css instead */ /* - */ /* - */

@font-face { font-family: 'Source Code Pro'; font-style: normal; font-weight: 400; src: local('Source Code Pro'), local('SourceCodePro-Regular'), url(https://fonts.gstatic.com/s/sourcecodepro/v9/HI_SiYsKILxRpg3hIP6sJ7fM7PqlPevWnsUnxg.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; } .skin-minerva { --body-background-color: #190d07; --body-background-image: url("https://static.wikia.nocookie.net/cavesofqud_gamepedia_en/images/5/5d/Mobile_background.jpg/revision/latest"); --body-background-attachment: fixed; --body-background-size: cover; --body-background-position: center center; --body-background-repeat: no-repeat; --body-color: #c1d3d6; --body-secondary-color: #ccc;

--content-background: radial-gradient(rgba(22, 60, 51,0.8),rgba(6, 28, 23,0.8)); --header-background: rgba(22, 60, 51,1); --footer-background: rgba(22, 60, 51,0.8); --interface-border: #000; --search-background: #212121;

--link-color: #7fbadd; --link-redlink-color: #bb312c;

--navigation-selected: rgba(108, 180, 122,0.5); --navigation-link-background: rgba(108, 180, 122,0.1);

--last-modified-background: #444; --invert-icons: 1; --fpbox-background: transparent; --fpbox-border: 1px solid rgba(108, 180, 122,0.2);

--fpheading-background: #061c17; --fpheading-border: 1px solid #c1d3d6; --fpheading-color: #c9c9c9; --fpheading-font: "Source Code Pro","Courier new",Courier,monospace;

--fplink-background: rgba(108, 180, 122,0.2); --fplink-border: 0; --fplink-fullwidth-background: rgba(0,0,0, 0.3);

--infobox-border: 1px solid rgba(108, 180, 122,0.2); --infobox-details-background: rgba(108, 180, 122,0.3); --infobox-details-color: #fff; --infobox-header-background: rgba(108, 180, 122,0.5); --infobox-header-color: #fff; --infobox-label-background: rgba(108, 180, 122,0.2); --infobox-label-color: #fff;

--navbox-alt-background: rgba(108, 180, 122,0.1); --navbox-background: rgba(6, 28, 23,0.2); --navbox-border: 1px solid rgba(108, 180, 122,0.2); --navbox-color: #c1d3d6; --navbox-secondary-background: rgba(108, 180, 122,0.2);

--wikitable-alt-background: rgba(100,100,100, 0.6); --wikitable-background: rgba(6, 28, 23,0.2); --wikitable-border: 1px solid rgba(108, 180, 122,0.3); --wikitable-border-collapse: collapse; --wikitable-border-spacing: 0; --wikitable-header-background: rgba(108, 180, 122,0.2); --wikitable-header-color: #fff;

--code-background: rgba(6, 28, 23,0.5); --code-color: #c1d3d6;

--doc-background: rgba(6, 28, 23,0.2); --doc-border: 1px solid rgba(108, 180, 122,0.2); --ambox-background: rgba(120,120,120,0.3); --ambox-blue: #1e90ff; --ambox-gray: #bbbbaa; --ambox-green: #228b22; --ambox-orange: #f28500; --ambox-purple: #9932cc; --ambox-red: #b22222; --ambox-yellow: #f4c430; }

/*** 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 /*** 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 > .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, .skin-minerva a, .skin-minerva a:not([href]), body.skin-minerva { color: var(--body-color); }

.skin-minerva.action-edit #editpage-copywarn, .skin-minerva.action-edit #mw-anon-edit-warning, .skin-minerva.action-edit #section_0, .skin-minerva.action-edit .diff-ntitle, .skin-minerva.action-edit .diff-otitle, .skin-minerva.action-edit .mw-editTools, .skin-minerva.action-edit .mw-editnotice, .skin-minerva.action-edit .preview-limit-report-wrapper, .skin-minerva.action-submit #editpage-copywarn, .skin-minerva.action-submit #mw-anon-edit-warning, .skin-minerva.action-submit #section_0, .skin-minerva.action-submit .diff-ntitle, .skin-minerva.action-submit .diff-otitle, .skin-minerva.action-submit .mw-editTools, .skin-minerva.action-submit .mw-editnotice, .skin-minerva.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: var(--body-secondary-color); }

.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 a, .skin-minerva a.external, .skin-minerva a.extiw, .skin-minerva a:visited { color: var(--link-color); }

.skin-minerva a.new { color: var(--link-redlink-color); }

/** code/pre tags **/ .skin-minerva .mw-code, .skin-minerva code, .skin-minerva kbd, .skin-minerva pre, .skin-minerva samp, .skin-minerva tt { font-family: monospace; font-size: 110%; color: var(--code-color); }

.skin-minerva .mw-highlight { background: transparent; }

.skin-minerva .mw-code, .skin-minerva code, .skin-minerva pre, .skin-minerva pre.mw-code { background: var(--code-background); border-color: var(--code-color); }

.skin-minerva .mw-code a, .skin-minerva code a { color: var(--code-color); text-decoration: underline double; }

/*** interface colors ***/ .client-js .skin-minerva .toc-mobile, .skin-minerva #mw-mf-diffview #mw-mf-userinfo, .skin-minerva .globalNotice, .skin-minerva .header-container.header-chrome, .skin-minerva .list-header, .skin-minerva .mw-echo-ui-bundleNotificationItemWidget-group, .skin-minerva .mw-echo-ui-crossWikiNotificationItemWidget-group, .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: var(--header-background); }

.skin-minerva .minerva-footer, .skin-minerva .overlay-footer-container, .skin-minerva nav { background-color: var(--footer-background); }

.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 > .skin-minerva nav .secondary-action, .skin-minerva nav ul li, .skin-minerva.ns-special .content-header, h2 { border-color: var(--interface-border); }

.skin-minerva .search-overlay, .skin-minerva.search-overlay { background: var(--search-background); }

.skin-minerva #mw-mf-page-center, .skin-minerva.navigation-enabled #mw-mf-page-center, .skin-minerva.primary-navigation-enabled, .skin-minerva.secondary-navigation-enabled, body { background-color: var(--body-background-color); background-image: var(--body-background-image); background-size: var(--body-background-size); background-attachment: var(--body-background-attachment); background-position: var(--body-background-position); background-repeat: var(--body-background-repeat); }

.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: var(--content-background); }

/*** basics ***/ .skin-minerva .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: var(--navigation-link-background); width: 100%; }

.skin-minerva nav ul li a:hover { box-shadow: inset 4px 0 0 0 var(--navigation-selected); }

/*** last-modified bar ***/ .skin-minerva footer .last-modified-bar { background-color: var(--last-modified-background); }

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

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

.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); } /* --- Template:Doc --- */ .skin-minerva .doc, .skin-minerva .doc-footer { background: var(--doc-background); border: var(--doc-border); margin: 0 auto 1em; border-radius: 1em; padding: 1em; }

.skin-minerva .doc-footer { margin-bottom: 0; }

.skin-minerva .doc-header { padding-bottom: 3px; border-bottom: var(--doc-border); margin-bottom: 1ex; } /********** content /*** mobile front page collapse ***/ .skin-minerva .fpbox.mobilecollapsible .fpbox-heading a.togglecollapse { display: block; padding: 0 0 0 15px; }

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

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

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

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

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

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

/* --- navboxes --- */ .skin-minerva table.navbox { border: var(--navbox-border); clear: both; font-size: 88%; margin: auto; padding: 1px; text-align: center; width: 100%; display: table !important; } /** Border between adjacent navboxes **/ .skin-minerva table.navbox+table.navbox { margin-top: -1px; }

.skin-minerva .navbox-abovebelow, .skin-minerva .navbox-group, .skin-minerva .navbox-title, .skin-minerva table.navbox th { padding-left: 1em; padding-right: 1em; }

.skin-minerva .navbox-group { font-weight: bold; white-space: nowrap; } /** Base background **/ .skin-minerva .navbox, .skin-minerva .navbox-subgroup { background: var(--navbox-background); }

.skin-minerva .navbox-list { border-color: var(--navbox-background); } /** Level 1 & 2 styling **/ .skin-minerva .navbox-group, .skin-minerva .navbox-subgroup .navbox-title, .skin-minerva .navbox-title, .skin-minerva table.navbox th { background: var(--navbox-secondary-background); color: var(--navbox-color); } /** Level 3 styling **/ .skin-minerva .navbox-subgroup .navbox-abovebelow, .skin-minerva .navbox-subgroup .navbox-group { background: var(--navbox-background); color: var(--navbox-color); } /** row striping **/ .skin-minerva .navbox-even { background: var(--navbox-alt-background); color: var(--navbox-color); }

.skin-minerva .navbox-odd { background: transparent; } /** collapsible navboxes **/ .skin-minerva .collapseButton { font-weight: normal; width: auto; }

.skin-minerva .navbox .collapseButton { width: 6em; }

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

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

.skin-minerva table.collapsed tr.collapsible { display: none; } /*** amboxes ***/ /* --- Amboxes --- */ .skin-minerva .ambox { background-color: var(--ambox-background); border-width: 0 0 0 10px; border-style: solid; border-collapse: collapse; font-size: 95%; margin: 0 auto 2px; width: 80%; }

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

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

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

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

.skin-minerva .ambox-tiny .ambox-image { padding: 2px 0.5em; text-align: left; width: auto; } /* Ambox colors */ .skin-minerva .ambox-gray { border-left-color: var(--ambox-gray); }

.skin-minerva .ambox-blue { border-left-color: var(--ambox-blue); }

.skin-minerva .ambox-red { border-left-color: var(--ambox-red); }

.skin-minerva .ambox-orange { border-left-color: var(--ambox-orange); }

.skin-minerva .ambox-yellow { border-left-color: var(--ambox-yellow); }

.skin-minerva .ambox-purple { border-left-color: var(--ambox-purple); }

.skin-minerva .ambox-green { border-left-color: var(--ambox-green); } /* Ambox small text */ .skin-minerva .amsmalltext { font-size: smaller; margin-left: 0.8em; margin-top: 0.5em; } /** for 'edit this page' and 'discussion' link in template:cleanup etc **/ .skin-minerva .pagetab { border: 1px solid var(--body-color); padding: 0.25ex 1ex; font-size: 95%; } /* copyright images tweak */ .skin-minerva .copyright-icon { background-image: url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 width=%22200%22 height=%22200%22%3E%3Cpath d=%22M100 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%22/%3E%3C/svg%3E%0A"); background-size: 100%; width: 32px; height: 32px; filter:invert(var(--invert-icons,0)); }

/* --- tables --- */ .skin-minerva table.wikitable { border-collapse: var(--wikitable-border-collapse); border-spacing: var(--wikitable-border-spacing); background: transparent; border: var(--wikitable-border); }

.skin-minerva table.wikitable > * > tr > td, .skin-minerva table.wikitable > * > tr > th, .skin-minerva table.wikitable > tr > th { border: var(--wikitable-border); }

.skin-minerva table.wikitable > * > tr > th, .skin-minerva table.wikitable > tr > th { background: var(--wikitable-header-background); color: var(--wikitable-header-color); text-align: center; }

.skin-minerva table.wikitable > * > tr > td { background: var(--wikitable-background); padding: 0.2em 0.4em; }

.skin-minerva table.jquery-tablesorter th.headerSort { background-image: none!important; padding-right: 1.4em; }

.skin-minerva table.jquery-tablesorter th.headerSort:after { content: '\f0dc'; font-family: 'FontAwesome'; display: inline-block; width: 1em; margin-right: -1em; text-align: right; }

.skin-minerva table.jquery-tablesorter th.headerSortUp:after { content: '\f0de'; }

.skin-minerva table.jquery-tablesorter th.headerSortDown:after { content: '\f0dd'; }

.skin-minerva table.jquery-tablesorter th.unsortable, .skin-minerva th.header-bg.th.unsortable { background: var(--wikitable-header-background); } /** Cargo tables **/ .skin-minerva table.cargoTable { border-collapse: collapse; color: var(--body-color); background: transparent; }

.skin-minerva table.cargoTable td.even, .skin-minerva table.cargoTable td.odd { background: transparent; }

.skin-minerva .cargoTable tr:nth-child(even) { background: var(--wikitable-background); }

.skin-minerva table.cargoTable > * > tr > th, .skin-minerva table.cargoTable > tr > th { background: var(--wikitable-header-background); color: var(--wikitable-header-color); text-align: center; font-variant: small-caps; border: var(--wikitable-border); }

.skin-minerva table.cargoTable > * > tr > td { border: var(--wikitable-border); padding: 0.2em 0.4em; color: var(--body-color); } /** Dynamic Tables **/ .skin-minerva table.cargoDynamicTable { margin-top: 1em; border: 0 solid transparent; }

.skin-minerva table.dataTable tfoot td, .skin-minerva table.dataTable tfoot th, .skin-minerva table.dataTable thead td, .skin-minerva table.dataTable thead th { background: var(--wikitable-header-background)!important; border: var(--wikitable-border)!important; }

.skin-minerva table.dataTable tbody tr { color: var(--body-color); background: transparent; }

.skin-minerva table.dataTable.display tbody tr.odd, .skin-minerva table.dataTable.display tbody tr.odd > .sorting_1, .skin-minerva table.dataTable.order-column.stripe tbody tr.odd > .sorting_1, .skin-minerva table.dataTable.stripe tbody tr.odd { background: transparent; text-align: center; }

.skin-minerva table.dataTable.display tbody tr.even, .skin-minerva table.dataTable.display tbody tr.even > .sorting_1, .skin-minerva table.dataTable.order-column.stripe tbody tr.even > .sorting_1, .skin-minerva table.dataTable.stripe tbody tr.even { background: var(--wikitable-background); text-align: center; }

.skin-minerva table.dataTable.display tbody tr:hover, .skin-minerva table.dataTable.hover tbody tr:hover { background: var(--wikitable-header-background); }

.skin-minerva .dataTables_wrapper .dataTables_filter, .skin-minerva .dataTables_wrapper .dataTables_info, .skin-minerva .dataTables_wrapper .dataTables_length, .skin-minerva .dataTables_wrapper .dataTables_paginate, .skin-minerva .dataTables_wrapper .dataTables_processing { color: var(--wikitable-header-color); padding: 0.5em 0; }

.skin-minerva .dataTables_wrapper .dataTables_paginate .paginate_button { color: var(--link-color)!important; }

.skin-minerva .dataTables_wrapper .dataTables_paginate .paginate_button:hover { background: var(--wikitable-header-background); }

.skin-minerva .dataTables_wrapper .dataTables_paginate .paginate_button.current, .skin-minerva .dataTables_wrapper .dataTables_paginate .paginate_button.current:hover { color: var(--body-color) !important; background: var(--wikitable-header-background); border: var(--wikitable-border); } /** Tablepager **/ .skin-minerva .TablePager th { background: var(--wikitable-header-background); color: var(--wikitable-header-color); border: var(--wikitable-border); padding: 0 0.15em; }

.skin-minerva .TablePager td { background: var(--wikitable-background); border: var(--wikitable-border); color: var(--body-color); }

.skin-minerva .TablePager tr:hover td { background: var(--wikitable-header-background)!important; color: var(--wikitable-header-color); }

/*** front page styles ***/ .skin-minerva .fpmain { width: 100%; overflow: hidden; } /* --- front page boxes **/ .skin-minerva .fpbox { background: var(--fpbox-background); color: var(--body-color); margin: 5px; padding: 0.75em; overflow: auto; box-sizing: border-box; border: var(--fpbox-border); width: calc(100% - 2px); }

.skin-minerva .fpbox-heading { border-bottom: var(--fpheading-border); background: var(--fpheading-background); text-align: center; color: var(--fpheading-color); font-family: var(--fpheading-font), sans-serif; font-size: 132%; margin: 0 0 0.5em; padding: 0.25em; letter-spacing: 1px; }

.skin-minerva .fpbox-body { margin: 5px; }

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

.skin-minerva .fpbox-mainheading { font-size: 150%; }

.skin-minerva .fpbox-subheading { font-size: 120%; border: 0; text-align: center; }

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

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

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

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

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

.skin-minerva .fplink { background: var(--fplink-background); border: var(--fplink-border); padding: 0.5em; box-sizing: border-box; width: 100%; height: 100%; display: table; }

.skin-minerva .fplink-fullwidth .fplink { background: var(--fplink-fullwidth-background); }

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

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

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

.skin-minerva .fplink img { max-width: 150px; width: 100%; height: auto; } /** Miscellaneous front page fixes **/ .skin-minerva .fpbox .embedvideowrap { width: 100%!important; max-width: 480px; margin: 0 auto; }

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

.skin-minerva .fpbox .slideboxlightshow { max-width: 100%; margin: 0 auto; }

.skin-minerva .fpbox .slideboxlightshow a, .skin-minerva .fpbox .slideboxlightshow img { max-width: 100%!important; }

/*** infoboxes ***/ .skin-minerva .infoboxtable { max-width: 300px; float: none; border: var(--infobox-border); padding: 0.25em; display: table !important; border-collapse: separate; }

.skin-minerva .infoboxname { color: var(--infobox-header-color); padding: 5px; background: var(--infobox-header-background); }

.skin-minerva .infoboxdetails { color: var(--infobox-details-color); padding: 5px; background: var(--infobox-details-background); }

.skin-minerva .infoboxtable div { color: var(--infobox-label-color); background: var(--infobox-label-background); text-align: right; font-weight: bold; padding: 1px 5px; }

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

.skin-minerva .mw-echo-ui-notificationItemWidget-icon, .skin-minerva .mw-echo-ui-toggleReadCircleButtonWidget-circle, .skin-minerva .mw-ui-icon:before { filter:brightness(calc(2 * var(--invert-icons,0))); }

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

/* invert extension:math images */ .skin-minerva .mwe-math-fallback-image-inline { filter: invert(1); }

/* - */ /* - */ /* ---                                      --- */ /* --- CUSTOM & TEMPLATE CSS BELOW THIS LINE --- */ /* ---                                      --- */ /* - */ /* - */

/* IMPORTANT: all mobile-only styles in this gadget MUST have their selectors prefixed by .skin-minerva or they will override desktop styles on desktop as well due to a bug with gadgets. If the style is okay with being loaded with javascript, use MediaWiki:Mobile.css instead */

img.scalable { /* class for scalable images (https://help.gamepedia.com/Advanced_images#Using_css-defined_classes) */ max-width: 100%; height:auto; }