@nypl/web-reader 4.3.0 → 4.3.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +0 -15
- package/dist/{esm/index.css → index.css} +3 -1
- package/dist/index.css.map +1 -0
- package/dist/index.d.ts +532 -0
- package/dist/index.js +9381 -0
- package/dist/index.js.map +1 -0
- package/dist/index.mjs +9378 -0
- package/dist/index.mjs.map +1 -0
- package/dist/injectable-html-styles/ReadiumCSS-after.css +488 -2
- package/dist/injectable-html-styles/ReadiumCSS-after.css.map +1 -7
- package/dist/injectable-html-styles/ReadiumCSS-after.d.ts +2 -0
- package/dist/injectable-html-styles/ReadiumCSS-before.css +648 -2
- package/dist/injectable-html-styles/ReadiumCSS-before.css.map +1 -7
- package/dist/injectable-html-styles/ReadiumCSS-before.d.ts +2 -0
- package/dist/injectable-html-styles/ReadiumCSS-default.css +141 -2
- package/dist/injectable-html-styles/ReadiumCSS-default.css.map +1 -7
- package/dist/injectable-html-styles/ReadiumCSS-default.d.ts +2 -0
- package/package.json +9 -24
- package/dist/cjs/index.css +0 -2
- package/dist/cjs/index.css.map +0 -7
- package/dist/cjs/index.js +0 -340
- package/dist/cjs/index.js.map +0 -7
- package/dist/esm/index.css.map +0 -7
- package/dist/esm/index.js +0 -42173
- package/dist/esm/index.js.map +0 -7
- package/dist/types/HtmlReader/effects.d.ts +0 -22
- package/dist/types/HtmlReader/index.d.ts +0 -3
- package/dist/types/HtmlReader/lib.d.ts +0 -107
- package/dist/types/HtmlReader/reducer.d.ts +0 -8
- package/dist/types/HtmlReader/types.d.ts +0 -116
- package/dist/types/HtmlReader/useIframeLinkClick.d.ts +0 -4
- package/dist/types/HtmlReader/useLocationQuery.d.ts +0 -8
- package/dist/types/HtmlReader/useResource.d.ts +0 -14
- package/dist/types/HtmlReader/useUpdateCSS.d.ts +0 -6
- package/dist/types/HtmlReader/useUpdateScroll.d.ts +0 -6
- package/dist/types/HtmlReader/useWindowResize.d.ts +0 -7
- package/dist/types/PdfReader/ChakraPage.d.ts +0 -3
- package/dist/types/PdfReader/ScrollPage.d.ts +0 -12
- package/dist/types/PdfReader/addTocToManifest.d.ts +0 -10
- package/dist/types/PdfReader/index.d.ts +0 -12
- package/dist/types/PdfReader/lib.d.ts +0 -26
- package/dist/types/PdfReader/reducer.d.ts +0 -3
- package/dist/types/PdfReader/types.d.ts +0 -61
- package/dist/types/PdfReader/useMeasure.d.ts +0 -7
- package/dist/types/Readium/Injectable.d.ts +0 -11
- package/dist/types/Readium/Locator.d.ts +0 -20
- package/dist/types/WebpubManifestTypes/ConformsTo.d.ts +0 -3
- package/dist/types/WebpubManifestTypes/Contributor.d.ts +0 -17
- package/dist/types/WebpubManifestTypes/EpubExtension.d.ts +0 -47
- package/dist/types/WebpubManifestTypes/LanguageMap.d.ts +0 -3
- package/dist/types/WebpubManifestTypes/Metadata.d.ts +0 -47
- package/dist/types/WebpubManifestTypes/OPDSLink.d.ts +0 -63
- package/dist/types/WebpubManifestTypes/PresentationHints.d.ts +0 -53
- package/dist/types/WebpubManifestTypes/ReadiumLink.d.ts +0 -58
- package/dist/types/WebpubManifestTypes/Subject.d.ts +0 -16
- package/dist/types/WebpubManifestTypes/WebpubManifest.d.ts +0 -14
- package/dist/types/constants.d.ts +0 -37
- package/dist/types/index.d.ts +0 -17
- package/dist/types/types.d.ts +0 -123
- package/dist/types/ui/Button.d.ts +0 -9
- package/dist/types/ui/ErrorBoundary.d.ts +0 -16
- package/dist/types/ui/Footer.d.ts +0 -9
- package/dist/types/ui/Header.d.ts +0 -9
- package/dist/types/ui/HtmlSettings.d.ts +0 -9
- package/dist/types/ui/LoadingSkeleton.d.ts +0 -9
- package/dist/types/ui/PageButton.d.ts +0 -7
- package/dist/types/ui/PdfSettings.d.ts +0 -8
- package/dist/types/ui/SettingsButton.d.ts +0 -5
- package/dist/types/ui/TableOfContent.d.ts +0 -7
- package/dist/types/ui/ToggleButton.d.ts +0 -14
- package/dist/types/ui/ToggleGroup.d.ts +0 -8
- package/dist/types/ui/hooks/useColorModeValue.d.ts +0 -7
- package/dist/types/ui/hooks/useContainerWidth.d.ts +0 -6
- package/dist/types/ui/hooks/useEventListener.d.ts +0 -8
- package/dist/types/ui/hooks/useFullScreen.d.ts +0 -7
- package/dist/types/ui/icons/Continuous.d.ts +0 -4
- package/dist/types/ui/icons/Day.d.ts +0 -4
- package/dist/types/ui/icons/EnlargeFont.d.ts +0 -4
- package/dist/types/ui/icons/Night.d.ts +0 -4
- package/dist/types/ui/icons/Paginated.d.ts +0 -4
- package/dist/types/ui/icons/Previous.d.ts +0 -4
- package/dist/types/ui/icons/ReaderSettings.d.ts +0 -4
- package/dist/types/ui/icons/ReduceFont.d.ts +0 -4
- package/dist/types/ui/icons/Reset.d.ts +0 -4
- package/dist/types/ui/icons/Sepia.d.ts +0 -4
- package/dist/types/ui/icons/TableOfContents.d.ts +0 -4
- package/dist/types/ui/icons/ToggleFullScreen.d.ts +0 -4
- package/dist/types/ui/icons/ToggleFullScreenExit.d.ts +0 -4
- package/dist/types/ui/icons/index.d.ts +0 -14
- package/dist/types/ui/manager.d.ts +0 -9
- package/dist/types/ui/menu/index.d.ts +0 -10
- package/dist/types/ui/menu/menu.d.ts +0 -76
- package/dist/types/ui/menu/use-menu.d.ts +0 -2510
- package/dist/types/ui/nypl-base-theme/components/button.d.ts +0 -94
- package/dist/types/ui/nypl-base-theme/components/checkbox.d.ts +0 -41
- package/dist/types/ui/nypl-base-theme/components/form-error.d.ts +0 -14
- package/dist/types/ui/nypl-base-theme/components/form-label.d.ts +0 -14
- package/dist/types/ui/nypl-base-theme/components/form.d.ts +0 -15
- package/dist/types/ui/nypl-base-theme/components/input.d.ts +0 -107
- package/dist/types/ui/nypl-base-theme/components/text-area.d.ts +0 -34
- package/dist/types/ui/nypl-base-theme/foundations/breakpoints.d.ts +0 -8
- package/dist/types/ui/nypl-base-theme/foundations/colors.d.ts +0 -3
- package/dist/types/ui/nypl-base-theme/foundations/global.d.ts +0 -13
- package/dist/types/ui/nypl-base-theme/foundations/radii.d.ts +0 -12
- package/dist/types/ui/nypl-base-theme/foundations/spacing.d.ts +0 -49
- package/dist/types/ui/nypl-base-theme/foundations/typography.d.ts +0 -10
- package/dist/types/ui/nypl-base-theme/index.d.ts +0 -7
- package/dist/types/ui/nypl-base-theme/types.d.ts +0 -1
- package/dist/types/ui/theme/components/alert.d.ts +0 -24
- package/dist/types/ui/theme/components/button.d.ts +0 -93
- package/dist/types/ui/theme/components/text.d.ts +0 -20
- package/dist/types/ui/theme/foundations/colors.d.ts +0 -3
- package/dist/types/ui/theme/foundations/fonts.d.ts +0 -3
- package/dist/types/ui/theme/foundations/typography.d.ts +0 -6
- package/dist/types/ui/theme/index.d.ts +0 -12
- package/dist/types/ui/theme/types.d.ts +0 -1
- package/dist/types/useWebReader.d.ts +0 -7
- package/dist/types/utils/fetch.d.ts +0 -4
- package/dist/types/utils/getColor.d.ts +0 -2
- package/dist/types/utils/localstorage.d.ts +0 -17
|
@@ -1,2 +1,648 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
1
|
+
/* src/HtmlReader/ReadiumCss/ReadiumCSS-before.css */
|
|
2
|
+
@namespace url(http://www.w3.org/1999/xhtml);
|
|
3
|
+
@namespace epub url(http://www.idpf.org/2007/ops);
|
|
4
|
+
@namespace m url(http://www.w3.org/1998/Math/MathML/);
|
|
5
|
+
@namespace svg url(http://www.w3.org/2000/svg);
|
|
6
|
+
@-ms-viewport {
|
|
7
|
+
width: device-width;
|
|
8
|
+
}
|
|
9
|
+
@viewport {
|
|
10
|
+
width: device-width;
|
|
11
|
+
zoom: 1;
|
|
12
|
+
}
|
|
13
|
+
:root {
|
|
14
|
+
--RS__oldStyleTf:
|
|
15
|
+
"Iowan Old Style",
|
|
16
|
+
"Sitka Text",
|
|
17
|
+
Palatino,
|
|
18
|
+
"Book Antiqua",
|
|
19
|
+
serif;
|
|
20
|
+
--RS__modernTf:
|
|
21
|
+
Athelas,
|
|
22
|
+
Constantia,
|
|
23
|
+
Georgia,
|
|
24
|
+
serif;
|
|
25
|
+
--RS__sansTf:
|
|
26
|
+
-apple-system,
|
|
27
|
+
system-ui,
|
|
28
|
+
BlinkMacSystemFont,
|
|
29
|
+
"Segoe UI",
|
|
30
|
+
Roboto,
|
|
31
|
+
"Helvetica Neue",
|
|
32
|
+
Arial,
|
|
33
|
+
sans-serif;
|
|
34
|
+
--RS__humanistTf:
|
|
35
|
+
Seravek,
|
|
36
|
+
Calibri,
|
|
37
|
+
Roboto,
|
|
38
|
+
Arial,
|
|
39
|
+
sans-serif;
|
|
40
|
+
--RS__monospaceTf:
|
|
41
|
+
"Andale Mono",
|
|
42
|
+
Consolas,
|
|
43
|
+
monospace;
|
|
44
|
+
--RS__baseFontFamily: var(--RS__oldStyleTf);
|
|
45
|
+
--RS__lineHeightCompensation: 1;
|
|
46
|
+
--RS__baseLineHeight: calc( (1em + (2ex - 1ch) - ((1rem - 16px) * 0.1667)) * var(--RS__lineHeightCompensation) );
|
|
47
|
+
}
|
|
48
|
+
html {
|
|
49
|
+
font-family: var(--RS__baseFontFamily);
|
|
50
|
+
line-height: 1.6;
|
|
51
|
+
line-height: var(--RS__baseLineHeight);
|
|
52
|
+
text-rendering: optimizeLegibility;
|
|
53
|
+
}
|
|
54
|
+
h1,
|
|
55
|
+
h2,
|
|
56
|
+
h3 {
|
|
57
|
+
line-height: normal;
|
|
58
|
+
}
|
|
59
|
+
:lang(ja),
|
|
60
|
+
:lang(zh),
|
|
61
|
+
:lang(ko) {
|
|
62
|
+
word-wrap: break-word;
|
|
63
|
+
-webkit-line-break: strict;
|
|
64
|
+
-epub-line-break: strict;
|
|
65
|
+
line-break: strict;
|
|
66
|
+
}
|
|
67
|
+
math {
|
|
68
|
+
font-family:
|
|
69
|
+
"Latin Modern Math",
|
|
70
|
+
"STIX Two Math",
|
|
71
|
+
"XITS Math",
|
|
72
|
+
"STIX Math",
|
|
73
|
+
"Libertinus Math",
|
|
74
|
+
"TeX Gyre Termes Math",
|
|
75
|
+
"TeX Gyre Bonum Math",
|
|
76
|
+
"TeX Gyre Schola",
|
|
77
|
+
"DejaVu Math TeX Gyre",
|
|
78
|
+
"TeX Gyre Pagella Math",
|
|
79
|
+
"Asana Math",
|
|
80
|
+
"Cambria Math",
|
|
81
|
+
"Lucida Bright Math",
|
|
82
|
+
"Minion Math",
|
|
83
|
+
STIXGeneral,
|
|
84
|
+
STIXSizeOneSym,
|
|
85
|
+
Symbol,
|
|
86
|
+
"Times New Roman",
|
|
87
|
+
serif;
|
|
88
|
+
}
|
|
89
|
+
:lang(am) {
|
|
90
|
+
--RS__baseFontFamily:
|
|
91
|
+
Kefa,
|
|
92
|
+
Nyala,
|
|
93
|
+
Roboto,
|
|
94
|
+
Noto,
|
|
95
|
+
"Noto Sans Ethiopic",
|
|
96
|
+
serif;
|
|
97
|
+
--RS__lineHeightCompensation: 1.167;
|
|
98
|
+
}
|
|
99
|
+
:lang(ar) {
|
|
100
|
+
--RS__baseFontFamily:
|
|
101
|
+
"Geeza Pro",
|
|
102
|
+
"Arabic Typesetting",
|
|
103
|
+
Roboto,
|
|
104
|
+
Noto,
|
|
105
|
+
"Noto Naskh Arabic",
|
|
106
|
+
"Times New Roman",
|
|
107
|
+
serif;
|
|
108
|
+
}
|
|
109
|
+
:lang(bn) {
|
|
110
|
+
--RS__baseFontFamily:
|
|
111
|
+
"Kohinoor Bangla",
|
|
112
|
+
"Bangla Sangam MN",
|
|
113
|
+
Vrinda,
|
|
114
|
+
Roboto,
|
|
115
|
+
Noto,
|
|
116
|
+
"Noto Sans Bengali",
|
|
117
|
+
sans-serif;
|
|
118
|
+
--RS__lineHeightCompensation: 1.067;
|
|
119
|
+
}
|
|
120
|
+
:lang(bo) {
|
|
121
|
+
--RS__baseFontFamily:
|
|
122
|
+
Kailasa,
|
|
123
|
+
"Microsoft Himalaya",
|
|
124
|
+
Roboto,
|
|
125
|
+
Noto,
|
|
126
|
+
"Noto Sans Tibetan",
|
|
127
|
+
sans-serif;
|
|
128
|
+
}
|
|
129
|
+
:lang(chr) {
|
|
130
|
+
--RS__baseFontFamily:
|
|
131
|
+
"Plantagenet Cherokee",
|
|
132
|
+
Roboto,
|
|
133
|
+
Noto,
|
|
134
|
+
"Noto Sans Cherokee";
|
|
135
|
+
--RS__lineHeightCompensation: 1.167;
|
|
136
|
+
}
|
|
137
|
+
:lang(fa) {
|
|
138
|
+
--RS__baseFontFamily:
|
|
139
|
+
"Geeza Pro",
|
|
140
|
+
"Arabic Typesetting",
|
|
141
|
+
Roboto,
|
|
142
|
+
Noto,
|
|
143
|
+
"Noto Naskh Arabic",
|
|
144
|
+
"Times New Roman",
|
|
145
|
+
serif;
|
|
146
|
+
}
|
|
147
|
+
:lang(gu) {
|
|
148
|
+
--RS__baseFontFamily:
|
|
149
|
+
"Gujarati Sangam MN",
|
|
150
|
+
"Nirmala UI",
|
|
151
|
+
Shruti,
|
|
152
|
+
Roboto,
|
|
153
|
+
Noto,
|
|
154
|
+
"Noto Sans Gujarati",
|
|
155
|
+
sans-serif;
|
|
156
|
+
--RS__lineHeightCompensation: 1.167;
|
|
157
|
+
}
|
|
158
|
+
:lang(he) {
|
|
159
|
+
--RS__baseFontFamily:
|
|
160
|
+
"New Peninim MT",
|
|
161
|
+
"Arial Hebrew",
|
|
162
|
+
Gisha,
|
|
163
|
+
"Times New Roman",
|
|
164
|
+
Roboto,
|
|
165
|
+
Noto,
|
|
166
|
+
"Noto Sans Hebrew" sans-serif;
|
|
167
|
+
--RS__lineHeightCompensation: 1.1;
|
|
168
|
+
}
|
|
169
|
+
:lang(hi) {
|
|
170
|
+
--RS__baseFontFamily:
|
|
171
|
+
"Kohinoor Devanagari",
|
|
172
|
+
"Devanagari Sangam MN",
|
|
173
|
+
Kokila,
|
|
174
|
+
"Nirmala UI",
|
|
175
|
+
Roboto,
|
|
176
|
+
Noto,
|
|
177
|
+
"Noto Sans Devanagari",
|
|
178
|
+
sans-serif;
|
|
179
|
+
--RS__lineHeightCompensation: 1.1;
|
|
180
|
+
}
|
|
181
|
+
:lang(hy) {
|
|
182
|
+
--RS__baseFontFamily:
|
|
183
|
+
Mshtakan,
|
|
184
|
+
Sylfaen,
|
|
185
|
+
Roboto,
|
|
186
|
+
Noto,
|
|
187
|
+
"Noto Serif Armenian",
|
|
188
|
+
serif;
|
|
189
|
+
}
|
|
190
|
+
:lang(iu) {
|
|
191
|
+
--RS__baseFontFamily:
|
|
192
|
+
"Euphemia UCAS",
|
|
193
|
+
Euphemia,
|
|
194
|
+
Roboto,
|
|
195
|
+
Noto,
|
|
196
|
+
"Noto Sans Canadian Aboriginal",
|
|
197
|
+
sans-serif;
|
|
198
|
+
}
|
|
199
|
+
:lang(ja) {
|
|
200
|
+
--RS__baseFontFamily:
|
|
201
|
+
"\6e38\30b4\30b7\30c3\30af\4f53",
|
|
202
|
+
YuGothic,
|
|
203
|
+
"\30d2\30e9\30ae\30ce\4e38\30b4",
|
|
204
|
+
"Hiragino Sans",
|
|
205
|
+
"Yu Gothic UI",
|
|
206
|
+
"Meiryo UI",
|
|
207
|
+
"MS Gothic",
|
|
208
|
+
Roboto,
|
|
209
|
+
Noto,
|
|
210
|
+
"Noto Sans CJK JP",
|
|
211
|
+
sans-serif;
|
|
212
|
+
--RS__lineHeightCompensation: 1.167;
|
|
213
|
+
--RS__serif-ja:
|
|
214
|
+
"\ff2d\ff33 \ff30\660e\671d",
|
|
215
|
+
"MS PMincho",
|
|
216
|
+
"Hiragino Mincho Pro",
|
|
217
|
+
"\30d2\30e9\30ae\30ce\660e\671d Pro W3",
|
|
218
|
+
"\6e38\660e\671d",
|
|
219
|
+
"YuMincho",
|
|
220
|
+
"\ff2d\ff33 \660e\671d",
|
|
221
|
+
"MS Mincho",
|
|
222
|
+
"Hiragino Mincho ProN",
|
|
223
|
+
serif;
|
|
224
|
+
--RS__sans-serif-ja:
|
|
225
|
+
"\ff2d\ff33 \ff30\30b4\30b7\30c3\30af",
|
|
226
|
+
"MS PGothic",
|
|
227
|
+
"Hiragino Kaku Gothic Pro W3",
|
|
228
|
+
"\30d2\30e9\30ae\30ce\89d2\30b4 Pro W3",
|
|
229
|
+
"Hiragino Sans GB",
|
|
230
|
+
"\30d2\30e9\30ae\30ce\89d2\30b4\30b7\30c3\30af W3",
|
|
231
|
+
"\6e38\30b4\30b7\30c3\30af",
|
|
232
|
+
"YuGothic",
|
|
233
|
+
"\ff2d\ff33 \30b4\30b7\30c3\30af",
|
|
234
|
+
"MS Gothic",
|
|
235
|
+
"Hiragino Sans",
|
|
236
|
+
sans-serif;
|
|
237
|
+
--RS__serif-ja-v:
|
|
238
|
+
"\ff2d\ff33 \660e\671d",
|
|
239
|
+
"MS Mincho",
|
|
240
|
+
"Hiragino Mincho Pro",
|
|
241
|
+
"\30d2\30e9\30ae\30ce\660e\671d Pro W3",
|
|
242
|
+
"\6e38\660e\671d",
|
|
243
|
+
"YuMincho",
|
|
244
|
+
"\ff2d\ff33 \ff30\660e\671d",
|
|
245
|
+
"MS PMincho",
|
|
246
|
+
"Hiragino Mincho ProN",
|
|
247
|
+
serif;
|
|
248
|
+
--RS__sans-serif-ja-v:
|
|
249
|
+
"\ff2d\ff33 \30b4\30b7\30c3\30af",
|
|
250
|
+
"MS Gothic",
|
|
251
|
+
"Hiragino Kaku Gothic Pro W3",
|
|
252
|
+
"\30d2\30e9\30ae\30ce\89d2\30b4 Pro W3",
|
|
253
|
+
"Hiragino Sans GB",
|
|
254
|
+
"\30d2\30e9\30ae\30ce\89d2\30b4\30b7\30c3\30af W3",
|
|
255
|
+
"\6e38\30b4\30b7\30c3\30af",
|
|
256
|
+
"YuGothic",
|
|
257
|
+
"\ff2d\ff33 \ff30\30b4\30b7\30c3\30af",
|
|
258
|
+
"MS PGothic",
|
|
259
|
+
"Hiragino Sans",
|
|
260
|
+
sans-serif;
|
|
261
|
+
}
|
|
262
|
+
:lang(km) {
|
|
263
|
+
--RS__baseFontFamily:
|
|
264
|
+
"Khmer Sangam MN",
|
|
265
|
+
"Leelawadee UI",
|
|
266
|
+
"Khmer UI",
|
|
267
|
+
Roboto,
|
|
268
|
+
Noto,
|
|
269
|
+
"Noto Sans Khmer",
|
|
270
|
+
sans-serif;
|
|
271
|
+
--RS__lineHeightCompensation: 1.067;
|
|
272
|
+
}
|
|
273
|
+
:lang(kn) {
|
|
274
|
+
--RS__baseFontFamily:
|
|
275
|
+
"Kannada Sangam MN",
|
|
276
|
+
"Nirmala UI",
|
|
277
|
+
Tunga,
|
|
278
|
+
Roboto,
|
|
279
|
+
Noto,
|
|
280
|
+
"Noto Sans Kannada",
|
|
281
|
+
sans-serif;
|
|
282
|
+
--RS__lineHeightCompensation: 1.1;
|
|
283
|
+
}
|
|
284
|
+
:lang(ko) {
|
|
285
|
+
--RS__baseFontFamily:
|
|
286
|
+
"Nanum Gothic",
|
|
287
|
+
"Apple SD Gothic Neo",
|
|
288
|
+
"Malgun Gothic",
|
|
289
|
+
Roboto,
|
|
290
|
+
Noto,
|
|
291
|
+
"Noto Sans CJK KR",
|
|
292
|
+
sans-serif;
|
|
293
|
+
--RS__lineHeightCompensation: 1.167;
|
|
294
|
+
}
|
|
295
|
+
:lang(lo) {
|
|
296
|
+
--RS__baseFontFamily:
|
|
297
|
+
"Lao Sangam MN",
|
|
298
|
+
"Leelawadee UI",
|
|
299
|
+
"Lao UI",
|
|
300
|
+
Roboto,
|
|
301
|
+
Noto,
|
|
302
|
+
"Noto Sans Lao",
|
|
303
|
+
sans-serif;
|
|
304
|
+
}
|
|
305
|
+
:lang(ml) {
|
|
306
|
+
--RS__baseFontFamily:
|
|
307
|
+
"Malayalam Sangam MN",
|
|
308
|
+
"Nirmala UI",
|
|
309
|
+
Kartika,
|
|
310
|
+
Roboto,
|
|
311
|
+
Noto,
|
|
312
|
+
"Noto Sans Malayalam",
|
|
313
|
+
sans-serif;
|
|
314
|
+
--RS__lineHeightCompensation: 1.067;
|
|
315
|
+
}
|
|
316
|
+
:lang(or) {
|
|
317
|
+
--RS__baseFontFamily:
|
|
318
|
+
"Oriya Sangam MN",
|
|
319
|
+
"Nirmala UI",
|
|
320
|
+
Kalinga,
|
|
321
|
+
Roboto,
|
|
322
|
+
Noto,
|
|
323
|
+
"Noto Sans Oriya",
|
|
324
|
+
sans-serif;
|
|
325
|
+
--RS__lineHeightCompensation: 1.167;
|
|
326
|
+
}
|
|
327
|
+
:lang(pa) {
|
|
328
|
+
--RS__baseFontFamily:
|
|
329
|
+
"Gurmukhi MN",
|
|
330
|
+
"Nirmala UI",
|
|
331
|
+
Kartika,
|
|
332
|
+
Roboto,
|
|
333
|
+
Noto,
|
|
334
|
+
"Noto Sans Gurmukhi",
|
|
335
|
+
sans-serif;
|
|
336
|
+
--RS__lineHeightCompensation: 1.1;
|
|
337
|
+
}
|
|
338
|
+
:lang(si) {
|
|
339
|
+
--RS__baseFontFamily:
|
|
340
|
+
"Sinhala Sangam MN",
|
|
341
|
+
"Nirmala UI",
|
|
342
|
+
"Iskoola Pota",
|
|
343
|
+
Roboto,
|
|
344
|
+
Noto,
|
|
345
|
+
"Noto Sans Sinhala",
|
|
346
|
+
sans-serif;
|
|
347
|
+
--RS__lineHeightCompensation: 1.167;
|
|
348
|
+
}
|
|
349
|
+
:lang(ta) {
|
|
350
|
+
--RS__baseFontFamily:
|
|
351
|
+
"Tamil Sangam MN",
|
|
352
|
+
"Nirmala UI",
|
|
353
|
+
Latha,
|
|
354
|
+
Roboto,
|
|
355
|
+
Noto,
|
|
356
|
+
"Noto Sans Tamil",
|
|
357
|
+
sans-serif;
|
|
358
|
+
--RS__lineHeightCompensation: 1.067;
|
|
359
|
+
}
|
|
360
|
+
:lang(te) {
|
|
361
|
+
--RS__baseFontFamily:
|
|
362
|
+
"Kohinoor Telugu",
|
|
363
|
+
"Telugu Sangam MN",
|
|
364
|
+
"Nirmala UI",
|
|
365
|
+
Gautami,
|
|
366
|
+
Roboto,
|
|
367
|
+
Noto,
|
|
368
|
+
"Noto Sans Telugu",
|
|
369
|
+
sans-serif;
|
|
370
|
+
}
|
|
371
|
+
:lang(th) {
|
|
372
|
+
--RS__baseFontFamily:
|
|
373
|
+
"Thonburi",
|
|
374
|
+
"Leelawadee UI",
|
|
375
|
+
"Cordia New",
|
|
376
|
+
Roboto,
|
|
377
|
+
Noto,
|
|
378
|
+
"Noto Sans Thai",
|
|
379
|
+
sans-serif;
|
|
380
|
+
--RS__lineHeightCompensation: 1.067;
|
|
381
|
+
}
|
|
382
|
+
:lang(zh) {
|
|
383
|
+
--RS__baseFontFamily:
|
|
384
|
+
"\65b9\4f53",
|
|
385
|
+
"PingFang SC",
|
|
386
|
+
"\9ed1\4f53",
|
|
387
|
+
"Heiti SC",
|
|
388
|
+
"Microsoft JhengHei UI",
|
|
389
|
+
"Microsoft JhengHei",
|
|
390
|
+
Roboto,
|
|
391
|
+
Noto,
|
|
392
|
+
"Noto Sans CJK SC",
|
|
393
|
+
sans-serif;
|
|
394
|
+
--RS__lineHeightCompensation: 1.167;
|
|
395
|
+
}
|
|
396
|
+
:lang(zh-Hant),
|
|
397
|
+
:lang(zh-TW) {
|
|
398
|
+
--RS__baseFontFamily:
|
|
399
|
+
"\65b9\9ad4",
|
|
400
|
+
"PingFang TC",
|
|
401
|
+
"\9ed1\9ad4",
|
|
402
|
+
"Heiti TC",
|
|
403
|
+
"Microsoft JhengHei UI",
|
|
404
|
+
"Microsoft JhengHei",
|
|
405
|
+
Roboto,
|
|
406
|
+
Noto,
|
|
407
|
+
"Noto Sans CJK TC",
|
|
408
|
+
sans-serif;
|
|
409
|
+
--RS__lineHeightCompensation: 1.167;
|
|
410
|
+
}
|
|
411
|
+
:lang(zh-HK) {
|
|
412
|
+
--RS__baseFontFamily:
|
|
413
|
+
"\65b9\9ad4",
|
|
414
|
+
"PingFang HK",
|
|
415
|
+
"\65b9\9ad4",
|
|
416
|
+
"PingFang TC",
|
|
417
|
+
"\9ed1\9ad4",
|
|
418
|
+
"Heiti TC",
|
|
419
|
+
"Microsoft JhengHei UI",
|
|
420
|
+
"Microsoft JhengHei",
|
|
421
|
+
Roboto,
|
|
422
|
+
Noto,
|
|
423
|
+
"Noto Sans CJK TC",
|
|
424
|
+
sans-serif;
|
|
425
|
+
--RS__lineHeightCompensation: 1.167;
|
|
426
|
+
}
|
|
427
|
+
:root {
|
|
428
|
+
--RS__backgroundColor: #ffffff;
|
|
429
|
+
--RS__textColor: #121212;
|
|
430
|
+
--RS__selectionBackgroundColor: #b4d8fe;
|
|
431
|
+
--RS__selectionTextColor: inherit;
|
|
432
|
+
}
|
|
433
|
+
:root {
|
|
434
|
+
color: var(--RS__textColor) !important;
|
|
435
|
+
background-color: var(--RS__backgroundColor) !important;
|
|
436
|
+
}
|
|
437
|
+
::-moz-selection {
|
|
438
|
+
color: var(--RS__selectionTextColor);
|
|
439
|
+
background-color: var(--RS__selectionBackgroundColor);
|
|
440
|
+
}
|
|
441
|
+
::selection {
|
|
442
|
+
color: var(--RS__selectionTextColor);
|
|
443
|
+
background-color: var(--RS__selectionBackgroundColor);
|
|
444
|
+
}
|
|
445
|
+
body {
|
|
446
|
+
widows: 2;
|
|
447
|
+
orphans: 2;
|
|
448
|
+
}
|
|
449
|
+
figcaption,
|
|
450
|
+
th,
|
|
451
|
+
td {
|
|
452
|
+
widows: 1;
|
|
453
|
+
orphans: 1;
|
|
454
|
+
}
|
|
455
|
+
h2,
|
|
456
|
+
h3,
|
|
457
|
+
h4,
|
|
458
|
+
h5,
|
|
459
|
+
h6,
|
|
460
|
+
dt,
|
|
461
|
+
hr,
|
|
462
|
+
caption {
|
|
463
|
+
-webkit-column-break-after: avoid;
|
|
464
|
+
page-break-after: avoid;
|
|
465
|
+
break-after: avoid;
|
|
466
|
+
}
|
|
467
|
+
h1,
|
|
468
|
+
h2,
|
|
469
|
+
h3,
|
|
470
|
+
h4,
|
|
471
|
+
h5,
|
|
472
|
+
h6,
|
|
473
|
+
dt,
|
|
474
|
+
figure,
|
|
475
|
+
tr {
|
|
476
|
+
-webkit-column-break-inside: avoid;
|
|
477
|
+
page-break-inside: avoid;
|
|
478
|
+
break-inside: avoid;
|
|
479
|
+
}
|
|
480
|
+
body {
|
|
481
|
+
-webkit-hyphenate-character: "-";
|
|
482
|
+
-moz-hyphenate-character: "-";
|
|
483
|
+
-ms-hyphenate-character: "-";
|
|
484
|
+
hyphenate-character: "-";
|
|
485
|
+
-webkit-hyphenate-limit-lines: 3;
|
|
486
|
+
-ms-hyphenate-limit-lines: 3;
|
|
487
|
+
hyphenate-limit-lines: 3;
|
|
488
|
+
}
|
|
489
|
+
h1,
|
|
490
|
+
h2,
|
|
491
|
+
h3,
|
|
492
|
+
h4,
|
|
493
|
+
h5,
|
|
494
|
+
h6,
|
|
495
|
+
dt,
|
|
496
|
+
figcaption,
|
|
497
|
+
pre,
|
|
498
|
+
caption,
|
|
499
|
+
address,
|
|
500
|
+
center,
|
|
501
|
+
code,
|
|
502
|
+
var {
|
|
503
|
+
-ms-hyphens: none;
|
|
504
|
+
-moz-hyphens: none;
|
|
505
|
+
-webkit-hyphens: none;
|
|
506
|
+
-epub-hyphens: none;
|
|
507
|
+
hyphens: none;
|
|
508
|
+
}
|
|
509
|
+
body {
|
|
510
|
+
font-variant-numeric: oldstyle-nums proportional-nums;
|
|
511
|
+
}
|
|
512
|
+
:lang(ja) body,
|
|
513
|
+
:lang(zh) body,
|
|
514
|
+
:lang(ko) body {
|
|
515
|
+
font-variant-numeric: lining-nums proportional-nums;
|
|
516
|
+
}
|
|
517
|
+
h1,
|
|
518
|
+
h2,
|
|
519
|
+
h3,
|
|
520
|
+
h4,
|
|
521
|
+
h5,
|
|
522
|
+
h6,
|
|
523
|
+
dt {
|
|
524
|
+
font-variant-numeric: lining-nums proportional-nums;
|
|
525
|
+
}
|
|
526
|
+
table {
|
|
527
|
+
font-variant-numeric: lining-nums tabular-nums;
|
|
528
|
+
}
|
|
529
|
+
code,
|
|
530
|
+
var {
|
|
531
|
+
font-variant-ligatures: none;
|
|
532
|
+
font-variant-numeric: lining-nums tabular-nums slashed-zero;
|
|
533
|
+
}
|
|
534
|
+
rt {
|
|
535
|
+
font-variant-east-asian: ruby;
|
|
536
|
+
}
|
|
537
|
+
:lang(ar) {
|
|
538
|
+
font-variant-ligatures: common-ligatures;
|
|
539
|
+
}
|
|
540
|
+
:lang(ko) {
|
|
541
|
+
font-kerning: normal;
|
|
542
|
+
}
|
|
543
|
+
hr {
|
|
544
|
+
color: inherit;
|
|
545
|
+
border-color: currentColor;
|
|
546
|
+
}
|
|
547
|
+
table,
|
|
548
|
+
th,
|
|
549
|
+
td {
|
|
550
|
+
border-color: currentColor;
|
|
551
|
+
}
|
|
552
|
+
figure,
|
|
553
|
+
blockquote {
|
|
554
|
+
margin: 1em 5%;
|
|
555
|
+
}
|
|
556
|
+
ul,
|
|
557
|
+
ol {
|
|
558
|
+
padding-left: 5%;
|
|
559
|
+
}
|
|
560
|
+
dd {
|
|
561
|
+
margin-left: 5%;
|
|
562
|
+
}
|
|
563
|
+
pre {
|
|
564
|
+
white-space: pre-wrap;
|
|
565
|
+
-ms-tab-size: 2;
|
|
566
|
+
-moz-tab-size: 2;
|
|
567
|
+
-webkit-tab-size: 2;
|
|
568
|
+
tab-size: 2;
|
|
569
|
+
}
|
|
570
|
+
abbr[title],
|
|
571
|
+
acronym[title] {
|
|
572
|
+
text-decoration: dotted underline;
|
|
573
|
+
}
|
|
574
|
+
nobr wbr {
|
|
575
|
+
white-space: normal;
|
|
576
|
+
}
|
|
577
|
+
ruby > rt,
|
|
578
|
+
ruby > rp {
|
|
579
|
+
-webkit-user-select: none;
|
|
580
|
+
-moz-user-select: none;
|
|
581
|
+
-ms-user-select: none;
|
|
582
|
+
user-select: none;
|
|
583
|
+
}
|
|
584
|
+
*:lang(ja),
|
|
585
|
+
*:lang(zh),
|
|
586
|
+
*:lang(ko),
|
|
587
|
+
:lang(ja) cite,
|
|
588
|
+
:lang(ja) dfn,
|
|
589
|
+
:lang(ja) em,
|
|
590
|
+
:lang(ja) i,
|
|
591
|
+
:lang(zh) cite,
|
|
592
|
+
:lang(zh) dfn,
|
|
593
|
+
:lang(zh) em,
|
|
594
|
+
:lang(zh) i,
|
|
595
|
+
:lang(ko) cite,
|
|
596
|
+
:lang(ko) dfn,
|
|
597
|
+
:lang(ko) em,
|
|
598
|
+
:lang(ko) i {
|
|
599
|
+
font-style: normal;
|
|
600
|
+
}
|
|
601
|
+
:lang(ja) a,
|
|
602
|
+
:lang(zh) a,
|
|
603
|
+
:lang(ko) a {
|
|
604
|
+
text-decoration: none;
|
|
605
|
+
}
|
|
606
|
+
:root {
|
|
607
|
+
--RS__maxMediaWidth: 100%;
|
|
608
|
+
--RS__maxMediaHeight: 95vh;
|
|
609
|
+
--RS__boxSizingMedia: border-box;
|
|
610
|
+
--RS__boxSizingTable: border-box;
|
|
611
|
+
}
|
|
612
|
+
html {
|
|
613
|
+
-webkit-line-box-contain: block glyphs replaced;
|
|
614
|
+
}
|
|
615
|
+
:lang(ja) {
|
|
616
|
+
-webkit-line-box-contain: block inline replaced;
|
|
617
|
+
}
|
|
618
|
+
a,
|
|
619
|
+
h1,
|
|
620
|
+
h2,
|
|
621
|
+
h3,
|
|
622
|
+
h4,
|
|
623
|
+
h5,
|
|
624
|
+
h6 {
|
|
625
|
+
word-wrap: break-word;
|
|
626
|
+
}
|
|
627
|
+
div {
|
|
628
|
+
max-width: var(--RS__maxMediaWidth);
|
|
629
|
+
}
|
|
630
|
+
img,
|
|
631
|
+
svg,
|
|
632
|
+
audio,
|
|
633
|
+
video {
|
|
634
|
+
object-fit: contain;
|
|
635
|
+
width: auto;
|
|
636
|
+
height: auto;
|
|
637
|
+
max-width: var(--RS__maxMediaWidth);
|
|
638
|
+
max-height: var(--RS__maxMediaHeight) !important;
|
|
639
|
+
box-sizing: var(--RS__boxSizingMedia);
|
|
640
|
+
-webkit-column-break-inside: avoid;
|
|
641
|
+
page-break-inside: avoid;
|
|
642
|
+
break-inside: avoid;
|
|
643
|
+
}
|
|
644
|
+
table {
|
|
645
|
+
max-width: var(--RS__maxMediaWidth);
|
|
646
|
+
box-sizing: var(--RS__boxSizingTable);
|
|
647
|
+
}
|
|
648
|
+
/*# sourceMappingURL=ReadiumCSS-before.css.map */
|