🌟 | 現在、 鉄壁ヘッドショットには対応済みです。 鉄壁HSは通常HSと同じダメージになります。LMG及びDMR、チャージライフル、ハンマーポイント弾を除き、すべてのダメージ値が一致していることを確認しています。 |
MediaWiki:Common.css
ナビゲーションに移動
検索に移動
注意: 保存後、変更を確認するにはブラウザーのキャッシュを消去する必要がある場合があります。
- Firefox / Safari: Shift を押しながら 再読み込み をクリックするか、Ctrl-F5 または Ctrl-R を押してください (Mac では ⌘-R)
- Google Chrome: Ctrl-Shift-R を押してください (Mac では ⌘-Shift-R)
- Internet Explore/Edger: Ctrl を押しながら 最新の情報に更新 をクリックするか、Ctrl-F5 を押してください
- Opera: Ctrl-F5を押してください
/* ここに記述した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; } /* 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); } .text-smaller { font-size: smaller; } .text-larger { font-size: larger; } @media screen and (max-width: 639px) { .text-desktoponly { display: none; } } .text-type-number, .cell-type-number { letter-spacing: -.04em; } /* Buff/nerf text style */ .text-adjustment-buff { color: #0669B2; } .text-adjustment-nerf { color: #DF0024; } /* Buff/nerf list style */ ul.list-adjustment { margin: .3em 0 0 2.1em; } ul.list-adjustment > li { list-style-type: none; list-style-image: none; } ul.list-adjustment > li > a { color: inherit; text-decoration: underline; } ul.list-adjustment > li::before { content: '-'; margin: 0 .2em 0 -1.5em; } ul.list-adjustment > li.list-adjustment-nerf { color: #DF0024; } ul.list-adjustment > li.list-adjustment-nerf::before { content: '▼'; } ul.list-adjustment > li.list-adjustment-buff { color: #0669B2; } ul.list-adjustment > li.list-adjustment-buff::before { content: '△'; } /* Rarity text style */ .text-rarity-common { color: #8C8C80; } .text-rarity-rare { color: #1C91FF; } .text-rarity-epic { color: #5700B3; } .text-rarity-legendary { color: #CEAD21; /* #FAC700 */ } .text-rarity-heirloom { color: #FF0000; } /* Rarity display style */ .disp-rarity-common { background-color: rgba(140, 140, 128, .15); } .disp-rarity-rare { background-color: rgba(28, 145, 255, .15); } .disp-rarity-epic { background-color: rgba(87, 0, 179, .15); } .disp-rarity-legendary { background-color: rgba(101, 75, 14, .15); /* rgba(250, 199, 0, .15) */ } .disp-rarity-heirloom { background-color: rgba(255, 0, 0, .15); } /* 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-arrows { color: #8E7C2F; } .text-ammo-special { color: #B20137; } .text-ammo-minigun { color: #A13CA1; } /* Other text style */ .text-materials { color: #1BC2BD; } /* 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); } /* Condensed table style */ .condensedtable { 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; } /* Rarity table style */ .raritytable { margin-left: -.4em; } .raritytable > tr > th:first-child, .raritytable > * > tr > th:first-child, .raritytable > tr > td:first-child, .raritytable > * > tr > td:first-child { padding-left: .4em; } .raritytable > tr > th:last-child, .raritytable > * > tr > th:last-child, .raritytable > tr > td:last-child, .raritytable > * > tr > td:last-child { padding-right: .4em; } tr.row-rarity-first > th, tr.row-rarity-first > td { padding-top: .4em; } tr.row-rarity-first > th:first-child, tr.row-rarity-first > td:first-child { border-radius: 4px 0 0 0; } tr.row-rarity-first > th:last-child, tr.row-rarity-first > td:last-child { border-radius: 0 4px 0 0; } tr.row-rarity-last > th, tr.row-rarity-last > td { padding-bottom: .4em; } tr.row-rarity-last > th:first-child, tr.row-rarity-last > td:first-child { border-radius: 0 0 0 4px; } tr.row-rarity-last > th:last-child, tr.row-rarity-last > td:last-child { border-radius: 0 0 4px 0; } tr.row-rarity-one > th, tr.row-rarity-one > td { padding-top: .4em; padding-bottom: .4em; } tr.row-rarity-one > th:first-child, tr.row-rarity-one > td:first-child { border-radius: 4px 0 0 4px; } tr.row-rarity-one > th:last-child, tr.row-rarity-one > td:last-child { border-radius: 0 4px 4px 0; } /* Override tabbox style */ body:not(oldbrowser) .tabs-content { display: none; } .tabs-tabbox { clear: both; } .tabs-tabbox > .tabs-label { margin: 0 -1px 0 0; 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; } @media screen and (max-width: 720px) { .tabs-tabbox > .tabs-label { padding: .5em; } } /* 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.4; -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: 1px solid #bfc4ca; border-collapse: separate; border-radius: 4px; border-spacing: 0; width: 100%; font-size: 96%; line-height: 1.45; } .intable > tr > th, .intable > * > tr > th, .intable > tr > td, .intable > * > tr > td { border: 1px solid #bfc4ca; border-left-style: none; border-left-width: 0; border-bottom-style: none; border-bottom-width: 0; padding: .15em .3em; } .intable > tr > th:last-child, .intable > * > tr > th:last-child, .intable > tr > td:last-child, .intable > * > tr > td:last-child { border-right-style: none; border-right-width: 0; } .intable > tr:first-child > th, .intable > *:first-child > tr:first-child > th, .intable > tr:first-child > td, .intable > *:first-child > tr:first-child > td { border-top-style: none; border-top-width: 0; } .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 { font-size: 80%; color: #999; background-color: rgba(0, 0, 0, .02); } .tabs-intable { margin: -1.8em 0 0; } .tabs-intable > .tabs-label { border-color: transparent; border-radius: 4px 4px 0 0; color: rgba(0, 0, 0, .6); background-color: rgba(0,0,0,.06); margin-top: .2em; padding: .1em .8em; -webkit-box-shadow: none; box-shadow: none; -webkit-user-select: none; -moz-user-select: none; -ms-user-select: none; user-select: none; font-size: 96%; } .tabs-intable > .tabs-input + .tabs-input + .tabs-label { margin-left: 2.4em; } .tabs-intable > .tabs-input:checked + .tabs-label, .tabs-intable > .tabs-input-0:checked + .tabs-input-1 + .tabs-label { margin-top: 0; padding-top: .2em; padding-bottom: .2em; border-color: #bfc4ca; color: #000; background-color: rgba(255,255,255,.75); } .tabs-intable > .tabs-container { border: 0 none transparent; width: 100%; } .tabs-intable .tabs-content { width: 100%; } /* Vertical cell style */ table > tr > .vertical-cell, table > * > tr > .vertical-cell, .wikitable > tr > .vertical-cell, .wikitable > * > tr > .vertical-cell, table > tr > .vertical-english-cell, table > * > tr > .vertical-english-cell, .wikitable > tr > .vertical-english-cell, .wikitable > * > tr > .vertical-english-cell { padding: .4em .2em; min-width: 1.4em; /* Webkit bug fix */ } .intable > tr > .vertical-cell, .intable > * > tr > .vertical-cell, .intable > tr > .vertical-english-cell, .intable > * > tr > .vertical-english-cell { padding: .3em .15em; min-width: 1.3em; /* Webkit bug fix */ } table > tr > .vertical-cell > span, table > * > tr > .vertical-cell > span { height: max-content; /* Webkit bug fix */ -webkit-writing-mode: vertical-lr; -ms-writing-mode: tb-lr; writing-mode: vertical-lr; } table > tr > .vertical-english-cell > span, table > * > tr > .vertical-english-cell > span { -webkit-writing-mode: vertical-rl; -ms-writing-mode: tb-rl; writing-mode: vertical-rl; -webkit-transform: rotate(180deg); transform: rotate(180deg); } /* List table style */ .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: .2em; } .listtable > tr > th:first-child, .listtable > * > tr > th:first-child, .listtable > tr > td:first-child, .listtable > * > tr > td:first-child { padding-left: 1.6em; background-image: url(/apexwiki/skins/Vector/resources/skins.vector.styles/images/bullet-icon.svg); background-repeat: no-repeat; background-position: .7em calc(.2em + 1.4ex - 9px); } .tpl-weapon .listtable > tr > th:first-child, .tpl-weapon .listtable > * > tr > th:first-child, .tpl-weapon .listtable > tr > td:first-child, .tpl-weapon .listtable > * > tr > td:first-child { padding-left: .85em; 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: .7em calc(1.4ex - 9px); } .tpl-weapon .listtable > tr:first-child > th, .tpl-weapon .listtable > * > tr:first-child > th, .tpl-weapon .listtable > tr.no-list-style > th, .tpl-weapon .listtable > * > tr.no-list-style > th, .tpl-weapon .listtable > tr:first-child > td, .tpl-weapon .listtable > * > tr:first-child > td, .tpl-weapon .listtable > tr.no-list-style > td, .tpl-weapon .listtable > * > tr.no-list-style > td { background-position: left 30%; } /* Patchnote table style */ .patchnotetable { font-size: 92.85%; } .patchnotetable > tr > th, .patchnotetable > * > tr > th { white-space: normal; } .patchnotetable > tr > th, .patchnotetable > * > tr > th, .patchnotetable > tr > td, .patchnotetable > * > tr > td { vertical-align: bottom; } /* 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; } } /* Langtable style */ .langtable td:last-child:lang(zh-cn), .langtable td:last-child:lang(zh-tw) { padding: .16em .32em; font-size: 125%; line-height: 1.28; } .langtable td:last-child:lang(ja) { font-family: -apple-system, BlinkMacSystemFont, "Hiragino Sans", YuGothic, "Yu Gothic", "游ゴシック体", sans-serif; } .langtable td:last-child:lang(ko) { font-family: -apple-system, BlinkMacSystemFont, "Apple SD Gothic Neo", Gulim, "Malgun Gothic", sans-serif; } .langtable td:last-child:lang(zh-cn) { font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", STHeitiSC, "Heiti SC", "黒体-簡", "Microsoft YaHei", sans-serif; } .langtable td:last-child:lang(zh-tw) { font-family: -apple-system, BlinkMacSystemFont, "PingFang TC", STHeitiTC, "Heiti TC", "黒体-繁", "Microsoft JhengHei", sans-serif; } /* 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 > tr > td, .stattable > * > tr > td { text-align: right; } .stattable > tr > td[align=left], .stattable > * > tr > td[align=left] { text-align: left; } .stattable > tr > td[align=center], .stattable > * > tr > td[align=center] { text-align: center; } .stattable-graph-only { min-width: 160px; } .stattable-graph-both { text-shadow: 1px 1px 1px #fff; } .stattable-line { background-position: left center; background-repeat: no-repeat; } .stattable-line-h10 { background-size: 100% 1em } .stattable-line-h11 { background-size: 100% 1.1em } .stattable-line-h12 { background-size: 100% 1.2em } .stattable-line-h13 { background-size: 100% 1.3em } .stattable-line-h14 { background-size: 100% 1.4em } .stattable-line-h15 { background-size: 100% 1.5em } .stattable-line-h16 { background-size: 100% 1.6em } .stattable-line-h17 { background-size: 100% 1.7em } .stattable-line-h18 { background-size: 100% 1.8em } .stattable-line-h19 { background-size: 100% 1.9em } .stattable-line-h20 { background-size: 100% 2em } @media screen and (max-width: 480px) { .stattable { margin-left: -1rem; margin-right: -1rem; border-left: 0 none transparent; border-right: 0 none transparent; width: calc(100% + 2rem); } .stattable > tr > th:first-child, .stattable > * > tr > th:first-child, .stattable > tr > td:first-child, .stattable > * > tr > td:first-child { border-left: 0 none transparent; padding-left: calc(1rem + .2em); } .stattable > tr > th:last-child, .stattable > * > tr > th:last-child, .stattable > tr > td:last-child, .stattable > * > tr > td:last-child, .stattable > tr > .stattable-graph-mobileonly, .stattable > * > tr > .stattable-graph-mobileonly { border-right: 0 none transparent; padding-right: calc(1rem + .2em); } .stattable-line-h10:last-child, .stattable-line-h10.stattable-graph-mobileonly { background-size: calc(100% - 1rem) 1em } .stattable-line-h11:last-child, .stattable-line-h11.stattable-graph-mobileonly { background-size: calc(100% - 1rem) 1.1em } .stattable-line-h12:last-child, .stattable-line-h12.stattable-graph-mobileonly { background-size: calc(100% - 1rem) 1.2em } .stattable-line-h13:last-child, .stattable-line-h13.stattable-graph-mobileonly { background-size: calc(100% - 1rem) 1.3em } .stattable-line-h14:last-child, .stattable-line-h14.stattable-graph-mobileonly { background-size: calc(100% - 1rem) 1.4em } .stattable-line-h15:last-child, .stattable-line-h15.stattable-graph-mobileonly { background-size: calc(100% - 1rem) 1.5em } .stattable-line-h16:last-child, .stattable-line-h16.stattable-graph-mobileonly { background-size: calc(100% - 1rem) 1.6em } .stattable-line-h17:last-child, .stattable-line-h17.stattable-graph-mobileonly { background-size: calc(100% - 1rem) 1.7em } .stattable-line-h18:last-child, .stattable-line-h18.stattable-graph-mobileonly { background-size: calc(100% - 1rem) 1.8em } .stattable-line-h19:last-child, .stattable-line-h19.stattable-graph-mobileonly { background-size: calc(100% - 1rem) 1.9em } .stattable-line-h20:last-child, .stattable-line-h20.stattable-graph-mobileonly { background-size: calc(100% - 1rem) 2em } .stattable-graph-both-mobileonly { text-shadow: 1px 1px 1px #fff; } .stattable-graph-only { display: none; } } @media screen and (min-width: 481px) { .stattable-graph-mobileonly { background-image: none !important; } } /* Stattable style (old) */ .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; -webkit-box-sizing: border-box; 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 */ .groups-container { margin: 0 -1em 1em; border-radius: 8px; padding: .25em 1em 0; width: -webkit-fit-content; width: -moz-fit-content; width: fit-content; } @media screen and (max-width: 439px) { .groups-container { margin-left: -1rem; margin-right: -1rem; padding-left: 1rem; padding-right: 1rem; padding-bottom: .5em; } } @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; } .group-container > *:last-child { margin-right: 0; } h3 + .group-container > .wikitable { margin-top: .5em; } } /* Rarity image style */ .image-rarity { 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 { margin: -4px 0 -2px; border-width: 1px; padding: 3px; box-shadow: 0 1px 1px 1px rgba(0, 0, 0, .2) inset; } .image-rarity-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 { 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 { 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 { border-width: 2px; padding: 6px; box-shadow: 0 2px 2px 2px rgba(0, 0, 0, .2) inset; } .image-rarity-none { background-color: #666666; border-color: #B6ABA5; /* #5E534D */ filter: brightness(.5); } .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; } /* Perk & Ability image style */ .image-ability, .image-perk { background-color: #2E2E2D; background-image: radial-gradient(#2E2E2D 35%, transparent 100%), radial-gradient(#626260 30%, transparent 30%), radial-gradient(#626260 30%, transparent 30%); background-size: 100% 180%, 4px 4px, 4px 4px; background-position: center center, 0 0, 2px 2px; -webkit-clip-path: polygon(8% 0,70% 0,100% 80%,92% 100%,30% 100%,0 20%,8% 0); clip-path: polygon(8% 0,70% 0,100% 80%,92% 100%,30% 100%,0 20%,8% 0); } .image-ability-size16, .image-perk-size16 { margin: -2px 0 0 0; padding: 4px 10px; } .image-ability-size20, .image-perk-size20 { padding: 5px 15px; } .image-ability-size24, .image-perk-size24 { padding: 6px 18px; } .image-ability-size28, .image-perk-size28 { padding: 7px 21px; } .image-ability-size32, .image-perk-size32 { padding: 8px 24px; } /* Message box */ .tpl-note { contain: content; display: block; overflow: hidden; -webkit-box-sizing: border-box; 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; } /* infobox */ .tpl-infobox-left { clear: right; float: right; } .tpl-infobox-right { clear: right; float: right; } /* weapon infobox */ .tpl-weapon { contain: style; width: 284px; margin: 0 0 1em 1em; font-family: -apple-system, BlinkMacSystemFont, Arial, Roboto, "Helvetica Neue", Meiryo, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol"; } @media screen and (min-width: 982px) { .tpl-weapon { margin-left: 1.5em; } } @media screen and (max-width: 519px) { .tpl-weapon { clear: none; float: none; margin: 0 auto .5em; } } .tpl-weapon-header { contain: strict; position: relative; -webkit-box-sizing: border-box; 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-arrows > .tpl-weapon-header:before { background: linear-gradient(173deg, #999 30%, #CDB347 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 { -webkit-box-sizing: border-box; box-sizing: border-box; padding: .5em; } .tpl-weapon-content, .tpl-weapon > table { border: 2px solid transparent; border-top: 0 none transparent; 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.2em; } .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-arrows > .tpl-weapon-content, .tpl-weapon-arrows > table { border-color: #CDB347; background-color: #FDF9EC; background-color: rgba(243, 213, 115, .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); } .tpl-weapon-inbox { margin-left: -.4em; border-radius: 4px; padding: .4em; } /* Ammo table cell style */ .cell-ammo { padding-left: calc(.4em - 1px) !important; } /* Weapon navbox */ .tpl-navbox { -webkit-box-sizing: border-box; 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; -webkit-box-sizing: border-box; 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: -webkit-box; display: -ms-flexbox; display: flex; overflow-x: auto; -webkit-box-orient: horizontal; -webkit-box-direction: normal; -ms-flex-direction: row; flex-direction: row; -ms-flex-preferred-size: 0; flex-basis: 0; margin-left: -1rem; margin-right: -1rem; -webkit-overflow-scrolling: touch; -ms-scroll-snap-type: x mandatory; scroll-snap-type: x mandatory; padding-bottom: 2px; } .infobox-mainpage { -webkit-box-flex: 1; -ms-flex: 1; flex: 1; position: relative; -webkit-box-sizing: border-box; box-sizing: border-box; scroll-snap-margin-left: 1rem; scroll-margin-left: 1rem; scroll-snap-align: start; margin: 10px 10px 0 0; border: 1px solid #CCCCCC; padding: calc(10px + 2.4em) 10px 10px; width: 360px; min-width: 360px; max-width: 360px; -webkit-box-shadow: 0 2px 2px rgb(0 0 0 / 10%); box-shadow: 0 2px 2px rgb(0 0 0 / 10%); } .infobox-mainpage:first-child { margin-left: 1rem; } .infobox-mainpage:last-child::after { position: absolute; content: ''; top: 0; left: 100%; width: 1rem; height: 1px; } .infobox-mainpage h3 { margin: -2em 0 .5em; border-bottom: 1px solid #CCCCCC; padding: 0; font-size: 1.2em; } @media screen and (max-width: 412px) { .infobox-mainpage { width: calc(100vw - 2rem); min-width: calc(100vw - 2rem); max-width: calc(100vw - 2rem); } } @media screen and (min-width: 982px) { .infobox-flexrow-container { margin-left: -1.5rem; margin-right: -1.5rem; } .infobox-mainpage { scroll-snap-align: none; } .infobox-mainpage:first-child { margin-left: 1.5rem; } .infobox-mainpage:last-child::after { width: 1.5rem; } .infobox-mainpage-column2 { width: 741px; min-width: 741px; max-width: 741px; column-count: 2; column-gap: 21px; column-rule: 1px solid #CCCCCC; } .infobox-mainpage-column2 h3 { margin-right: -371px; } }