🌟 | 現在、 鉄壁ヘッドショットには対応済みです。 鉄壁HSは通常HSと同じダメージになります。LMG及びDMR、チャージライフル、ハンマーポイント弾を除き、すべてのダメージ値が一致していることを確認しています。 |
「MediaWiki:Common.css」の版間の差分
ナビゲーションに移動
検索に移動
(戦術アビリティ用にスタイルを仮指定) |
(メインページ用のスタイルを追加) |
||
919行目: | 919行目: | ||
margin: 2px; | margin: 2px; | ||
vertical-align: baseline; | vertical-align: baseline; | ||
} | |||
/* Main page infobox */ | |||
.infobox-flexrow-container { | |||
display: flex; | |||
overflow-x: auto; | |||
flex-direction: row; | |||
flex-basis: 0; | |||
margin-left: -1em; | |||
margin-right: -1em; | |||
-webkit-overflow-scrolling: touch; | |||
scroll-snap-type: x mandatory; | |||
} | |||
.infobox-mainpage { | |||
flex: 1; | |||
position: relative; | |||
box-sizing: border-box; | |||
scroll-margin-left: 1em; | |||
scroll-snap-align: start; | |||
margin: 10px 10px 0 0; | |||
border: 1px solid #CCCCCC; | |||
padding: 0 10px 10px 10px; | |||
width: 380px; | |||
min-width: 380px; | |||
box-shadow: 0 2px 2px rgb(0 0 0 / 10%); | |||
} | |||
.infobox-mainpage:first-child { | |||
margin-left: 1em; | |||
} | |||
.infobox-mainpage:last-child::after { | |||
position: absolute; | |||
content: ''; | |||
top: 0; | |||
left: 100%; | |||
width: 1em; | |||
height: 1px; | |||
} | |||
@media screen and (max-width: 412px) { | |||
.infobox-mainpage { | |||
width: calc(100vw - 2em); | |||
min-width: calc(100vw - 2em); | |||
} | |||
} | |||
@media screen and (min-width: 982px) { | |||
.infobox-flexrow-container { | |||
margin-left: -1.5em; | |||
margin-right: -1.5em; | |||
} | |||
.infobox-mainpage { | |||
scroll-snap-align: none; | |||
} | |||
.infobox-mainpage:first-child { | |||
margin-left: 1.5em; | |||
} | |||
.infobox-mainpage:last-child { | |||
margin-right: calc(10px + 1.5em); | |||
} | |||
} | |||
.infobox-mainpage h3 { | |||
margin: 0.5em 0; | |||
border-bottom: 1px solid #CCCCCC; | |||
padding: 0; | |||
font-size: 1.2em; | |||
} | } |
2021年4月3日 (土) 10:56時点における版
/* ここに記述したCSSはすべての外装に反映されます */ /* Use color emoji for Windows */ html, body { font-family: -apple-system, BlinkMacSystemFont, Verdana, "Helvetica Neue", Meiryo, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol"; } .mw-body h1:lang(ja), .mw-body-content h1:lang(ja), .mw-body-content h2:lang(ja), .mw-body h1:lang(he), .mw-body-content h1:lang(he), .mw-body-content h2:lang(he), .mw-body h1:lang(ko), .mw-body-content h1:lang(ko), .mw-body-content h2:lang(ko) { font-family: -apple-system, BlinkMacSystemFont, Arial, Roboto, "Helvetica Neue", "Meiryo UI", Meiryo, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol"; -webkit-font-feature-settings: "palt"; font-feature-settings: "palt"; } .mw-body, .parsoid-body { color: #000000; } /* Hide main page title */ .page-メインページ h1.firstHeading { display: none; } /* Prevent selection for menu & footer */ #mw-navigation, #footer { -webkit-user-select: none; -moz-user-select: none; -ms-user-select: none; user-select: none; } /* Prevent event for images */ img { -webkit-touch-callout: none; pointer-events: none; } /* Change default wikitable border width */ /*@media screen and (-webkit-min-device-pixel-ratio: 1.25), screen and ( min--moz-device-pixel-ratio: 1.25), screen and ( -o-min-device-pixel-ratio: 5/4), screen and ( min-device-pixel-ratio: 1.25), screen and ( min-resolution: 120dpi), screen and ( min-resolution: 1.25dppx) { .wikitable, .wikitable > tr > th, .wikitable > tr > td, .wikitable > * > tr > th, .wikitable > * > tr > td { border-width: .8px; } } @media screen and (-webkit-min-device-pixel-ratio: 1.5), screen and ( min--moz-device-pixel-ratio: 1.5), screen and ( -o-min-device-pixel-ratio: 3/2), screen and ( min-device-pixel-ratio: 1.5), screen and ( min-resolution: 144dpi), screen and ( min-resolution: 1.5dppx) { .wikitable, .wikitable > tr > th, .wikitable > tr > td, .wikitable > * > tr > th, .wikitable > * > tr > td { border-width: .6666667px; } } @media screen and (-webkit-min-device-pixel-ratio: 1.75), screen and ( min--moz-device-pixel-ratio: 1.75), screen and ( -o-min-device-pixel-ratio: 7/4), screen and ( min-device-pixel-ratio: 1.75), screen and ( min-resolution: 168dpi), screen and ( min-resolution: 1.75dppx) { .wikitable, .wikitable > tr > th, .wikitable > tr > td, .wikitable > * > tr > th, .wikitable > * > tr > td { border-width: .5714286px; } } @media screen and (-webkit-min-device-pixel-ratio: 2), screen and ( min--moz-device-pixel-ratio: 2), screen and ( -o-min-device-pixel-ratio: 2/1), screen and ( min-device-pixel-ratio: 2), screen and ( min-resolution: 192dpi), screen and ( min-resolution: 2dppx) { .wikitable, .wikitable > tr > th, .wikitable > tr > td, .wikitable > * > tr > th, .wikitable > * > tr > td { border-width: .5px; } } @media screen and (-webkit-min-device-pixel-ratio: 3), screen and ( min--moz-device-pixel-ratio: 3), screen and ( -o-min-device-pixel-ratio: 3/1), screen and ( min-device-pixel-ratio: 3), screen and ( min-resolution: 288dpi), screen and ( min-resolution: 3dppx) { .wikitable, .wikitable > tr > th, .wikitable > tr > td, .wikitable > * > tr > th, .wikitable > * > tr > td { border-width: .3333333px; } }*/ /* Type style */ .text-type-number, .cell-type-number { letter-spacing: -.04em; } /* Condensed table style */ .condensedtable { border-collapse: collapse; border-spacing: 0; white-space: nowrap; } .condensedtable > tr > th, .condensedtable > * > tr > th, .condensedtable > tr > td, .condensedtable > * > tr > td{ border: 0 none transparent; padding: 0; text-align: center; } .condensedtable > tr > th, .condensedtable > * > tr > th { font-weight: normal; text-align: left; } .condensedtable > tr > td[align=left], .condensedtable > * > tr > td[align=left] { text-align: left; } .condensedtable > tr > th[align=right], .condensedtable > * > tr > th[align=right], .condensedtable > tr > td[align=right], .condensedtable > * > tr > td[align=right] { text-align: right; } /* Number table style */ .numbertable { font-family: -apple-system, BlinkMacSystemFont, Arial, Roboto, "Helvetica Neue", "Meiryo UI", Meiryo, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol"; line-height: 1.45; -webkit-font-feature-settings: "palt", "pkna", "tnum"; font-feature-settings: "palt", "pkna", "tnum"; font-variant-numeric: tabular-nums; } .numbertable > tr > td, .numbertable > * > tr > td { text-align: right; } .numbertable > tr > td[align=left], .numbertable > * > tr > td[align=left] { text-align: left; } .numbertable > tr > td[align=center], .numbertable > * > tr > td[align=center] { text-align: center; } /* In-table style */ .intable { margin: 0 auto; border: 0 none transparent; border-collapse: collapse; width: 100%; } .intable > tr > th, .intable > * > tr > th, .intable > tr > td, .intable > * > tr > td { border: 1px solid #bfc4ca; padding: 0.2em 0.4em; width: 20%; } .intable > tr > th, .intable > * > tr > th { background-color: rgba(0, 0, 0, .06); } .intable > tr > td, .intable > * > tr > td { background-color: rgba(255, 255, 255, .25); } .intable > tr > td.disabled, .intable > * > tr > td.disabled { color: #999; background-color: rgba(255, 255, 255, .2); } /* List table style */ .tpl-weapon .listtable { margin-left: -.85em; } .tpl-weapon th[colspan] > .listtable, .tpl-weapon td[colspan] > .listtable { margin-left: .65em; } #tooltip .listtable { margin-left: .45em; } .listtable > tr > th, .listtable > * > tr > th, .listtable > tr > td, .listtable > * > tr > td { padding-top: .25em; } .listtable > tr > th:first-child, .listtable > * > tr > th:first-child, .listtable > tr > td:first-child, .listtable > * > tr > td:first-child { padding-left: .85em; background-image: url(/apexwiki/skins/Vector/resources/skins.vector.styles/images/bullet-icon.svg); background-repeat: no-repeat; background-position: left 40%; } .listtable > tr.no-list-style > th, .listtable > * > tr.no-list-style > th, .listtable > tr.no-list-style > td, .listtable > * > tr.no-list-style > td { background-image: none; } .listtable > tr:first-child > th, .listtable > * > tr:first-child > th, .listtable > tr.no-list-style > th, .listtable > * > tr.no-list-style > th, .listtable > tr:first-child > td, .listtable > * > tr:first-child > td, .listtable > tr.no-list-style > td, .listtable > * > tr.no-list-style > td { padding-top: 0; background-position: left 30%; } /* Damage table style for narrow width device */ @media screen and (max-width: 479px) { .damagetable > tr > th, .damagetable > * > tr > th { padding: .2em; letter-spacing: -.01em; } } @media screen and (max-width: 439px) { .damagetable { margin-left: -1rem; margin-right: -1rem; border-left: 0 none transparent; border-right: 0 none transparent; width: calc(100% + 2rem); } .damagetable > tr > th:first-child, .damagetable > * > tr > th:first-child, .damagetable > tr > td:first-child, .damagetable > * > tr > td:first-child { border-left: 0 none transparent; } .damagetable > tr > th:last-child, .damagetable > * > tr > th:last-child, .damagetable > tr > td:last-child, .damagetable > * > tr > td:last-child { border-right: 0 none transparent; } } @media screen and (max-width: 375px) { .damagetable > tr > th, .damagetable > * > tr > th { padding: .2em 0; } } /* Graph table style */ .graphtable-cell { background-position: left center; background-repeat: no-repeat; background-size: 100% 1.2em; } .graphtable-cell-header-desktop { min-width: 160px; } .graphtable-cell-both { text-shadow: 1px 1px 1px #fff; } .graphtable-cell-header-both { min-width: 80px; } @media screen and (max-width: 439px) { .graphtable { margin-left: -1rem; margin-right: -1rem; border-left: 0 none transparent; border-right: 0 none transparent; width: calc(100% + 2rem); } .graphtable > tr > th:first-child, .graphtable > * > tr > th:first-child, .graphtable > tr > td:first-child, .graphtable > * > tr > td:first-child { border-left: 0 none transparent; padding-left: calc(1rem + .2em); } .graphtable > tr > th:last-child, .graphtable > * > tr > th:last-child, .graphtable > tr > td:last-child, .graphtable > * > tr > td:last-child, .graphtable > tr > .graphtable-cell-header-mobile, .graphtable > * > tr > .graphtable-cell-header-mobile, .graphtable > tr > .graphtable-cell-mobile, .graphtable > * > tr > .graphtable-cell-mobile { border-right: 0 none transparent; padding-right: calc(1rem + .2em); } .graphtable-cell:last-child, .graphtable-cell-mobile { background-size: calc(100% - 1rem) 1.2em; } .graphtable-cell-desktop, .graphtable-cell-header-desktop { display: none; } .graphtable-cell-mobile { text-shadow: 1px 1px 1px #fff; } .graphtable-cell-header-mobile { min-width: 80px; } .graphtable-cell-header-both { min-width: 28px; } .graphtable-cell-header-both:last-child { min-width: calc(28px + 1rem); } } @media screen and (min-width: 440px) { .graphtable-cell-mobile { background-image: none !important; } } /* Stattable style */ .stattable-cell-header-value { max-width: 8em; } .stattable > tr > td.stattable-cell-name, .stattable > * > tr > td.stattable-cell-name { border-right-style: dashed; } .stattable > tr > td.stattable-cell-attachment, .stattable > * > tr > td.stattable-cell-attachment { border-left-style: dashed; border-right-style: dashed; } .stattable > tr > td.stattable-cell-attachment, .stattable > * > tr > td.stattable-cell-attachment { border-left-style: dashed; } @media screen and (max-width: 639px) { .stattable > tr > td.stattable-cell-name, .stattable > * > tr > td.stattable-cell-name { border-right-style: none; padding-right: 1px; } .stattable > tr > td.stattable-cell-attachment, .stattable > * > tr > td.stattable-cell-attachment { border-left-style: none; border-right-style: none; padding: .2em 1px; } .stattable > tr > td.stattable-cell-attachment, .stattable > * > tr > td.stattable-cell-attachment { border-left-style: none; padding: .2em 1px; } } /* Sticky stuck style */ @media screen { tr.row-sticky > th, tr.row-sticky > td { position: -webkit-sticky; position: sticky; top: -1px; z-index: 1; } @supports (top: constant(safe-area-inset-top)) { tr.row-sticky > th, tr.row-sticky > td { top: calc(constant(safe-area-inset-top) - 1px); } } @supports (top: env(safe-area-inset-top)) { tr.row-sticky > th, tr.row-sticky > td { top: calc(env(safe-area-inset-top) - 1px); } } tr.row-sticky > th::before, tr.row-sticky > td::before { display: block; position: absolute; content: ''; top: 0; left: 0; width: 100%; height: 100%; border-bottom: 1px solid #A2A9B1; transition: box-shadow .5s; } tr.row-sticky.row-sticky--stuck > th::before, tr.row-sticky.row-sticky--stuck > td::before { box-shadow: 0 1px 2px rgba(0, 0, 0, .4); } } /* Tooltip style */ #tooltip { contain: content; overflow: hidden; display: none; position: absolute; z-index: 2; box-sizing: border-box; border: 1px solid #000; padding: .2em .4em; font-family: -apple-system, BlinkMacSystemFont, Arial, Roboto, "Helvetica Neue", "Meiryo UI", Meiryo, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol"; font-size: 0.8125em; line-height: 1.4; -webkit-font-feature-settings: "palt", "pkna", "tnum"; font-feature-settings: "palt", "pkna", "tnum"; font-variant-numeric: tabular-nums; color: #000; background-color: #fff; -webkit-user-select: none; -moz-user-select: none; -ms-user-select: none; user-select: none; } /* Group container style */ @media screen and (min-width: 1024px) { .group-container { display: -webkit-box; display: -ms-flexbox; display: flex; -ms-flex-wrap: wrap; flex-wrap: wrap; } .group-container > * { margin-right: 1em; } } /* Basic text style */ .text-primary { color: #000000; } .text-secondary, .text-separator { color: rgba(0, 0, 0, .6); } .text-tertiary { color: rgba(0, 0, 0, .4); } @media screen and (max-width: 639px) { .text-desktoponly { display: none; } } /* Basic all style */ .all-primary { -webkit-filter: none; filter: none; } .all-secondary { -webkit-filter: opacity(0.6); filter: opacity(0.6); } .all-tertiary { -webkit-filter: opacity(0.4); filter: opacity(0.4); } /* Rarity text style */ .text-rarity-common { color: #A8A8A8; } .text-rarity-rare { color: #51A8D6; } .text-rarity-epic { color: #B237C8; } .text-rarity-legendary { color: #CEAD21; } .text-rarity-heirloom { color: #FF4E1D; } /* Ammo text style */ .text-ammo-light { color: #7D542D; } .text-ammo-heavy { color: #386B59; } .text-ammo-energy { color: #5A6E28; } .text-ammo-shotgun { color: #6B2007; } .text-ammo-sniper { color: #4B408F; } .text-ammo-special { color: #B20137; } .text-ammo-minigun { color: #A13CA1; } /* Rarity image style */ .image-rarity, .image-ability { border-style: solid; -webkit-clip-path: polygon(10% 0, 90% 0, 100% 10%, 100% 90%, 90% 100%, 10% 100%, 0 90%, 0 10%); clip-path: polygon(10% 0, 90% 0, 100% 10%, 100% 90%, 90% 100%, 10% 100%, 0 90%, 0 10%); } .image-rarity-size16, .image-ability-size16 { margin: -4px 0 -2px; border-width: 1px; padding: 3px; box-shadow: 0 1px 1px 1px rgba(0, 0, 0, .2) inset; } .image-rarity-size20, .image-ability-size20 { border-width: 1.25px; padding: 3.75px; box-shadow: 0 1.25px 1.25px 1.25px rgba(0, 0, 0, .2) inset; } .image-rarity-size24, .image-ability-size24 { border-width: 1.5px; padding: 4.5px; box-shadow: 0 1.5px 1.5px 1.5px rgba(0, 0, 0, .2) inset; } .image-rarity-size28, .image-ability-size28 { border-width: 1.75px; padding: 5.25px; box-shadow: 0 1.75px 1.75px 1.75px rgba(0, 0, 0, .2) inset; } .image-rarity-size32, .image-ability-size32 { border-width: 2px; padding: 6px; box-shadow: 0 2px 2px 2px rgba(0, 0, 0, .2) inset; } .image-rarity-level0, .image-rarity-none { background-color: #666666; border-color: #B6ABA5; /* #5E534D */ filter: brightness(.5); } .image-ability, .image-rarity-common { background-color: #494847; border-color: #696868; border-bottom-color: #DDDDDD; } .image-rarity-rare { background-color: #213F6E; border-color: #225A9F; border-bottom-color: #2EBCFF; } .image-rarity-epic { background-color: #472070; border-color: #6830A3; border-bottom-color: #DE6BFF; } .image-rarity-legendary { background-color: #654B0E; border-color: #906B0C; border-bottom-color: #FFE200; } .image-rarity-heirloom { background-color: #67110E; border-color: #92130C; border-bottom-color: #FF3700; } /* infobox */ .tpl-infobox-left { clear: right; float: right; } .tpl-infobox-right { clear: right; float: right; } /* Message box */ .tpl-note { contain: content; display: block; overflow: hidden; box-sizing: border-box; margin: .5em 0; border: 1px solid #A2A9B1; border-radius: 2px; padding: .5em; background-color: #EAECF0; box-shadow: 0 2px 2px rgb(0, 0, 0, .1); } .tpl-note::after { clear: both; display: block; content: ""; } .tpl-note-message { border-color: #3396CC; background-color: #E4F0F6; } .tpl-note-message .tpl-note-mark { color: #3396CC; } .tpl-note-warning { border-color: #FFBF00; background-color: #FEF6E7; } .tpl-note-warning .tpl-note-mark { color: #FFBF00; } .tpl-note-error { border-color: #DD3333; background-color: #FEE7E6; } .tpl-note-error .tpl-note-mark { color: #DD3333; } .tpl-note-success { border-color: #14866D; background-color: #D5FDF4; } .tpl-note-success .tpl-note-mark { color: #14866D; } /* weapon infobox */ .tpl-weapon { contain: style; width: 284px; margin: 0 0 .5em .5em; font-family: -apple-system, BlinkMacSystemFont, Arial, Roboto, "Helvetica Neue", Meiryo, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol"; } @media screen and (max-width: 519px) { .tpl-weapon { clear: none; float: none; margin: 0 auto .5em; } } .tpl-weapon-header { contain: strict; position: relative; box-sizing: border-box; width: 310px; height: 48px; margin-left: -6.75px; padding: 12px 0 0 24px; color: #fff; text-shadow: 2px 0 0 #000, 2px 2px 0 #000, 0 2px 0 #000, -2px 2px 0 #000, -2px 0 0 #000, -2px -2px 0 #000, 0 -2px 0 #000, 2px -2px 0 #000; font-family: -apple-system, system-ui, BlinkMacSystemFont, "Meiryo UI", sans-serif; font-size: 20px; font-weight: bold; line-height: 24px; letter-spacing: -.03em; background-image: radial-gradient(rgba(0, 0, 0, .025) 40%, transparent 50%), linear-gradient(to right, rgba(0, 0, 0, .6), rgba(0, 0, 0, .8)); background-size: 8px 8px, contain; -webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px); -webkit-clip-path: polygon(6.29% 0, 97.82% 0, 100% 23%, 93.71% 100%, 2.18% 100%, 0 77%); clip-path: polygon(6.29% 0, 97.82% 0, 100% 23%, 93.71% 100%, 2.18% 100%, 0 77%); } .tpl-weapon-header:before { position: absolute; content: ""; top: 0; left: 0; width: 100%; height: 100%; -webkit-clip-path: polygon(6.29% 0, 97.82% 0, 100% 23%, 93.71% 100%, 2.18% 100%, 0 77%, 0.97% 71.5%, 3.24% 96%, 92.5% 96%, 98.55% 24%, 96.61% 4%, 6.53% 4%, 0.97% 71.5%, 0 77%, 6.29% 0); clip-path: polygon(6.29% 0, 97.82% 0, 100% 23%, 93.71% 100%, 2.18% 100%, 0 77%, 0.97% 71.5%, 3.24% 96%, 92.5% 96%, 98.55% 24%, 96.61% 4%, 6.53% 4%, 0.97% 71.5%, 0 77%, 6.29% 0); } .tpl-weapon-header > a, .tpl-weapon-header > img { float: right; clear: right; margin: -8px 6px 0 -16px; } .tpl-weapon-light > .tpl-weapon-header:before { background: linear-gradient(173deg, #999 30%, #B47B44 52.5%); } .tpl-weapon-heavy > .tpl-weapon-header:before { background: linear-gradient(173deg, #999 30%, #549B83 52.5%); } .tpl-weapon-energy > .tpl-weapon-header:before { background: linear-gradient(173deg, #999 30%, #84A03D 52.5%); } .tpl-weapon-shotgun > .tpl-weapon-header:before { background: linear-gradient(173deg, #999 30%, #9B330F 52.5%); } .tpl-weapon-sniper > .tpl-weapon-header:before { background: linear-gradient(173deg, #999 30%, #6E5FCE 52.5%); } .tpl-weapon-special > .tpl-weapon-header:before { background: linear-gradient(173deg, #999 30%, #FF0253 52.5%); } .tpl-weapon-minigun > .tpl-weapon-header:before { background: linear-gradient(173deg, #999 30%, #E759E7 52.5%); } .tpl-weapon-content { box-sizing: border-box; padding: .5em; } .tpl-weapon-content, .tpl-weapon > table { border: 2px solid transparent; border-top: 0 none transparent; border-collapse: collapse; border-spacing: 0; width: 100%; -webkit-font-feature-settings: "tnum"; font-feature-settings: "tnum"; font-variant-numeric: tabular-nums; } .tpl-weapon > table > tr > th, .tpl-weapon > table > * > tr > th { text-align: left; width: 5.25em; } .tpl-weapon > table > tr > td[colspan], .tpl-weapon > table > * > tr > td[colspan] { border-top: 0 none; padding-top: 0; } .tpl-weapon > table > tr > th, .tpl-weapon > table > * > tr > th, .tpl-weapon > table > tr > td, .tpl-weapon > table > * > tr > td { border-top: 1px solid rgba(0, 0, 0, .05); padding: .2em .5em; vertical-align: top; } .tpl-weapon > table > tr:first-child > th, .tpl-weapon > table > * > tr:first-child > th, .tpl-weapon > table > tr:first-child > td, .tpl-weapon > table > * > tr:first-child > td { border-top: 0 none; } .tpl-weapon ul { margin: 0em 0 0 1.5em; padding: 0; line-height: 1.4; } .tpl-weapon li { margin-bottom: .25em; } .tpl-weapon-light > .tpl-weapon-content, .tpl-weapon-light > table { border-color: #B47B44; background-color: #FEF4EC; background-color: rgba(244, 154, 74, .1); } .tpl-weapon-heavy > .tpl-weapon-content, .tpl-weapon-heavy > table { border-color: #549B83; background-color: #F0FAF6; background-color: rgba(107, 206, 168, .1); } .tpl-weapon-energy > .tpl-weapon-content, .tpl-weapon-energy > table { border-color: #84A03D; background-color: #FAFCEE; background-color: rgba(206, 226, 85, .1); } .tpl-weapon-shotgun > .tpl-weapon-content, .tpl-weapon-shotgun > table { border-color: #9B330F; background-color: #FFEEEB; background-color: rgba(254, 44, 0, .1); } .tpl-weapon-sniper > .tpl-weapon-content, .tpl-weapon-sniper > table { border-color: #6E5FCE; background-color: #EBEBFF; background-color: rgba(126, 130, 255, .1); } .tpl-weapon-special > .tpl-weapon-content, .tpl-weapon-special > table { border-color: #FF0253; background-color: #FFEBF1; background-color: rgba(202, 0, 62, .1); } .tpl-weapon-minigun > .tpl-weapon-content, .tpl-weapon-minigun > table { border-color: #E759E7; background-color: #FDECFB; background-color: rgba(238, 84, 216, .1); } /* Override tabbox style */ body:not(oldbrowser) .tabs-content { display: none; } .tabs-tabbox > .tabs-label { border-color: #A2A9B1; border-radius: 0; padding: .25em 1em; box-shadow: 2px 2px 0 0 #FFFFFF inset, -2px 2px 0 0 #FFFFFF inset; } .tabs-tabbox > .tabs-container { border-color: #A2A9B1; border-radius: 0; padding: 0; width: fit-content; } .tabs-content { vertical-align: top; } /* Weapon navbox */ .tpl-navbox { box-sizing: border-box; margin: 1em auto 0; border: 1px solid #A2A9B1; padding: 2px; font-size: 94%; line-height: 1.5; -webkit-user-select: none; -moz-user-select: none; -ms-user-select: none; user-select: none; } .tpl-navbox a { word-break: keep-all; white-space: nowrap; } .tpl-navbox-table { border-spacing: 0; } .tpl-navbox-table > tr > th, .tpl-navbox-table > * > tr > th, .tpl-navbox-table > tr > td, .tpl-navbox-table > * > tr > td { border-top: 2px solid #FDFDFD; } .tpl-navbox-table > tr > th, .tpl-navbox-table > * > tr > th { padding: .25em .5em; width: 1%; background-color: #f3f4f7; text-align: left; white-space: nowrap; } .tpl-navbox-table > tr > .tpl-navbox-table-title, .tpl-navbox-table > * > tr > .tpl-navbox-table-title { border-top: 0 none transparent; padding: .25em; background-color: #eaecf0; font-size: 110%; text-align: center; } .tpl-navbox-table > tr > td, .tpl-navbox-table > * > tr > td { border-left: 2px solid #FDFDFD; padding: 0 .25em; } .tpl-navbox-table > tr:nth-child(odd) > td, .tpl-navbox-table > * > tr:nth-child(odd) > td { background-color: transparent; } .tpl-navbox-table > tr:nth-child(even) > td, .tpl-navbox-table > * > tr:nth-child(even) > td { background-color: #F9F9FB; } .tpl-navbox-table-containstitle > tr:nth-child(odd) > td, .tpl-navbox-table > * > tr:nth-child(odd) > td { background-color: #F9F9FB; } .tpl-navbox-table-containstitle > tr:nth-child(even) > td, .tpl-navbox-table > * > tr:nth-child(even) > td { background-color: transparent; } @media screen and (max-width: 480px) { .tpl-navbox-table > tr > th, .tpl-navbox-table > * > tr > th, .tpl-navbox-table > tr > td, .tpl-navbox-table > * > tr > td { display: block; box-sizing: border-box; width: 100%; } .tpl-navbox-table > tr > th, .tpl-navbox-table > * > tr > th { padding: .5em; } .tpl-navbox-table > tr > td, .tpl-navbox-table > * > tr > td { border-left: 0 none transparent; padding: 0 .5em 0 1.5em; line-height: 2.5; } .tpl-navbox-table > tr:nth-child(odd) > td, .tpl-navbox-table > * > tr:nth-child(odd) > td, .tpl-navbox-table > tr:nth-child(even) > td, .tpl-navbox-table > * > tr:nth-child(even) > td { background-color: transparent; } } @media screen and (max-width: 720px) { .tpl-navbox-table > tr > td, .tpl-navbox-table > * > tr > td { line-height: 2.5; } } ul.tpl-navbox-list { margin: 0; padding: .125em 0; } ul.tpl-navbox-list > li { display: inline; margin: 0; } ul.tpl-navbox-list > li:after { content: " · "; } ul.tpl-navbox-list > li:last-child:after { content: ""; } .tabs-tabbox.tpl-navbox { border: 0; padding: 0; } .tabs-content > .tpl-navbox-table { margin: 2px; vertical-align: baseline; } /* Main page infobox */ .infobox-flexrow-container { display: flex; overflow-x: auto; flex-direction: row; flex-basis: 0; margin-left: -1em; margin-right: -1em; -webkit-overflow-scrolling: touch; scroll-snap-type: x mandatory; } .infobox-mainpage { flex: 1; position: relative; box-sizing: border-box; scroll-margin-left: 1em; scroll-snap-align: start; margin: 10px 10px 0 0; border: 1px solid #CCCCCC; padding: 0 10px 10px 10px; width: 380px; min-width: 380px; box-shadow: 0 2px 2px rgb(0 0 0 / 10%); } .infobox-mainpage:first-child { margin-left: 1em; } .infobox-mainpage:last-child::after { position: absolute; content: ''; top: 0; left: 100%; width: 1em; height: 1px; } @media screen and (max-width: 412px) { .infobox-mainpage { width: calc(100vw - 2em); min-width: calc(100vw - 2em); } } @media screen and (min-width: 982px) { .infobox-flexrow-container { margin-left: -1.5em; margin-right: -1.5em; } .infobox-mainpage { scroll-snap-align: none; } .infobox-mainpage:first-child { margin-left: 1.5em; } .infobox-mainpage:last-child { margin-right: calc(10px + 1.5em); } } .infobox-mainpage h3 { margin: 0.5em 0; border-bottom: 1px solid #CCCCCC; padding: 0; font-size: 1.2em; }