🌟 | 現在、 鉄壁ヘッドショットには対応済みです。 鉄壁HSは通常HSと同じダメージになります。LMG及びDMR、チャージライフル、ハンマーポイント弾を除き、すべてのダメージ値が一致していることを確認しています。 |
「MediaWiki:Common.css」の版間の差分
ナビゲーションに移動
検索に移動
(listtableの余白が正しく反映されていない問題の修正) |
(リスト形式のテーブルスタイルの表示の互換性を改善) |
||
225行目: | 225行目: | ||
.listtable > tr > td, | .listtable > tr > td, | ||
.listtable > * > tr > td { | .listtable > * > tr > td { | ||
padding- | padding-top: .25em; | ||
} | } | ||
239行目: | 239行目: | ||
.listtable > * > tr.no-list-style > td { | .listtable > * > tr.no-list-style > td { | ||
background-image: none; | 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; | |||
} | } | ||
2021年2月14日 (日) 21:14時点における版
/* ここに記述した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, Verdana, "Helvetica Neue", Meiryo, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol"; } .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; } }*/ /* Cell type style */ .cell-type-number { letter-spacing: -.025em; } /* Condensed table style */ .condensedtable { border-collapse: collapse; border-spacing: 0; white-space: nowrap; } .condensedtable tr > th, .condensedtable tr > td { border: 0 none transparent; padding: 0; text-align: center; } .condensedtable tr > th:first-child, .condensedtable tr > td:first-child { text-align: left; } .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; font-variant-numeric: tabular-nums; -webkit-font-feature-settings: "palt", "pkna"; font-feature-settings: "palt", "pkna"; } .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; } @media screen and (max-width: 479px) { .numbertable > tr > th, .numbertable > * > tr > th { padding: .2em; letter-spacing: -.01em; } } @media screen and (max-width: 375px) { .numbertable > tr > th, .numbertable > * > tr > th { padding: .2em 0; } } @media print { .numbertable > tr > th, .numbertable > * > tr > th, .numbertable > tr > td, .numbertable > * > tr > td { padding: .2em .4em; } } /* In-table style */ .intable { margin: 0 auto; border: 0 none; 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 */ .listtable { margin-left: .75em; } .listtable > tr > th, .listtable > * > tr > th, .listtable > tr > td, .listtable > * > tr > td { padding-top: .25em; } .listtable > tr > td:first-child, .listtable > * > tr > td:first-child { padding-left: .75em; background-image: url(/apexwiki/skins/Vector/resources/skins.vector.styles/images/bullet-icon.svg); background-repeat: no-repeat; background-position: left center; } .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; } /* 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; 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 { color: rgba(0, 0, 0, .6); } .text-tertiary { color: rgba(0, 0, 0, .4); } /* Rarity text style */ .text-rarity-level1, .text-rarity-common { color: #A8A8A8; } .text-rarity-level2, .text-rarity-rare { color: #51A8D6; } .text-rarity-level3, .text-rarity-epic { color: #B237C8; } .text-rarity-level4, .text-rarity-legendary { color: #CEAD21; } .text-rarity-level5, .text-rarity-heirloom { color: #FF4E1D; } /* 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-level1, .image-rarity-common { background-color: #494847; border-color: #696868; border-bottom-color: #DDDDDD; } .image-rarity-level2, .image-rarity-rare { background-color: #213F6E; border-color: #225A9F; border-bottom-color: #2EBCFF; } .image-rarity-level3, .image-rarity-epic { background-color: #472070; border-color: #6830A3; border-bottom-color: #DE6BFF; } .image-rarity-level4, .image-rarity-legendary { background-color: #654B0E; border-color: #906B0C; border-bottom-color: #FFE200; } .image-rarity-level5, .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: 275px; 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: 300px; 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.25% 0, 97.75% 0, 100% 24%, 93.75% 100%, 2.25% 100%, 0 76%); clip-path: polygon(6.25% 0, 97.75% 0, 100% 24%, 93.75% 100%, 2.25% 100%, 0 76%); } .tpl-weapon-header:before { position: absolute; content: ""; top: 0; left: 0; width: 100%; height: 100%; -webkit-clip-path: polygon(6.25% 0, 97.75% 0, 100% 24%, 93.75% 100%, 2.25% 100%, 0 76%, 1.25% 70.5%, 3.75% 96%, 92.5% 96%, 98.5% 24%, 96.5% 4%, 6.75% 4%, 1.25% 70.5%, 0 76%, 6.25% 0); clip-path: polygon(6.25% 0, 97.75% 0, 100% 24%, 93.75% 100%, 2.25% 100%, 0 76%, 1.25% 70.5%, 3.75% 96%, 92.5% 96%, 98.5% 24%, 96.5% 4%, 6.75% 4%, 1.25% 70.5%, 0 76%, 6.25% 0); } .tpl-weapon-header > a, .tpl-weapon-header > img { float: right; clear: right; margin: -8px 8px 0 -16px; } .tpl-weapon-light > .tpl-weapon-header:before { background: linear-gradient(173deg, #999 30%, #F49A4A 52.5%); } .tpl-weapon-heavy > .tpl-weapon-header:before { background: linear-gradient(173deg, #999 30%, #6BCEA8 52.5%); } .tpl-weapon-energy > .tpl-weapon-header:before { background: linear-gradient(173deg, #999 30%, #CEE255 52.5%); } .tpl-weapon-shotgun > .tpl-weapon-header:before { background: linear-gradient(173deg, #999 30%, #FE2C00 52.5%); } .tpl-weapon-sniper > .tpl-weapon-header:before { background: linear-gradient(173deg, #999 30%, #7E82FF 52.5%); } .tpl-weapon-special > .tpl-weapon-header:before { background: linear-gradient(173deg, #999 30%, #CA003E 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%; font-variant-numeric: tabular-nums; } .tpl-weapon > table > tr > th, .tpl-weapon > table > * > tr > th { text-align: left; width: 5.4em; } .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: #F49A4A; background-color: #FEF4EC; background-color: rgba(244, 154, 74, .1); } .tpl-weapon-heavy > .tpl-weapon-content, .tpl-weapon-heavy > table { border-color: #6BCEA8; background-color: #F0FAF6; background-color: rgba(107, 206, 168, .1); } .tpl-weapon-energy > .tpl-weapon-content, .tpl-weapon-energy > table { border-color: #CEE255; background-color: #FAFCEE; background-color: rgba(206, 226, 85, .1); } .tpl-weapon-shotgun > .tpl-weapon-content, .tpl-weapon-shotgun > table { border-color: #FE2C00; background-color: #FFEEEB; background-color: rgba(254, 44, 0, .1); } .tpl-weapon-sniper > .tpl-weapon-content, .tpl-weapon-sniper > table { border-color: #7E82FF; background-color: #EBEBFF; background-color: rgba(126, 130, 255, .1); } .tpl-weapon-special > .tpl-weapon-content, .tpl-weapon-special > table { border-color: #CA003E; background-color: #FFEBF1; background-color: rgba(202, 0, 62, .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; }