Pop-up dictionary browser extension for language learning. Successor to Yomichan. (PERSONAL FORK)
1[
2 {
3 "selectors": [".pronunciation-downstep-notation"],
4 "styles": [
5 ["display", "inline"]
6 ]
7 },
8 {
9 "selectors": [".pronunciation-text"],
10 "styles": [
11 ["display", "inline"]
12 ]
13 },
14 {
15 "selectors": [".pronunciation-mora"],
16 "styles": [
17 ["display", "inline-block"],
18 ["position", "relative"]
19 ]
20 },
21 {
22 "selectors": [".pronunciation-mora-line"],
23 "styles": [
24 ["border-color", "currentColor"]
25 ]
26 },
27 {
28 "selectors": [".pronunciation-mora[data-pitch=high]>.pronunciation-mora-line"],
29 "styles": [
30 ["display", "block"],
31 ["user-select", "none"],
32 ["pointer-events", "none"],
33 ["position", "absolute"],
34 ["top", "0.1em"],
35 ["left", "0"],
36 ["right", "0"],
37 ["height", "0"],
38 ["border-top-width", "0.1em"],
39 ["border-top-style", "solid"]
40 ]
41 },
42 {
43 "selectors": [".pronunciation-mora[data-pitch=high][data-pitch-next=low]>.pronunciation-mora-line"],
44 "styles": [
45 ["right", "-0.1em"],
46 ["height", "0.4em"],
47 ["border-right-width", "0.1em"],
48 ["border-right-style", "solid"]
49 ]
50 },
51 {
52 "selectors": [".pronunciation-mora[data-pitch=high][data-pitch-next=low]"],
53 "styles": [
54 ["padding-right", "0.1em"],
55 ["margin-right", "0.1em"]
56 ]
57 },
58 {
59 "selectors": [".pronunciation-devoice-indicator"],
60 "styles": [
61 ["display", "block"],
62 ["position", "absolute"],
63 ["left", "50%"],
64 ["top", "50%"],
65 ["width", "1.125em"],
66 ["height", "1.125em"],
67 ["border-radius", "50%"],
68 ["box-sizing", "border-box"],
69 ["z-index", "1"],
70 ["transform", "translate(-50%, -50%)"],
71 ["border", "1.5px dotted #c83c28"]
72 ]
73 },
74 {
75 "selectors": [".pronunciation-nasal-indicator"],
76 "styles": [
77 ["display", "block"],
78 ["position", "absolute"],
79 ["right", "-0.125em"],
80 ["top", "0.125em"],
81 ["width", "0.375em"],
82 ["height", "0.375em"],
83 ["border-radius", "50%"],
84 ["box-sizing", "border-box"],
85 ["z-index", "1"],
86 ["border", "1.5px solid #c83c28"]
87 ]
88 },
89 {
90 "selectors": [".pronunciation-nasal-diacritic"],
91 "styles": [
92 ["position", "absolute"],
93 ["width", "0"],
94 ["height", "0"],
95 ["opacity", "0"]
96 ]
97 },
98 {
99 "selectors": [".pronunciation-character"],
100 "styles": [
101 ["display", "inline"]
102 ]
103 },
104 {
105 "selectors": [".pronunciation-character-group"],
106 "styles": [
107 ["display", "inline-block"],
108 ["position", "relative"]
109 ]
110 },
111 {
112 "selectors": [".pronunciation-graph"],
113 "styles": [
114 ["display", "inline-block"],
115 ["vertical-align", "middle"],
116 ["height", "1.5em"]
117 ]
118 },
119 {
120 "selectors": [
121 ".pronunciation-graph-line",
122 ".pronunciation-graph-line-tail"
123 ],
124 "styles": [
125 ["fill", "none"],
126 ["stroke-width", "5"],
127 ["stroke", "currentColor"]
128 ]
129 },
130 {
131 "selectors": [".pronunciation-graph-line-tail"],
132 "styles": [
133 ["stroke-dasharray", "5 5"]
134 ]
135 },
136 {
137 "selectors": [".pronunciation-graph-dot"],
138 "styles": [
139 ["stroke-width", "5"],
140 ["fill", "currentColor"],
141 ["stroke", "currentColor"]
142 ]
143 },
144 {
145 "selectors": [".pronunciation-graph-dot-downstep1"],
146 "styles": [
147 ["fill", "none"],
148 ["stroke-width", "5"],
149 ["stroke", "currentColor"]
150 ]
151 },
152 {
153 "selectors": [".pronunciation-graph-dot-downstep2"],
154 "styles": [
155 ["fill", "currentColor"]
156 ]
157 },
158 {
159 "selectors": [".pronunciation-graph-triangle"],
160 "styles": [
161 ["fill", "none"],
162 ["stroke-width", "5"],
163 ["stroke", "currentColor"]
164 ]
165 }
166]