|
>c87e3aaaf94baeafb4dd479d2a9261da |
| 第1行: |
第1行: |
| /* 此处的 CSS 将应用于所有的皮肤 */ | | /* 这里放置的CSS将应用于所有皮肤 */ |
| | | #content { |
| /* copied from https://zh.kcwiki.org/wiki/MediaWiki:Common.css
| | background: rgba(255,255,255,.7); |
| */
| |
| /* Default skin for navigation boxes */
| |
| table.navbox { /* Navbox container style */
| |
| border: 1px solid #7384b5;
| |
| width: 100% !important;
| |
| max-width: 950px;
| |
| margin: auto;
| |
| clear: both;
| |
| font-size: 88%;
| |
| text-align: center;
| |
| padding: 1px;
| |
| } | | } |
| table.navbox + table.navbox { /* Single pixel border between adjacent navboxes */
| | body { |
| margin-top: -1px; /* (doesn't work for IE6, but that's okay) */
| | background: url(https://zhina.wiki/background.svg) no-repeat center center fixed; |
| | background-size: cover; |
| | position: relative; |
| | height: auto; |
| } | | } |
| .navbox-title,
| |
| .navbox-abovebelow,
| |
| table.navbox th {
| |
| text-align: center; /* Title and above/below styles */
| |
| padding-left: 1em;
| |
| padding-right: 1em;
| |
| }
| |
| .navbox-group { /* Group style */
| |
| white-space: nowrap;
| |
| text-align: right;
| |
| font-weight: bold;
| |
| padding-left: 1em;
| |
| padding-right: 1em;
| |
| }
| |
| .navbox, .navbox-subgroup {
| |
| background: #fdfdfd; /* Background color */
| |
| }
| |
| .navbox-list {
| |
| border-color: #fdfdfd; /* Must match background color */
| |
| text-align: left;
| |
| }
| |
| .navbox-title,
| |
| table.navbox th {
| |
| background: #cedaff; /* Level 1 color */
| |
| }
| |
| .navbox-abovebelow,
| |
| .navbox-group,
| |
| .navbox-subgroup .navbox-title {
| |
| background: #dde6ff; /* Level 2 color */
| |
| }
| |
| .navbox-subgroup .navbox-group, .navbox-subgroup .navbox-abovebelow {
| |
| background: #dde6ff; /* Level 3 color */
| |
| }
| |
| .navbox-even {
| |
| background: #f7f7f7; /* Even row striping */
| |
| }
| |
| .navbox-odd {
| |
| background: transparent; /* Odd row striping */
| |
| }
| |
| .collapseButton { /* 由[[MediaWiki:Common.js]]里的 CollapsibleTable JavaScript */
| |
| float: right; /* 自动创建的'显示'/'隐藏'按纽相关格式都放置于这里以方便自定 */
| |
| font-weight: normal;
| |
| text-align: right;
| |
| width: auto;
| |
| }
| |
| .navbox .collapseButton { /* In navboxes, the show/hide button balances */
| |
| width: 6em; /* the vde links from [[Template:Tnavbar]], */
| |
| } /* so they need to be the same width. */
| |
| .navbox-title, .navbox-above, .navbox-below {
| |
| padding-left:1em;
| |
| padding-right:1em;
| |
| text-align:center;
| |
| }
| |
|
| |
| /*阅读更多:https://zh.kcwiki.org/wiki/MediaWiki:Common.css
| |
| *本文引自kcwiki舰娘百科(https://zh.kcwiki.moe/),文字内容遵守CC BY-NC-SA协议。
| |
| */
| |
|
| |
| .zhy-mobile, .mobile-block {
| |
| display: none !important;
| |
| }
| |
|
| |
| .desktop-inline {
| |
| display: inline;
| |
| }
| |
| .imgbox img, .mw-parser-output img{
| |
| max-width: 100%;
| |
| height: auto;
| |
| }
| |
|
| |
| body.ns-2 div#catlinks { | | body.ns-2 div#catlinks { |
| display: none !important;
| | display: none !important; |
| }
| |
| | |
| #siteNotice {
| |
| z-index: 1;
| |
| }
| |
| | |
| .grecaptcha-badge {
| |
| visibility: hidden;
| |
| }
| |
| | |
| html, body, .comment-body textarea, .comment-preview, .comment-submit, #firstHeading {
| |
| font-family: "Helvetica Neue", Tahoma, "PingFang SC", "Microsoft YaHei", "微软雅黑", "Hiragino Sans GB", "WenQuanYi Micro Hei", sans-serif;
| |
| } | | } |
| span[lang=ja] {
| | .imgbox img, .mw-parser-output img { |
| font-family: BlinkMacSystemFont, -apple-system, "Helvetica Neue", Tahoma, Arial, "Source Han Sans JP", "Noto Sans CJK JP", "Source Han Sans", "ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", Osaka, メイリオ, Meiryo, "MS Pゴシック", "MS PGothic", sans-serif;
| | max-width: 100%; |
| | height: auto; |
| } | | } |
/* 这里放置的CSS将应用于所有皮肤 */
#content {
background: rgba(255,255,255,.7);
}
body {
background: url(https://zhina.wiki/background.svg) no-repeat center center fixed;
background-size: cover;
position: relative;
height: auto;
}
body.ns-2 div#catlinks {
display: none !important;
}
.imgbox img, .mw-parser-output img {
max-width: 100%;
height: auto;
}