Skip to content

Commit

Permalink
perf(theme): improve styles
Browse files Browse the repository at this point in the history
  • Loading branch information
pengzhanbo committed Jun 18, 2024
1 parent 5a54fc2 commit 5f743f1
Showing 1 changed file with 14 additions and 5 deletions.
19 changes: 14 additions & 5 deletions theme/src/client/styles/content.css
Original file line number Diff line number Diff line change
Expand Up @@ -39,12 +39,21 @@
}

.vp-doc h3 {
margin: 32px 0 0;
margin: 32px 0 16px;
font-size: 20px;
line-height: 28px;
letter-spacing: -0.01em;
}

.vp-doc h4,
.vp-doc h5,
.vp-doc h6 {
margin: 24px 0 16px;
font-size: 16px;
line-height: 24px;
letter-spacing: -0.01em;
}

.vp-doc .header-anchor {
position: relative;
color: inherit;
Expand Down Expand Up @@ -89,6 +98,10 @@
}
}

.vp-doc img {
display: inline-block;
}

.vp-doc img + img {
margin-left: 0.5rem;
}
Expand Down Expand Up @@ -148,10 +161,6 @@
font-weight: 600;
}

.vp-doc a > img {
display: inline-block;
}

/**
* Lists
* -------------------------------------------------------------------------- */
Expand Down

0 comments on commit 5f743f1

Please sign in to comment.