dsh-bilingual-reader 0.0.0-stage → 0.1.1
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/LICENSE +21 -0
- package/README.en.md +146 -0
- package/README.md +145 -2
- package/client/client.js +88 -0
- package/cordis.patch.yml +7 -0
- package/docs/architecture.md +66 -0
- package/docs/demo.jpg +0 -0
- package/docs/release-v0.1.0.md +47 -0
- package/docs/release-v0.1.1.md +31 -0
- package/index.js +82 -0
- package/package.json +76 -4
- package/src/cache.js +76 -0
- package/src/client.js +59 -0
- package/src/config.js +74 -0
- package/src/extract.js +259 -0
- package/src/fetch.js +183 -0
- package/src/glossary.js +74 -0
- package/src/prompt.js +125 -0
- package/src/protect.js +71 -0
- package/src/routes.js +317 -0
- package/src/security.js +169 -0
- package/src/segment.js +116 -0
- package/src/store.js +325 -0
- package/src/tools.js +220 -0
- package/src/translator.js +357 -0
- package/src/util.js +62 -0
- package/web/app.js +477 -0
- package/web/favicon.svg +5 -0
- package/web/index.html +99 -0
- package/web/style.css +488 -0
package/web/style.css
ADDED
|
@@ -0,0 +1,488 @@
|
|
|
1
|
+
:root {
|
|
2
|
+
color-scheme: light dark;
|
|
3
|
+
--bg: #f6f6f2;
|
|
4
|
+
--panel: #ffffff;
|
|
5
|
+
--panel-soft: #f0f0ea;
|
|
6
|
+
--text: #1d1d1a;
|
|
7
|
+
--muted: #6b6b63;
|
|
8
|
+
--border: #e2e1da;
|
|
9
|
+
--accent: #2f6f4f;
|
|
10
|
+
--accent-soft: #e7f1ea;
|
|
11
|
+
--danger: #b3412e;
|
|
12
|
+
--warn: #a2691b;
|
|
13
|
+
--shadow: 0 10px 30px rgba(20, 20, 15, 0.06);
|
|
14
|
+
--radius: 14px;
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
@media (prefers-color-scheme: dark) {
|
|
18
|
+
:root {
|
|
19
|
+
--bg: #15161a;
|
|
20
|
+
--panel: #1d1f24;
|
|
21
|
+
--panel-soft: #24262c;
|
|
22
|
+
--text: #ecebe6;
|
|
23
|
+
--muted: #a3a29a;
|
|
24
|
+
--border: #34363d;
|
|
25
|
+
--accent: #6fbf94;
|
|
26
|
+
--accent-soft: #23352b;
|
|
27
|
+
--danger: #e1846f;
|
|
28
|
+
--warn: #d6a45c;
|
|
29
|
+
--shadow: 0 10px 30px rgba(0, 0, 0, 0.28);
|
|
30
|
+
}
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
* { box-sizing: border-box; }
|
|
34
|
+
[hidden] { display: none !important; }
|
|
35
|
+
|
|
36
|
+
html, body {
|
|
37
|
+
height: 100%;
|
|
38
|
+
margin: 0;
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
body {
|
|
42
|
+
background: var(--bg);
|
|
43
|
+
color: var(--text);
|
|
44
|
+
font-family: "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", system-ui, sans-serif;
|
|
45
|
+
font-size: 15px;
|
|
46
|
+
line-height: 1.65;
|
|
47
|
+
}
|
|
48
|
+
|
|
49
|
+
#app {
|
|
50
|
+
min-height: 100%;
|
|
51
|
+
display: flex;
|
|
52
|
+
flex-direction: column;
|
|
53
|
+
}
|
|
54
|
+
|
|
55
|
+
button, input, select { font: inherit; color: inherit; }
|
|
56
|
+
|
|
57
|
+
code, pre {
|
|
58
|
+
font-family: "Cascadia Code", "SFMono-Regular", Consolas, monospace;
|
|
59
|
+
font-size: 0.9em;
|
|
60
|
+
}
|
|
61
|
+
|
|
62
|
+
.topbar {
|
|
63
|
+
display: flex;
|
|
64
|
+
align-items: center;
|
|
65
|
+
justify-content: space-between;
|
|
66
|
+
gap: 16px;
|
|
67
|
+
padding: 14px 22px;
|
|
68
|
+
border-bottom: 1px solid var(--border);
|
|
69
|
+
background: var(--panel);
|
|
70
|
+
}
|
|
71
|
+
|
|
72
|
+
.brand {
|
|
73
|
+
display: flex;
|
|
74
|
+
align-items: center;
|
|
75
|
+
gap: 12px;
|
|
76
|
+
}
|
|
77
|
+
|
|
78
|
+
.brand-mark {
|
|
79
|
+
width: 38px;
|
|
80
|
+
height: 38px;
|
|
81
|
+
display: grid;
|
|
82
|
+
place-items: center;
|
|
83
|
+
border-radius: 12px;
|
|
84
|
+
background: var(--accent-soft);
|
|
85
|
+
color: var(--accent);
|
|
86
|
+
font-weight: 700;
|
|
87
|
+
font-size: 18px;
|
|
88
|
+
}
|
|
89
|
+
|
|
90
|
+
.brand h1 {
|
|
91
|
+
margin: 0;
|
|
92
|
+
font-size: 18px;
|
|
93
|
+
letter-spacing: 0.02em;
|
|
94
|
+
}
|
|
95
|
+
|
|
96
|
+
.brand p {
|
|
97
|
+
margin: 2px 0 0;
|
|
98
|
+
color: var(--muted);
|
|
99
|
+
font-size: 12px;
|
|
100
|
+
}
|
|
101
|
+
|
|
102
|
+
.top-actions { display: flex; align-items: center; gap: 8px; }
|
|
103
|
+
|
|
104
|
+
.composer {
|
|
105
|
+
padding: 14px 22px 10px;
|
|
106
|
+
background: var(--panel);
|
|
107
|
+
border-bottom: 1px solid var(--border);
|
|
108
|
+
}
|
|
109
|
+
|
|
110
|
+
.composer form {
|
|
111
|
+
display: flex;
|
|
112
|
+
gap: 10px;
|
|
113
|
+
max-width: 1200px;
|
|
114
|
+
margin: 0 auto;
|
|
115
|
+
}
|
|
116
|
+
|
|
117
|
+
#url-input {
|
|
118
|
+
flex: 1;
|
|
119
|
+
min-width: 0;
|
|
120
|
+
padding: 10px 14px;
|
|
121
|
+
border: 1px solid var(--border);
|
|
122
|
+
border-radius: 10px;
|
|
123
|
+
background: var(--bg);
|
|
124
|
+
outline: none;
|
|
125
|
+
}
|
|
126
|
+
|
|
127
|
+
#url-input:focus, select:focus, input:focus {
|
|
128
|
+
border-color: var(--accent);
|
|
129
|
+
box-shadow: 0 0 0 3px var(--accent-soft);
|
|
130
|
+
}
|
|
131
|
+
|
|
132
|
+
select {
|
|
133
|
+
padding: 10px 12px;
|
|
134
|
+
border: 1px solid var(--border);
|
|
135
|
+
border-radius: 10px;
|
|
136
|
+
background: var(--bg);
|
|
137
|
+
}
|
|
138
|
+
|
|
139
|
+
.hint, .notice {
|
|
140
|
+
max-width: 1200px;
|
|
141
|
+
margin: 8px auto 0;
|
|
142
|
+
color: var(--muted);
|
|
143
|
+
font-size: 12px;
|
|
144
|
+
}
|
|
145
|
+
|
|
146
|
+
.notice.error, .hint.error, .doc-status.error { color: var(--danger); }
|
|
147
|
+
|
|
148
|
+
.button {
|
|
149
|
+
display: inline-flex;
|
|
150
|
+
align-items: center;
|
|
151
|
+
justify-content: center;
|
|
152
|
+
gap: 6px;
|
|
153
|
+
padding: 9px 14px;
|
|
154
|
+
border: 1px solid var(--border);
|
|
155
|
+
border-radius: 10px;
|
|
156
|
+
background: var(--panel);
|
|
157
|
+
color: var(--text);
|
|
158
|
+
text-decoration: none;
|
|
159
|
+
cursor: pointer;
|
|
160
|
+
white-space: nowrap;
|
|
161
|
+
transition: background 120ms ease, border-color 120ms ease, transform 120ms ease;
|
|
162
|
+
}
|
|
163
|
+
|
|
164
|
+
.button:hover { background: var(--panel-soft); }
|
|
165
|
+
.button:active { transform: translateY(1px); }
|
|
166
|
+
.button.primary { background: var(--accent); border-color: var(--accent); color: #fff; }
|
|
167
|
+
@media (prefers-color-scheme: dark) { .button.primary { color: #102016; } }
|
|
168
|
+
.button.primary:hover { filter: brightness(1.05); }
|
|
169
|
+
.button.ghost { background: transparent; }
|
|
170
|
+
.button.danger { color: var(--danger); }
|
|
171
|
+
.button.small { padding: 6px 10px; font-size: 12px; }
|
|
172
|
+
.button:disabled { opacity: 0.6; cursor: default; }
|
|
173
|
+
|
|
174
|
+
.icon-button {
|
|
175
|
+
border: 1px solid transparent;
|
|
176
|
+
background: transparent;
|
|
177
|
+
color: var(--muted);
|
|
178
|
+
cursor: pointer;
|
|
179
|
+
border-radius: 8px;
|
|
180
|
+
width: 28px;
|
|
181
|
+
height: 28px;
|
|
182
|
+
font-size: 16px;
|
|
183
|
+
line-height: 1;
|
|
184
|
+
}
|
|
185
|
+
.icon-button:hover { background: var(--panel-soft); color: var(--text); }
|
|
186
|
+
|
|
187
|
+
.layout {
|
|
188
|
+
flex: 1;
|
|
189
|
+
display: grid;
|
|
190
|
+
grid-template-columns: 230px minmax(0, 1fr);
|
|
191
|
+
gap: 0;
|
|
192
|
+
min-height: 0;
|
|
193
|
+
}
|
|
194
|
+
|
|
195
|
+
.sidebar {
|
|
196
|
+
border-right: 1px solid var(--border);
|
|
197
|
+
background: var(--panel);
|
|
198
|
+
padding: 14px 12px;
|
|
199
|
+
overflow-y: auto;
|
|
200
|
+
}
|
|
201
|
+
|
|
202
|
+
.sidebar-head {
|
|
203
|
+
display: flex;
|
|
204
|
+
align-items: center;
|
|
205
|
+
justify-content: space-between;
|
|
206
|
+
padding: 0 4px 8px;
|
|
207
|
+
}
|
|
208
|
+
|
|
209
|
+
.sidebar h2 { margin: 0; font-size: 13px; color: var(--muted); font-weight: 600; }
|
|
210
|
+
|
|
211
|
+
.docs { display: flex; flex-direction: column; gap: 6px; }
|
|
212
|
+
|
|
213
|
+
.doc-item {
|
|
214
|
+
display: flex;
|
|
215
|
+
flex-direction: column;
|
|
216
|
+
gap: 2px;
|
|
217
|
+
width: 100%;
|
|
218
|
+
padding: 9px 10px;
|
|
219
|
+
border: 1px solid transparent;
|
|
220
|
+
border-radius: 10px;
|
|
221
|
+
background: transparent;
|
|
222
|
+
text-align: left;
|
|
223
|
+
cursor: pointer;
|
|
224
|
+
}
|
|
225
|
+
|
|
226
|
+
.doc-item:hover { background: var(--panel-soft); }
|
|
227
|
+
.doc-item.active { background: var(--accent-soft); border-color: var(--accent); }
|
|
228
|
+
|
|
229
|
+
.doc-item-title {
|
|
230
|
+
font-size: 13px;
|
|
231
|
+
font-weight: 600;
|
|
232
|
+
overflow: hidden;
|
|
233
|
+
text-overflow: ellipsis;
|
|
234
|
+
display: -webkit-box;
|
|
235
|
+
-webkit-line-clamp: 2;
|
|
236
|
+
-webkit-box-orient: vertical;
|
|
237
|
+
}
|
|
238
|
+
|
|
239
|
+
.doc-item-sub { font-size: 11px; color: var(--muted); }
|
|
240
|
+
.sidebar-empty { color: var(--muted); font-size: 12px; padding: 8px 4px; }
|
|
241
|
+
|
|
242
|
+
.reader {
|
|
243
|
+
padding: 24px clamp(18px, 4vw, 54px) 80px;
|
|
244
|
+
overflow-y: auto;
|
|
245
|
+
}
|
|
246
|
+
|
|
247
|
+
.empty-state {
|
|
248
|
+
max-width: 640px;
|
|
249
|
+
margin: 8vh auto 0;
|
|
250
|
+
text-align: center;
|
|
251
|
+
color: var(--muted);
|
|
252
|
+
}
|
|
253
|
+
|
|
254
|
+
.empty-mark {
|
|
255
|
+
width: 68px;
|
|
256
|
+
height: 68px;
|
|
257
|
+
margin: 0 auto 18px;
|
|
258
|
+
display: grid;
|
|
259
|
+
place-items: center;
|
|
260
|
+
border-radius: 22px;
|
|
261
|
+
background: var(--accent-soft);
|
|
262
|
+
color: var(--accent);
|
|
263
|
+
font-size: 30px;
|
|
264
|
+
font-weight: 700;
|
|
265
|
+
}
|
|
266
|
+
|
|
267
|
+
.empty-state h2 { color: var(--text); margin: 0 0 8px; font-size: 22px; }
|
|
268
|
+
.empty-state p { margin: 0 0 16px; }
|
|
269
|
+
.empty-state ul { text-align: left; display: inline-block; margin: 0; padding-left: 20px; }
|
|
270
|
+
|
|
271
|
+
.doc-view { max-width: 1180px; margin: 0 auto; }
|
|
272
|
+
|
|
273
|
+
.doc-head {
|
|
274
|
+
display: flex;
|
|
275
|
+
align-items: flex-start;
|
|
276
|
+
justify-content: space-between;
|
|
277
|
+
gap: 18px;
|
|
278
|
+
flex-wrap: wrap;
|
|
279
|
+
}
|
|
280
|
+
|
|
281
|
+
.doc-heading { min-width: 220px; flex: 1; }
|
|
282
|
+
.doc-heading h2 { margin: 0 0 4px; font-size: 26px; line-height: 1.3; }
|
|
283
|
+
.doc-meta { color: var(--muted); font-size: 12px; }
|
|
284
|
+
|
|
285
|
+
.doc-actions {
|
|
286
|
+
display: flex;
|
|
287
|
+
align-items: center;
|
|
288
|
+
gap: 8px;
|
|
289
|
+
flex-wrap: wrap;
|
|
290
|
+
}
|
|
291
|
+
|
|
292
|
+
.view-switch {
|
|
293
|
+
display: inline-flex;
|
|
294
|
+
padding: 2px;
|
|
295
|
+
border: 1px solid var(--border);
|
|
296
|
+
border-radius: 10px;
|
|
297
|
+
background: var(--panel);
|
|
298
|
+
}
|
|
299
|
+
|
|
300
|
+
.view-switch button {
|
|
301
|
+
border: 0;
|
|
302
|
+
background: transparent;
|
|
303
|
+
padding: 6px 11px;
|
|
304
|
+
border-radius: 8px;
|
|
305
|
+
font-size: 12px;
|
|
306
|
+
color: var(--muted);
|
|
307
|
+
cursor: pointer;
|
|
308
|
+
}
|
|
309
|
+
|
|
310
|
+
.view-switch button.active { background: var(--accent-soft); color: var(--accent); font-weight: 600; }
|
|
311
|
+
|
|
312
|
+
.progress {
|
|
313
|
+
height: 4px;
|
|
314
|
+
margin: 18px 0 6px;
|
|
315
|
+
border-radius: 99px;
|
|
316
|
+
background: var(--panel-soft);
|
|
317
|
+
overflow: hidden;
|
|
318
|
+
}
|
|
319
|
+
|
|
320
|
+
#progress-bar {
|
|
321
|
+
height: 100%;
|
|
322
|
+
width: 0;
|
|
323
|
+
background: var(--accent);
|
|
324
|
+
border-radius: inherit;
|
|
325
|
+
transition: width 300ms ease;
|
|
326
|
+
}
|
|
327
|
+
|
|
328
|
+
.doc-status { margin: 0 0 18px; color: var(--muted); font-size: 12px; }
|
|
329
|
+
|
|
330
|
+
.blocks { display: flex; flex-direction: column; gap: 0; }
|
|
331
|
+
|
|
332
|
+
.block {
|
|
333
|
+
display: grid;
|
|
334
|
+
grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
|
|
335
|
+
gap: 22px;
|
|
336
|
+
padding: 16px 0;
|
|
337
|
+
border-bottom: 1px solid var(--border);
|
|
338
|
+
}
|
|
339
|
+
|
|
340
|
+
.block-code, .block-plain {
|
|
341
|
+
display: block;
|
|
342
|
+
background: var(--panel);
|
|
343
|
+
border: 1px solid var(--border);
|
|
344
|
+
border-radius: 12px;
|
|
345
|
+
padding: 14px 18px;
|
|
346
|
+
margin: 10px 0;
|
|
347
|
+
overflow-x: auto;
|
|
348
|
+
}
|
|
349
|
+
|
|
350
|
+
.block-code pre { margin: 0; overflow-x: auto; }
|
|
351
|
+
.block-code code { white-space: pre; }
|
|
352
|
+
|
|
353
|
+
.orig, .trans { min-width: 0; }
|
|
354
|
+
.trans {
|
|
355
|
+
padding-left: 18px;
|
|
356
|
+
border-left: 3px solid var(--accent);
|
|
357
|
+
}
|
|
358
|
+
|
|
359
|
+
.orig > :first-child, .trans > :first-child, .block-plain > :first-child { margin-top: 0; }
|
|
360
|
+
.orig > :last-child, .trans > :last-child, .block-plain > :last-child { margin-bottom: 0; }
|
|
361
|
+
|
|
362
|
+
.block h1, .block h2, .block h3, .block h4, .block h5, .block h6 {
|
|
363
|
+
font-size: 1.05em;
|
|
364
|
+
line-height: 1.4;
|
|
365
|
+
margin: 0.2em 0;
|
|
366
|
+
}
|
|
367
|
+
|
|
368
|
+
.block ul, .block ol { margin: 0.2em 0; padding-left: 1.4em; }
|
|
369
|
+
.block blockquote {
|
|
370
|
+
margin: 0.2em 0;
|
|
371
|
+
padding-left: 12px;
|
|
372
|
+
border-left: 2px solid var(--border);
|
|
373
|
+
color: var(--muted);
|
|
374
|
+
}
|
|
375
|
+
.block table { border-collapse: collapse; width: 100%; font-size: 0.92em; }
|
|
376
|
+
.block th, .block td { border: 1px solid var(--border); padding: 5px 8px; text-align: left; }
|
|
377
|
+
.block img { max-width: 100%; height: auto; border-radius: 8px; }
|
|
378
|
+
|
|
379
|
+
.placeholder { color: var(--muted); font-style: italic; margin: 0; }
|
|
380
|
+
.placeholder.error { color: var(--danger); font-style: normal; }
|
|
381
|
+
|
|
382
|
+
.badge {
|
|
383
|
+
display: inline-block;
|
|
384
|
+
margin-bottom: 6px;
|
|
385
|
+
padding: 1px 8px;
|
|
386
|
+
border-radius: 99px;
|
|
387
|
+
font-size: 11px;
|
|
388
|
+
background: var(--accent-soft);
|
|
389
|
+
color: var(--accent);
|
|
390
|
+
}
|
|
391
|
+
.badge.warn { background: rgba(162, 105, 27, 0.14); color: var(--warn); }
|
|
392
|
+
|
|
393
|
+
.blocks.view-original .block,
|
|
394
|
+
.blocks.view-translation .block {
|
|
395
|
+
grid-template-columns: minmax(0, 1fr);
|
|
396
|
+
}
|
|
397
|
+
.blocks.view-original .trans { display: none; }
|
|
398
|
+
.blocks.view-translation .orig { display: none; }
|
|
399
|
+
.blocks.view-translation .trans { padding-left: 0; border-left: 0; }
|
|
400
|
+
|
|
401
|
+
/* Default reading mode: the translation sits directly under each paragraph. */
|
|
402
|
+
.blocks.view-inline .block {
|
|
403
|
+
display: block;
|
|
404
|
+
padding: 18px 0;
|
|
405
|
+
}
|
|
406
|
+
.blocks.view-inline .trans {
|
|
407
|
+
margin-top: 10px;
|
|
408
|
+
padding: 10px 14px;
|
|
409
|
+
border-left: 3px solid var(--accent);
|
|
410
|
+
border-radius: 0 10px 10px 0;
|
|
411
|
+
background: var(--accent-soft);
|
|
412
|
+
}
|
|
413
|
+
|
|
414
|
+
.dialog {
|
|
415
|
+
width: min(560px, calc(100vw - 40px));
|
|
416
|
+
border: 1px solid var(--border);
|
|
417
|
+
border-radius: 16px;
|
|
418
|
+
background: var(--panel);
|
|
419
|
+
color: var(--text);
|
|
420
|
+
padding: 18px 20px 20px;
|
|
421
|
+
box-shadow: var(--shadow);
|
|
422
|
+
}
|
|
423
|
+
|
|
424
|
+
.dialog::backdrop { background: rgba(0, 0, 0, 0.35); }
|
|
425
|
+
.dialog-head { display: flex; align-items: center; justify-content: space-between; }
|
|
426
|
+
.dialog-head h2 { margin: 0; font-size: 18px; }
|
|
427
|
+
.dialog-hint { color: var(--muted); font-size: 12px; margin: 6px 0 12px; }
|
|
428
|
+
|
|
429
|
+
.glossary-list {
|
|
430
|
+
max-height: 300px;
|
|
431
|
+
overflow-y: auto;
|
|
432
|
+
display: flex;
|
|
433
|
+
flex-direction: column;
|
|
434
|
+
gap: 6px;
|
|
435
|
+
margin-bottom: 12px;
|
|
436
|
+
}
|
|
437
|
+
|
|
438
|
+
.glossary-item {
|
|
439
|
+
display: flex;
|
|
440
|
+
align-items: center;
|
|
441
|
+
gap: 8px;
|
|
442
|
+
padding: 7px 10px;
|
|
443
|
+
border: 1px solid var(--border);
|
|
444
|
+
border-radius: 9px;
|
|
445
|
+
background: var(--bg);
|
|
446
|
+
font-size: 13px;
|
|
447
|
+
}
|
|
448
|
+
|
|
449
|
+
.glossary-term { font-weight: 600; }
|
|
450
|
+
.glossary-arrow { color: var(--muted); }
|
|
451
|
+
.glossary-target { color: var(--accent); }
|
|
452
|
+
.glossary-note { color: var(--muted); font-size: 11px; margin-left: auto; }
|
|
453
|
+
.glossary-item .icon-button { margin-left: auto; }
|
|
454
|
+
.glossary-item .glossary-note + .icon-button { margin-left: 6px; }
|
|
455
|
+
|
|
456
|
+
.glossary-form {
|
|
457
|
+
display: grid;
|
|
458
|
+
grid-template-columns: 1fr 1fr;
|
|
459
|
+
gap: 8px;
|
|
460
|
+
}
|
|
461
|
+
.glossary-form input {
|
|
462
|
+
padding: 8px 10px;
|
|
463
|
+
border: 1px solid var(--border);
|
|
464
|
+
border-radius: 9px;
|
|
465
|
+
background: var(--bg);
|
|
466
|
+
min-width: 0;
|
|
467
|
+
}
|
|
468
|
+
.glossary-form input#term-note { grid-column: 1 / -1; }
|
|
469
|
+
.glossary-form .button { grid-column: 1 / -1; justify-self: start; }
|
|
470
|
+
|
|
471
|
+
@media (max-width: 860px) {
|
|
472
|
+
.topbar { padding: 12px 14px; }
|
|
473
|
+
.composer { padding: 12px 14px 8px; }
|
|
474
|
+
.composer form { flex-wrap: wrap; }
|
|
475
|
+
#url-input { flex: 1 1 100%; }
|
|
476
|
+
.layout { grid-template-columns: 1fr; }
|
|
477
|
+
.sidebar {
|
|
478
|
+
border-right: 0;
|
|
479
|
+
border-bottom: 1px solid var(--border);
|
|
480
|
+
max-height: 190px;
|
|
481
|
+
}
|
|
482
|
+
.docs { flex-direction: row; overflow-x: auto; }
|
|
483
|
+
.doc-item { min-width: 190px; }
|
|
484
|
+
.reader { padding: 18px 14px 60px; }
|
|
485
|
+
.block { grid-template-columns: 1fr; gap: 10px; }
|
|
486
|
+
.trans { padding-left: 12px; }
|
|
487
|
+
.doc-heading h2 { font-size: 21px; }
|
|
488
|
+
}
|