share-pages 0.1.0

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.
Files changed (146) hide show
  1. package/README.md +49 -0
  2. package/dist/dist-JyXFh6I5.mjs +5444 -0
  3. package/dist/epub-BXQPqTFk-CGD2NLS1.mjs +4915 -0
  4. package/dist/index.mjs +679 -0
  5. package/dist/latex-CybgCSnr-CvP5kdPz.mjs +33421 -0
  6. package/dist/latex-DMo_3IW8-B6ogeBvw.mjs +20 -0
  7. package/dist/markdown-BWlCFeLJ-OwSvKM8l.mjs +68089 -0
  8. package/dist/node-Lh4CQjZ4.mjs +77 -0
  9. package/dist/papaparse-BJnSo-VR.mjs +1139 -0
  10. package/dist/prepare-C56DezIS-DiqwpdkG.mjs +8563 -0
  11. package/dist/resources/assets/csv-worker-Bilq-sDm.js +17 -0
  12. package/dist/resources/chunks/viewer-Bz6Cwh4W.js +9561 -0
  13. package/dist/resources/csv.js +2444 -0
  14. package/dist/resources/epub.js +16493 -0
  15. package/dist/resources/fonts/KaTeX_AMS-Regular.ttf +0 -0
  16. package/dist/resources/fonts/KaTeX_AMS-Regular.woff +0 -0
  17. package/dist/resources/fonts/KaTeX_AMS-Regular.woff2 +0 -0
  18. package/dist/resources/fonts/KaTeX_Caligraphic-Bold.ttf +0 -0
  19. package/dist/resources/fonts/KaTeX_Caligraphic-Bold.woff +0 -0
  20. package/dist/resources/fonts/KaTeX_Caligraphic-Bold.woff2 +0 -0
  21. package/dist/resources/fonts/KaTeX_Caligraphic-Regular.ttf +0 -0
  22. package/dist/resources/fonts/KaTeX_Caligraphic-Regular.woff +0 -0
  23. package/dist/resources/fonts/KaTeX_Caligraphic-Regular.woff2 +0 -0
  24. package/dist/resources/fonts/KaTeX_Fraktur-Bold.ttf +0 -0
  25. package/dist/resources/fonts/KaTeX_Fraktur-Bold.woff +0 -0
  26. package/dist/resources/fonts/KaTeX_Fraktur-Bold.woff2 +0 -0
  27. package/dist/resources/fonts/KaTeX_Fraktur-Regular.ttf +0 -0
  28. package/dist/resources/fonts/KaTeX_Fraktur-Regular.woff +0 -0
  29. package/dist/resources/fonts/KaTeX_Fraktur-Regular.woff2 +0 -0
  30. package/dist/resources/fonts/KaTeX_Main-Bold.ttf +0 -0
  31. package/dist/resources/fonts/KaTeX_Main-Bold.woff +0 -0
  32. package/dist/resources/fonts/KaTeX_Main-Bold.woff2 +0 -0
  33. package/dist/resources/fonts/KaTeX_Main-BoldItalic.ttf +0 -0
  34. package/dist/resources/fonts/KaTeX_Main-BoldItalic.woff +0 -0
  35. package/dist/resources/fonts/KaTeX_Main-BoldItalic.woff2 +0 -0
  36. package/dist/resources/fonts/KaTeX_Main-Italic.ttf +0 -0
  37. package/dist/resources/fonts/KaTeX_Main-Italic.woff +0 -0
  38. package/dist/resources/fonts/KaTeX_Main-Italic.woff2 +0 -0
  39. package/dist/resources/fonts/KaTeX_Main-Regular.ttf +0 -0
  40. package/dist/resources/fonts/KaTeX_Main-Regular.woff +0 -0
  41. package/dist/resources/fonts/KaTeX_Main-Regular.woff2 +0 -0
  42. package/dist/resources/fonts/KaTeX_Math-BoldItalic.ttf +0 -0
  43. package/dist/resources/fonts/KaTeX_Math-BoldItalic.woff +0 -0
  44. package/dist/resources/fonts/KaTeX_Math-BoldItalic.woff2 +0 -0
  45. package/dist/resources/fonts/KaTeX_Math-Italic.ttf +0 -0
  46. package/dist/resources/fonts/KaTeX_Math-Italic.woff +0 -0
  47. package/dist/resources/fonts/KaTeX_Math-Italic.woff2 +0 -0
  48. package/dist/resources/fonts/KaTeX_SansSerif-Bold.ttf +0 -0
  49. package/dist/resources/fonts/KaTeX_SansSerif-Bold.woff +0 -0
  50. package/dist/resources/fonts/KaTeX_SansSerif-Bold.woff2 +0 -0
  51. package/dist/resources/fonts/KaTeX_SansSerif-Italic.ttf +0 -0
  52. package/dist/resources/fonts/KaTeX_SansSerif-Italic.woff +0 -0
  53. package/dist/resources/fonts/KaTeX_SansSerif-Italic.woff2 +0 -0
  54. package/dist/resources/fonts/KaTeX_SansSerif-Regular.ttf +0 -0
  55. package/dist/resources/fonts/KaTeX_SansSerif-Regular.woff +0 -0
  56. package/dist/resources/fonts/KaTeX_SansSerif-Regular.woff2 +0 -0
  57. package/dist/resources/fonts/KaTeX_Script-Regular.ttf +0 -0
  58. package/dist/resources/fonts/KaTeX_Script-Regular.woff +0 -0
  59. package/dist/resources/fonts/KaTeX_Script-Regular.woff2 +0 -0
  60. package/dist/resources/fonts/KaTeX_Size1-Regular.ttf +0 -0
  61. package/dist/resources/fonts/KaTeX_Size1-Regular.woff +0 -0
  62. package/dist/resources/fonts/KaTeX_Size1-Regular.woff2 +0 -0
  63. package/dist/resources/fonts/KaTeX_Size2-Regular.ttf +0 -0
  64. package/dist/resources/fonts/KaTeX_Size2-Regular.woff +0 -0
  65. package/dist/resources/fonts/KaTeX_Size2-Regular.woff2 +0 -0
  66. package/dist/resources/fonts/KaTeX_Size3-Regular.ttf +0 -0
  67. package/dist/resources/fonts/KaTeX_Size3-Regular.woff +0 -0
  68. package/dist/resources/fonts/KaTeX_Size3-Regular.woff2 +0 -0
  69. package/dist/resources/fonts/KaTeX_Size4-Regular.ttf +0 -0
  70. package/dist/resources/fonts/KaTeX_Size4-Regular.woff +0 -0
  71. package/dist/resources/fonts/KaTeX_Size4-Regular.woff2 +0 -0
  72. package/dist/resources/fonts/KaTeX_Typewriter-Regular.ttf +0 -0
  73. package/dist/resources/fonts/KaTeX_Typewriter-Regular.woff +0 -0
  74. package/dist/resources/fonts/KaTeX_Typewriter-Regular.woff2 +0 -0
  75. package/dist/resources/katex.css +1 -0
  76. package/dist/resources/latex-article.css +33 -0
  77. package/dist/resources/latex-base.css +816 -0
  78. package/dist/resources/latex-book.css +43 -0
  79. package/dist/resources/latex-fonts/KaTeX_AMS-Regular.woff +0 -0
  80. package/dist/resources/latex-fonts/KaTeX_AMS-Regular.woff2 +0 -0
  81. package/dist/resources/latex-fonts/KaTeX_Caligraphic-Bold.woff +0 -0
  82. package/dist/resources/latex-fonts/KaTeX_Caligraphic-Bold.woff2 +0 -0
  83. package/dist/resources/latex-fonts/KaTeX_Caligraphic-Regular.woff +0 -0
  84. package/dist/resources/latex-fonts/KaTeX_Caligraphic-Regular.woff2 +0 -0
  85. package/dist/resources/latex-fonts/KaTeX_Fraktur-Bold.woff +0 -0
  86. package/dist/resources/latex-fonts/KaTeX_Fraktur-Bold.woff2 +0 -0
  87. package/dist/resources/latex-fonts/KaTeX_Fraktur-Regular.woff +0 -0
  88. package/dist/resources/latex-fonts/KaTeX_Fraktur-Regular.woff2 +0 -0
  89. package/dist/resources/latex-fonts/KaTeX_Main-Bold.woff +0 -0
  90. package/dist/resources/latex-fonts/KaTeX_Main-Bold.woff2 +0 -0
  91. package/dist/resources/latex-fonts/KaTeX_Main-BoldItalic.woff +0 -0
  92. package/dist/resources/latex-fonts/KaTeX_Main-BoldItalic.woff2 +0 -0
  93. package/dist/resources/latex-fonts/KaTeX_Main-Italic.woff +0 -0
  94. package/dist/resources/latex-fonts/KaTeX_Main-Italic.woff2 +0 -0
  95. package/dist/resources/latex-fonts/KaTeX_Main-Regular.woff +0 -0
  96. package/dist/resources/latex-fonts/KaTeX_Main-Regular.woff2 +0 -0
  97. package/dist/resources/latex-fonts/KaTeX_Math-BoldItalic.woff +0 -0
  98. package/dist/resources/latex-fonts/KaTeX_Math-BoldItalic.woff2 +0 -0
  99. package/dist/resources/latex-fonts/KaTeX_Math-Italic.woff +0 -0
  100. package/dist/resources/latex-fonts/KaTeX_Math-Italic.woff2 +0 -0
  101. package/dist/resources/latex-fonts/KaTeX_SansSerif-Bold.woff +0 -0
  102. package/dist/resources/latex-fonts/KaTeX_SansSerif-Bold.woff2 +0 -0
  103. package/dist/resources/latex-fonts/KaTeX_SansSerif-Italic.woff +0 -0
  104. package/dist/resources/latex-fonts/KaTeX_SansSerif-Italic.woff2 +0 -0
  105. package/dist/resources/latex-fonts/KaTeX_SansSerif-Regular.woff +0 -0
  106. package/dist/resources/latex-fonts/KaTeX_SansSerif-Regular.woff2 +0 -0
  107. package/dist/resources/latex-fonts/KaTeX_Script-Regular.woff +0 -0
  108. package/dist/resources/latex-fonts/KaTeX_Script-Regular.woff2 +0 -0
  109. package/dist/resources/latex-fonts/KaTeX_Size1-Regular.woff +0 -0
  110. package/dist/resources/latex-fonts/KaTeX_Size1-Regular.woff2 +0 -0
  111. package/dist/resources/latex-fonts/KaTeX_Size2-Regular.woff +0 -0
  112. package/dist/resources/latex-fonts/KaTeX_Size2-Regular.woff2 +0 -0
  113. package/dist/resources/latex-fonts/KaTeX_Size3-Regular.woff +0 -0
  114. package/dist/resources/latex-fonts/KaTeX_Size3-Regular.woff2 +0 -0
  115. package/dist/resources/latex-fonts/KaTeX_Size4-Regular.woff +0 -0
  116. package/dist/resources/latex-fonts/KaTeX_Size4-Regular.woff2 +0 -0
  117. package/dist/resources/latex-fonts/KaTeX_Typewriter-Regular.woff +0 -0
  118. package/dist/resources/latex-fonts/KaTeX_Typewriter-Regular.woff2 +0 -0
  119. package/dist/resources/latex-fonts/OFL.txt +102 -0
  120. package/dist/resources/latex-fonts/Sans/cmun-sans.css +30 -0
  121. package/dist/resources/latex-fonts/Sans/cmunsi.woff +0 -0
  122. package/dist/resources/latex-fonts/Sans/cmunso.woff +0 -0
  123. package/dist/resources/latex-fonts/Sans/cmunss.woff +0 -0
  124. package/dist/resources/latex-fonts/Sans/cmunsx.woff +0 -0
  125. package/dist/resources/latex-fonts/Serif/cmun-serif.css +30 -0
  126. package/dist/resources/latex-fonts/Serif/cmunbi.woff +0 -0
  127. package/dist/resources/latex-fonts/Serif/cmunbx.woff +0 -0
  128. package/dist/resources/latex-fonts/Serif/cmunrm.woff +0 -0
  129. package/dist/resources/latex-fonts/Serif/cmunti.woff +0 -0
  130. package/dist/resources/latex-fonts/Serif Slanted/cmun-serif-slanted.css +14 -0
  131. package/dist/resources/latex-fonts/Serif Slanted/cmunbl.woff +0 -0
  132. package/dist/resources/latex-fonts/Serif Slanted/cmunsl.woff +0 -0
  133. package/dist/resources/latex-fonts/Typewriter/cmun-typewriter.css +30 -0
  134. package/dist/resources/latex-fonts/Typewriter/cmunit.woff +0 -0
  135. package/dist/resources/latex-fonts/Typewriter/cmuntb.woff +0 -0
  136. package/dist/resources/latex-fonts/Typewriter/cmuntt.woff +0 -0
  137. package/dist/resources/latex-fonts/Typewriter/cmuntx.woff +0 -0
  138. package/dist/resources/latex-fonts/Typewriter Slanted/cmun-typewriter-slanted.css +6 -0
  139. package/dist/resources/latex-fonts/Typewriter Slanted/cmunst.woff +0 -0
  140. package/dist/resources/latex-fonts/cmu.css +13 -0
  141. package/dist/resources/latex-katex.css +1079 -0
  142. package/dist/resources/licenses.txt +131 -0
  143. package/dist/resources/reader.css +244 -0
  144. package/dist/resources/viewers.css +3 -0
  145. package/dist/rolldown-runtime-B4iAMlE-.mjs +35 -0
  146. package/package.json +40 -0
@@ -0,0 +1,131 @@
1
+ katex
2
+ The MIT License (MIT)
3
+
4
+ Copyright (c) 2013-2020 Khan Academy and other contributors
5
+
6
+ Permission is hereby granted, free of charge, to any person obtaining a copy
7
+ of this software and associated documentation files (the "Software"), to deal
8
+ in the Software without restriction, including without limitation the rights
9
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
10
+ copies of the Software, and to permit persons to whom the Software is
11
+ furnished to do so, subject to the following conditions:
12
+
13
+ The above copyright notice and this permission notice shall be included in all
14
+ copies or substantial portions of the Software.
15
+
16
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
17
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
18
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
19
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
20
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
21
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
22
+ SOFTWARE.
23
+
24
+
25
+ ---
26
+
27
+ latex.js
28
+ MIT License
29
+
30
+ Copyright (c) 2015-2021 Michael Brade
31
+
32
+ Permission is hereby granted, free of charge, to any person obtaining a copy
33
+ of this software and associated documentation files (the "Software"), to deal
34
+ in the Software without restriction, including without limitation the rights
35
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
36
+ copies of the Software, and to permit persons to whom the Software is
37
+ furnished to do so, subject to the following conditions:
38
+
39
+ The above copyright notice and this permission notice shall be included in all
40
+ copies or substantial portions of the Software.
41
+
42
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
43
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
44
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
45
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
46
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
47
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
48
+ SOFTWARE.
49
+
50
+ ---
51
+
52
+ epubjs
53
+ Copyright (c) 2013, FuturePress
54
+
55
+ All rights reserved.
56
+
57
+ Redistribution and use in source and binary forms, with or without
58
+ modification, are permitted provided that the following conditions are met:
59
+
60
+ 1. Redistributions of source code must retain the above copyright notice, this
61
+ list of conditions and the following disclaimer.
62
+ 2. Redistributions in binary form must reproduce the above copyright notice,
63
+ this list of conditions and the following disclaimer in the documentation
64
+ and/or other materials provided with the distribution.
65
+
66
+ THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
67
+ ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
68
+ WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
69
+ DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR
70
+ ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
71
+ (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
72
+ LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
73
+ ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
74
+ (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
75
+ SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
76
+
77
+ The views and conclusions contained in the software and documentation are those
78
+ of the authors and should not be interpreted as representing official policies,
79
+ either expressed or implied, of the FreeBSD Project.
80
+
81
+
82
+ ---
83
+
84
+ react
85
+ MIT License
86
+
87
+ Copyright (c) Meta Platforms, Inc. and affiliates.
88
+
89
+ Permission is hereby granted, free of charge, to any person obtaining a copy
90
+ of this software and associated documentation files (the "Software"), to deal
91
+ in the Software without restriction, including without limitation the rights
92
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
93
+ copies of the Software, and to permit persons to whom the Software is
94
+ furnished to do so, subject to the following conditions:
95
+
96
+ The above copyright notice and this permission notice shall be included in all
97
+ copies or substantial portions of the Software.
98
+
99
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
100
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
101
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
102
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
103
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
104
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
105
+ SOFTWARE.
106
+
107
+
108
+ ---
109
+
110
+ react-dom
111
+ MIT License
112
+
113
+ Copyright (c) Meta Platforms, Inc. and affiliates.
114
+
115
+ Permission is hereby granted, free of charge, to any person obtaining a copy
116
+ of this software and associated documentation files (the "Software"), to deal
117
+ in the Software without restriction, including without limitation the rights
118
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
119
+ copies of the Software, and to permit persons to whom the Software is
120
+ furnished to do so, subject to the following conditions:
121
+
122
+ The above copyright notice and this permission notice shall be included in all
123
+ copies or substantial portions of the Software.
124
+
125
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
126
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
127
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
128
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
129
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
130
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
131
+ SOFTWARE.
@@ -0,0 +1,244 @@
1
+ :root {
2
+ font-family: Inter, ui-sans-serif, system-ui, -apple-system, sans-serif;
3
+ color: #243c35;
4
+ background: #f8f9f6;
5
+ font-synthesis: none;
6
+ color-scheme: light;
7
+ }
8
+ * {
9
+ box-sizing: border-box;
10
+ }
11
+ body {
12
+ margin: 0;
13
+ }
14
+ button,
15
+ input,
16
+ select {
17
+ font: inherit;
18
+ }
19
+ button,
20
+ a,
21
+ input,
22
+ select {
23
+ touch-action: manipulation;
24
+ }
25
+ button,
26
+ select,
27
+ input {
28
+ padding: 9px 12px;
29
+ border: 1px solid #d8dfd6;
30
+ border-radius: 7px;
31
+ background: #fff;
32
+ color: inherit;
33
+ }
34
+ button {
35
+ cursor: pointer;
36
+ }
37
+ button:hover {
38
+ border-color: #3a6c54;
39
+ }
40
+ a {
41
+ color: #2a6a51;
42
+ }
43
+ header.viewer-bar {
44
+ position: sticky;
45
+ top: 0;
46
+ z-index: 3;
47
+ display: flex;
48
+ align-items: center;
49
+ gap: 12px;
50
+ flex-wrap: wrap;
51
+ background: #f8f9f6ee;
52
+ border-bottom: 1px solid #dce2da;
53
+ padding: 14px 24px;
54
+ backdrop-filter: blur(12px);
55
+ }
56
+ header h1 {
57
+ font-size: 16px;
58
+ margin: 0 auto 0 0;
59
+ }
60
+ .reader {
61
+ max-width: 820px;
62
+ margin: 48px auto;
63
+ padding: 0 30px 80px;
64
+ font-size: 18px;
65
+ line-height: 1.85;
66
+ }
67
+ .reader h1 {
68
+ font-size: 2.4em;
69
+ line-height: 1.25;
70
+ letter-spacing: -0.035em;
71
+ }
72
+ .reader h2,
73
+ .reader h3 {
74
+ scroll-margin-top: 70px;
75
+ line-height: 1.4;
76
+ }
77
+ .reader img {
78
+ max-width: 100%;
79
+ }
80
+ .reader pre {
81
+ overflow: auto;
82
+ padding: 22px;
83
+ border: 1px solid #e2e5dd;
84
+ border-radius: 12px;
85
+ font-size: 14px;
86
+ line-height: 1.6;
87
+ }
88
+ .reader table {
89
+ display: block;
90
+ overflow: auto;
91
+ border-collapse: collapse;
92
+ }
93
+ .reader td,
94
+ .reader th {
95
+ border: 1px solid #dae0d7;
96
+ padding: 8px 14px;
97
+ }
98
+ .reader blockquote {
99
+ margin-left: 0;
100
+ padding-left: 24px;
101
+ border-left: 3px solid #9aad8c;
102
+ color: #607060;
103
+ }
104
+ .toc {
105
+ font-size: 14px;
106
+ padding: 20px 24px;
107
+ border: 1px solid #dce2da;
108
+ border-radius: 12px;
109
+ line-height: 1.9;
110
+ }
111
+ .toc ul {
112
+ list-style: none;
113
+ margin: 10px 0;
114
+ padding: 0;
115
+ }
116
+ .toc a {
117
+ text-decoration: none;
118
+ }
119
+ .katex-display {
120
+ overflow: auto;
121
+ }
122
+ .csv-controls {
123
+ display: flex;
124
+ gap: 12px;
125
+ flex-wrap: wrap;
126
+ padding: 18px 24px;
127
+ }
128
+ .csv-status {
129
+ padding: 0 24px 14px;
130
+ color: #758171;
131
+ font-size: 13px;
132
+ }
133
+ .csv-scroll {
134
+ height: calc(100vh - 180px);
135
+ overflow: auto;
136
+ background: white;
137
+ border-top: 1px solid #dce2da;
138
+ }
139
+ .csv-table {
140
+ display: grid;
141
+ min-width: 100%;
142
+ font-size: 14px;
143
+ }
144
+ .csv-table thead {
145
+ display: grid;
146
+ position: sticky;
147
+ top: 0;
148
+ z-index: 2;
149
+ background: #eef2e9;
150
+ }
151
+ .csv-table tr {
152
+ display: flex;
153
+ width: 100%;
154
+ }
155
+ .csv-table th,
156
+ .csv-table td {
157
+ min-width: 180px;
158
+ width: 180px;
159
+ padding: 10px 16px;
160
+ text-align: left;
161
+ overflow: hidden;
162
+ text-overflow: ellipsis;
163
+ white-space: nowrap;
164
+ border-bottom: 1px solid #e9ece5;
165
+ }
166
+ .csv-table th input {
167
+ display: block;
168
+ width: 100%;
169
+ font-size: 12px;
170
+ margin-top: 8px;
171
+ }
172
+ .csv-table tbody {
173
+ position: relative;
174
+ display: grid;
175
+ }
176
+ .error {
177
+ padding: 28px;
178
+ color: #9c3323;
179
+ }
180
+ .epub-layout {
181
+ display: grid;
182
+ grid-template-columns: 260px 1fr;
183
+ height: calc(100dvh - var(--epub-toolbar-height, 70px));
184
+ }
185
+ .epub-toc {
186
+ padding: 20px;
187
+ overflow: auto;
188
+ border-right: 1px solid #ddd;
189
+ }
190
+ .epub-toc a {
191
+ display: block;
192
+ font-size: 14px;
193
+ padding: 8px;
194
+ text-decoration: none;
195
+ }
196
+ .epub-stage {
197
+ min-width: 0;
198
+ min-height: 0;
199
+ overflow: auto;
200
+ }
201
+ .epub-controls {
202
+ display: flex;
203
+ gap: 8px;
204
+ align-items: center;
205
+ }
206
+ .epub-controls label {
207
+ font-size: 12px;
208
+ }
209
+ #epub-content {
210
+ height: 100%;
211
+ min-height: 0;
212
+ }
213
+ @media (max-width: 700px) {
214
+ .reader {
215
+ margin: 24px auto;
216
+ padding: 0 20px 50px;
217
+ font-size: 16px;
218
+ }
219
+ .reader h1 {
220
+ font-size: 2em;
221
+ }
222
+ header.viewer-bar {
223
+ padding: 12px 16px;
224
+ }
225
+ .epub-layout {
226
+ grid-template-columns: 1fr;
227
+ }
228
+ .epub-toc {
229
+ display: none;
230
+ }
231
+ .epub-layout.show-toc {
232
+ grid-template-columns: 1fr;
233
+ }
234
+ .epub-layout.show-toc .epub-toc {
235
+ display: block;
236
+ max-height: 40vh;
237
+ }
238
+ .epub-controls {
239
+ flex-wrap: wrap;
240
+ }
241
+ .csv-controls {
242
+ padding: 14px;
243
+ }
244
+ }