Summary Files Commits Branches @commit @diff @stats
path: root / src / asian.less
diff options
context:
space:
mode:
Commit135ea0010024826b090789f4dcab8af8e85ecfc6 (patch)
Author
 Yan Zhu <picturepan2@hotmail.com>
2017-01-24 19:01:19 +0800
Committer
 Yan Zhu <picturepan2@hotmail.com>
2017-01-24 19:01:19 +0800
Files820e71e55afba5948249cec4ea13ad4115f1eeac /src/asian.less
Spectre-Dark-Gruvbox-135ea0010024826b090789f4dcab8af8e85ecfc6.tar
Spectre-Dark-Gruvbox-135ea0010024826b090789f4dcab8af8e85ecfc6.tar.gz
Spectre-Dark-Gruvbox-135ea0010024826b090789f4dcab8af8e85ecfc6.zip
Parentbdc68333d66fca64db3f65a790a11de2d15db958 (diff)
CHG: Improve media, docs, Asian typography and examples
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;
+ }
+}