fix: fix alignment for <rt> and <em> font-face

Fixes #32 #37
This commit is contained in:
Sivan 2020-11-02 14:39:15 +08:00 committed by GitHub
commit 5407f6dc93
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 10 additions and 4 deletions

View file

@ -588,6 +588,7 @@
font-family: "Times New Roman", Times, "Heti Kai", serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol"; font-family: "Times New Roman", Times, "Heti Kai", serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
} }
.heti--classic em,
.heti--classic figcaption, .heti--classic figcaption,
.heti--classic caption, .heti--classic caption,
.heti--classic th { .heti--classic th {
@ -893,7 +894,9 @@
.heti .heti-ruby--inline rt { .heti .heti-ruby--inline rt {
display: inline; display: inline;
line-height: 0.5; margin-bottom: -0.25em;
line-height: 1;
text-align: center;
} }
.heti heti-spacing { .heti heti-spacing {

View file

@ -31,7 +31,9 @@
rt { rt {
display: inline; display: inline;
line-height: 0.5; margin-bottom: -0.25em;
line-height: 1;
text-align: center;
} }
} }
} }

View file

@ -38,7 +38,8 @@
font-family: $font-family-kai; font-family: $font-family-kai;
} }
// 说明文字表头使用黑体 // 强调说明文字表头使用黑体
em,
figcaption, figcaption,
caption, caption,
th { th {

View file

@ -1,6 +1,6 @@
{ {
"name": "heti", "name": "heti",
"version": "0.8.0", "version": "0.8.1",
"description": "赫蹏是专为中文内容展示设计的排版样式增强。它基于通行的中文排版规范而来,可以为网站的读者带来更好的文章阅读体验。", "description": "赫蹏是专为中文内容展示设计的排版样式增强。它基于通行的中文排版规范而来,可以为网站的读者带来更好的文章阅读体验。",
"main": "lib/heti.scss", "main": "lib/heti.scss",
"files": [ "files": [