fix: header styles smaller than 768px (#510)

pull/516/head
Seaton Jiang 2022-05-27 12:10:41 +08:00
parent bc906b6c83
commit 66dc12aee4
No known key found for this signature in database
GPG Key ID: B79682F6FE8D30E3
1 changed files with 15 additions and 9 deletions

View File

@ -966,15 +966,9 @@ ol {
line-height: 1.25;
}
.k-main .details .article h1 {
.k-main .details .article .header h1 {
margin-bottom: 16px;
font-weight: 500;
line-height: 1.25;
}
.k-main .details .article h1 {
margin-bottom: 24px;
font-size: 34px;
}
.k-main .details .article .content h2:not(:first-child) {
@ -1338,12 +1332,24 @@ ol {
padding: 0 16px 12px;
}
.k-main .details .article h1 {
margin-top: 14px;
.k-main .details .article .header h1 {
margin-bottom: 14px;
font-size: 24px;
}
.k-main .details .article .content h1 {
font-weight: 500;
font-size: 22px;
}
.k-main .details .article .content h2:not(:first-child) {
font-size: 20px;
}
.k-main .details .article .content h3:not(:first-child) {
font-size: 18px;
}
.k-main .details .article .header .meta {
font-size: 12px;
}