MediaWiki:Common.css:修订间差异
无编辑摘要 |
无编辑摘要 |
||
| 第99行: | 第99行: | ||
/* ===== CommentStreams 评论区美化 ===== */ | /* ===== CommentStreams 评论区美化 ===== */ | ||
/* | /* 标题:弱化成小号次要文字(压住可能的 h 标签样式) */ | ||
.cs-comment-title { | .cs-comment-title, | ||
font-size: 0. | .cs-comment-title * { | ||
font-size: 0.92em !important; | |||
font-weight: 600 !important; | font-weight: 600 !important; | ||
color: # | color: #666 !important; | ||
margin- | margin: 0 0 2px 0 !important; | ||
line-height: 1.4 !important; | |||
} | } | ||
/* | /* 头部:去掉背景,标题作者贴紧 */ | ||
.cs-comment-header { | .cs-comment-header { | ||
background: transparent !important; | background: transparent !important; | ||
padding: | padding: 0 !important; | ||
} | } | ||
/* | /* 正文:主体,正常黑字 */ | ||
.cs-comment-body { | .cs-comment-body { | ||
font-size: 1em !important; | font-size: 1em !important; | ||
| 第119行: | 第121行: | ||
margin: 4px 0 8px 0 !important; | margin: 4px 0 8px 0 !important; | ||
padding: 0 !important; | padding: 0 !important; | ||
line-height: 1. | line-height: 1.65 !important; | ||
} | } | ||
/* | /* 整条评论:浅灰圆角框 */ | ||
.cs-comment { | .cs-comment { | ||
background: #fafbfc !important; | background: #fafbfc !important; | ||
| 第131行: | 第133行: | ||
} | } | ||
/* | /* 作者与时间:小灰字 */ | ||
.cs-comment-details, .cs-comment-author, .cs-comment- | .cs-comment-details, | ||
.cs-comment-author, | |||
.cs-comment-author-anonymous { | |||
font-size: 0.82em !important; | font-size: 0.82em !important; | ||
color: #888 !important; | color: #888 !important; | ||
} | } | ||
/* 回复(子评论):缩进 + 左侧竖线表示层级 */ | /* 回复(子评论):缩进 + 左侧竖线表示层级 */ | ||
.cs-reply { | .cs-reply-comment { | ||
margin-left: | margin-left: 28px !important; | ||
border-left: 3px solid #d0d7de !important; | border-left: 3px solid #d0d7de !important; | ||
background: #ffffff !important; | background: #ffffff !important; | ||
} | } | ||