MediaWiki:FandomMobile.css

/** Tables of Contents * * 1. FANDOM FIXES *    - Section for the skin and other things * 2. ESCAPE FROM TARKOV WIKI - ACTUAL SITE CSS *    - Templates, templates, templates * body.theme-fandommobile-light { --eft-border-color: #9a8866; } body.theme-fandommobile-dark { --eft-border-color: #9a8866; }

/** FANDOM FIXES **/ /* Framework */

/* InputBox - Main Page */ .createbox .mw-ui-input.mw-ui-input-inline { background-color: var(--theme-page-background-color); } .theme-fandommobile-dark .mw-inputbox-createbox:required:invalid ~ .mw-ui-button { background-color: #000; color: #333; border-color: #333; } .mw-ui-button.mw-ui-progressive:not(:disabled) { background-color: var(--theme-accent-color); color: var(--theme-accent-label-color); border-color: var(--theme-accent-color); } .mw-ui-button.mw-ui-progressive:not(:disabled):hover { background-color: var(--theme-accent-color--hover); border-color: var(--theme-accent-color--hover); }

/** Remove disclaimer and About links from nav - UXFCP-3842 **/ .wds-dropdown__content .wds-list.wds-is-linked > li > a[data-tracking="gp-aboutpage"], .wds-dropdown__content .wds-list.wds-is-linked > li > a[data-tracking="gp-disclaimerpage"]{ display: none; }

/** ESCAPE FROM TARKOV WIKI - ACTUAL SITE CSS **/ .nomobile { display: none; }

/********************* /* Front page styles * /*********************/ .fpbox { border: 1px solid var(--eft-border-color); background: rgba(0,0,0,0.0); color: inherit; margin: 5px; padding: 5px; } .fpbox .welcome { border-bottom: 1px solid #505050; background: transparent; 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; 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: rgba(0, 0, 0, 0) none repeat scroll 0 0; border: 1px solid #29ABE2; color: #e0e0e0; display: table-cell; font-weight: bold; position: relative; text-align: center; text-transform: uppercase; vertical-align: middle; } .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; }

@media (min-width: 188px) { .fplink { width: 50%; } .fplink.wide { width: 100%; } }

@media (min-width: 294px) { .fplink { width: 33.333%; } .fplink.wide { width: 66.666%; } }

@media (min-width: 400px) { .fplink { width: 25%; } .fplink.wide { width: 50%; } .fplink.image { width: 108px; height: 108px; } .fplink.image .box .row .cell { width: 100px; height: 100px; } .fplink.image .box .row .cell .image img { width: 100px; height: 100px; } }

@media (min-width: 506px) { .fplink { width: 20%; } .fplink.wide { width: 40%; } }

@media (min-width: 612px) { .fplink { width: 16.666%; } .fplink.wide { width: 33.333%; } }

@media (min-width: 718px) { .fplink { width: 14.285%; } .fplink.wide { width: 28.571%; } }

@media (min-width: 824px) { .fplink { width: 12.5%; } .fplink.wide { width: 25%; } }

@media (min-width: 930px) { .fplink { width: 11.111%; } .fplink.wide { width: 22.222%; } }

@media (min-width: 1036px) { .fplink { width: 10%; } .fplink.wide { width: 20%; }

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

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

.fpbox.plain { border-color: transparent; } body.theme-fandommobile-light .fp-bsglogo img { filter: invert(1); } /* fix Supported by logo not visible on light theme */ .fpbox .article-media-placeholder { border-color: transparent; } /* rmv border around images on main page */ .fpbox .flexicon figcaption { display: none; } /* hide image captions on main page */
 * 1) fptwitter .twitter-timeline { margin: 0 auto; } /* center twitter */

/* ################################################## */ /* ### VICTORIA INFOBOX (Template:Infobox)       ### */ /* ################################################## */ /* Outer table */ table.va-infobox { border: 2px solid var(--eft-border-color); border-radius: 0px;

/* Commented out box-shadow, remove comments to turn back on  box-shadow: 2px 2px 2px #AAA; -moz-box-shadow: 2px 2px 2px #AAA; -webkit-box-shadow: 2px 2px 2px #AAA;

clear: right; float: right; font-size: 11px; line-height: 16px; margin: 0 0 5px 10px; } /* INFOBOX COLORS */ .va-infobox-content, .va-infobox-footer, .va-infobox-image, .va-infobox-mainimage { background: transparent; border: 0px solid var(--eft-border-color); } .va-infobox-header, .va-infobox-icon, .va-infobox-label { background: transparent; border: 1px solid transparent; /*border: 1px solid var(--eft-border-color);*/ font-weight: bold; }

.va-infobox-title { /* Shared background; see top of page */ border: 1px solid var(--eft-border-color); border-radius: 3px; color: #FFF; text-align: center; vertical-align: middle; width: 100%; }

.va-infobox-header .mw-collapsible-toggle a { color: #FFF; } .va-infobox-divider-float { border-color: transparent; border-style: solid; border-width: 0 0 1px 1px; clear: right; float: right; margin: -1px 0 0 2px; min-width: 18px; padding: 0 0 0 2px; text-align: center; }

/* Tooltips */ .va-infobox-tooltip { border-color: #AAA transparent transparent #AAA; border-style: solid; border-width: 3px; float: left; height: 0; left: -2px; margin-bottom: -100%; margin-right: -100%; position: absolute; top: -1px; width: 0; }

/* Links */ .va-infobox-title a:link, .va-infobox-title a:visited { color: #AFA000 !important; }

.va-infobox-title a:hover, .va-infobox-title a:active { color: #FFF !important; }

.va-infobox-title a.new { color: #F11 !important; }

/* Inner tables */ .va-infobox-cont, .va-infobox-group { margin: 0; width: 100%; } .va-infobox-mainimage-table { margin: 0 auto; } .va-infobox-mainimage-table + .va-infobox-mainimage-table { margin-top: 2px; } /* Cellspacing */ .va-infobox, .va-infobox-cont, .va-infobox-group, .va-infobox-mainimage-table, .va-infobox-spacing-h, .va-infobox-spacing-v { background: transparent; } .va-infobox-spacing-h { border-right: 1px solid transparent; width: 0%; } .va-infobox-spacing-v { font-size: 1px; height: 1px; line-height: 0; } .va-infobox-columns + .va-infobox-spacing { display: none !important; } /* Widths */ .va-infobox-columns-1 .va-infobox-col1 { width: 100%; } .va-infobox-columns-2 .va-infobox-col1, .va-infobox-columns-3 .va-infobox-col1, .va-infobox-columns-4 .va-infobox-col1 { width: 28%; } .va-infobox-columns-2 .va-infobox-col2 { width: 72%; } .va-infobox-columns-3 .va-infobox-col2, .va-infobox-columns-3 .va-infobox-col3 { width: 36%; } .va-infobox-columns-4 .va-infobox-col2, .va-infobox-columns-4 .va-infobox-col3, .va-infobox-columns-4 .va-infobox-col4 { width: 24%; } /* Cell styles */ .va-infobox-content, .va-infobox-footer, .va-infobox-header, .va-infobox-image, .va-infobox-label, .va-infobox-title { padding: 1px 2px; } .va-infobox-image, .va-infobox-footer, .va-infobox-header, .va-infobox-icon, .va-infobox-mainimage, .va-infobox-mainimage-cont, .va-infobox-mainimage-image { text-align: center; vertical-align: middle; } .va-infobox-content { text-align: left; vertical-align: top; } .va-infobox-label { cursor: default; text-align: right; vertical-align: top; } .va-infobox-icon-cont { margin: 0; padding: 0; position: relative; } .va-infobox-icon-table { margin: 0 auto; } .va-infobox-mainimage-cont + .va-infobox-icon-table { position: absolute; right: 3px; /*top: 1px;*/ top: -9px; } /* FIXME: Find better method to prevent column width oddities in IE8/Webkit */ .va-infobox-image { max-width: 0; } .va-infobox-image-cont { margin-right: -100%; text-align: center; width: 100%; } .va-infobox-image-desc { font-size: 10px; line-height: 15px; padding: 1px 1px 0; } .va-infobox-image-upload { padding: 15px 3px; } .va-infobox-mainimage { padding: 2px 0; } .va-infobox-mainimage-cont { margin: 0; width: 100%; } .va-infobox-mainimage-image { background: transparent; padding: 0 1px; } .va-infobox-mainimage-minheight { width: 0%; } .va-infobox-mainimage-minheight div { height: 120px; margin: 0; padding: 0; width: 1px; } .va-infobox-title-main { font-size: 15px; font-weight: bold; line-height: 20px; } .va-infobox-title-sub { font-size: 12px; line-height: 15px; } .va-infobox-title-super { font-size: 10px; line-height: 12px; } .va-infobox-tooltip-cell { cursor: help; } .va-infobox-tooltip-cont { height: 0; position: relative; width: 0; } /* Collapse buttons */ .va-infobox-group-collapsible .va-infobox-header { padding-left: 40px; padding-right: 40px; } .va-infobox-header .mw-collapsible-toggle { left: 40px; margin-left: -100%; position: relative; } /* Adapting lists & paragraphs */ .va-infobox ul, .va-infobox ol, .va-infobox p { line-height: 16px; margin-bottom: 0; } .va-infobox ul, .va-infobox ol { margin-left: 20px; margin-top: 0; } .va-infobox p, .va-infobox * + ul, .va-infobox * + ol { margin-top: 3px; } .va-infobox ul li, .va-infobox ol li { margin-bottom: 0; } /* Auxiliary template: Template:Infobox/divider */ .va-infobox-divider-vert { width: 100%; } .va-infobox-divider-left, .va-infobox-divider-right { vertical-align: top; width: 50%; } .va-infobox-divider-left { border-right: 1px solid #AAA; padding: 0 2px 0 0; } .va-infobox-divider-right { padding: 0 0 0 2px; } .va-infobox-divider-section-start, .va-infobox-divider-section-end { display: none; } .va-infobox-divider-section-end + .va-infobox-divider-section-start { border-top: 1px solid #AAA; clear: both; display: block; margin: 1px 0; }

/* Misc infobox */ table.va-infobox { float: none; border-collapse: unset; } .va-infobox .va-infobox-mainimage-image .article-media-placeholder, .va-infobox .va-infobox-icon .article-media-placeholder { border: none; }

/* ################################################## */ /* ### NAVBOXES (Template:Navbox)                ### */ /* ################################################## */ /* NAVBOX COLORS */ /* Outer table - border */ .va-navbox-border { border: 2px solid #9a8866; border-radius: 3px;

/* box-shadow commented out box-shadow: 2px 2px 2px #AAA; -moz-box-shadow: 2px 2px 2px #AAA; -webkit-box-shadow: 2px 2px 2px #AAA; }

/* Cell styles and widths */ /* Remember to update the column width calculations when changing widths */ .va-navbox-title { /* Shared background; see top of page */ border: 1px solid #9a8866; border-radius: 3px; color: #FFF; font-weight: normal; padding: 1px 2px; }

.va-navbox-footer, .va-navbox-group, .va-navbox-header { background: transparent; border: 1px solid #9a8866; } .va-navbox-columncont .va-navbox-spacing-h { border-right: 1px solid transparent; width: 0%; }

.va-navbox-colgroup, .va-navbox-subgroup { background: transparent; border: 1px solid #9a8866; } .va-navbox-cell, .va-navbox-column, .va-navbox-image { background: transparent; border: 1px solid transparent; }

.va-navbox-nested .va-navbox-title { background: #C9D0AC; border: 1px solid #AAA; color: #000; } .va-navbox-nested .va-navbox-footer, .va-navbox-nested .va-navbox-group, .va-navbox-nested .va-navbox-header { background: #D6DBC1; } .va-navbox-nested .va-navbox-colgroup, .va-navbox-nested .va-navbox-subgroup { background: #DDE1CB; }

/* Outer table - widths, floats */ .va-navbox { font-size: 11px; line-height: 16px; width: 100%; } .va-navbox-bottom { clear: both; margin: 5px auto 0; width: 100%; } .va-navbox-left { clear: left; float: left; margin: 0 1.5em 0.5em 0; width: 240px; } .va-navbox-right { clear: right; float: right; margin: 0 0 0.5em 1.5em; width: 240px; } .va-navbox-bottom + .va-navbox-bottom { margin-top: 2px; } /* Inner tables */ .va-navbox-brick { margin: 0; width: 100%; } /* Cellspacing */ .va-navbox, .va-navbox-border, .va-navbox-brickcont, .va-navbox-padding, .va-navbox-spacing-h, .va-navbox-spacing-v { background: transparent; } .va-navbox-padding { padding: 1px; } .va-navbox-spacing-h { width: 1px; } .va-navbox-spacing-v { font-size: 1pt; height: 1px; line-height: 0em; } .va-navbox-headertext, .va-navbox-titletext { font-weight: bold; padding-left: 40px; padding-right: 40px; } .va-navbox-maintitle .va-navbox-titletext { font-size: 118%; } /* v/d/e and collapse button */ .va-navbox-editlink { float: left; margin-right: -100%; text-align: left; width: 40px; } .va-navbox .mw-collapsible-toggle { margin-left: -100%; } .va-navbox-cell, .va-navbox-colgroup, .va-navbox-column, .va-navbox-footer, .va-navbox-group, .va-navbox-header, .va-navbox-image, .va-navbox-subgroup { padding: 1px 2px; } .va-navbox-colgroup, .va-navbox-group, .va-navbox-subgroup { font-weight: bold; } .va-navbox-group, .va-navbox-subgroup { text-align: center; width: 15%; } .va-navbox-cell-nogroups, .va-navbox-column, .va-navbox-colgroup, .va-navbox-footer, .va-navbox-image { text-align: center; } .va-navbox-cell-withgroups { text-align: left; } .va-navbox-column { vertical-align: top; } .va-navbox-image { width: 8%; } /* Lists in column rows */ .va-navbox-formatlist ul, .va-navbox-formatlist li { list-style-image: none; list-style-type: none; line-height: 16px; margin: 0.6em 0; padding: 0; } .va-navbox-formatlist li li { font-size: 90%; } .va-navbox-formatlist li ul { margin-bottom: 0.5em; margin-top: -0.1em; } .va-navbox-formatlist li ul li { margin: 0em; } /* Nested */ .va-navbox .va-navbox-nested { font-size: 100%; } /* Links */ .va-navbox-editlink .va-navbar-item { color: #FFF !important; } .va-navbox-nowraplinks .va-navbox-cell a, .va-navbox-nowraplinks .va-navbox-column a { white-space: nowrap; } /* .va-navbox-maintitle a:link, .va-navbox-maintitle a:visited { }*/

.va-navbox-maintitle a:hover, .va-navbox-maintitle a:active { color: #FFF; }

.va-navbox-maintitle a.new { color: #F11 !important; }

.va-navbox-maintitle .mw-collapsible-toggle a { color: #FFF !important; }

/* ################################################## */ /* ### TEMPLATE DOCUMENTATION                    ### */ /* ### (Template:Docparam/Template:Documentation) ### */ /* ################################################## */ /* Template:Docparam */ .va-docparam { background: transparent; border: 1px dotted #9a8866; margin-bottom: 3px; overflow: auto; padding: 0 2px 0 20px; text-indent: -20px; } .va-docparam-icon { float: left; margin: 0; padding: 0; width: 20px; } .va-docparam-default { float: right; font-size: 10px; } .va-docparam-params { font-family: monospace; } .va-docparam-desc { margin: 0; padding: 0 0 5px 20px; } /* Template:Documentation */ .va-documentation, .va-documentation-bar-top, .va-documentation-bar-bottom { border-color: #AAA; border-style: solid; clear: both; } .va-documentation { border-width: 1px; margin: 10px 0; } .va-documentation-bar-top, .va-documentation-bar-bottom { background: black; color: #fff; margin: 0; padding: 5px; } .va-documentation-bar-top { border-width: 0 0 1px 0; } .va-documentation-bar-bottom { border-width: 1px 0 0 0; text-align: right; } .va-documentation-links { float: right; text-align: right; } .va-documentation-content { margin: 0; padding: 10px; } .va-documentation-small { font-size: 10px; }

/* ################################################## */ /* ### ICONS (Template:Icon)                     ### */ /* ################################################## */ .va-icon-sortkey { display: none; }

/* Tabber styling */ .tabberlive .tabbertab, .tabber .tabbertab { border-color:#505050; border-style:solid; border-width:1px; }

ul.tabbernav { border-bottom: none !important; line-height: 22px; }

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; /* This should match your general choice of background color */ border: 1px solid #505050 !important; /* This should match your general choice of border color */ border-image: none; border-radius: 5px 5px 0 0 !important; /* This is only if you want your tabs to have rounded corners */ 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: #9a8866 !important; /* This should match your anchor color, but simply being different from the default text color works */ }

ul.tabbernav li a:hover { background: none repeat scroll 0 0 #000000 !important; border-color: #505050 !important; /* This should match your general choice of border color */ 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; }

ul.tabbernav { text-align:left; /* if you want the tabs to be centered rather than left-justified with respect to the tab content */ }

/* dealers on quests page */ .dealer-toggle { display:inline-block; cursor:pointer; margin: 5px; } .current-dealer { outline: 5px white solid; cursor:default; }

.flexicon { display:inline-block; vertical-align: top; margin:5px; text-align:center; }

.nolines .article-table-wrapper, .nolines .article-table-wrapper tr > td:not(:last-child), .nolines .article-table-wrapper tr > th:not(:last-child) { border-color: transparent; }