MediaWiki:Common.css:修订间差异
无编辑摘要 标签:手工回退 |
无编辑摘要 |
||
| 第1行: | 第1行: | ||
table.navbox { | /* 此处的 CSS 将应用于所有的皮肤 */ | ||
/* copied from https://zh.kcwiki.org/wiki/MediaWiki:Common.css | |||
*/ | |||
/* 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 */ | |||
table.navbox+table.navbox { | margin-top: -1px; /* (doesn't work for IE6, but that's okay) */ | ||
} | } | ||
.navbox-title, | |||
.navbox-title,.navbox-abovebelow,table.navbox th { | .navbox-abovebelow, | ||
table.navbox th { | |||
text-align: center; /* Title and above/below styles */ | |||
padding-left: 1em; | |||
padding-right: 1em; | |||
} | } | ||
.navbox-group { /* Group style */ | |||
.navbox-group { | white-space: nowrap; | ||
text-align: right; | |||
font-weight: bold; | |||
padding-left: 1em; | |||
padding-right: 1em; | |||
} | } | ||
.navbox, .navbox-subgroup { | |||
.navbox,.navbox-subgroup { | background: #fdfdfd; /* Background color */ | ||
} | } | ||
.navbox-list { | .navbox-list { | ||
border-color: #fdfdfd; /* Must match background color */ | |||
text-align: left; | |||
} | } | ||
.navbox-title, | |||
.navbox-title,table.navbox th { | table.navbox th { | ||
background: #cedaff; /* Level 1 color */ | |||
} | } | ||
.navbox-abovebelow, | |||
.navbox-abovebelow,.navbox-group,.navbox-subgroup .navbox-title { | .navbox-group, | ||
.navbox-subgroup .navbox-title { | |||
background: #dde6ff; /* Level 2 color */ | |||
} | } | ||
.navbox-subgroup .navbox-group, .navbox-subgroup .navbox-abovebelow { | |||
.navbox-subgroup .navbox-group,.navbox-subgroup .navbox-abovebelow { | background: #dde6ff; /* Level 3 color */ | ||
} | } | ||
.navbox-even { | .navbox-even { | ||
background: #f7f7f7; /* Even row striping */ | |||
} | } | ||
.navbox-odd { | .navbox-odd { | ||
background: transparent; /* Odd row striping */ | |||
} | } | ||
.collapseButton { /* 由[[MediaWiki:Common.js]]里的 CollapsibleTable JavaScript */ | |||
.collapseButton { | float: right; /* 自动创建的'显示'/'隐藏'按纽相关格式都放置于这里以方便自定 */ | ||
font-weight: normal; | |||
text-align: right; | |||
width: auto; | |||
} | } | ||
.navbox .collapseButton { /* In navboxes, the show/hide button balances */ | |||
.navbox .collapseButton { | 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 { | .zhy-mobile, .mobile-block { | ||
display: none !important; | |||
} | } | ||
.desktop-inline { | .desktop-inline { | ||
display: inline; | |||
} | } | ||
.imgbox img, .mw-parser-output img{ | |||
.imgbox img,.mw-parser-output img { | |||
max-width: 100%; | max-width: 100%; | ||
height: auto | height: auto; | ||
} | } | ||
body.ns-2 div#catlinks { | body.ns-2 div#catlinks { | ||
display: none!important | display: none !important; | ||
} | } | ||
#siteNotice { | #siteNotice { | ||
z-index: 1; | |||
} | } | ||
.grecaptcha-badge { | .grecaptcha-badge { | ||
visibility: hidden; | |||
} | } | ||
html,body,.comment-body textarea,.comment-preview,.comment-submit,#firstHeading { | html, body, .comment-body textarea, .comment-preview, .comment-submit, #firstHeading { | ||
font-family: | font-family: "Helvetica Neue", Tahoma, "PingFang SC", "Microsoft YaHei", "微软雅黑", "Hiragino Sans GB", "WenQuanYi Micro Hei", sans-serif; | ||
} | } | ||
span[lang=ja] { | span[lang=ja] { | ||
font-family: BlinkMacSystemFont,-apple-system, | 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; | ||
} | } | ||