Summary Files Commits Branches @commit @diff @stats
path: root / src / asian.less
blob: a68cb397d22018597d2538446610e083763873c6 (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
29
30
31
32
33
// Optimized for East Asian CJK
:lang(zh) {
  font-family: @cjk-zh-font-family;
}

:lang(ja) {
  font-family: @cjk-jp-font-family;
}

:lang(ko) {
  font-family: @cjk-ko-font-family;
}

:lang(zh),
:lang(ja),
.cjk {
  ins,
  u {
    border-bottom: @border-width solid;
    text-decoration: none;
  }

  del + del,
  del + s,
  ins + ins,
  ins + u,
  s + del,
  s + s,
  u + ins,
  u + u {
    margin-left: .125em;
  }
}