🌟 | 現在、 鉄壁ヘッドショットには対応済みです。 鉄壁HSは通常HSと同じダメージになります。LMG及びDMR、チャージライフル、ハンマーポイント弾を除き、すべてのダメージ値が一致していることを確認しています。 |
「MediaWiki:Vector.css」の版間の差分
ナビゲーションに移動
検索に移動
(レスポンシブスタイルのトップのロゴと検索バーの調整) |
("viewport-fit=cover"用のスタイルを追加) |
||
2行目: | 2行目: | ||
body { | body { | ||
-webkit-text-size-adjust: 100%; | -webkit-text-size-adjust: 100%; | ||
} | |||
@supports (left: constant(safe-area-inset-left)) { | |||
.mw-body, | |||
.parsoid-body { | |||
padding-right: calc(1em + constant(safe-area-inset-right)); | |||
} | |||
#p-personal { | |||
right: calc(.75em + constant(safe-area-inset-right)); | |||
} | |||
.mw-body, | |||
#mw-data-after-content, | |||
#mw-head-base, | |||
#left-navigation, | |||
.mw-footer { | |||
margin-left: calc(10em + constant(safe-area-inset-left)); | |||
} | |||
#right-navigation { | |||
margin-right: constant(safe-area-inset-right); | |||
} | |||
#mw-panel { | |||
left: constant(safe-area-inset-left); | |||
} | |||
.mw-footer { | |||
margin-right: env(safe-area-inset-right); | |||
} | |||
@media (min-width: 982px) { | |||
.mw-body, | |||
#mw-head-base, | |||
#left-navigation, | |||
#mw-data-after-content, | |||
.mw-footer { | |||
margin-left: calc(11em + constant(safe-area-inset-left)); | |||
} | |||
.mw-body { | |||
padding-right: calc(1.5em + constant(safe-area-inset-right)); | |||
} | |||
.mw-footer { | |||
padding-right: calc(1.25em + constant(safe-area-inset-right)); | |||
} | |||
#p-personal { | |||
right: calc(1em + constant(safe-area-inset-right)); | |||
} | |||
} | |||
} | |||
@supports (left: env(safe-area-inset-left)) { | |||
.mw-body, | |||
.parsoid-body { | |||
padding-right: calc(1em + env(safe-area-inset-right)); | |||
} | |||
#p-personal { | |||
right: calc(.75em + env(safe-area-inset-right)); | |||
} | |||
.mw-body, | |||
#mw-data-after-content, | |||
#mw-head-base, | |||
#left-navigation, | |||
.mw-footer { | |||
margin-left: calc(10em + env(safe-area-inset-left)); | |||
} | |||
#right-navigation { | |||
margin-right: env(safe-area-inset-right); | |||
} | |||
#mw-panel { | |||
left: env(safe-area-inset-left); | |||
} | |||
.mw-footer { | |||
margin-right: env(safe-area-inset-right); | |||
} | |||
@media (min-width: 982px) { | |||
.mw-body, | |||
#mw-head-base, | |||
#left-navigation, | |||
#mw-data-after-content, | |||
.mw-footer { | |||
margin-left: calc(11em + env(safe-area-inset-left)); | |||
} | |||
.mw-body { | |||
padding-right: calc(1.5em + env(safe-area-inset-right)); | |||
} | |||
.mw-footer { | |||
padding-right: calc(1.25em + env(safe-area-inset-right)); | |||
} | |||
#p-personal { | |||
right: calc(1em + env(safe-area-inset-right)); | |||
} | |||
} | |||
} | } | ||
@media screen and (max-width: 720px) { | @media screen and (max-width: 720px) { |
2021年8月24日 (火) 00:52時点における版
/* Responsive for legacy vector */ body { -webkit-text-size-adjust: 100%; } @supports (left: constant(safe-area-inset-left)) { .mw-body, .parsoid-body { padding-right: calc(1em + constant(safe-area-inset-right)); } #p-personal { right: calc(.75em + constant(safe-area-inset-right)); } .mw-body, #mw-data-after-content, #mw-head-base, #left-navigation, .mw-footer { margin-left: calc(10em + constant(safe-area-inset-left)); } #right-navigation { margin-right: constant(safe-area-inset-right); } #mw-panel { left: constant(safe-area-inset-left); } .mw-footer { margin-right: env(safe-area-inset-right); } @media (min-width: 982px) { .mw-body, #mw-head-base, #left-navigation, #mw-data-after-content, .mw-footer { margin-left: calc(11em + constant(safe-area-inset-left)); } .mw-body { padding-right: calc(1.5em + constant(safe-area-inset-right)); } .mw-footer { padding-right: calc(1.25em + constant(safe-area-inset-right)); } #p-personal { right: calc(1em + constant(safe-area-inset-right)); } } } @supports (left: env(safe-area-inset-left)) { .mw-body, .parsoid-body { padding-right: calc(1em + env(safe-area-inset-right)); } #p-personal { right: calc(.75em + env(safe-area-inset-right)); } .mw-body, #mw-data-after-content, #mw-head-base, #left-navigation, .mw-footer { margin-left: calc(10em + env(safe-area-inset-left)); } #right-navigation { margin-right: env(safe-area-inset-right); } #mw-panel { left: env(safe-area-inset-left); } .mw-footer { margin-right: env(safe-area-inset-right); } @media (min-width: 982px) { .mw-body, #mw-head-base, #left-navigation, #mw-data-after-content, .mw-footer { margin-left: calc(11em + env(safe-area-inset-left)); } .mw-body { padding-right: calc(1.5em + env(safe-area-inset-right)); } .mw-footer { padding-right: calc(1.25em + env(safe-area-inset-right)); } #p-personal { right: calc(1em + env(safe-area-inset-right)); } } } @media screen and (max-width: 720px) { #mw-head { position: static !important; /* stylelint-disable-line declaration-no-important */ margin-top: 0.5em; } /* Move the panel to the bottom and display it as in-line lists */ #mw-navigation #mw-panel { display: table; position: static; table-layout: fixed; width: 100%; overflow: hidden; font-size: 150%; } #mw-navigation #mw-panel .portal { display: block; width: 100%; } #mw-navigation #mw-panel ul li { list-style: none; } /* Rearrange the logo */ #p-logo { position: absolute; top: -6px; left: 6px; width: 60px; height: 60px; } #p-logo a { width: 60px; height: 60px; background-size: cover; } /* Rearrange various page elements to fill the now-available space */ body .mw-footer { margin-left: 0; padding: 1em 1.5em 0; /* don't need these in the footer either... */ } body .mw-footer #footer-info-lastmod, body .mw-footer #footer-info-viewcount { display: none; } #p-personal { display: table; position: relative; width: 100%; top: inherit; left: inherit; right: inherit; } #p-personal ul { padding-left: 0; } #right-navigation { position: absolute; top: inherit; right: 0; margin-top: 0; } #left-navigation { position: absolute; top: inherit; margin: 0; display: block; } #p-namespaces, #p-views, #p-variants { position: relative; top: 2.5em; } #p-namespaces { padding-left: 0; } #p-cactions { top: 2.5em; float: right; } #p-search { position: absolute; right: 6px; width: calc(100vw - 78px); margin: 0; } #simpleSearch { margin-left: auto; padding: 0; width: 100%; max-width: 360px; } .vector-menu-dropdown .vector-menu-content { left: inherit; right: 0; border-right-width: 0; } #mw-head .vector-menu-dropdown h3 { margin-right: 0; background-image: none; } .mw-body { /* Hide the 1px blue border on the left side */ border-left: 0; margin-left: 0; } #mw-data-after-content { margin-left: 0; } } @media screen and (min-width: 481px) and (max-width: 720px) { .vector-menu-portal .vector-menu-content ul { -webkit-column-count: 2; -moz-column-count: 2; column-count: 2; -webkit-column-gap: .5em; -moz-column-gap: .5em; column-gap: .5em; } } /* ここに記述したCSSはベクター外装の利用者に影響します */ .wikitable > caption { margin-bottom: .2em; font-size: 110%; }