MediaWiki:Common.css:修订间差异
跳转到导航
跳转到搜索
imported>Unknown user 小无编辑摘要 |
无编辑摘要 |
||
| (未显示6个用户的26个中间版本) | |||
| 第1行: | 第1行: | ||
/* 此处的 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 */ | |||
margin-top: -1px; /* (doesn't work for IE6, but that's okay) */ | |||
} | |||
.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 { | |||
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] { | |||
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; | |||
} | |||
2025年10月2日 (四) 13:51的最新版本
/* 此处的 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 */
margin-top: -1px; /* (doesn't work for IE6, but that's okay) */
}
.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 {
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] {
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;
}