Summary Files Commits Branches @commit @diff @stats
path: root / src / _asian.scss
blob: 5f7533e09cfc40b25837098f4e16b8227a13a3b9 (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;
  }
}