docs: update site style (#8855)

This commit is contained in:
neverland 2021-06-14 09:59:13 +08:00 committed by GitHub
parent 96ca6679b0
commit b054dc878f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 9 additions and 8 deletions

View File

@ -3,7 +3,7 @@
code {
position: relative;
display: block;
padding: 16px;
padding: 16px 20px;
overflow-x: auto;
color: @van-doc-code-color;
font-weight: 400;
@ -13,8 +13,8 @@ code {
white-space: pre-wrap;
word-wrap: break-word;
-webkit-font-smoothing: auto;
background-color: #fafafa;
border-radius: 16px;
background-color: #f8f8f8;
border-radius: @van-doc-border-radius;
}
pre {

View File

@ -63,7 +63,7 @@ export default {
> h3 {
margin-bottom: 16px;
font-weight: 600;
font-size: 18px;
font-size: 19px;
}
> h4 {
@ -82,6 +82,10 @@ export default {
color: @van-doc-text-color;
font-size: 15px;
line-height: 26px;
strong {
color: black;
}
}
> table {
@ -177,16 +181,13 @@ export default {
padding: 2px 5px;
font-size: 14px;
font-family: inherit;
font-weight: 600;
word-break: keep-all;
background-color: @van-doc-background-color;
border-radius: 4px;
-webkit-font-smoothing: antialiased;
}
> p > code {
font-size: 14px;
}
> blockquote {
margin: 16px 0 0;
padding: 16px;