Skip to content

Commit 6cf0eea

Browse files
committed
improved headword font display when exported to anki
1 parent 98bdfcd commit 6cf0eea

File tree

4 files changed

+5
-2
lines changed

4 files changed

+5
-2
lines changed

export.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,8 @@ import { processGuifan } from "./dics/guifan/guifan.ts";
44
import { processHanyu7 } from "./dics/hanyu7/hanyu7.ts";
55

66
const versions = {
7-
guifan: "2025/12/29.3",
8-
hanyu7: "2025/12/29.4",
7+
guifan: "2025/12/30.1",
8+
hanyu7: "2025/12/30.1",
99
};
1010

1111
const guifanPinyinDic = new Dictionary({ fileName: "guifan-pinyin.zip" });

styles-guifan.css

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@
1313
font-size: 1.1em;
1414
margin-right: 6px;
1515
vertical-align: bottom;
16+
font-family: "Noto Sans CJK SC", sans-serif;
1617
}
1718
[data-sc-guifan="trad"] {
1819
display: inline-block;

styles-hanyu7-pinyin.css

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@
1616
font-size: 1.1em;
1717
margin-right: 6px;
1818
vertical-align: bottom;
19+
font-family: "Noto Sans CJK SC", sans-serif;
1920
}
2021
[data-sc-hanyu7="trad"] {
2122
display: inline-block;

styles-hanyu7-zhuyin.css

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@
1616
font-size: 1.1em;
1717
vertical-align: bottom;
1818
margin-right: 6px;
19+
font-family: "Noto Sans CJK SC", sans-serif;
1920
}
2021
[data-sc-hanyu7="trad"] {
2122
display: inline-block;

0 commit comments

Comments
 (0)