| 🌟 | 現在、 鉄壁HSは通常HSと同じダメージになります。LMG及びDMR、チャージライフル、ハンマーポイント弾を除き、すべてのダメージ値が一致していることを確認しています。 |
「MediaWiki:Vector.css」の版間の差分
ナビゲーションに移動
検索に移動
(レスポンシブスタイルのフッターの余白を調整) |
(レスポンシブスタイルのトップのロゴと検索バーの調整) |
||
| 26行目: | 26行目: | ||
list-style: none; | list-style: none; | ||
} | } | ||
/* | /* Rearrange the logo */ | ||
#p-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 */ | /* Rearrange various page elements to fill the now-available space */ | ||
| 79行目: | 88行目: | ||
#p-search { | #p-search { | ||
position: absolute; | position: absolute; | ||
right: | right: 6px; | ||
width: 100vw; | width: calc(100vw - 78px); | ||
margin: 0; | margin: 0; | ||
} | } | ||
#simpleSearch { | #simpleSearch { | ||
margin: | margin-left: auto; | ||
padding: 0; | padding: 0; | ||
width: 100%; | |||
max-width: 360px; | |||
} | } | ||
.vector-menu-dropdown .vector-menu-content { | .vector-menu-dropdown .vector-menu-content { | ||
2021年8月11日 (水) 11:44時点における版
/* Responsive for legacy vector */
body {
-webkit-text-size-adjust: 100%;
}
@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%;
}