🌟 | 現在、 鉄壁ヘッドショットには対応済みです。 鉄壁HSは通常HSと同じダメージになります。LMG及びDMR、チャージライフル、ハンマーポイント弾を除き、すべてのダメージ値が一致していることを確認しています。 |
「MediaWiki:Common.css」の版間の差分
ナビゲーションに移動
検索に移動
(メインページ用のシングルカラムの左側の余白を調整) |
(メインページ用のシングルカラムの左側の余白のenv verの実装を忘れていた問題の修正) |
||
1,478行目: | 1,478行目: | ||
.infobox-mainpage:last-child::after { | .infobox-mainpage:last-child::after { | ||
width: calc(1rem + env(safe-area-inset-right)); | width: calc(1rem + env(safe-area-inset-right)); | ||
} | |||
@media screen and (max-width: 799px), screen and (max-height: 439px) { | |||
.infobox-flexrow-container { | |||
margin-left: calc(-1rem - env(safe-area-inset-left)); | |||
} | |||
.infobox-mainpage:last-child::after { | |||
width: calc(2rem + env(safe-area-inset-left)); | |||
} | |||
} | } | ||
@media screen and (min-width: 982px) { | @media screen and (min-width: 982px) { |
2021年8月24日 (火) 16:50時点における版
/* ここに記述したCSSはすべての外装に反映されます */ /* Use color emoji for Windows */ html, body { font-family: -apple-system, BlinkMacSystemFont, Verdana, "Helvetica Neue", "Segoe UI Emoji", Meiryo, sans-serif, "Apple Color 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", "Segoe UI Emoji", "Meiryo UI", Meiryo, sans-serif, "Apple Color Emoji", "Segoe UI Symbol"; -webkit-font-feature-settings: "palt"; font-feature-settings: "palt"; } /* Hide main page title */ .page-メインページ h1.firstHeading { display: 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: 799px), screen and (max-height: 439px) { .text-desktop, .text-desktoponly { display: none; } } .text-type-number, .cell-type-number { letter-spacing: -.04em; } /* Device display style */ .disp-mobiledevice { display: none; } @media screen and (max-width: 480px), screen and (max-height: 439px) { .disp-mobiledevice { display: block; } } /* 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-secondary .text-rarity-common { color: rgba(140, 140, 128, .6); } .text-rarity-rare { color: #1C91FF; } .text-secondary .text-rarity-rare { color: rgba(28, 145, 255, .6); } .text-rarity-epic { color: #5700B3; } .text-secondary .text-rarity-epic { color: rgba(87, 0, 179, .6); } .text-rarity-legendary { color: #CEAD21; /* #FAC700 */ } .text-secondary .text-rarity-legendary { color: rgba(206, 173, 33, .6); } .text-rarity-heirloom { color: #FF0000; } .text-secondary .text-rarity-heirloom { color: rgba(255, 0, 0, .6); } /* Rarity block style */ .block-rarity { display: inline-block; margin: -.2em -.4em; border-radius: 4px; padding: .2em .4em; } /* 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: 799px) { .tabs-tabbox > .tabs-label { padding: .5em; } } /* Number table style */ .numbertable { font-family: -apple-system, BlinkMacSystemFont, Arial, Roboto, "Helvetica Neue", "Segoe UI Emoji", "Meiryo UI", Meiryo, sans-serif, "Apple Color 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: 480px) { .damagetable > tr > th, .damagetable > * > tr > th { padding: .2em; letter-spacing: -.01em; } } @media screen and (max-width: 440px) { .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: 480px) { .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: 481px) { .graphtable-cell-mobile { background-image: none !important; } } /* Stattable style */ .st > tr > th, .st > * > tr > th { box-sizing: border-box; } .st > tr > td, .st > * > tr > td { text-align: right; } .st > tr > td[align=left], .st > * > tr > td[align=left] { text-align: left; } .st > tr > td[align=center], .st > * > tr > td[align=center] { text-align: center; } .st > tr > .st-dashed-both, .st > * > tr > .st-dashed-both { border-left-style: dashed; border-right-style: dashed; } .st > tr > .st-dashed-left, .st > * > tr > .st-dashed-left { border-left-style: dashed; } .st > tr > .st-dashed-right, .st > * > tr > .st-dashed-right { border-right-style: dashed; } .st > tr > .st-none-both, .st > * > tr > .st-none-both { border-left: 0 none transparent; border-right: 0 none transparent; } .st > tr > .st-none-left, .st > * > tr > .st-none-left { border-left: 0 none transparent; } .st > tr > .st-none-right, .st > * > tr > .st-none-right { border-right: 0 none transparent; } .st > tr > .st-padding0-both, .st > * > tr > .st-padding0-both { padding-left: 0; padding-right: 0; } .st > tr > .st-padding0-left, .st > * > tr > .st-padding0-left { padding-left: 0; } .st > tr > .st-padding0-right, .st > * > tr > .st-padding0-right { padding-right: 0; } .st-textshadow { text-shadow: 1px 1px 1px #fff; } .st > tr > th.st-axis, .st > * > tr > th.st-axis, .st > tr > td.st-axis, .st > * > tr > td.st-axis { padding: 0; color: rgba(0, 0, 0, .6); background-color: transparent; font-size: 85%; letter-spacing: -.04em; } .st-axis > ul { display: flex; list-style: none; margin: 0; align-items: flex-start; justify-content: flex-start; } .st-axis > ul > li { text-align: center; } .st-axis > ul > li:first-child { text-align: left; } .st-axis-1 > ul > li { text-align: center; } .st-axis-1 > ul > li, .st-axis-2 > ul > li { flex-basis: 100%; } .st-axis-3 > ul > li { flex-basis: 50%; } .st-axis-3 > ul > li:first-child { flex-basis: 25%; } .st-axis-4 > ul > li { flex-basis: calc(100%/3); } .st-axis-4 > ul > li:first-child { flex-basis: calc(100%/6); } .st-axis-5 > ul > li { flex-basis: 25%; } .st-axis-5 > ul > li:first-child { flex-basis: 12.5%; } .st-axis-6 > ul > li { flex-basis: 20%; } .st-axis-6 > ul > li:first-child { flex-basis: 10%; } .st-axis-7 > ul > li { flex-basis: calc(100%/6); } .st-axis-7 > ul > li:first-child { flex-basis: calc(100%/12); } .st-axis-8 > ul > li { flex-basis: calc(100%/7); } .st-axis-8 > ul > li:first-child { flex-basis: calc(100%/14); } .st-axis-9 > ul > li { flex-basis: 12.5%; } .st-axis-9 > ul > li:first-child { flex-basis: 6.25%; } .st-axis-10 > ul > li { flex-basis: calc(100%/9); } .st-axis-10 > ul > li:first-child { flex-basis: calc(100%/18); } .st-axis-11 > ul > li { flex-basis: 10%; } .st-axis-11 > ul > li:first-child { flex-basis: 5%; } .st-grid:not(.st-mobile-graph):not(.st-desktop) { position: relative; } .st-grid:not(.st-mobile-graph):not(.st-desktop):before { display: block; position: absolute; content: ''; } .st-grid:before { top: 0; left: 0; width: 100%; height: 100%; background-image: linear-gradient(-90deg, rgba(0, 0, 0, .08) 1px, transparent 1px) !important; } .st-graph.st-grid-2:before { background-size: 50% 100%; } .st-graph.st-grid-3:before { background-size: calc(100%/3) 100%; } .st-graph.st-grid-4:before { background-size: 25% 100%; } .st-graph.st-grid-5:before { background-size: 20% 100%; } .st-graph.st-grid-6:before { background-size: calc(100%/6) 100%; } .st-graph.st-grid-7:before { background-size: calc(100%/7) 100%; } .st-graph.st-grid-8:before { background-size: 12.5% 100%; } .st-graph.st-grid-9:before { background-size: calc(100%/9) 100%; } .st-graph.st-grid-10:before { background-size: 10% 100%; } .st-line { background-position: left center; background-repeat: no-repeat; } .st-line-h10 { background-size: 100% 1em } .st-line-h11 { background-size: 100% 1.1em } .st-line-h12 { background-size: 100% 1.2em } .st-line-h13 { background-size: 100% 1.3em } .st-line-h14 { background-size: 100% 1.4em } .st-line-h15 { background-size: 100% 1.5em } .st-line-h16 { background-size: 100% 1.6em } .st-line-h17 { background-size: 100% 1.7em } .st-line-h18 { background-size: 100% 1.8em } .st-line-h19 { background-size: 100% 1.9em } .st-line-h20 { background-size: 100% 2em } @media screen and (max-width: 480px) { .st { margin-left: -1rem; margin-right: -1rem; border-left: 0 none transparent; border-right: 0 none transparent; width: calc(100% + 2rem); } .st > tr > th:first-child, .st > * > tr > th:first-child, .st > tr > td:first-child, .st > * > tr > td:first-child { border-left: 0 none transparent; padding-left: calc(1rem + .2em); } .st > tr > .st-mobile-dashed-both, .st > * > tr > .st-mobile-dashed-both { border-left-style: dashed; border-right-style: dashed; } .st > tr > .st-mobile-dashed-left, .st > * > tr > .st-mobile-dashed-left { border-left-style: dashed; } .st > tr > .st-mobile-dashed-right, .st > * > tr > .st-mobile-dashed-right { border-right-style: dashed; } .st > tr > .st-mobile-none-both, .st > * > tr > .st-mobile-none-both { border-left: 0 none transparent; border-right: 0 none transparent; } .st > tr > .st-mobile-none-left, .st > * > tr > .st-mobile-none-left { border-left: 0 none transparent; } .st > tr > .st-mobile-none-right, .st > * > tr > .st-mobile-none-right { border-right: 0 none transparent; } .st > tr > .st-mobile-padding0-both, .st > * > tr > .st-mobile-padding0-both { padding-left: 0; padding-right: 0; } .st > tr > .st-mobile-padding0-left, .st > * > tr > .st-mobile-padding0-left { padding-left: 0; } .st > tr > .st-mobile-padding0-right, .st > * > tr > .st-mobile-padding0-right { padding-right: 0; } .st-mobile-textshadow { text-shadow: 1px 1px 1px #fff; } .st > tr > .st-mobile-last, .st > * > tr > .st-mobile-last { border-right: 0 none transparent; padding-right: calc(1rem + .2em); } .st-mobile-last.st-axis-1 > ul > li, .st-axis-1:last-child > ul > li { flex-basis: calc(100% - 1rem); } .st-mobile-last.st-axis-2 > ul > li, .st-axis-2:last-child > ul > li { flex-basis: calc((100% - 1rem)/2); } .st-mobile-last.st-axis-3 > ul > li, .st-axis-3:last-child > ul > li { flex-basis: calc((100% - 1rem)/2); } .st-mobile-last.st-axis-3 > ul > li:first-child, .st-axis-3:last-child > ul > li:first-child { flex-basis: calc((100% - 1rem)/4); } .st-mobile-last.st-axis-4 > ul > li, .st-axis-4:last-child > ul > li { flex-basis: calc((100% - 1rem)/3); } .st-mobile-last.st-axis-4 > ul > li:first-child, .st-axis-4:last-child > ul > li:first-child { flex-basis: calc((100% - 1rem)/6); } .st-mobile-last.st-axis-5 > ul > li, .st-axis-5:last-child > ul > li { flex-basis: calc((100% - 1rem)/4); } .st-mobile-last.st-axis-5 > ul > li:first-child, .st-axis-5:last-child > ul > li:first-child { flex-basis: calc((100% - 1rem)/8); } .st-mobile-last.st-axis-6 > ul > li, .st-axis-6:last-child > ul > li { flex-basis: calc((100% - 1rem)/5); } .st-mobile-last.st-axis-6 > ul > li:first-child, .st-axis-6:last-child > ul > li:first-child { flex-basis: calc((100% - 1rem)/10); } .st-mobile-last.st-axis-7 > ul > li, .st-axis-7:last-child > ul > li { flex-basis: calc((100% - 1rem)/6); } .st-mobile-last.st-axis-7 > ul > li:first-child, .st-axis-7:last-child > ul > li:first-child { flex-basis: calc((100% - 1rem)/12); } .st-mobile-last.st-axis-8 > ul > li, .st-axis-8:last-child > ul > li { flex-basis: calc((100% - 1rem)/7); } .st-mobile-last.st-axis-8 > ul > li:first-child, .st-axis-8:last-child > ul > li:first-child { flex-basis: calc((100% - 1rem)/14); } .st-mobile-last.st-axis-9 > ul > li, .st-axis-9:last-child > ul > li { flex-basis: calc((100% - 1rem)/8); } .st-mobile-last.st-axis-9 > ul > li:first-child, .st-axis-9:last-child > ul > li:first-child { flex-basis: calc((100% - 1rem)/16); } .st-mobile-last.st-axis-10 > ul > li, .st-axis-10:last-child > ul > li { flex-basis: calc((100% - 1rem)/9); } .st-mobile-last.st-axis-10 > ul > li:first-child, .st-axis-10:last-child > ul > li:first-child { flex-basis: calc((100% - 1rem)/18); } .st-mobile-last.st-axis-11 > ul > li, .st-axis-11:last-child > ul > li { flex-basis: calc((100% - 1rem)/10); } .st-mobile-last.st-axis-11 > ul > li:first-child, .st-axis-11:last-child > ul > li:first-child { flex-basis: calc((100% - 1rem)/20); } .st-grid:not(.st-desktop) { position: relative; } .st-grid:not(.st-desktop):before { display: block; position: absolute; content: ''; } .st-mobile-graph.st-grid-2:before { background-size: 50% 100%; } .st-mobile-graph.st-grid-3:before { background-size: calc(100%/3) 100%; } .st-mobile-graph.st-grid-4:before { background-size: 25% 100%; } .st-mobile-graph.st-grid-5:before { background-size: 20% 100%; } .st-mobile-graph.st-grid-6:before { background-size: calc(100%/6) 100%; } .st-mobile-graph.st-grid-7:before { background-size: calc(100%/7) 100%; } .st-mobile-graph.st-grid-8:before { background-size: 12.5% 100%; } .st-mobile-graph.st-grid-9:before { background-size: calc(100%/9) 100%; } .st-mobile-graph.st-grid-10:before { background-size: 10% 100%; } .st-graph.st-mobile-last.st-grid-2:before, .st-mobile-graph.st-mobile-last.st-grid-2:before, .st-mobile-graph.st-grid-2:last-child:before { background-size: calc((100% - 1rem)/2) 100%; } .st-graph.st-mobile-last.st-grid-3:before, .st-mobile-graph.st-mobile-last.st-grid-3:before, .st-mobile-graph.st-grid-3:last-child:before { background-size: calc((100% - 1rem)/3) 100%; } .st-graph.st-mobile-last.st-grid-4:before, .st-mobile-graph.st-mobile-last.st-grid-4:before, .st-mobile-graph.st-grid-4:last-child:before { background-size: calc((100% - 1rem)/4) 100%; } .st-graph.st-mobile-last.st-grid-5:before, .st-mobile-graph.st-mobile-last.st-grid-5:before, .st-mobile-graph.st-grid-5:last-child:before { background-size: calc((100% - 1rem)/5) 100%; } .st-graph.st-mobile-last.st-grid-6:before, .st-mobile-graph.st-mobile-last.st-grid-6:before, .st-mobile-graph.st-grid-6:last-child:before { background-size: calc((100% - 1rem)/6) 100%; } .st-graph.st-mobile-last.st-grid-7:before, .st-mobile-graph.st-mobile-last.st-grid-7:before, .st-mobile-graph.st-grid-7:last-child:before { background-size: calc((100% - 1rem)/7) 100%; } .st-graph.st-mobile-last.st-grid-8:before, .st-mobile-graph.st-mobile-last.st-grid-8:before, .st-mobile-graph.st-grid-8:last-child:before { background-size: calc((100% - 1rem)/8) 100%; } .st-graph.st-mobile-last.st-grid-9:before, .st-mobile-graph.st-mobile-last.st-grid-9:before, .st-mobile-graph.st-grid-9:last-child:before { background-size: calc((100% - 1rem)/9) 100%; } .st-graph.st-mobile-last.st-grid-10:before, .st-mobile-graph.st-mobile-last.st-grid-10:before, .st-mobile-graph.st-grid-10:last-child:before { background-size: calc((100% - 1rem)/10) 100%; } .st-line-h10.st-mobile-last { background-size: calc(100% - 1rem) 1em } .st-line-h11.st-mobile-last { background-size: calc(100% - 1rem) 1.1em } .st-line-h12.st-mobile-last { background-size: calc(100% - 1rem) 1.2em } .st-line-h13.st-mobile-last { background-size: calc(100% - 1rem) 1.3em } .st-line-h14.st-mobile-last { background-size: calc(100% - 1rem) 1.4em } .st-line-h15.st-mobile-last { background-size: calc(100% - 1rem) 1.5em } .st-line-h16.st-mobile-last { background-size: calc(100% - 1rem) 1.6em } .st-line-h17.st-mobile-last { background-size: calc(100% - 1rem) 1.7em } .st-line-h18.st-mobile-last { background-size: calc(100% - 1rem) 1.8em } .st-line-h19.st-mobile-last { background-size: calc(100% - 1rem) 1.9em } .st-line-h20.st-mobile-last { background-size: calc(100% - 1rem) 2em } .st-desktop { display: none; } } @media screen and (min-width: 481px) { .st-grid:not(.st-mobile-graph) { position: relative; } .st-grid:not(.st-mobile-graph):before { display: block; position: absolute; content: ''; } .st-desktop-graph.st-grid-2:before { background-size: 50% 100%; } .st-desktop-graph.st-grid-3:before { background-size: calc(100%/3) 100%; } .st-desktop-graph.st-grid-4:before { background-size: 25% 100%; } .st-desktop-graph.st-grid-5:before { background-size: 20% 100%; } .st-desktop-graph.st-grid-6:before { background-size: calc(100%/6) 100%; } .st-desktop-graph.st-grid-7:before { background-size: calc(100%/7) 100%; } .st-desktop-graph.st-grid-8:before { background-size: 12.5% 100%; } .st-desktop-graph.st-grid-9:before { background-size: calc(100%/9) 100%; } .st-desktop-graph.st-grid-10:before { background-size: 10% 100%; } .st-mobile { display: none; } .st-mobile-graph { background-image: none !important; } .st-mobile-axis > ul { display: none; } } @media screen { .st-axis { position: -webkit-sticky; position: sticky; bottom: 0; z-index: 1; background-color: #f8f9fa; text-shadow: 1px -1px 1px #fff, 1px 1px 1px #fff, -1px 1px 1px #fff, -1px -1px 1px #fff; } @supports (top: constant(safe-area-inset-bottom)) { .st-axis { bottom: constant(safe-area-inset-bottom); } } @supports (top: env(safe-area-inset-bottom)) { .st-axis { bottom: env(safe-area-inset-bottom); } } } /* 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: 640px) { .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", "Segoe UI Emoji", "Meiryo UI", Meiryo, sans-serif, "Apple Color 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: 440px) { .groups-container { margin-left: -1rem; margin-right: -1rem; padding-left: 1rem; padding-right: 1rem; padding-bottom: .5em; } } @media screen and (max-width: 799px) { .groups-container { max-width: calc(100% + .5em - 310px); } } @media screen and (min-width: 1281px) { .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; 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", "Segoe UI Emoji", Meiryo, sans-serif, "Apple Color 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-box-title { padding: .25em .5em; background-color: #eaecf0; font-size: 110%; font-weight: bold; text-align: center; } .tpl-navbox-box-text { padding: .25em .5em; background-color: #F9F9FB; } @media screen and (min-width: 481px) { .tpl-navbox-box-title { display: table-cell; border-right: 2px solid #FDFDFD; min-width: 5em; font-size: 100%; white-space: nowrap; } .tpl-navbox-box-title:after { content: ':'; } .tpl-navbox-box-text { display: table-cell; width: 100%; } } @media screen and (any-pointer: coarse) { .tpl-navbox-box-text { line-height: 2.5; } } .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; } .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 (any-pointer: coarse) { .tpl-navbox-table > tr > td, .tpl-navbox-table > * > tr > td { line-height: 2.5; } } .tpl-navbox-list > ul { margin: 0; padding: .125em 0; } .tpl-navbox-list > ul > li { display: inline; margin: 0; } .tpl-navbox-list > ul > li:after { content: " · "; } .tpl-navbox-list > ul > 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; } } @supports (margin-right: constant(safe-area-inset-right)) { .infobox-flexrow-container { margin-right: calc(-1rem - constant(safe-area-inset-right)); } .infobox-mainpage:last-child::after { width: calc(1rem + constant(safe-area-inset-right)); } @media screen and (max-width: 799px), screen and (max-height: 439px) { .infobox-flexrow-container { margin-left: calc(-1rem - constant(safe-area-inset-left)); } .infobox-mainpage:last-child::after { width: calc(2rem + constant(safe-area-inset-left)); } } @media screen and (min-width: 982px) { .infobox-flexrow-container { margin-right: calc(-1.5rem - constant(safe-area-inset-right)); } .infobox-mainpage:last-child::after { width: calc(1.5rem + constant(safe-area-inset-right)); } } } @supports (margin-right: env(safe-area-inset-right)) { .infobox-flexrow-container { margin-right: calc(-1rem - env(safe-area-inset-right)); } .infobox-mainpage:last-child::after { width: calc(1rem + env(safe-area-inset-right)); } @media screen and (max-width: 799px), screen and (max-height: 439px) { .infobox-flexrow-container { margin-left: calc(-1rem - env(safe-area-inset-left)); } .infobox-mainpage:last-child::after { width: calc(2rem + env(safe-area-inset-left)); } } @media screen and (min-width: 982px) { .infobox-flexrow-container { margin-right: calc(-1.5rem - env(safe-area-inset-right)); } .infobox-mainpage:last-child::after { width: calc(1.5rem + env(safe-area-inset-right)); } } }