中英文混排之时,中文字符之间有字间距,英文字符之间没有字间距。
This commit is contained in:
parent
35c2634a3a
commit
af637c7a6d
3 changed files with 19 additions and 1 deletions
|
@ -131,7 +131,7 @@
|
|||
src: local("Source Han Sans KR Heavy"), local("Noto Sans CJK KR Heavy");
|
||||
}
|
||||
|
||||
font-face {
|
||||
@font-face {
|
||||
font-family: "Heti Hei SC Black Fallback";
|
||||
font-weight: 800;
|
||||
src: local("Microsoft YaHei"), local("Droid Sans Fallback");
|
||||
|
@ -204,6 +204,7 @@ font-face {
|
|||
overflow-wrap: break-word;
|
||||
word-wrap: break-word;
|
||||
hyphens: auto;
|
||||
letter-spacing: 0.02em;
|
||||
}
|
||||
|
||||
.heti::before, .heti::after {
|
||||
|
@ -215,6 +216,10 @@ font-face {
|
|||
clear: both;
|
||||
}
|
||||
|
||||
.heti:not(:lang(zh)):not(:lang(ja)):not(:lang(kr)), .heti:not(:lang(zh)) {
|
||||
letter-spacing: 0;
|
||||
}
|
||||
|
||||
.heti > *:first-child,
|
||||
.heti section > *:first-child,
|
||||
.heti td > *:first-child {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue