Summary Files Commits Branches @commit @diff @stats
path: root / src / _asian.scss
blob: 38dc77ed5901903c85eec84e6fed5ccb1f8fc33a (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
34
35
36
37
38
// Optimized for East Asian CJK
:lang(zh),
:lang(zh-Hans) {
  font-family: $cjk-zh-hans-font-family;
}

:lang(zh-Hant) {
  font-family: $cjk-zh-hant-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;
  }
}