nonebot-plugin-l4d2-server 0.5.0__py3-none-any.whl → 0.5.2__py3-none-any.whl

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 (49) hide show
  1. LICENSE +674 -674
  2. README.md +365 -349
  3. nonebot_plugin_l4d2_server/__init__.py +1 -1
  4. nonebot_plugin_l4d2_server/chrome.py +45 -0
  5. nonebot_plugin_l4d2_server/command.py +232 -233
  6. nonebot_plugin_l4d2_server/config.py +210 -318
  7. nonebot_plugin_l4d2_server/data/L4D2/image/template/anne.html +60 -60
  8. nonebot_plugin_l4d2_server/data/L4D2/image/template/fingerprint.svg +15 -15
  9. nonebot_plugin_l4d2_server/data/L4D2/image/template/help.html +233 -233
  10. nonebot_plugin_l4d2_server/data/L4D2/image/template/help_dack.html +231 -231
  11. nonebot_plugin_l4d2_server/data/L4D2/image/template/ip.html +48 -48
  12. nonebot_plugin_l4d2_server/data/L4D2/image/template/l.svg +9 -9
  13. nonebot_plugin_l4d2_server/data/L4D2/image/template/vue.css +530 -530
  14. nonebot_plugin_l4d2_server/l4d2_anne/__init__.py +251 -251
  15. nonebot_plugin_l4d2_server/l4d2_anne/analysis.py +51 -51
  16. nonebot_plugin_l4d2_server/l4d2_anne/anne_telecom.py +75 -75
  17. nonebot_plugin_l4d2_server/l4d2_anne/server.py +65 -65
  18. nonebot_plugin_l4d2_server/l4d2_anne/startand.py +17 -17
  19. nonebot_plugin_l4d2_server/l4d2_data/__init__.py +91 -91
  20. nonebot_plugin_l4d2_server/l4d2_data/config.py +17 -17
  21. nonebot_plugin_l4d2_server/l4d2_data/players.py +87 -87
  22. nonebot_plugin_l4d2_server/l4d2_data/serverip.py +32 -32
  23. nonebot_plugin_l4d2_server/l4d2_file/__init__.py +122 -122
  24. nonebot_plugin_l4d2_server/l4d2_file/ayromote.py +56 -56
  25. nonebot_plugin_l4d2_server/l4d2_file/remote.py +63 -66
  26. nonebot_plugin_l4d2_server/l4d2_image/__init__.py +103 -103
  27. nonebot_plugin_l4d2_server/l4d2_image/download.py +101 -101
  28. nonebot_plugin_l4d2_server/l4d2_image/htmlimg.py +32 -32
  29. nonebot_plugin_l4d2_server/l4d2_image/send_image_tool.py +32 -32
  30. nonebot_plugin_l4d2_server/l4d2_image/steam.py +83 -83
  31. nonebot_plugin_l4d2_server/l4d2_image/vtfs.py +40 -40
  32. nonebot_plugin_l4d2_server/l4d2_queries/__init__.py +114 -114
  33. nonebot_plugin_l4d2_server/l4d2_queries/api.py +43 -43
  34. nonebot_plugin_l4d2_server/l4d2_queries/ohter.py +35 -25
  35. nonebot_plugin_l4d2_server/l4d2_queries/qqgroup.py +288 -288
  36. nonebot_plugin_l4d2_server/l4d2_server/__init__.py +61 -61
  37. nonebot_plugin_l4d2_server/l4d2_server/rcon.py +28 -28
  38. nonebot_plugin_l4d2_server/l4d2_server/workshop.py +50 -50
  39. nonebot_plugin_l4d2_server/l4d2_web/web.py +234 -234
  40. nonebot_plugin_l4d2_server/l4d2_web/webUI.py +241 -241
  41. nonebot_plugin_l4d2_server/message.py +58 -58
  42. nonebot_plugin_l4d2_server/seach.py +33 -33
  43. nonebot_plugin_l4d2_server/txt_to_img.py +64 -64
  44. nonebot_plugin_l4d2_server/utils.py +272 -272
  45. {nonebot_plugin_l4d2_server-0.5.0.dist-info → nonebot_plugin_l4d2_server-0.5.2.dist-info}/LICENSE +674 -674
  46. {nonebot_plugin_l4d2_server-0.5.0.dist-info → nonebot_plugin_l4d2_server-0.5.2.dist-info}/METADATA +47 -32
  47. nonebot_plugin_l4d2_server-0.5.2.dist-info/RECORD +54 -0
  48. nonebot_plugin_l4d2_server-0.5.0.dist-info/RECORD +0 -53
  49. {nonebot_plugin_l4d2_server-0.5.0.dist-info → nonebot_plugin_l4d2_server-0.5.2.dist-info}/WHEEL +0 -0
@@ -1,531 +1,531 @@
1
- @import 'vue/fonts.css';
2
-
3
- :root {
4
- --side-bar-bg-color: #fff;
5
- --control-text-color: #777;
6
- --font-sans-serif: 'Ubuntu', 'Source Sans Pro', sans-serif !important;
7
- --font-monospace: 'Fira Code', 'Roboto Mono', monospace !important;
8
- }
9
-
10
- html {
11
- font-size: 16px;
12
- }
13
-
14
- body {
15
- font-family: var(--font-sans-serif);
16
- color: #004d99;
17
- -webkit-font-smoothing: antialiased;
18
- line-height: 1.6rem;
19
- letter-spacing: 0;
20
- margin: 0;
21
- overflow-x: hidden;
22
- box-sizing: border-box;
23
- border-color: solid 50px rgb(0, 255, 42);
24
- }
25
-
26
- body::before {
27
- content: "";
28
- position: fixed;
29
- top: 0;
30
- left: 0;
31
- width: 100%;
32
- height: 100%;
33
- background-color: rgba(255, 255, 255, 0);
34
- z-index: -1;
35
- }
36
-
37
- #write {
38
- max-width: 860px;
39
- margin: 0 auto;
40
- padding: 20px 30px 100px;
41
- }
42
-
43
- #write p {
44
- line-height: 1.6rem;
45
- word-spacing: .05rem;
46
- }
47
-
48
- #write ol li {
49
- padding-left: 0.5rem;
50
- }
51
-
52
- #write > ul:first-child,
53
- #write > ol:first-child {
54
- margin-top: 30px;
55
- }
56
-
57
- body > *:first-child {
58
- margin-top: 0 !important;
59
- }
60
-
61
- body > *:last-child {
62
- margin-bottom: 0 !important;
63
- }
64
-
65
- a {
66
- color: #42b983;
67
- font-weight: 600;
68
- padding: 0 2px;
69
- text-decoration: none;
70
- }
71
-
72
- h1,
73
- h2,
74
- h3,
75
- h4,
76
- h5,
77
- h6 {
78
- position: relative;
79
- margin-top: 1rem;
80
- margin-bottom: 1rem;
81
- font-weight: bold;
82
- line-height: 1.4;
83
- cursor: text;
84
- }
85
-
86
- h1:hover a.anchor,
87
- h2:hover a.anchor,
88
- h3:hover a.anchor,
89
- h4:hover a.anchor,
90
- h5:hover a.anchor,
91
- h6:hover a.anchor {
92
- text-decoration: none;
93
- }
94
-
95
- h1 tt,
96
- h1 code {
97
- font-size: inherit !important;
98
- }
99
-
100
- h2 tt,
101
- h2 code {
102
- font-size: inherit !important;
103
- }
104
-
105
- h3 tt,
106
- h3 code {
107
- font-size: inherit !important;
108
- }
109
-
110
- h4 tt,
111
- h4 code {
112
- font-size: inherit !important;
113
- }
114
-
115
- h5 tt,
116
- h5 code {
117
- font-size: inherit !important;
118
- }
119
-
120
- h6 tt,
121
- h6 code {
122
- font-size: inherit !important;
123
- }
124
-
125
- h2 a,
126
- h3 a {
127
- color: #34495e;
128
- }
129
-
130
- h1 {
131
- padding-bottom: .4rem;
132
- font-size: 2.2rem;
133
- line-height: 1.3;
134
- }
135
-
136
- h2 {
137
- font-size: 1.75rem;
138
- line-height: 1.225;
139
- margin: 35px 0 15px;
140
- padding-bottom: 0.5em;
141
- border-bottom: 1px solid #ddd;
142
- }
143
-
144
- h3 {
145
- font-size: 1.4rem;
146
- line-height: 1.43;
147
- margin: 20px 0 7px;
148
- }
149
-
150
- h4 {
151
- font-size: 1.2rem;
152
- }
153
-
154
- h5 {
155
- font-size: 1rem;
156
- }
157
-
158
- h6 {
159
- font-size: 1rem;
160
- color: #777;
161
- }
162
-
163
- p,
164
- blockquote,
165
- ul,
166
- ol,
167
- dl,
168
- table {
169
- margin: 0.8em 0;
170
- }
171
-
172
- li > ol,
173
- li > ul {
174
- margin: 0 0;
175
- }
176
-
177
- hr {
178
- height: 2px;
179
- padding: 0;
180
- margin: 16px 0;
181
- background-color: #e7e7e7;
182
- border: 0 none;
183
- overflow: hidden;
184
- box-sizing: content-box;
185
- }
186
-
187
- body > h2:first-child {
188
- margin-top: 0;
189
- padding-top: 0;
190
- }
191
-
192
- body > h1:first-child {
193
- margin-top: 0;
194
- padding-top: 0;
195
- }
196
-
197
- body > h1:first-child + h2 {
198
- margin-top: 0;
199
- padding-top: 0;
200
- }
201
-
202
- body > h3:first-child,
203
- body > h4:first-child,
204
- body > h5:first-child,
205
- body > h6:first-child {
206
- margin-top: 0;
207
- padding-top: 0;
208
- }
209
-
210
- a:first-child h1,
211
- a:first-child h2,
212
- a:first-child h3,
213
- a:first-child h4,
214
- a:first-child h5,
215
- a:first-child h6 {
216
- margin-top: 0;
217
- padding-top: 0;
218
- }
219
-
220
- h1 p,
221
- h2 p,
222
- h3 p,
223
- h4 p,
224
- h5 p,
225
- h6 p {
226
- margin-top: 0;
227
- }
228
-
229
- li p.first {
230
- display: inline-block;
231
- }
232
-
233
- ul,
234
- ol {
235
- padding-left: 30px;
236
- }
237
-
238
- ul:first-child,
239
- ol:first-child {
240
- margin-top: 0;
241
- }
242
-
243
- ul:last-child,
244
- ol:last-child {
245
- margin-bottom: 0;
246
- }
247
-
248
- blockquote {
249
- border-left: 4px solid #42b983;
250
- padding: 10px 15px;
251
- color: #777;
252
- background-color: rgba(66, 185, 131, .1);
253
- }
254
-
255
- table {
256
- position: relative;
257
- }
258
- table::after {
259
- content: "";
260
- position: absolute;
261
- top: 0;
262
- left: 0;
263
- width: 100%;
264
- height: 100%;
265
- border-collapse: collapse;
266
- margin-top:50px;
267
- }
268
-
269
- table tr {
270
- border-top: 1px solid #dfe2e5;
271
- margin: 0;
272
- padding: 0;
273
- background: transparent;
274
- background-color: rgba(255, 255, 255, 0.5);
275
- }
276
-
277
- table tr th {
278
- color: #0080ff;
279
- font-weight: bold;
280
- border: 1px solid #00ff66;
281
- border-bottom: 0;
282
- text-align: left;
283
- margin: 0;
284
- padding: 6px 13px;
285
- /* background-color: rgba(255, 255, 255, 0.5); */
286
- }
287
- table tr td {
288
- color: #0080ff;
289
- border: 1px solid #00ff66;
290
- text-align: left;
291
- margin: 0;
292
- padding: 6px 13px;
293
- /* background-color: rgba(255, 255, 255, 0.5); */
294
- }
295
-
296
- table tr th:first-child,
297
- table tr td:first-child {
298
- margin-top: 0;
299
- }
300
-
301
- table tr th:last-child,
302
- table tr td:last-child {
303
- margin-bottom: 0;
304
- }
305
-
306
- #write strong {
307
- padding: 0 1px;
308
- }
309
-
310
- #write em {
311
- padding: 0 5px 0 2px;
312
- }
313
-
314
- #write table thead th {
315
- background-color: #f2f2f2;
316
- }
317
-
318
- #write .CodeMirror-gutters {
319
- border-right: none;
320
- }
321
-
322
- #write .md-fences {
323
- border: 1px solid #F4F4F4;
324
- -webkit-font-smoothing: initial;
325
- margin: 0.8rem 0 !important;
326
- padding: 0.3rem 0 !important;
327
- line-height: 1.43rem;
328
- background-color: #F8F8F8 !important;
329
- border-radius: 2px;
330
- font-family: var(--font-monospace);
331
- font-size: 0.85rem;
332
- word-wrap: normal;
333
- }
334
-
335
- #write .CodeMirror-wrap .CodeMirror-code pre {
336
- padding-left: 12px;
337
- }
338
-
339
- #write code, tt {
340
- padding: 2px 4px;
341
- border-radius: 2px;
342
- font-family: var(--font-monospace);
343
- font-size: 0.92rem;
344
- color: #e96900;
345
- background-color: #f8f8f8;
346
- }
347
-
348
- tt {
349
- margin: 0 2px;
350
- }
351
-
352
- #write .md-footnote {
353
- background-color: #f8f8f8;
354
- color: #e96900;
355
- }
356
-
357
- /* heighlight. */
358
- #write mark {
359
- background-color: #EBFFEB;
360
- border-radius: 2px;
361
- padding: 2px 4px;
362
- margin: 0 2px;
363
- color: #222;
364
- font-weight: 500;
365
- }
366
-
367
- #write del {
368
- padding: 1px 2px;
369
- }
370
-
371
- .cm-s-inner .cm-link,
372
- .cm-s-inner.cm-link {
373
- color: #22a2c9;
374
- }
375
-
376
- .cm-s-inner .cm-string {
377
- color: #22a2c9;
378
- }
379
-
380
- .md-task-list-item > input {
381
- margin-left: -1.3em;
382
- }
383
-
384
- @media print {
385
- html {
386
- font-size: 13px;
387
- }
388
-
389
- table,
390
- pre {
391
- page-break-inside: avoid;
392
- }
393
-
394
- pre {
395
- word-wrap: break-word;
396
- }
397
- }
398
-
399
- .md-fences {
400
- background-color: #f8f8f8;
401
- }
402
-
403
- .md-diagram-panel {
404
- position: static !important;
405
- }
406
-
407
- #write pre.md-meta-block {
408
- padding: 1rem;
409
- font-size: 85%;
410
- line-height: 1.45;
411
- background-color: #f7f7f7;
412
- border: 0;
413
- border-radius: 3px;
414
- color: #777777;
415
- margin-top: 0 !important;
416
- }
417
-
418
- .mathjax-block > .code-tooltip {
419
- bottom: .375rem;
420
- }
421
-
422
- #write > h3.md-focus:before {
423
- left: -1.5625rem;
424
- top: .375rem;
425
- }
426
-
427
- #write > h4.md-focus:before {
428
- left: -1.5625rem;
429
- top: .285714286rem;
430
- }
431
-
432
- #write > h5.md-focus:before {
433
- left: -1.5625rem;
434
- top: .285714286rem;
435
- }
436
-
437
- #write > h6.md-focus:before {
438
- left: -1.5625rem;
439
- top: .285714286rem;
440
- }
441
-
442
- .md-image > .md-meta {
443
- border-radius: 3px;
444
- font-family: var(--font-monospace);
445
- padding: 2px 0 0 4px;
446
- font-size: 0.9em;
447
- color: inherit;
448
- }
449
-
450
- .md-tag {
451
- color: inherit;
452
- }
453
-
454
- .md-toc {
455
- margin-top: 20px;
456
- padding-bottom: 20px;
457
- }
458
-
459
- .sidebar-tabs {
460
- border-bottom: none;
461
- }
462
-
463
- #typora-quick-open {
464
- border: 1px solid #ddd;
465
- background-color: #f8f8f8;
466
- }
467
-
468
- #typora-quick-open-item {
469
- background-color: #FAFAFA;
470
- border-color: #FEFEFE #e5e5e5 #e5e5e5 #eee;
471
- border-style: solid;
472
- border-width: 1px;
473
- }
474
-
475
- #md-notification:before {
476
- top: 10px;
477
- }
478
-
479
- /** focus mode */
480
-
481
- .on-focus-mode blockquote {
482
- border-left-color: rgba(85, 85, 85, 0.12);
483
- }
484
-
485
- header,
486
- .context-menu,
487
- .megamenu-content,
488
- footer {
489
- font-family: var(--font-sans-serif);
490
- }
491
-
492
- .file-node-content:hover .file-node-icon,
493
- .file-node-content:hover .file-node-open-state {
494
- visibility: visible;
495
- }
496
-
497
- .mac-seamless-mode #typora-sidebar {
498
- background-color: var(--side-bar-bg-color);
499
- }
500
-
501
- .md-lang {
502
- color: #b4654d;
503
- }
504
-
505
- .html-for-mac .context-menu {
506
- --item-hover-bg-color: #E6F0FE;
507
- }
508
-
509
- .transparent-bg {
510
- background-color: rgba(255,255,255,0.5);
511
- }
512
-
513
-
514
- .myinfo {
515
- width: 90%;
516
- margin: auto;
517
- }
518
-
519
- /* .pc {
520
- width: 1080px;
521
- height: 400px;
522
- padding: 0;
523
- box-sizing: border-box;
524
- border: solid 50px #fd7be7;
525
- }
526
- */
527
- @media only screen and (min-height: 400px) {
528
- .pc {
529
- height: auto;
530
- }
1
+ @import 'vue/fonts.css';
2
+
3
+ :root {
4
+ --side-bar-bg-color: #fff;
5
+ --control-text-color: #777;
6
+ --font-sans-serif: 'Ubuntu', 'Source Sans Pro', sans-serif !important;
7
+ --font-monospace: 'Fira Code', 'Roboto Mono', monospace !important;
8
+ }
9
+
10
+ html {
11
+ font-size: 16px;
12
+ }
13
+
14
+ body {
15
+ font-family: var(--font-sans-serif);
16
+ color: #004d99;
17
+ -webkit-font-smoothing: antialiased;
18
+ line-height: 1.6rem;
19
+ letter-spacing: 0;
20
+ margin: 0;
21
+ overflow-x: hidden;
22
+ box-sizing: border-box;
23
+ border-color: solid 50px rgb(0, 255, 42);
24
+ }
25
+
26
+ body::before {
27
+ content: "";
28
+ position: fixed;
29
+ top: 0;
30
+ left: 0;
31
+ width: 100%;
32
+ height: 100%;
33
+ background-color: rgba(255, 255, 255, 0);
34
+ z-index: -1;
35
+ }
36
+
37
+ #write {
38
+ max-width: 860px;
39
+ margin: 0 auto;
40
+ padding: 20px 30px 100px;
41
+ }
42
+
43
+ #write p {
44
+ line-height: 1.6rem;
45
+ word-spacing: .05rem;
46
+ }
47
+
48
+ #write ol li {
49
+ padding-left: 0.5rem;
50
+ }
51
+
52
+ #write > ul:first-child,
53
+ #write > ol:first-child {
54
+ margin-top: 30px;
55
+ }
56
+
57
+ body > *:first-child {
58
+ margin-top: 0 !important;
59
+ }
60
+
61
+ body > *:last-child {
62
+ margin-bottom: 0 !important;
63
+ }
64
+
65
+ a {
66
+ color: #42b983;
67
+ font-weight: 600;
68
+ padding: 0 2px;
69
+ text-decoration: none;
70
+ }
71
+
72
+ h1,
73
+ h2,
74
+ h3,
75
+ h4,
76
+ h5,
77
+ h6 {
78
+ position: relative;
79
+ margin-top: 1rem;
80
+ margin-bottom: 1rem;
81
+ font-weight: bold;
82
+ line-height: 1.4;
83
+ cursor: text;
84
+ }
85
+
86
+ h1:hover a.anchor,
87
+ h2:hover a.anchor,
88
+ h3:hover a.anchor,
89
+ h4:hover a.anchor,
90
+ h5:hover a.anchor,
91
+ h6:hover a.anchor {
92
+ text-decoration: none;
93
+ }
94
+
95
+ h1 tt,
96
+ h1 code {
97
+ font-size: inherit !important;
98
+ }
99
+
100
+ h2 tt,
101
+ h2 code {
102
+ font-size: inherit !important;
103
+ }
104
+
105
+ h3 tt,
106
+ h3 code {
107
+ font-size: inherit !important;
108
+ }
109
+
110
+ h4 tt,
111
+ h4 code {
112
+ font-size: inherit !important;
113
+ }
114
+
115
+ h5 tt,
116
+ h5 code {
117
+ font-size: inherit !important;
118
+ }
119
+
120
+ h6 tt,
121
+ h6 code {
122
+ font-size: inherit !important;
123
+ }
124
+
125
+ h2 a,
126
+ h3 a {
127
+ color: #34495e;
128
+ }
129
+
130
+ h1 {
131
+ padding-bottom: .4rem;
132
+ font-size: 2.2rem;
133
+ line-height: 1.3;
134
+ }
135
+
136
+ h2 {
137
+ font-size: 1.75rem;
138
+ line-height: 1.225;
139
+ margin: 35px 0 15px;
140
+ padding-bottom: 0.5em;
141
+ border-bottom: 1px solid #ddd;
142
+ }
143
+
144
+ h3 {
145
+ font-size: 1.4rem;
146
+ line-height: 1.43;
147
+ margin: 20px 0 7px;
148
+ }
149
+
150
+ h4 {
151
+ font-size: 1.2rem;
152
+ }
153
+
154
+ h5 {
155
+ font-size: 1rem;
156
+ }
157
+
158
+ h6 {
159
+ font-size: 1rem;
160
+ color: #777;
161
+ }
162
+
163
+ p,
164
+ blockquote,
165
+ ul,
166
+ ol,
167
+ dl,
168
+ table {
169
+ margin: 0.8em 0;
170
+ }
171
+
172
+ li > ol,
173
+ li > ul {
174
+ margin: 0 0;
175
+ }
176
+
177
+ hr {
178
+ height: 2px;
179
+ padding: 0;
180
+ margin: 16px 0;
181
+ background-color: #e7e7e7;
182
+ border: 0 none;
183
+ overflow: hidden;
184
+ box-sizing: content-box;
185
+ }
186
+
187
+ body > h2:first-child {
188
+ margin-top: 0;
189
+ padding-top: 0;
190
+ }
191
+
192
+ body > h1:first-child {
193
+ margin-top: 0;
194
+ padding-top: 0;
195
+ }
196
+
197
+ body > h1:first-child + h2 {
198
+ margin-top: 0;
199
+ padding-top: 0;
200
+ }
201
+
202
+ body > h3:first-child,
203
+ body > h4:first-child,
204
+ body > h5:first-child,
205
+ body > h6:first-child {
206
+ margin-top: 0;
207
+ padding-top: 0;
208
+ }
209
+
210
+ a:first-child h1,
211
+ a:first-child h2,
212
+ a:first-child h3,
213
+ a:first-child h4,
214
+ a:first-child h5,
215
+ a:first-child h6 {
216
+ margin-top: 0;
217
+ padding-top: 0;
218
+ }
219
+
220
+ h1 p,
221
+ h2 p,
222
+ h3 p,
223
+ h4 p,
224
+ h5 p,
225
+ h6 p {
226
+ margin-top: 0;
227
+ }
228
+
229
+ li p.first {
230
+ display: inline-block;
231
+ }
232
+
233
+ ul,
234
+ ol {
235
+ padding-left: 30px;
236
+ }
237
+
238
+ ul:first-child,
239
+ ol:first-child {
240
+ margin-top: 0;
241
+ }
242
+
243
+ ul:last-child,
244
+ ol:last-child {
245
+ margin-bottom: 0;
246
+ }
247
+
248
+ blockquote {
249
+ border-left: 4px solid #42b983;
250
+ padding: 10px 15px;
251
+ color: #777;
252
+ background-color: rgba(66, 185, 131, .1);
253
+ }
254
+
255
+ table {
256
+ position: relative;
257
+ }
258
+ table::after {
259
+ content: "";
260
+ position: absolute;
261
+ top: 0;
262
+ left: 0;
263
+ width: 100%;
264
+ height: 100%;
265
+ border-collapse: collapse;
266
+ margin-top:50px;
267
+ }
268
+
269
+ table tr {
270
+ border-top: 1px solid #dfe2e5;
271
+ margin: 0;
272
+ padding: 0;
273
+ background: transparent;
274
+ background-color: rgba(255, 255, 255, 0.5);
275
+ }
276
+
277
+ table tr th {
278
+ color: #0080ff;
279
+ font-weight: bold;
280
+ border: 1px solid #00ff66;
281
+ border-bottom: 0;
282
+ text-align: left;
283
+ margin: 0;
284
+ padding: 6px 13px;
285
+ /* background-color: rgba(255, 255, 255, 0.5); */
286
+ }
287
+ table tr td {
288
+ color: #0080ff;
289
+ border: 1px solid #00ff66;
290
+ text-align: left;
291
+ margin: 0;
292
+ padding: 6px 13px;
293
+ /* background-color: rgba(255, 255, 255, 0.5); */
294
+ }
295
+
296
+ table tr th:first-child,
297
+ table tr td:first-child {
298
+ margin-top: 0;
299
+ }
300
+
301
+ table tr th:last-child,
302
+ table tr td:last-child {
303
+ margin-bottom: 0;
304
+ }
305
+
306
+ #write strong {
307
+ padding: 0 1px;
308
+ }
309
+
310
+ #write em {
311
+ padding: 0 5px 0 2px;
312
+ }
313
+
314
+ #write table thead th {
315
+ background-color: #f2f2f2;
316
+ }
317
+
318
+ #write .CodeMirror-gutters {
319
+ border-right: none;
320
+ }
321
+
322
+ #write .md-fences {
323
+ border: 1px solid #F4F4F4;
324
+ -webkit-font-smoothing: initial;
325
+ margin: 0.8rem 0 !important;
326
+ padding: 0.3rem 0 !important;
327
+ line-height: 1.43rem;
328
+ background-color: #F8F8F8 !important;
329
+ border-radius: 2px;
330
+ font-family: var(--font-monospace);
331
+ font-size: 0.85rem;
332
+ word-wrap: normal;
333
+ }
334
+
335
+ #write .CodeMirror-wrap .CodeMirror-code pre {
336
+ padding-left: 12px;
337
+ }
338
+
339
+ #write code, tt {
340
+ padding: 2px 4px;
341
+ border-radius: 2px;
342
+ font-family: var(--font-monospace);
343
+ font-size: 0.92rem;
344
+ color: #e96900;
345
+ background-color: #f8f8f8;
346
+ }
347
+
348
+ tt {
349
+ margin: 0 2px;
350
+ }
351
+
352
+ #write .md-footnote {
353
+ background-color: #f8f8f8;
354
+ color: #e96900;
355
+ }
356
+
357
+ /* heighlight. */
358
+ #write mark {
359
+ background-color: #EBFFEB;
360
+ border-radius: 2px;
361
+ padding: 2px 4px;
362
+ margin: 0 2px;
363
+ color: #222;
364
+ font-weight: 500;
365
+ }
366
+
367
+ #write del {
368
+ padding: 1px 2px;
369
+ }
370
+
371
+ .cm-s-inner .cm-link,
372
+ .cm-s-inner.cm-link {
373
+ color: #22a2c9;
374
+ }
375
+
376
+ .cm-s-inner .cm-string {
377
+ color: #22a2c9;
378
+ }
379
+
380
+ .md-task-list-item > input {
381
+ margin-left: -1.3em;
382
+ }
383
+
384
+ @media print {
385
+ html {
386
+ font-size: 13px;
387
+ }
388
+
389
+ table,
390
+ pre {
391
+ page-break-inside: avoid;
392
+ }
393
+
394
+ pre {
395
+ word-wrap: break-word;
396
+ }
397
+ }
398
+
399
+ .md-fences {
400
+ background-color: #f8f8f8;
401
+ }
402
+
403
+ .md-diagram-panel {
404
+ position: static !important;
405
+ }
406
+
407
+ #write pre.md-meta-block {
408
+ padding: 1rem;
409
+ font-size: 85%;
410
+ line-height: 1.45;
411
+ background-color: #f7f7f7;
412
+ border: 0;
413
+ border-radius: 3px;
414
+ color: #777777;
415
+ margin-top: 0 !important;
416
+ }
417
+
418
+ .mathjax-block > .code-tooltip {
419
+ bottom: .375rem;
420
+ }
421
+
422
+ #write > h3.md-focus:before {
423
+ left: -1.5625rem;
424
+ top: .375rem;
425
+ }
426
+
427
+ #write > h4.md-focus:before {
428
+ left: -1.5625rem;
429
+ top: .285714286rem;
430
+ }
431
+
432
+ #write > h5.md-focus:before {
433
+ left: -1.5625rem;
434
+ top: .285714286rem;
435
+ }
436
+
437
+ #write > h6.md-focus:before {
438
+ left: -1.5625rem;
439
+ top: .285714286rem;
440
+ }
441
+
442
+ .md-image > .md-meta {
443
+ border-radius: 3px;
444
+ font-family: var(--font-monospace);
445
+ padding: 2px 0 0 4px;
446
+ font-size: 0.9em;
447
+ color: inherit;
448
+ }
449
+
450
+ .md-tag {
451
+ color: inherit;
452
+ }
453
+
454
+ .md-toc {
455
+ margin-top: 20px;
456
+ padding-bottom: 20px;
457
+ }
458
+
459
+ .sidebar-tabs {
460
+ border-bottom: none;
461
+ }
462
+
463
+ #typora-quick-open {
464
+ border: 1px solid #ddd;
465
+ background-color: #f8f8f8;
466
+ }
467
+
468
+ #typora-quick-open-item {
469
+ background-color: #FAFAFA;
470
+ border-color: #FEFEFE #e5e5e5 #e5e5e5 #eee;
471
+ border-style: solid;
472
+ border-width: 1px;
473
+ }
474
+
475
+ #md-notification:before {
476
+ top: 10px;
477
+ }
478
+
479
+ /** focus mode */
480
+
481
+ .on-focus-mode blockquote {
482
+ border-left-color: rgba(85, 85, 85, 0.12);
483
+ }
484
+
485
+ header,
486
+ .context-menu,
487
+ .megamenu-content,
488
+ footer {
489
+ font-family: var(--font-sans-serif);
490
+ }
491
+
492
+ .file-node-content:hover .file-node-icon,
493
+ .file-node-content:hover .file-node-open-state {
494
+ visibility: visible;
495
+ }
496
+
497
+ .mac-seamless-mode #typora-sidebar {
498
+ background-color: var(--side-bar-bg-color);
499
+ }
500
+
501
+ .md-lang {
502
+ color: #b4654d;
503
+ }
504
+
505
+ .html-for-mac .context-menu {
506
+ --item-hover-bg-color: #E6F0FE;
507
+ }
508
+
509
+ .transparent-bg {
510
+ background-color: rgba(255,255,255,0.5);
511
+ }
512
+
513
+
514
+ .myinfo {
515
+ width: 90%;
516
+ margin: auto;
517
+ }
518
+
519
+ /* .pc {
520
+ width: 1080px;
521
+ height: 400px;
522
+ padding: 0;
523
+ box-sizing: border-box;
524
+ border: solid 50px #fd7be7;
525
+ }
526
+ */
527
+ @media only screen and (min-height: 400px) {
528
+ .pc {
529
+ height: auto;
530
+ }
531
531
  }