Summary Files Commits Branches @commit @diff @stats
path: root / src / asian.less
blob: e0af88c06e2d4f671169fc1a2e3e0192c8f24531 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
// Optimized for East Asian CJK
:lang(zh),
:lang(ja),
:lang(ko),
.cjk {
  font-family: @cjk-font-family;
}

:lang(zh),
:lang(ja),
.cjk {
  ins,
  u {
    border-bottom: .1rem solid;
    text-decoration: none;
  }
  // 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;
  }
}