feat: support CJK & ANS spacing (#12)

This commit is contained in:
Sivan 2020-03-01 22:11:07 +08:00 committed by GitHub
parent 25cfc2229a
commit 91686092ac
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
16 changed files with 534 additions and 1029 deletions

View file

@ -50,8 +50,9 @@ a {
.article[data-bg-grid="grid-24"] {
background-size: 100% 24px;
background-image: linear-gradient(to right, rgba(255, 255, 255, 0) 31px, #eee 1px, rgba(255, 255, 255, 0) 33px),
linear-gradient(rgba(255, 255, 255, 0) 23px, #eee 1px);
background-image:
linear-gradient(to right, rgba(255, 255, 255, 0) 31px, #eee 1px, rgba(255, 255, 255, 0) 33px),
linear-gradient(rgba(255, 255, 255, 0) 23px, #eee 1px);
outline-color: #eee;
}
@ -63,8 +64,9 @@ a {
.article[data-bg-grid="grid-12"] {
background-size: 100% 12px;
background-image: linear-gradient(to right, rgba(255, 255, 255, 0) 31px, #eee 1px, rgba(255, 255, 255, 0) 33px),
linear-gradient(rgba(255, 255, 255, 0) 11px, #eee 12px);
background-image:
linear-gradient(to right, rgba(255, 255, 255, 0) 31px, #eee 1px, rgba(255, 255, 255, 0) 33px),
linear-gradient(rgba(255, 255, 255, 0) 11px, #eee 12px);
outline-color: #eee;
}
@ -313,4 +315,7 @@ a {
margin-block-start: 12px;
margin-block-end: 0;
}
.article .article__toc ol ol {
margin-block-start: 0;
}
}