@dsh-plugin/dsh-synapse 0.1.0-dev.41044228975 → 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.
- package/LICENSE +661 -661
- package/README.md +0 -14
- package/package.json +1 -1
- package/vendor/gugle-chat-bot/LICENSE +661 -661
- package/vendor/gugle-chat-bot/package.json +57 -57
- package/vendor/gugle-chat-bot/src/allow-rule.yml +9345 -9345
- package/vendor/gugle-chat-bot/src/api.json +4284 -4284
- package/vendor/gugle-chat-bot/src/command/index.ts +141 -141
- package/vendor/gugle-chat-bot/src/config/features.ts +547 -547
- package/vendor/gugle-chat-bot/src/config/index.ts +184 -184
- package/vendor/gugle-chat-bot/src/config/manager.ts +356 -356
- package/vendor/gugle-chat-bot/src/constants/index.ts +13 -13
- package/vendor/gugle-chat-bot/src/custom.ts +548 -548
- package/vendor/gugle-chat-bot/src/event/index.ts +118 -118
- package/vendor/gugle-chat-bot/src/features/admin/index.ts +414 -414
- package/vendor/gugle-chat-bot/src/features/bili/image/impl/video.ts +39 -39
- package/vendor/gugle-chat-bot/src/features/bili/image/index.ts +37 -37
- package/vendor/gugle-chat-bot/src/features/bili/index.ts +65 -65
- package/vendor/gugle-chat-bot/src/features/bili/template/style/video.css +97 -97
- package/vendor/gugle-chat-bot/src/features/bili/template/video.html +56 -56
- package/vendor/gugle-chat-bot/src/features/discord-bridge/index.ts +1128 -1128
- package/vendor/gugle-chat-bot/src/features/discord-bridge/markdown.ts +105 -105
- package/vendor/gugle-chat-bot/src/features/discord-bridge/slash.ts +355 -355
- package/vendor/gugle-chat-bot/src/features/discord-bridge/source.ts +96 -96
- package/vendor/gugle-chat-bot/src/features/discord-bridge/template/message.html +14 -14
- package/vendor/gugle-chat-bot/src/features/discord-bridge/template/style/message.css +144 -144
- package/vendor/gugle-chat-bot/src/features/github/api.ts +93 -93
- package/vendor/gugle-chat-bot/src/features/github/binding.ts +161 -161
- package/vendor/gugle-chat-bot/src/features/github/image/impl/issue.ts +132 -132
- package/vendor/gugle-chat-bot/src/features/github/image/impl/pr.ts +144 -144
- package/vendor/gugle-chat-bot/src/features/github/image/impl/release.ts +160 -160
- package/vendor/gugle-chat-bot/src/features/github/image/index.ts +310 -310
- package/vendor/gugle-chat-bot/src/features/github/index.ts +302 -302
- package/vendor/gugle-chat-bot/src/features/github/template/issue.html +118 -118
- package/vendor/gugle-chat-bot/src/features/github/template/pull_request.html +125 -125
- package/vendor/gugle-chat-bot/src/features/github/template/release.html +53 -53
- package/vendor/gugle-chat-bot/src/features/github/template/style/issue.css +468 -468
- package/vendor/gugle-chat-bot/src/features/github/template/style/pull_request.css +468 -468
- package/vendor/gugle-chat-bot/src/features/github/template/style/release.css +412 -412
- package/vendor/gugle-chat-bot/src/features/hermes/client.ts +184 -184
- package/vendor/gugle-chat-bot/src/features/hermes/config.ts +210 -210
- package/vendor/gugle-chat-bot/src/features/hermes/context.ts +67 -67
- package/vendor/gugle-chat-bot/src/features/hermes/history.ts +86 -86
- package/vendor/gugle-chat-bot/src/features/hermes/index.ts +1533 -1533
- package/vendor/gugle-chat-bot/src/features/hermes/message.ts +319 -319
- package/vendor/gugle-chat-bot/src/features/hermes/reaction.ts +181 -181
- package/vendor/gugle-chat-bot/src/features/hermes/render.ts +118 -118
- package/vendor/gugle-chat-bot/src/features/hermes/reply-units.ts +331 -331
- package/vendor/gugle-chat-bot/src/features/hermes/skills.ts +406 -406
- package/vendor/gugle-chat-bot/src/features/hermes/template/approval.html +30 -30
- package/vendor/gugle-chat-bot/src/features/hermes/template/progress.html +21 -21
- package/vendor/gugle-chat-bot/src/features/hermes/template/style/approval.css +81 -81
- package/vendor/gugle-chat-bot/src/features/hermes/template/style/progress.css +120 -120
- package/vendor/gugle-chat-bot/src/features/hermes/trigger.ts +86 -86
- package/vendor/gugle-chat-bot/src/features/hermes/types.ts +327 -327
- package/vendor/gugle-chat-bot/src/features/management/index.ts +156 -156
- package/vendor/gugle-chat-bot/src/features/minecraft/index.ts +127 -127
- package/vendor/gugle-chat-bot/src/features/modrinth/index.ts +71 -71
- package/vendor/gugle-chat-bot/src/features/parentheses/index.ts +117 -117
- package/vendor/gugle-chat-bot/src/features/peak-valley-timer/index.ts +451 -451
- package/vendor/gugle-chat-bot/src/features/poke/index.ts +24 -24
- package/vendor/gugle-chat-bot/src/features/version-tracker/index.ts +77 -77
- package/vendor/gugle-chat-bot/src/features/welcome/index.ts +57 -57
- package/vendor/gugle-chat-bot/src/github-ip.json +5814 -5814
- package/vendor/gugle-chat-bot/src/image/index.ts +278 -278
- package/vendor/gugle-chat-bot/src/index.ts +695 -695
- package/vendor/gugle-chat-bot/src/logger/index.ts +54 -54
- package/vendor/gugle-chat-bot/src/result.json +359 -359
- package/vendor/gugle-chat-bot/src/type/bili.d.ts +825 -825
- package/vendor/gugle-chat-bot/src/type/event.d.ts +146 -146
- package/vendor/gugle-chat-bot/src/type/github.d.ts +446 -446
- package/vendor/gugle-chat-bot/src/type/index.d.ts +254 -254
- package/vendor/gugle-chat-bot/tsconfig.json +46 -46
- package/scripts/dump-npm-latest.mjs +0 -30
|
@@ -1,412 +1,412 @@
|
|
|
1
|
-
* {
|
|
2
|
-
font-family: "Sarasa Fixed SC", sans-serif;
|
|
3
|
-
margin: 0;
|
|
4
|
-
box-sizing: border-box;
|
|
5
|
-
--fontStack-monospace: ui-monospace, SFMono-Regular, SF Mono, Menlo, Consolas, Liberation Mono, monospace;
|
|
6
|
-
--fontStack-sansSerif: -apple-system, BlinkMacSystemFont, "Segoe UI", "Noto Sans", Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji"
|
|
7
|
-
}
|
|
8
|
-
|
|
9
|
-
body {
|
|
10
|
-
margin: 10px;
|
|
11
|
-
font-family: var(--fontStack-sansSerif), serif;
|
|
12
|
-
font-size: .875rem;
|
|
13
|
-
font-weight: 400;
|
|
14
|
-
color: #1f2328;
|
|
15
|
-
background-color: #fff;
|
|
16
|
-
line-height: 1.5;
|
|
17
|
-
padding-top: 0;
|
|
18
|
-
padding-bottom: 0;
|
|
19
|
-
}
|
|
20
|
-
|
|
21
|
-
.message {
|
|
22
|
-
display: inline-block;
|
|
23
|
-
}
|
|
24
|
-
|
|
25
|
-
.user {
|
|
26
|
-
display: inline-block;
|
|
27
|
-
font-weight: bold;
|
|
28
|
-
}
|
|
29
|
-
|
|
30
|
-
.repository_header {
|
|
31
|
-
display: flex;
|
|
32
|
-
align-items: center;
|
|
33
|
-
gap: .5rem;
|
|
34
|
-
min-height: 52px;
|
|
35
|
-
padding: .65rem 1.2rem;
|
|
36
|
-
color: #f0f6fc;
|
|
37
|
-
background: #161b22;
|
|
38
|
-
font-size: 1rem;
|
|
39
|
-
line-height: 1.25;
|
|
40
|
-
overflow: hidden;
|
|
41
|
-
}
|
|
42
|
-
|
|
43
|
-
.repository_mark {
|
|
44
|
-
width: 30px;
|
|
45
|
-
height: 30px;
|
|
46
|
-
margin-right: .2rem;
|
|
47
|
-
flex: 0 0 auto;
|
|
48
|
-
fill: #f0f6fc;
|
|
49
|
-
}
|
|
50
|
-
|
|
51
|
-
.repository_owner,
|
|
52
|
-
.repository_name {
|
|
53
|
-
overflow: hidden;
|
|
54
|
-
text-overflow: ellipsis;
|
|
55
|
-
white-space: nowrap;
|
|
56
|
-
}
|
|
57
|
-
|
|
58
|
-
.repository_owner {
|
|
59
|
-
color: #c9d1d9;
|
|
60
|
-
}
|
|
61
|
-
|
|
62
|
-
.repository_separator {
|
|
63
|
-
color: #8b949e;
|
|
64
|
-
}
|
|
65
|
-
|
|
66
|
-
.repository_name {
|
|
67
|
-
color: #f0f6fc;
|
|
68
|
-
}
|
|
69
|
-
|
|
70
|
-
.repository_chevron {
|
|
71
|
-
display: inline-flex;
|
|
72
|
-
align-items: center;
|
|
73
|
-
margin-left: .1rem;
|
|
74
|
-
}
|
|
75
|
-
|
|
76
|
-
.repository_chevron svg {
|
|
77
|
-
width: 16px;
|
|
78
|
-
height: 16px;
|
|
79
|
-
fill: #8b949e;
|
|
80
|
-
}
|
|
81
|
-
|
|
82
|
-
.container {
|
|
83
|
-
padding: 0 1.5rem;
|
|
84
|
-
width: 100%;
|
|
85
|
-
max-width: 1280px;
|
|
86
|
-
display: block;
|
|
87
|
-
word-wrap: break-word;
|
|
88
|
-
}
|
|
89
|
-
|
|
90
|
-
.release_header {
|
|
91
|
-
padding: 1.5rem 0 1rem;
|
|
92
|
-
}
|
|
93
|
-
|
|
94
|
-
.release_title_row {
|
|
95
|
-
display: flex;
|
|
96
|
-
align-items: center;
|
|
97
|
-
flex-flow: wrap;
|
|
98
|
-
gap: .5rem;
|
|
99
|
-
}
|
|
100
|
-
|
|
101
|
-
.release_title {
|
|
102
|
-
font-size: 1.75rem;
|
|
103
|
-
font-weight: 600;
|
|
104
|
-
line-height: 1.25;
|
|
105
|
-
margin: 0;
|
|
106
|
-
}
|
|
107
|
-
|
|
108
|
-
/* 「Latest」徽章 */
|
|
109
|
-
.release_badge {
|
|
110
|
-
display: inline-flex;
|
|
111
|
-
align-items: center;
|
|
112
|
-
gap: .25rem;
|
|
113
|
-
padding: 0 .5rem;
|
|
114
|
-
height: 24px;
|
|
115
|
-
font-size: 12px;
|
|
116
|
-
font-weight: 600;
|
|
117
|
-
color: #1a7f37;
|
|
118
|
-
border: 1px solid #1a7f3755;
|
|
119
|
-
background-color: #1a7f371a;
|
|
120
|
-
border-radius: 999px;
|
|
121
|
-
white-space: nowrap;
|
|
122
|
-
}
|
|
123
|
-
|
|
124
|
-
.release_badge_prerelease {
|
|
125
|
-
color: #9a6700;
|
|
126
|
-
border-color: #9a670055;
|
|
127
|
-
background-color: #9a67001a;
|
|
128
|
-
}
|
|
129
|
-
|
|
130
|
-
.release_tag_row {
|
|
131
|
-
display: flex;
|
|
132
|
-
align-items: center;
|
|
133
|
-
gap: .375rem;
|
|
134
|
-
margin-top: .5rem;
|
|
135
|
-
font-size: .875rem;
|
|
136
|
-
}
|
|
137
|
-
|
|
138
|
-
.release_tag_icon {
|
|
139
|
-
width: 16px;
|
|
140
|
-
height: 16px;
|
|
141
|
-
fill: #59636e;
|
|
142
|
-
flex: 0 0 auto;
|
|
143
|
-
}
|
|
144
|
-
|
|
145
|
-
.release_tag_name {
|
|
146
|
-
font-family: var(--fontStack-monospace), serif;
|
|
147
|
-
color: #0969da;
|
|
148
|
-
background-color: #0969da1a;
|
|
149
|
-
border-radius: 6px;
|
|
150
|
-
padding: .125rem .375rem;
|
|
151
|
-
font-size: .75rem;
|
|
152
|
-
}
|
|
153
|
-
|
|
154
|
-
.release_tag_meta {
|
|
155
|
-
color: #59636e;
|
|
156
|
-
font-size: .75rem;
|
|
157
|
-
}
|
|
158
|
-
|
|
159
|
-
.release_meta_row {
|
|
160
|
-
display: flex;
|
|
161
|
-
align-items: center;
|
|
162
|
-
gap: .25rem;
|
|
163
|
-
margin-top: .75rem;
|
|
164
|
-
color: #59636e;
|
|
165
|
-
font-size: .875rem;
|
|
166
|
-
}
|
|
167
|
-
|
|
168
|
-
.release_author {
|
|
169
|
-
color: #1f2328;
|
|
170
|
-
font-weight: 600;
|
|
171
|
-
}
|
|
172
|
-
|
|
173
|
-
.header_body_splitter {
|
|
174
|
-
margin-left: auto;
|
|
175
|
-
margin-right: auto;
|
|
176
|
-
margin-bottom: 1.5rem;
|
|
177
|
-
}
|
|
178
|
-
|
|
179
|
-
.release_body {
|
|
180
|
-
display: flex;
|
|
181
|
-
flex-direction: column;
|
|
182
|
-
gap: 1.5rem;
|
|
183
|
-
padding-bottom: 1.25rem;
|
|
184
|
-
}
|
|
185
|
-
|
|
186
|
-
.content_container {
|
|
187
|
-
border-width: 1px;
|
|
188
|
-
border-style: solid;
|
|
189
|
-
border-color: #d1d9e0;
|
|
190
|
-
border-radius: 6px;
|
|
191
|
-
min-width: 0;
|
|
192
|
-
}
|
|
193
|
-
|
|
194
|
-
.content_body {
|
|
195
|
-
padding: 1rem;
|
|
196
|
-
|
|
197
|
-
img {
|
|
198
|
-
max-width: 100%;
|
|
199
|
-
height: auto;
|
|
200
|
-
}
|
|
201
|
-
}
|
|
202
|
-
|
|
203
|
-
/* 正文中的 issue/PR 引用(与 issue 卡片一致) */
|
|
204
|
-
.issue-ref {
|
|
205
|
-
display: inline;
|
|
206
|
-
}
|
|
207
|
-
|
|
208
|
-
.issue-ref-icon {
|
|
209
|
-
display: inline-flex;
|
|
210
|
-
align-items: center;
|
|
211
|
-
vertical-align: -2px;
|
|
212
|
-
margin-right: 3px;
|
|
213
|
-
}
|
|
214
|
-
|
|
215
|
-
.issue-ref-title {
|
|
216
|
-
color: #0969da;
|
|
217
|
-
font-weight: 500;
|
|
218
|
-
text-decoration: none;
|
|
219
|
-
}
|
|
220
|
-
|
|
221
|
-
.issue-ref-number {
|
|
222
|
-
color: #0969da;
|
|
223
|
-
text-decoration: none;
|
|
224
|
-
margin-left: 3px;
|
|
225
|
-
white-space: nowrap;
|
|
226
|
-
}
|
|
227
|
-
|
|
228
|
-
p {
|
|
229
|
-
margin: 0 0 1rem;
|
|
230
|
-
}
|
|
231
|
-
|
|
232
|
-
code {
|
|
233
|
-
tab-size: 4;
|
|
234
|
-
font-family: var(--fontStack-monospace), serif;
|
|
235
|
-
white-space: break-spaces;
|
|
236
|
-
background-color: #818b981f;
|
|
237
|
-
border-radius: 6px;
|
|
238
|
-
margin: 0;
|
|
239
|
-
padding: .2em .4em;
|
|
240
|
-
font-size: 85%;
|
|
241
|
-
}
|
|
242
|
-
|
|
243
|
-
pre {
|
|
244
|
-
background-color: #f6f8fa;
|
|
245
|
-
border-radius: 6px;
|
|
246
|
-
padding: 1rem;
|
|
247
|
-
overflow: auto;
|
|
248
|
-
margin: 0 0 1rem;
|
|
249
|
-
}
|
|
250
|
-
|
|
251
|
-
pre code {
|
|
252
|
-
background: transparent;
|
|
253
|
-
padding: 0;
|
|
254
|
-
font-size: 85%;
|
|
255
|
-
}
|
|
256
|
-
|
|
257
|
-
blockquote {
|
|
258
|
-
color: #59636e;
|
|
259
|
-
border-left: .25em solid #d1d9e0;
|
|
260
|
-
padding: 0 1em;
|
|
261
|
-
margin: 0;
|
|
262
|
-
}
|
|
263
|
-
|
|
264
|
-
div {
|
|
265
|
-
min-height: 0;
|
|
266
|
-
}
|
|
267
|
-
|
|
268
|
-
/* Assets 区块 */
|
|
269
|
-
.assets_section {
|
|
270
|
-
border: 1px solid #d1d9e0;
|
|
271
|
-
border-radius: 6px;
|
|
272
|
-
overflow: hidden;
|
|
273
|
-
}
|
|
274
|
-
|
|
275
|
-
.assets_header {
|
|
276
|
-
display: flex;
|
|
277
|
-
align-items: center;
|
|
278
|
-
gap: .5rem;
|
|
279
|
-
padding: .75rem 1rem;
|
|
280
|
-
background-color: #f6f8fa;
|
|
281
|
-
border-bottom: 1px solid #d1d9e0b3;
|
|
282
|
-
}
|
|
283
|
-
|
|
284
|
-
.assets_title {
|
|
285
|
-
font-size: .875rem;
|
|
286
|
-
font-weight: 600;
|
|
287
|
-
margin: 0;
|
|
288
|
-
}
|
|
289
|
-
|
|
290
|
-
.assets_count {
|
|
291
|
-
color: #59636e;
|
|
292
|
-
font-size: .75rem;
|
|
293
|
-
}
|
|
294
|
-
|
|
295
|
-
.assets_list {
|
|
296
|
-
display: flex;
|
|
297
|
-
flex-direction: column;
|
|
298
|
-
}
|
|
299
|
-
|
|
300
|
-
.asset_item {
|
|
301
|
-
display: flex;
|
|
302
|
-
align-items: center;
|
|
303
|
-
gap: .5rem;
|
|
304
|
-
padding: .75rem 1rem;
|
|
305
|
-
border-bottom: 1px solid #d1d9e0b3;
|
|
306
|
-
font-size: .875rem;
|
|
307
|
-
}
|
|
308
|
-
|
|
309
|
-
.asset_item:last-child {
|
|
310
|
-
border-bottom: none;
|
|
311
|
-
}
|
|
312
|
-
|
|
313
|
-
.asset_icon {
|
|
314
|
-
width: 16px;
|
|
315
|
-
height: 16px;
|
|
316
|
-
fill: #59636e;
|
|
317
|
-
flex: 0 0 auto;
|
|
318
|
-
}
|
|
319
|
-
|
|
320
|
-
.asset_name {
|
|
321
|
-
color: #0969da;
|
|
322
|
-
font-weight: 600;
|
|
323
|
-
text-decoration: none;
|
|
324
|
-
overflow: hidden;
|
|
325
|
-
text-overflow: ellipsis;
|
|
326
|
-
white-space: nowrap;
|
|
327
|
-
}
|
|
328
|
-
|
|
329
|
-
.asset_size {
|
|
330
|
-
color: #59636e;
|
|
331
|
-
font-size: .75rem;
|
|
332
|
-
flex: 0 0 auto;
|
|
333
|
-
}
|
|
334
|
-
|
|
335
|
-
.asset_downloads {
|
|
336
|
-
color: #59636e;
|
|
337
|
-
font-size: .75rem;
|
|
338
|
-
flex: 0 0 auto;
|
|
339
|
-
}
|
|
340
|
-
|
|
341
|
-
.asset_spacer {
|
|
342
|
-
flex-grow: 1;
|
|
343
|
-
}
|
|
344
|
-
|
|
345
|
-
.empty_assets {
|
|
346
|
-
padding: .75rem 1rem;
|
|
347
|
-
color: #59636e;
|
|
348
|
-
font-size: .875rem;
|
|
349
|
-
}
|
|
350
|
-
|
|
351
|
-
h1, h2, h3 {
|
|
352
|
-
font-weight: 600;
|
|
353
|
-
}
|
|
354
|
-
|
|
355
|
-
h1 {
|
|
356
|
-
font-size: 1.5rem;
|
|
357
|
-
margin: 0 0 1rem;
|
|
358
|
-
padding-bottom: .3em;
|
|
359
|
-
border-bottom: 1px solid #d1d9e0b3;
|
|
360
|
-
}
|
|
361
|
-
|
|
362
|
-
h2 {
|
|
363
|
-
font-size: 1.25rem;
|
|
364
|
-
margin: 0 0 1rem;
|
|
365
|
-
padding-bottom: .3em;
|
|
366
|
-
border-bottom: 1px solid #d1d9e0b3;
|
|
367
|
-
}
|
|
368
|
-
|
|
369
|
-
h3 {
|
|
370
|
-
font-size: 1rem;
|
|
371
|
-
margin: 0 0 1rem;
|
|
372
|
-
}
|
|
373
|
-
|
|
374
|
-
ul, ol {
|
|
375
|
-
padding-left: 1.5rem;
|
|
376
|
-
margin: 0 0 1rem;
|
|
377
|
-
}
|
|
378
|
-
|
|
379
|
-
li + li {
|
|
380
|
-
margin-top: .25rem;
|
|
381
|
-
}
|
|
382
|
-
|
|
383
|
-
a {
|
|
384
|
-
color: #0969da;
|
|
385
|
-
text-decoration: none;
|
|
386
|
-
}
|
|
387
|
-
|
|
388
|
-
table {
|
|
389
|
-
border-collapse: collapse;
|
|
390
|
-
margin: 0 0 1rem;
|
|
391
|
-
width: auto;
|
|
392
|
-
}
|
|
393
|
-
|
|
394
|
-
th, td {
|
|
395
|
-
border: 1px solid #d1d9e0;
|
|
396
|
-
padding: .375rem .75rem;
|
|
397
|
-
}
|
|
398
|
-
|
|
399
|
-
th {
|
|
400
|
-
background-color: #f6f8fa;
|
|
401
|
-
font-weight: 600;
|
|
402
|
-
}
|
|
403
|
-
|
|
404
|
-
img {
|
|
405
|
-
max-width: 100%;
|
|
406
|
-
}
|
|
407
|
-
|
|
408
|
-
hr {
|
|
409
|
-
border: none;
|
|
410
|
-
border-top: 1px solid #d1d9e0b3;
|
|
411
|
-
margin: 1.5rem 0;
|
|
412
|
-
}
|
|
1
|
+
* {
|
|
2
|
+
font-family: "Sarasa Fixed SC", sans-serif;
|
|
3
|
+
margin: 0;
|
|
4
|
+
box-sizing: border-box;
|
|
5
|
+
--fontStack-monospace: ui-monospace, SFMono-Regular, SF Mono, Menlo, Consolas, Liberation Mono, monospace;
|
|
6
|
+
--fontStack-sansSerif: -apple-system, BlinkMacSystemFont, "Segoe UI", "Noto Sans", Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji"
|
|
7
|
+
}
|
|
8
|
+
|
|
9
|
+
body {
|
|
10
|
+
margin: 10px;
|
|
11
|
+
font-family: var(--fontStack-sansSerif), serif;
|
|
12
|
+
font-size: .875rem;
|
|
13
|
+
font-weight: 400;
|
|
14
|
+
color: #1f2328;
|
|
15
|
+
background-color: #fff;
|
|
16
|
+
line-height: 1.5;
|
|
17
|
+
padding-top: 0;
|
|
18
|
+
padding-bottom: 0;
|
|
19
|
+
}
|
|
20
|
+
|
|
21
|
+
.message {
|
|
22
|
+
display: inline-block;
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
.user {
|
|
26
|
+
display: inline-block;
|
|
27
|
+
font-weight: bold;
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
.repository_header {
|
|
31
|
+
display: flex;
|
|
32
|
+
align-items: center;
|
|
33
|
+
gap: .5rem;
|
|
34
|
+
min-height: 52px;
|
|
35
|
+
padding: .65rem 1.2rem;
|
|
36
|
+
color: #f0f6fc;
|
|
37
|
+
background: #161b22;
|
|
38
|
+
font-size: 1rem;
|
|
39
|
+
line-height: 1.25;
|
|
40
|
+
overflow: hidden;
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
.repository_mark {
|
|
44
|
+
width: 30px;
|
|
45
|
+
height: 30px;
|
|
46
|
+
margin-right: .2rem;
|
|
47
|
+
flex: 0 0 auto;
|
|
48
|
+
fill: #f0f6fc;
|
|
49
|
+
}
|
|
50
|
+
|
|
51
|
+
.repository_owner,
|
|
52
|
+
.repository_name {
|
|
53
|
+
overflow: hidden;
|
|
54
|
+
text-overflow: ellipsis;
|
|
55
|
+
white-space: nowrap;
|
|
56
|
+
}
|
|
57
|
+
|
|
58
|
+
.repository_owner {
|
|
59
|
+
color: #c9d1d9;
|
|
60
|
+
}
|
|
61
|
+
|
|
62
|
+
.repository_separator {
|
|
63
|
+
color: #8b949e;
|
|
64
|
+
}
|
|
65
|
+
|
|
66
|
+
.repository_name {
|
|
67
|
+
color: #f0f6fc;
|
|
68
|
+
}
|
|
69
|
+
|
|
70
|
+
.repository_chevron {
|
|
71
|
+
display: inline-flex;
|
|
72
|
+
align-items: center;
|
|
73
|
+
margin-left: .1rem;
|
|
74
|
+
}
|
|
75
|
+
|
|
76
|
+
.repository_chevron svg {
|
|
77
|
+
width: 16px;
|
|
78
|
+
height: 16px;
|
|
79
|
+
fill: #8b949e;
|
|
80
|
+
}
|
|
81
|
+
|
|
82
|
+
.container {
|
|
83
|
+
padding: 0 1.5rem;
|
|
84
|
+
width: 100%;
|
|
85
|
+
max-width: 1280px;
|
|
86
|
+
display: block;
|
|
87
|
+
word-wrap: break-word;
|
|
88
|
+
}
|
|
89
|
+
|
|
90
|
+
.release_header {
|
|
91
|
+
padding: 1.5rem 0 1rem;
|
|
92
|
+
}
|
|
93
|
+
|
|
94
|
+
.release_title_row {
|
|
95
|
+
display: flex;
|
|
96
|
+
align-items: center;
|
|
97
|
+
flex-flow: wrap;
|
|
98
|
+
gap: .5rem;
|
|
99
|
+
}
|
|
100
|
+
|
|
101
|
+
.release_title {
|
|
102
|
+
font-size: 1.75rem;
|
|
103
|
+
font-weight: 600;
|
|
104
|
+
line-height: 1.25;
|
|
105
|
+
margin: 0;
|
|
106
|
+
}
|
|
107
|
+
|
|
108
|
+
/* 「Latest」徽章 */
|
|
109
|
+
.release_badge {
|
|
110
|
+
display: inline-flex;
|
|
111
|
+
align-items: center;
|
|
112
|
+
gap: .25rem;
|
|
113
|
+
padding: 0 .5rem;
|
|
114
|
+
height: 24px;
|
|
115
|
+
font-size: 12px;
|
|
116
|
+
font-weight: 600;
|
|
117
|
+
color: #1a7f37;
|
|
118
|
+
border: 1px solid #1a7f3755;
|
|
119
|
+
background-color: #1a7f371a;
|
|
120
|
+
border-radius: 999px;
|
|
121
|
+
white-space: nowrap;
|
|
122
|
+
}
|
|
123
|
+
|
|
124
|
+
.release_badge_prerelease {
|
|
125
|
+
color: #9a6700;
|
|
126
|
+
border-color: #9a670055;
|
|
127
|
+
background-color: #9a67001a;
|
|
128
|
+
}
|
|
129
|
+
|
|
130
|
+
.release_tag_row {
|
|
131
|
+
display: flex;
|
|
132
|
+
align-items: center;
|
|
133
|
+
gap: .375rem;
|
|
134
|
+
margin-top: .5rem;
|
|
135
|
+
font-size: .875rem;
|
|
136
|
+
}
|
|
137
|
+
|
|
138
|
+
.release_tag_icon {
|
|
139
|
+
width: 16px;
|
|
140
|
+
height: 16px;
|
|
141
|
+
fill: #59636e;
|
|
142
|
+
flex: 0 0 auto;
|
|
143
|
+
}
|
|
144
|
+
|
|
145
|
+
.release_tag_name {
|
|
146
|
+
font-family: var(--fontStack-monospace), serif;
|
|
147
|
+
color: #0969da;
|
|
148
|
+
background-color: #0969da1a;
|
|
149
|
+
border-radius: 6px;
|
|
150
|
+
padding: .125rem .375rem;
|
|
151
|
+
font-size: .75rem;
|
|
152
|
+
}
|
|
153
|
+
|
|
154
|
+
.release_tag_meta {
|
|
155
|
+
color: #59636e;
|
|
156
|
+
font-size: .75rem;
|
|
157
|
+
}
|
|
158
|
+
|
|
159
|
+
.release_meta_row {
|
|
160
|
+
display: flex;
|
|
161
|
+
align-items: center;
|
|
162
|
+
gap: .25rem;
|
|
163
|
+
margin-top: .75rem;
|
|
164
|
+
color: #59636e;
|
|
165
|
+
font-size: .875rem;
|
|
166
|
+
}
|
|
167
|
+
|
|
168
|
+
.release_author {
|
|
169
|
+
color: #1f2328;
|
|
170
|
+
font-weight: 600;
|
|
171
|
+
}
|
|
172
|
+
|
|
173
|
+
.header_body_splitter {
|
|
174
|
+
margin-left: auto;
|
|
175
|
+
margin-right: auto;
|
|
176
|
+
margin-bottom: 1.5rem;
|
|
177
|
+
}
|
|
178
|
+
|
|
179
|
+
.release_body {
|
|
180
|
+
display: flex;
|
|
181
|
+
flex-direction: column;
|
|
182
|
+
gap: 1.5rem;
|
|
183
|
+
padding-bottom: 1.25rem;
|
|
184
|
+
}
|
|
185
|
+
|
|
186
|
+
.content_container {
|
|
187
|
+
border-width: 1px;
|
|
188
|
+
border-style: solid;
|
|
189
|
+
border-color: #d1d9e0;
|
|
190
|
+
border-radius: 6px;
|
|
191
|
+
min-width: 0;
|
|
192
|
+
}
|
|
193
|
+
|
|
194
|
+
.content_body {
|
|
195
|
+
padding: 1rem;
|
|
196
|
+
|
|
197
|
+
img {
|
|
198
|
+
max-width: 100%;
|
|
199
|
+
height: auto;
|
|
200
|
+
}
|
|
201
|
+
}
|
|
202
|
+
|
|
203
|
+
/* 正文中的 issue/PR 引用(与 issue 卡片一致) */
|
|
204
|
+
.issue-ref {
|
|
205
|
+
display: inline;
|
|
206
|
+
}
|
|
207
|
+
|
|
208
|
+
.issue-ref-icon {
|
|
209
|
+
display: inline-flex;
|
|
210
|
+
align-items: center;
|
|
211
|
+
vertical-align: -2px;
|
|
212
|
+
margin-right: 3px;
|
|
213
|
+
}
|
|
214
|
+
|
|
215
|
+
.issue-ref-title {
|
|
216
|
+
color: #0969da;
|
|
217
|
+
font-weight: 500;
|
|
218
|
+
text-decoration: none;
|
|
219
|
+
}
|
|
220
|
+
|
|
221
|
+
.issue-ref-number {
|
|
222
|
+
color: #0969da;
|
|
223
|
+
text-decoration: none;
|
|
224
|
+
margin-left: 3px;
|
|
225
|
+
white-space: nowrap;
|
|
226
|
+
}
|
|
227
|
+
|
|
228
|
+
p {
|
|
229
|
+
margin: 0 0 1rem;
|
|
230
|
+
}
|
|
231
|
+
|
|
232
|
+
code {
|
|
233
|
+
tab-size: 4;
|
|
234
|
+
font-family: var(--fontStack-monospace), serif;
|
|
235
|
+
white-space: break-spaces;
|
|
236
|
+
background-color: #818b981f;
|
|
237
|
+
border-radius: 6px;
|
|
238
|
+
margin: 0;
|
|
239
|
+
padding: .2em .4em;
|
|
240
|
+
font-size: 85%;
|
|
241
|
+
}
|
|
242
|
+
|
|
243
|
+
pre {
|
|
244
|
+
background-color: #f6f8fa;
|
|
245
|
+
border-radius: 6px;
|
|
246
|
+
padding: 1rem;
|
|
247
|
+
overflow: auto;
|
|
248
|
+
margin: 0 0 1rem;
|
|
249
|
+
}
|
|
250
|
+
|
|
251
|
+
pre code {
|
|
252
|
+
background: transparent;
|
|
253
|
+
padding: 0;
|
|
254
|
+
font-size: 85%;
|
|
255
|
+
}
|
|
256
|
+
|
|
257
|
+
blockquote {
|
|
258
|
+
color: #59636e;
|
|
259
|
+
border-left: .25em solid #d1d9e0;
|
|
260
|
+
padding: 0 1em;
|
|
261
|
+
margin: 0;
|
|
262
|
+
}
|
|
263
|
+
|
|
264
|
+
div {
|
|
265
|
+
min-height: 0;
|
|
266
|
+
}
|
|
267
|
+
|
|
268
|
+
/* Assets 区块 */
|
|
269
|
+
.assets_section {
|
|
270
|
+
border: 1px solid #d1d9e0;
|
|
271
|
+
border-radius: 6px;
|
|
272
|
+
overflow: hidden;
|
|
273
|
+
}
|
|
274
|
+
|
|
275
|
+
.assets_header {
|
|
276
|
+
display: flex;
|
|
277
|
+
align-items: center;
|
|
278
|
+
gap: .5rem;
|
|
279
|
+
padding: .75rem 1rem;
|
|
280
|
+
background-color: #f6f8fa;
|
|
281
|
+
border-bottom: 1px solid #d1d9e0b3;
|
|
282
|
+
}
|
|
283
|
+
|
|
284
|
+
.assets_title {
|
|
285
|
+
font-size: .875rem;
|
|
286
|
+
font-weight: 600;
|
|
287
|
+
margin: 0;
|
|
288
|
+
}
|
|
289
|
+
|
|
290
|
+
.assets_count {
|
|
291
|
+
color: #59636e;
|
|
292
|
+
font-size: .75rem;
|
|
293
|
+
}
|
|
294
|
+
|
|
295
|
+
.assets_list {
|
|
296
|
+
display: flex;
|
|
297
|
+
flex-direction: column;
|
|
298
|
+
}
|
|
299
|
+
|
|
300
|
+
.asset_item {
|
|
301
|
+
display: flex;
|
|
302
|
+
align-items: center;
|
|
303
|
+
gap: .5rem;
|
|
304
|
+
padding: .75rem 1rem;
|
|
305
|
+
border-bottom: 1px solid #d1d9e0b3;
|
|
306
|
+
font-size: .875rem;
|
|
307
|
+
}
|
|
308
|
+
|
|
309
|
+
.asset_item:last-child {
|
|
310
|
+
border-bottom: none;
|
|
311
|
+
}
|
|
312
|
+
|
|
313
|
+
.asset_icon {
|
|
314
|
+
width: 16px;
|
|
315
|
+
height: 16px;
|
|
316
|
+
fill: #59636e;
|
|
317
|
+
flex: 0 0 auto;
|
|
318
|
+
}
|
|
319
|
+
|
|
320
|
+
.asset_name {
|
|
321
|
+
color: #0969da;
|
|
322
|
+
font-weight: 600;
|
|
323
|
+
text-decoration: none;
|
|
324
|
+
overflow: hidden;
|
|
325
|
+
text-overflow: ellipsis;
|
|
326
|
+
white-space: nowrap;
|
|
327
|
+
}
|
|
328
|
+
|
|
329
|
+
.asset_size {
|
|
330
|
+
color: #59636e;
|
|
331
|
+
font-size: .75rem;
|
|
332
|
+
flex: 0 0 auto;
|
|
333
|
+
}
|
|
334
|
+
|
|
335
|
+
.asset_downloads {
|
|
336
|
+
color: #59636e;
|
|
337
|
+
font-size: .75rem;
|
|
338
|
+
flex: 0 0 auto;
|
|
339
|
+
}
|
|
340
|
+
|
|
341
|
+
.asset_spacer {
|
|
342
|
+
flex-grow: 1;
|
|
343
|
+
}
|
|
344
|
+
|
|
345
|
+
.empty_assets {
|
|
346
|
+
padding: .75rem 1rem;
|
|
347
|
+
color: #59636e;
|
|
348
|
+
font-size: .875rem;
|
|
349
|
+
}
|
|
350
|
+
|
|
351
|
+
h1, h2, h3 {
|
|
352
|
+
font-weight: 600;
|
|
353
|
+
}
|
|
354
|
+
|
|
355
|
+
h1 {
|
|
356
|
+
font-size: 1.5rem;
|
|
357
|
+
margin: 0 0 1rem;
|
|
358
|
+
padding-bottom: .3em;
|
|
359
|
+
border-bottom: 1px solid #d1d9e0b3;
|
|
360
|
+
}
|
|
361
|
+
|
|
362
|
+
h2 {
|
|
363
|
+
font-size: 1.25rem;
|
|
364
|
+
margin: 0 0 1rem;
|
|
365
|
+
padding-bottom: .3em;
|
|
366
|
+
border-bottom: 1px solid #d1d9e0b3;
|
|
367
|
+
}
|
|
368
|
+
|
|
369
|
+
h3 {
|
|
370
|
+
font-size: 1rem;
|
|
371
|
+
margin: 0 0 1rem;
|
|
372
|
+
}
|
|
373
|
+
|
|
374
|
+
ul, ol {
|
|
375
|
+
padding-left: 1.5rem;
|
|
376
|
+
margin: 0 0 1rem;
|
|
377
|
+
}
|
|
378
|
+
|
|
379
|
+
li + li {
|
|
380
|
+
margin-top: .25rem;
|
|
381
|
+
}
|
|
382
|
+
|
|
383
|
+
a {
|
|
384
|
+
color: #0969da;
|
|
385
|
+
text-decoration: none;
|
|
386
|
+
}
|
|
387
|
+
|
|
388
|
+
table {
|
|
389
|
+
border-collapse: collapse;
|
|
390
|
+
margin: 0 0 1rem;
|
|
391
|
+
width: auto;
|
|
392
|
+
}
|
|
393
|
+
|
|
394
|
+
th, td {
|
|
395
|
+
border: 1px solid #d1d9e0;
|
|
396
|
+
padding: .375rem .75rem;
|
|
397
|
+
}
|
|
398
|
+
|
|
399
|
+
th {
|
|
400
|
+
background-color: #f6f8fa;
|
|
401
|
+
font-weight: 600;
|
|
402
|
+
}
|
|
403
|
+
|
|
404
|
+
img {
|
|
405
|
+
max-width: 100%;
|
|
406
|
+
}
|
|
407
|
+
|
|
408
|
+
hr {
|
|
409
|
+
border: none;
|
|
410
|
+
border-top: 1px solid #d1d9e0b3;
|
|
411
|
+
margin: 1.5rem 0;
|
|
412
|
+
}
|