Give article and list titles one shared style

This commit is contained in:
2026-11-15 20:27:40 +08:00
parent c3a25718ef
commit f127486b99
3 changed files with 9 additions and 2 deletions
+7
View File
@@ -85,6 +85,13 @@ kbd {
margin-top: 0.125rem;
}
/* 文章标题与列表标题同一套字:24px、常规字重,不要标题那么大那么重 */
.post-title {
font-size: 1.5rem;
line-height: 2rem;
font-weight: 400;
}
/* 正文小标题:比主题默认小一号,h2 30px→24px,h3 24px→20px,保持层级差 */
.content h2 {
font-size: 1.5rem;