perf(theme): improve styles

This commit is contained in:
pengzhanbo 2024-06-18 14:38:07 +08:00
parent 5a54fc2565
commit 5f743f13c3

View File

@ -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;
@ -89,6 +98,10 @@
}
}
.vp-doc img {
display: inline-block;
}
.vp-doc img + img {
margin-left: 0.5rem;
}
@ -148,10 +161,6 @@
font-weight: 600;
}
.vp-doc a > img {
display: inline-block;
}
/**
* Lists
* -------------------------------------------------------------------------- */