-
Notifications
You must be signed in to change notification settings - Fork 8
/
Copy path_optimise-ruby.sass
50 lines (44 loc) · 1.15 KB
/
_optimise-ruby.sass
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
39
40
41
42
43
44
45
46
47
48
49
@import "han"
hruby
ru zhuyin
font-family: MOEDICT, 'Zhuyin Kaiti', cursive, serif !important
ru[annotation]:before
font-family: 'Noto Sans', Geneva, 'Segoe UI', MOEDICT, 'Fira Sans OT', 'Helvetica Neue', Helvetica, Arial !important
ru[annotation]:before,
ru zhuyin
color: #666
z-index: 10
ru[annotation]:before
+hyu-scale( .4 )
left: -240% !important
ru[annotation][order='1']:before
top: -.15em !important
ru[annotation][order='0']:before
bottom: -.4em !important
top: auto !important
ru[zhuyin]
width: 1.55em !important
zhuyin
+hyu-scale( .4 )
right: .05em !important
&[length='2'],
&[length='3']
zhuyin
top: .1em
// Preference
body[data-ruby-pref='pinyin'] &,
body[data-ruby-pref='none'] &
zhuyin
display: none
ru[zhuyin]
width: 1em !important
ru[annotation]:before
left: -210% !important
body[data-ruby-pref='zhuyin'] &,
body[data-ruby-pref='none'] &
ru[annotation][order]:before,
ru[annotation][order] rt
display: none
body[data-ruby-pref='none'] &,
body[data-ruby-pref='none'] & ru
line-height: 1.3 !important