Skip to content

Commit

Permalink
fix: header styles smaller than 768px (#510)
Browse files Browse the repository at this point in the history
  • Loading branch information
seatonjiang committed May 27, 2022
1 parent bc906b6 commit 66dc12a
Showing 1 changed file with 15 additions and 9 deletions.
24 changes: 15 additions & 9 deletions style.css
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down Expand Up @@ -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;
}
Expand Down

0 comments on commit 66dc12a

Please sign in to comment.