MediaWiki:Common.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 *

@font-face { font-family: 'FontAwesome'; font-weight: normal; font-style: normal; src: url(https://maxcdn.bootstrapcdn.com/font-awesome/4.3.0/fonts/fontawesome-webfont.eot?v=5.0.0); src: url("https://maxcdn.bootstrapcdn.com/font-awesome/4.3.0/fonts/fontawesome-webfont.eot?#iefix&v=5.0.0") format('embedded-opentype'), url(https://maxcdn.bootstrapcdn.com/font-awesome/ta4.3.0/fonts/fontawesome-webfont.woff2?v=5.0.0) format('woff2'), url(https://maxcdn.bootstrapcdn.com/font-awesome/4.3.0/fonts/fontawesome-webfont.woff?v=5.0.0) format('woff'), url(https://maxcdn.bootstrapcdn.com/font-awesome/4.3.0/fonts/fontawesome-webfont.ttf?v=5.0.0) format('truetype'), url("https://maxcdn.bootstrapcdn.com/font-awesome/4.3.0/fonts/fontawesome-webfont.svg?v=5.0.0#fontawesomeregular") format('svg'); } body.theme-fandomdesktop-light { --eft-background-color: #f8f9fa; --eft-background-color--secondary: #f3f4f4; --eft-background-color--tertiary: #ddd; --eft-border-color: #9a8866; --eft-tabber-color: #413d34;

--eft-wikitable-header: #f1efee;

--theme-page-background-color--secondary: #f3f4f4; /* change Fandom's default secondary background to match better with EFT */ --theme-border-color: #eaecf0; /* change Fandom's default border color to match better with EFT */ } body.theme-fandomdesktop-dark { --eft-background-color: #181818; --eft-background-color--secondary: #282828; --eft-background-color--tertiary: #303030; --eft-border-color: #9a8866; --eft-tabber-color: #9a8866;

--eft-wikitable-header: #080605;

--theme-page-background-color--secondary: #282828; /* change Fandom's default secondary background to match better with EFT */ --theme-border-color: #383838; /* change Fandom's default border color to match better with EFT */ } body.theme-fandomdesktop-dark .mw-highlight { --pygments-background: var(--theme-page-background-color--secondary); }

/** FANDOM FIXES **/ /* Framework */ body.theme-fandomdesktop-dark { -webkit-background-size: cover; -moz-background-size: cover; -o-background-size: cover; background: url("https://static.wikia.nocookie.net/escapefromtarkov_gamepedia/images/1/10/Dg.jpg/revision/latest") no-repeat fixed center top / cover #0e0e0e; } .fandom-community-header__background::before { background-image: linear-gradient(to bottom,var(--theme-body-background-color) 25%,hsla(0,0%,100%,0)); } .page-Escape_from_Tarkov_Wiki .page-header__title { display: none; } /* hide header on main page */

.is-content-expanded .resizable-container { width: auto; margin-left: 24px; margin-right: 16px; } @media only screen and (min-width:1500px) { body, .page-content { font-size:14px; } }

.page-content { overflow-x: unset; } .resizable-container, .page-content h1, .page-content h2, .page-content h3, .page-content h4, .page-content h5, .page-content h6 { font-family: sans-serif; } .page-content h2 { padding-bottom: 5px; } .page-content h3, .page-content h4, .page-content h5, .page-content h6 { font-weight: bold; }

/* Special:Search - related wikis */ .mw-body-content .unified-search__layout, .page-content .unified-search__layout, .WikiaPageContentWrapper .unified-search__layout { grid-template-columns: repeat(7,1fr); grid-template-areas: 'left main main main main main main'; } .mw-body-content .unified-search__layout__right-rail, .page-content .unified-search__layout__right-rail, .WikiaPageContentWrapper .unified-search__layout__right-rail { display: none; }

/* Recreate hydradark feel (margins for content) */ .page-content p, .page-content section { margin: 0.5em 0; } .page-content p + p { margin-top: 0; } .page-content dl { margin: 0.2em 0 0.5em; } .page__main p+ul, .page__main p+ol { margin-top: -0.5em; } .page-content ol, .page-content ul { margin-top: 0.3em; margin-bottom: 0.3em; margin-left: 1.6em; }

.page-content pre { line-height: normal; }

/* ToC adjustments */ .toc .toctitle { padding: 8px; } .toc ul li a { padding: 0.5px 6px; } /* Reduce the size of sub-headings within a table of contents */ .toc ul li li a { line-height: 1.5; } .toc ul li li li a { line-height: 1.33; }

/* Links - likely fixed */ /*a.mw-selflink { color: inherit; font-weight: bold; text-decoration: inherit; }*/ /* fix selflinks */ /*.mw-parser-output a { font-weight: 300; }*/ /* tempo fix so links are not bolded by default */ /*.mw-parser-output b a { font-weight: 600; }*/ /* fix links that are bolded outside of the link (e.g. link) */

/* Content area */ .theme-fandomdesktop-dark .page__main { background: rgba(0,0,0,0.93); box-shadow: inset 0 0 100px rgba(65,61,52,1),0 0 0px rgba(232,190,107,0.8); }

/* List styles */ .page-content ul { list-style-type: disc; list-style-image: url(https://static.wikia.nocookie.net/escapefromtarkov_gamepedia/images/7/75/Bulletpoint.png/revision/latest); } .page-content .wds-tabs { list-style-image: none; }

/* Wikitable */ .ooui-theme-fandomooui .wikitable { background-color: transparent; border-color: var(--eft-background-color--tertiary); padding: 0.2em 0.4em; } .ooui-theme-fandomooui .wikitable > * > tr > th { background-color: var(--eft-wikitable-header); border: 1px solid var(--eft-background-color--tertiary); padding: 0.2em 0.4em; }

/* Sorting tables, remove FandomDesktop's styling and then apply our own styles */ .ooui-theme-fandomooui .article-table.jquery-tablesorter .headerSort:after, .ooui-theme-fandomooui .article-table.jquery-tablesorter .headerSort:before, .ooui-theme-fandomooui .WikiaTable.jquery-tablesorter .headerSort::after, .ooui-theme-fandomooui .WikiaTable.jquery-tablesorter .headerSort::before, .ooui-theme-fandomooui .wikitable.jquery-tablesorter .headerSort::after, .ooui-theme-fandomooui .wikitable.jquery-tablesorter .headerSort::before { background-color: unset; content: unset; display: unset; height: unset; margin: unset; position: unset; right: unset; width: unset; } .ooui-theme-fandomooui .article-table.jquery-tablesorter .headerSort:after, .ooui-theme-fandomooui .WikiaTable.jquery-tablesorter .headerSort:after, .ooui-theme-fandomooui .wikitable.jquery-tablesorter .headerSort:after { -webkit-clip-path: unset; clip-path: unset; top: unset; } .ooui-theme-fandomooui .article-table.jquery-tablesorter .headerSort:before, .ooui-theme-fandomooui .WikiaTable.jquery-tablesorter .headerSort:before, .ooui-theme-fandomooui .wikitable.jquery-tablesorter .headerSort:before { bottom: unset; -webkit-clip-path: unset; clip-path: unset; margin-bottom: unset; } .ooui-theme-fandomooui .article-table.jquery-tablesorter .headerSort, .ooui-theme-fandomooui .WikiaTable.jquery-tablesorter .headerSort, .ooui-theme-fandomooui .wikitable.jquery-tablesorter .headerSort { padding-right: unset; position: unset; } .ooui-theme-fandomooui .article-table.jquery-tablesorter .headerSort, .ooui-theme-fandomooui .WikiaTable.jquery-tablesorter .headerSort, .ooui-theme-fandomooui .wikitable.jquery-tablesorter .headerSort { background-image: none; padding-right: 0.4em; } .ooui-theme-fandomooui .article-table.jquery-tablesorter .headerSort:after, .ooui-theme-fandomooui .WikiaTable.jquery-tablesorter .headerSort:after, .ooui-theme-fandomooui .wikitable.jquery-tablesorter .headerSort:after { content: '\f0dc'; font-family: 'FontAwesome'; padding-left: 0.4em; } .ooui-theme-fandomooui .article-table.jquery-tablesorter .headerSortUp:after, .ooui-theme-fandomooui .WikiaTable.jquery-tablesorter .headerSortUp:after, .ooui-theme-fandomooui .wikitable.jquery-tablesorter .headerSortUp:after { content: '\f0de'; } .ooui-theme-fandomooui .article-table.jquery-tablesorter .headerSortDown:after, .ooui-theme-fandomooui .WikiaTable.jquery-tablesorter .headerSortDown:after, .ooui-theme-fandomooui .wikitable.jquery-tablesorter .headerSortDown:after { content: '\f0dd'; }

/* Discord */ .fandom-community-header__local-navigation li a[href="https://discord.gg/7ZeEyfU"] { background: url(https://discordapp.com/api/guilds/468540756852867072/embed.png) no-repeat; color: transparent !important; display: inline-block; height: 20px; width: 119px; margin-left: 5px; margin-top: 5px; }

/* Force reference columns until the "unset" ones are removed from FandomDesktop */ .skin-fandomdesktop .mw-references-columns { -webkit-column-width: 30em; -moz-column-width: 30em; column-width: 30em; }

/* Notifications */ .mw-notification { background-color: var(--theme-page-background-color--secondary); border-color: var(--theme-border-color); color: var(--theme-page-text-color); } .theme-fandomdesktop-dark .mw-notification.mw-notification-type-error { background-color: rgba(154,0,0,0.7); } .theme-fandomdesktop-dark .mw-notification.mw-notification-type-warn { background-color: rgba(138,104,0,0.7); }

/* Tabber */ .page-content .wds-tabs__tab-label { display: inline-block; cursor: pointer; text-decoration: none; color: #000; background-color: var(--eft-tabber-color); padding: 2px 5px; border-radius: 3px; border: none; opacity: 0.8; height: 25px; margin: 0 2px; } .theme-fandomdesktop-light .page-content .wds-tabs__tab-label { color: #fff; } .page-content .wds-tabs__tab-label:hover { opacity: 1; } .theme-fandomdesktop-dark .page-content .wds-tabs__tab-label a:focus { color: #000; } .theme-fandomdesktop-light .page-content .wds-tabs__tab-label a:focus { color: #fff; } .page-content .wds-tabs__tab.wds-is-current { box-shadow: none; } .page-content .wds-is-current .wds-tabs__tab-label { opacity: 1; } .page-content .wds-tabs__wrapper.with-bottom-border { border: none; }

/* MediaViewer - "see full size" link adjustment */ .modalWrapper a.see-full-size-link { background-color: var(--theme-accent-color); color: var(--theme-accent-label-color); font-size: 14px; padding: 6px; border-radius: 3px; } .modalWrapper a.see-full-size-link:hover { background-color: var(--theme-accent-color--hover); color: var(--theme-accent-label-color); }

/* InputBox - Main Page */ .page-content .createbox .mw-ui-input.mw-ui-input-inline { background-color: var(--theme-page-background-color); } .theme-fandomdesktop-dark .page-content .mw-inputbox-createbox:required:invalid ~ .mw-ui-button { background-color: #000; color: #333; border-color: #333; } .page-content .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); } .page-content .mw-ui-button.mw-ui-progressive:not(:disabled):hover { background-color: var(--theme-accent-color--hover); border-color: var(--theme-accent-color--hover); }

/* Code */ code { background-color: var(--eft-background-color--tertiary); color: var(--theme-page-text-color); border-radius: 4px; padding: 2px 3px 2px; }

/* Temp fix for dark images on the dark theme */ .thumb img[src*="BEAR_Icon.png"], .media img[src*="BEAR_Icon.png"], .thumb img[src*="USEC_Emblem.png"], .media img[src*="USEC_Emblem.png"], .gallery img[src*="Scope_p90_fn_ring_sight_std_LOD0_marks.png"], .media img[src*="Scope_p90_fn_ring_sight_std_LOD0_marks.png"], .gallery img[src*="Scope_base_npz_1p78_1_2%2C8x24_marks.png"], .media img[src*="Scope_base_npz_1p78_1_2%2C8x24_marks.png"], .gallery img[src*="Scope_all_elcan_specter_DR_marks.png"], .media img[src*="Scope_all_elcan_specter_DR_marks.png"], .gallery img[src*="Scope_all_leupold_mark4_hamr_marks.png"], .media img[src*="Scope_all_leupold_mark4_hamr_marks.png"], .gallery img[src*="Scope_all_leupold_mark4_hamr_marks.png"], .media img[src*="Scope_all_leupold_mark4_hamr_marks.png"], .gallery img[src*="Scope_all_sig_bravo4_4x30_marks.png"], .media img[src*="Scope_all_sig_bravo4_4x30_marks.png"], .gallery img[src*="Scope_base_trijicon_acog_ta11_3.5x35_marks.png"], .media img[src*="Scope_base_trijicon_acog_ta11_3.5x35_marks.png"], .gallery img[src*="Scope_base_trijicon_acog_ta01nsn_4x32_marks.png"], .media img[src*="Scope_base_trijicon_acog_ta01nsn_4x32_marks.png"], .gallery img[src*="Valday_PS-320_reticle.png"], .media img[src*="Valday_PS-320_reticle.png"], .gallery img[src*="Scope_all_monstrum_compact_prism_scope_2x32_mark_0.png"], .media img[src*="Scope_all_monstrum_compact_prism_scope_2x32_mark_0.png"], .gallery img[src*="Scope_30mm_razor_hd_gen_2_1_6x24_mark.png"], .media img[src*="Scope_30mm_razor_hd_gen_2_1_6x24_mark.png"], .gallery img[src*="Scope_34mm_s%26b_pm_ii_3_12x50_LOD0_mark_12.png"], .media img[src*="Scope_34mm_s%26b_pm_ii_3_12x50_LOD0_mark_12.png"], .gallery img[src*="Scope_34mm_s%26b_pm_ii_3_12x50_LOD0_mark_3.png"], .media img[src*="Scope_34mm_s%26b_pm_ii_3_12x50_LOD0_mark_3.png"], .gallery img[src*="Scope_30mm_s%26b_pm_ii_1_8x24_LOD0_mark_1.png"], .media img[src*="Scope_30mm_s%26b_pm_ii_1_8x24_LOD0_mark_1.png"], .gallery img[src*="Scope_30mm_s%26b_pm_ii_1_8x24_LOD0_mark_8.png"], .media img[src*="Scope_30mm_s%26b_pm_ii_1_8x24_LOD0_mark_8.png"], .gallery img[src*="Scope_base_progress_pu_35x_marks.png"], .media img[src*="Scope_base_progress_pu_35x_marks.png"], .gallery img[src*="Scope_34mm_nightforce_atacr_7_35x56_marks.png"], .media img[src*="Scope_34mm_nightforce_atacr_7_35x56_marks.png"], .gallery img[src*="Leupold_Mark_4_LR_6.5-20x50_riflescope_marks.png"], .media img[src*="Leupold_Mark_4_LR_6.5-20x50_riflescope_marks.png"], .gallery img[src*="Scope_30mm_march_tactical_3-24x42_marks.png"], .media img[src*="Scope_30mm_march_tactical_3-24x42_marks.png"], .gallery img[src*="Scope_all_hensoldt_ff_3-12x56_marks.png"], .media img[src*="Scope_all_hensoldt_ff_3-12x56_marks.png"], .gallery img[src*="PSO_Modern_Reticle.png"], .media img[src*="PSO_Modern_Reticle.png"], .gallery img[src*="Scope_dovetail_belomo_pso_1m2-1_4x24_marks.png"], .media img[src*="Scope_dovetail_belomo_pso_1m2-1_4x24_marks.png"], .gallery img[src*="Scope_all_ekb_USP-1_TRUE_marks.png"], .media img[src*="Scope_all_ekb_USP-1_TRUE_marks.png"], .gallery img[src*="Scope_base_kmz_1p59_3_10x_mark_10x.png"], .media img[src*="Scope_base_kmz_1p59_3_10x_mark_10x.png"], .gallery img[src*="Scope_kmz_1p59_3_10x_mark_3x.png"], .media img[src*="Scope_kmz_1p59_3_10x_mark_3x.png"], .gallery img[src*="Scope_25_4mm_vomz_pilad_4x32m_mark.png"], .media img[src*="Scope_25_4mm_vomz_pilad_4x32m_mark.png"], .gallery img[src*="Scope_all_ncstar_advance_dual_optic_3_9x_42_mark.png"], .media img[src*="Scope_all_ncstar_advance_dual_optic_3_9x_42_mark.png"] { background-color: #fafafa; }

/** ESCAPE FROM TARKOV WIKI - ACTUAL SITE CSS **/ /* Front page structure */ .fpbox { background-color: rgba(0,0,0,0.1); box-shadow: 0 0 15px rgba(65,61,52,1), 0 0 6px rgba(232,190,107,0.8); margin: 5px; padding: 5px; overflow: hidden; width: calc(100% - 2px); } .theme-fandomdesktop-dark .fpbox { background: url(https://static.wikia.nocookie.net/escapefromtarkov_gamepedia/images/a/ac/Wiki-pattern.png/revision/latest) repeat top left scroll rgba(0,0,0,0.2); }

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

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

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

.fpbox .heading, .fpbox .mainheading { border-bottom: 1px solid var(--eft-border-color); }

.theme-fandomdesktop-light .fp-bsglogo { filter: invert(1); }

.linkslabel { margin: 15px 5px 5px; padding: 0 0 5px; }

/* Template:FP links 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; }

.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; } /* Auto-resize front page video to fit smaller columns */ .fpbox .embedvideowrap { width: 100% !important; max-width: 480px; margin: 0 auto; }

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

/* Multi-column box support */ .fp-container main .columns .leftcol, .fp-container .columns .rightcol { width: 100%; margin: 0; padding: 0; }

@media (min-width: 990px) { .fp-container .columns .leftcol { float: left; width: 50%; }

.fp-container .columns .rightcol { float: right; width: 50%; } }

.fp-section { display: flex; flex-wrap: wrap; }

/* This CSS governs the responsive 3 column main page layout */ min-height:calc(325px + 2.3em); }
 * 1) fptweets {

display: grid; grid-template-areas: "a" "b" "c" "d"; grid-template-columns: 100%; } @media screen and (min-width:990px) { #fp-3column.fp-container { grid-template-areas: "a b" "c b" "c d"; grid-template-columns: 50% 50%; } } @media screen and (min-width:1350px) { #fp-3column.fp-container { grid-template-areas: "a b c" "d b c"; grid-template-columns: 33.3% 33.3% 33.3%; } }
 * 1) fp-3column.fp-container {

grid-area: a; }
 * 1) fp-1 {

grid-area: b; }
 * 1) fp-2 {

grid-area: c; }
 * 1) fp-3 {

grid-area: d; } /* end responsive 3 column main page layout */
 * 1) fp-4 {

/* ################################################## */ /* ### VICTORIA BOX ENGINE by Porter Engineering ### */ /* ###	 Adapted for General Deployment by       ### */ /* ###		Tagaziel and Dragen Industries       ### */ /* ###                                           ### */ /* ###     VICTORIA INFOBOX (Template:Infobox)    ### */ /* ################################################## */ /* Outer 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-title, .va-navbox-title { background-color: var(--eft-wikitable-header); }

.va-infobox-content, .va-infobox-footer, .va-infobox-image, .va-infobox-mainimage { background: transparent; border: 0px solid var(--eft-border-color); } .va-infobox-icon { background: transparent; border: 0px solid var(--eft-border-color); font-weight: bold; } .va-infobox-header, .va-infobox-label { background: var(--eft-wikitable-header);/* transparent; */ border: 1px solid var(--eft-border-color); font-weight: bold; }/* .va-infobox-header { background: var(--eft-wikitable-header); }*/ .va-infobox-title { /* Shared background; see top of page */ border: 1px solid var(--eft-border-color); border-radius: 3px; color: var(--theme-page-text-color); text-align: center; vertical-align: middle; width: 100%; } .va-infobox-header .mw-collapsible-toggle a { color: var(--theme-page-text-color); } .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; /* todo */ 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; } /* todo */ .va-infobox-title a:hover, .va-infobox-title a:active { color: #FFF; } /* todo */ .va-infobox-title a.new { color: #F11; } /* todo */

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

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

/* ################################################## */ /* ### NAVBOXES (Template:Navbox)                ### */ /* ################################################## */

/* NAVBOX COLORS */ /* Outer table - border */ .va-navbox-border { border: 2px solid var(--eft-border-color); border-radius: 3px; /* todo */ /* 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 var(--eft-border-color); border-radius: 3px; color: var(--theme-page-text-color); font-weight: normal; padding: 1px 2px; } .va-navbox-footer, .va-navbox-group, .va-navbox-header { background: transparent; border: 1px solid var(--eft-border-color); } .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 var(--eft-border-color); } .va-navbox-cell, .va-navbox-column, .va-navbox-image { background: transparent; border: 1px solid transparent; } .va-navbox-nested .va-navbox-title { background: #C9D0AC; /* todo */ border: 1px solid #AAA; /* todo */ color: #000; } .va-navbox-nested .va-navbox-footer, .va-navbox-nested .va-navbox-group, .va-navbox-nested .va-navbox-header { background: #D6DBC1; /* todo */ } .va-navbox-nested .va-navbox-colgroup, .va-navbox-nested .va-navbox-subgroup { background: #DDE1CB; /* todo */ } /* 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; } /* todo */ .va-navbox-nowraplinks .va-navbox-cell a, .va-navbox-nowraplinks .va-navbox-column a { white-space: nowrap; } .va-navbox-maintitle a:hover, .va-navbox-maintitle a:active { color: var(--theme-page-text-color); } .va-navbox-maintitle a.new { color: #F11; } /* todo */ .va-navbox-maintitle .mw-collapsible-toggle a { color: var(--theme-page-text-color); }

/* ################################################## */ /* ### TEMPLATE DOCUMENTATION                    ### */ /* ### (Template:Docparam/Template:Documentation) ### */ /* ################################################## */ /* Template:Docparam */ .va-docparam { background: transparent; border: 1px dotted var(--eft-border-color); 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: var(--theme-border-color); border-style: solid; clear: both; }

.va-documentation { border-width: 1px; margin: 10px 0; }

.va-documentation-bar-top, .va-documentation-bar-bottom { background: var(--eft-wikitable-header); color: var(--theme-page-text-color); 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; }

/* leave toggle on the right for tables */ .tablecollapse span.mw-collapsible-toggle{ float: right; }

/* put it on the left for everything else */ .leftcollapse span.mw-collapsible-toggle { float: left; }

/* Allow limiting of which header levels are shown in a TOC; , for instance, will limit to	showing ==headings== and ===headings=== but no further (as long as there are no =headings= on the page, which	there shouldn't be). */ .toclimit-2 .toclevel-1 ul, .toclimit-3 .toclevel-2 ul, .toclimit-4 .toclevel-3 ul, .toclimit-5 .toclevel-4 ul, .toclimit-6 .toclevel-5 ul, .toclimit-7 .toclevel-6 ul { display: none; }

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

/* Template:Ambox */ .ambox { background-color: var(--eft-background-color--secondary); border-bottom-color: var(--theme-border-color); border-right-color: var(--theme-border-color); border-top-color: var(--theme-border-color); border-collapse: collapse; font-size: 95%; margin: 0 auto 2px auto; width: 80%; } .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 0px 2px 0.5em; text-align: center; width: 60px; } .ambox-tiny .ambox-image { padding: 2px 0.5em; text-align: left; width: auto; }

/* Ambox colors */ .ambox-gray { border-left-color: #383838; } .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 #fad201; } .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; }

/* INFOBOXES: game or book depended color style */ .infoboxtable { background-color: rgba(0, 0, 0, 0); border: 1px solid var(--theme-border-color); color: #ffffff; /* todo */ 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: var(--eft-background-color); border: 2px solid inherit; border-radius: 5px; font-weight: bold; padding: 0.5px 7px; text-align: right; } .infoboxname { background-color: var(--eft-background-color); font-size: 110%; font-weight: bold; padding: 0.5em; } .infoboxdetails { padding: 0em; }

.dealer-toggle { display: inline-block; cursor: pointer; margin: 5px; }

.current-dealer { outline: 5px white solid; cursor: default; }

/* This governs the sections on the Community portal */ .cpbox { display: flex; flex-direction: row-reverse; flex-wrap: wrap; }

.cpbox #admins { box-sizing: border-box; width: calc(33% - 10px); margin: 5px; flex-grow: 1; min-width: 300px; }

.cpbox #help { box-sizing: border-box; width: calc(67% - 10px); margin: 5px; flex-grow: 1; }

/* Unbulleted lists (Template:Plainlist) */ .page-content .plainlist ul { line-height: inherit; list-style: none none; margin: 0; } .page-content .plainlist ul li { margin-bottom: 0; }

/* Discord sidebar */ .discord-widget .widget-body { display: none; } .discord-widget .widget-header, .discord-widget.new-branding .widget-header { background-color: var(--theme-sticky-nav-background-color); } .discord-widget-container { height: 125px; } .discord-widget .widget-footer-info a, .discord-widget.new-branding .widget-footer-info a { color: var(--theme-link-color); }

/* Colors */ .etf-green, .eft-g { color: green; } .etf-red, .eft-r { color: red; } .etf-yellow, .eft-y { color: yellow; }

/* Sticky table headers; add class "stickyheader" to the table. */ .ooui-theme-fandomooui .wikitable.jquery-tablesorter.stickyheader thead { position: sticky; top: 45px; } .table-wide-inner .wikitable.jquery-tablesorter.stickyheader thead { /* https://github.com/w3c/csswg-drafts/issues/865 */ position: revert; top: 0; }

/* Sticky nav gap fix for big resolutions */ .fandom-sticky-header.is-visible { -webkit-transform: translateY(calc(100% - 1px)); transform: translateY(calc(100% - 1px)); }

/* Interactive maps: Height change to 75% of usable screen height */ .interactive-maps-container { height: inherit; }

.interactive-maps-container .interactive-maps__map { height: 75vh; }

/* Interactive maps: Background color */ .interactive-maps .leaflet-container { background-color: #000; }

/* Interactive maps: Remove marker report button */ .MarkerPopupActions-module_action__xeKO9[data-testid="marker-report-action"] { display: none; }