MediaWiki:Common.css:修订间差异

Baneq​(留言 | 贡献)
无编辑摘要
Baneq​(留言 | 贡献)
无编辑摘要
第99行: 第99行:


/* ===== CommentStreams 评论区美化 ===== */
/* ===== CommentStreams 评论区美化 ===== */
/* 标题:弱化,从大粗体改成小号次要文字 */
/* 标题:弱化成小号次要文字(压住可能的 h 标签样式) */
.cs-comment-title {
.cs-comment-title,
font-size: 0.95em !important;
.cs-comment-title * {
font-size: 0.92em !important;
font-weight: 600 !important;
font-weight: 600 !important;
color: #555 !important;
color: #666 !important;
margin-bottom: 2px !important;
margin: 0 0 2px 0 !important;
line-height: 1.4 !important;
}
}


/* 评论头部那条浅蓝背景去掉,改成无背景,标题+作者贴在一起 */
/* 头部:去掉背景,标题作者贴紧 */
.cs-comment-header {
.cs-comment-header {
background: transparent !important;
background: transparent !important;
padding: 4px 0 0 0 !important;
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.6 !important;
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-date {
.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-link, .cs-comment-reply {
font-size: 0.85em !important;
opacity: 0.75;
}
}


/* 回复(子评论):缩进 + 左侧竖线表示层级 */
/* 回复(子评论):缩进 + 左侧竖线表示层级 */
.cs-reply {
.cs-reply-comment {
margin-left: 24px !important;
margin-left: 28px !important;
border-left: 3px solid #d0d7de !important;
border-left: 3px solid #d0d7de !important;
background: #ffffff !important;
background: #ffffff !important;
}
}