Set section headings in body size, bold and indented
This commit is contained in:
@@ -98,12 +98,17 @@ kbd {
|
||||
}
|
||||
|
||||
/* 正文小标题:比主题默认小一号,h2 30px→24px,h3 24px→20px,保持层级差 */
|
||||
/* 二级标题与正文同字号、加粗并缩进两字,做成文中的粗体小标题 */
|
||||
.content h2 {
|
||||
font-size: 1.5rem;
|
||||
font-size: 1rem;
|
||||
font-weight: 700;
|
||||
text-indent: 2em;
|
||||
}
|
||||
|
||||
/* 三级标题再轻一点,免得比二级还重 */
|
||||
.content h3 {
|
||||
font-size: 1.25rem;
|
||||
font-size: 1rem;
|
||||
font-weight: 600;
|
||||
}
|
||||
|
||||
.content p:first-child {
|
||||
|
||||
Reference in New Issue
Block a user