MediaWiki:Common.css:修订间差异
IdleTap-bot(留言 | 贡献) 修复 Cquote 在 Vector 皮肤下的灰色左边框 |
维基化 |
||
| (未显示2个用户的3个中间版本) | |||
| 第290行: | 第290行: | ||
.fmbox-system { border-left-color: #a2a9b1; } | .fmbox-system { border-left-color: #a2a9b1; } | ||
.fmbox-copyright { border-left-color: #00803b; } | .fmbox-copyright { border-left-color: #00803b; } | ||
/* Ombox(表格型消息框,镜像 mbox 配色;供手写表格使用,如 Template:Protection_templates) */ | |||
table.ombox { | |||
box-sizing: border-box; | |||
margin: 4px 24px; | |||
border: 1px solid #c8ccd1; | |||
border-left-width: 6px; | |||
background-color: #f8f9fa; | |||
color: #202122; | |||
border-collapse: separate; | |||
} | |||
table.ombox th, | |||
table.ombox td { | |||
padding: 4px 8px; | |||
} | |||
table.ombox.ombox-speedy { background-color: #ffeeee; border-left-color: #bb2222; } | |||
table.ombox.ombox-delete { background-color: #f0f0d8; border-left-color: #aa9977; } | |||
table.ombox.ombox-content { background-color: #ffeedd; border-left-color: #f28500; } | |||
table.ombox.ombox-style { background-color: #ffffcc; border-left-color: #ffbb33; } | |||
table.ombox.ombox-move { background-color: #ffeeff; border-left-color: #9933cc; } | |||
table.ombox.ombox-protection { background-color: #eeeeee; border-left-color: #606060; } | |||
table.ombox.ombox-notice { background-color: #ddeeff; border-left-color: #3366cc; } | |||
table.ombox.ombox-license { background-color: #f7f8ff; border-left-color: #999999; } | |||
table.ombox.ombox-featured { background-color: #ffeecc; border-left-color: #cba135; } | |||
table.ombox.ombox-policy { background-color: #ccffcc; border-left-color: #118811; } | |||
table.ombox.ombox-guideline { background-color: #ddeeff; border-left-color: #3366cc; } | |||
table.ombox.ombox-rule { background-color: #ffffcc; border-left-color: #ffbb33; } | |||
table.ombox.ombox-draft { background-color: #eeeeee; border-left-color: #606060; } | |||
table.ombox.ombox-setindex { background-color: #fefefe; border-left-color: #999999; } | |||
table.ombox.ombox-disambig { background-color: #fefefe; border-left-color: #999999; } | |||
/* ============================================ | /* ============================================ | ||
全局字体 | |||
============================================ */ | ============================================ */ | ||
:root { | :root { | ||
| 第310行: | 第340行: | ||
.mw-body .cquotenew { | .mw-body .cquotenew { | ||
border: 0 !important; | border: 0 !important; | ||
} | |||
/* Navbar 通用内联:非 Navbox 场景(如 Tnavbar-header 顶栏)查/论/编 横排 */ | |||
.navbar ul { | |||
display: inline; | |||
white-space: nowrap; | |||
} | |||
.navbar li { | |||
display: inline; | |||
word-spacing: -0.125em; | |||
} | |||
.hatnote { | |||
font-size: small; | |||
font-style: italic; | |||
color: #555; | |||
margin-bottom: 0.5em; | |||
padding-left: 1.5em; | |||
text-indent: -1.5em; | |||
} | |||
.hatnote::before { | |||
content: "→ "; | |||
color: #888; | |||
} | |||
/* ============================================ | |||
infobox 图片与描述文字对齐修复 | |||
============================================ */ | |||
/* 使信息框内缩略图图片不浮动、水平居中 */ | |||
.infobox figure[typeof~="mw:File/Thumb"], | |||
.infobox figure[typeof~="mw:File/Frame"] { | |||
float: none !important; | |||
margin: 0 auto !important; | |||
} | |||
/* 使信息框图片行的描述文字水平居中,与图片对齐 */ | |||
.infobox td.infobox-data-without-label { | |||
text-align: center; | |||
} | } | ||