Summary Files Commits Branches @commit @diff @stats
path: root / src / asian.less
diff options
context:
space:
mode:
1 files changed, 23 insertions, 0 deletions
-rw-r--r--src/asian.less23
diff --git a/src/asian.less b/src/asian.less
new file mode 100644
index 0000000..79af4fe
--- /dev/null
+++ b/src/asian.less
@@ -0,0 +1,23 @@
+// Optimized for East Asian CJK
+:lang(zh),
+:lang(ja),
+:lang(ko),
+.cjk {
+ font-family: @cjk-font-family;
+}
+
+:lang(zh),
+:lang(ja),
+.cjk {
+ // Credit: https://github.com/ethantw/Han
+ del + del,
+ del + s,
+ ins + ins,
+ ins + u,
+ s + del,
+ s + s,
+ u + ins,
+ u + u {
+ margin-left: .125em;
+ }
+}