@lyhue1991/wxgzh 0.2.0 → 0.2.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/styles/green.css CHANGED
@@ -1,3 +1,4 @@
1
+ /* 与 blue 主题保持一致,仅二级标题主题色不同 */
1
2
  ::marker {
2
3
  font-size: 14px;
3
4
  }
@@ -529,7 +530,6 @@ input {
529
530
  color: white;
530
531
  }
531
532
 
532
-
533
533
  /**
534
534
  代码高亮
535
535
  */
package/styles/orange.css CHANGED
@@ -1,3 +1,4 @@
1
+ /* 与 blue 主题保持一致,仅二级标题主题色不同 */
1
2
  ::marker {
2
3
  font-size: 14px;
3
4
  }
@@ -529,8 +530,6 @@ input {
529
530
  color: white;
530
531
  }
531
532
 
532
-
533
-
534
533
  /**
535
534
  代码高亮
536
535
  */
@@ -598,6 +597,7 @@ input {
598
597
  .highlight .il { color: #40a070 } /* Literal.Number.Integer.Long */
599
598
 
600
599
 
600
+
601
601
  /*大纲紧凑*/
602
602
  .outline-item {
603
603
  padding-top: 0px;
package/styles/red.css CHANGED
@@ -1,3 +1,4 @@
1
+ /* 与 blue 主题保持一致,仅二级标题主题色不同 */
1
2
  ::marker {
2
3
  font-size: 14px;
3
4
  }
@@ -529,7 +530,6 @@ input {
529
530
  color: white;
530
531
  }
531
532
 
532
-
533
533
  /**
534
534
  代码高亮
535
535
  */
package/styles/yellow.css CHANGED
@@ -1,110 +1,108 @@
1
- *{
2
- margin: 0;
3
- padding: 0;
4
- }
5
- body {
6
- padding-top: 40px;
7
- font-size: 15px;
8
- font-family: "taylenPixel", "mp-quote", -apple-system-font, BlinkMacSystemFont, "Helvetica Neue", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei UI", "Microsoft YaHei", Arial, sans-serif;
9
- color:#d8d8d8;
10
- line-height: 1.6;
11
- letter-spacing: 1px;
12
- width: 100%;
13
- height: 100%;
14
- background-color: #191919;
1
+ /* 与 blue 主题保持一致,仅二级标题主题色不同 */
2
+ ::marker {
3
+ font-size: 14px;
15
4
  }
16
- p {
17
- /* 两端缩进,段后距25 */
18
- margin-left: 0px;
19
- margin-right: 0px;
20
- margin-bottom: 15px;
21
- text-align: left;
5
+
6
+
7
+ html {
8
+ font-size: 16px;
22
9
  }
23
10
 
24
- /* 强调 */
25
- strong {
26
- color: #191919;
27
- background-color: #ffd139;
11
+ html, body {
12
+ background-color: #f3f2ee;
13
+ font-family: Arail,Microsoft YaHei;
14
+ color: #1f0909;
15
+ line-height: 1.5em;
28
16
  }
29
17
 
30
- /* 引用部分 */
31
- blockquote{
32
- margin-left: 0px;
33
- margin-right: 0px;
34
- margin-bottom: 25px;
35
- padding: 40px 6px 20px 12px;
36
- background-color: #FFD139;
37
- display: inline-block;
38
- border-left: transparent;
18
+
19
+ #write {
20
+ max-width: 40em;
21
+ }
22
+ @media only screen and (min-width: 1000px) {
23
+ #write {max-width: 960px;}
39
24
  }
40
25
 
41
- blockquote h1{
42
- margin-left: 32px;
43
- text-align: left;
44
- color: #191919;
45
- font-weight: bold;
26
+
27
+ @media only screen and (min-width: 1400px) {
28
+ #write {max-width: 1080px;}
46
29
  }
47
30
 
48
- blockquote p{
49
- text-align: justify;
50
- margin-left: 12px;
51
- margin-right: 20px;
52
- margin-bottom: 15px;
53
- letter-spacing: .3px;
54
- font-style: italic;
55
- color: #191919;
31
+ @media only screen and (min-width: 1900px) {
32
+ #write {max-width: 1180px;}
56
33
  }
57
34
 
58
- blockquote img{
59
- width: 160px;
35
+ ol li {
36
+ list-style-type: decimal;
37
+ list-style-position: outside;
38
+ }
39
+ ul li {
40
+ list-style-type: disc;
41
+ list-style-position: outside;
60
42
  }
61
43
 
44
+ ol,
45
+ ul {
46
+ list-style: none;
47
+ }
62
48
 
63
- /* 大标题 */
49
+ table {
50
+ border-collapse: collapse;
51
+ border-spacing: 0;
52
+ }
53
+
54
+ h1,
55
+ h2,
56
+ h3,
57
+ h4,
58
+ h5,
59
+ h6 {
60
+ font-family: Microsoft YaHei;
61
+ padding-bottom: 0.3em;
62
+ border-bottom: 1px solid #d8dee4;
63
+ font-weight: bold;
64
+ margin-bottom: 1.5em;
65
+ }
64
66
  h1 {
65
- margin-bottom: 25px;
66
67
  font-size: 30px;
67
- font-weight: bold;
68
+ /*30 / 16*/
69
+ line-height: 1.6em;
70
+ /* 48 / 30*/
71
+ margin-top: 2em;
68
72
  }
69
73
 
70
- h2 {
71
- margin-left: 0px;
72
- margin-right: 0px;
73
- margin-bottom: 25px;
74
- font-size: 25px;
75
- font-weight: bold;
76
- width: 100%;
77
- padding: 10px 10px 10px 10px; /* 上、右、下、左的内边距分别为10px、20px、15px、25px */
78
- background-color: #FFD139;
79
- display: inline-block;
80
- border-left: transparent;
81
- text-align: left;
74
+ h2{
75
+ font-size: 25px;
76
+ padding: 10px 10px 10px 10px; /* 上、右、下、左的内边距分别为10px、20px、15px、25px */
77
+ line-height: 1.15;
78
+ /*24 / 21*/
79
+ margin-top: 1.85em;
80
+ /*48 / 21*/
81
+ margin-bottom: 1.15em;
82
+ /*24 / 21*/
83
+ background:#FFD139;
82
84
  color:#fff;
83
85
  }
84
86
 
85
87
  h3 {
86
- margin-bottom: 25px;
87
- margin-left: 8px;
88
- padding-left: 8px;
89
- padding-right: 8px;
90
- padding-bottom: 5px;
91
- margin-right: 16px;
92
- border-bottom: solid 3px #FFD139;
93
- display: inline-block;
88
+ font-size: 20px;
89
+ /*21 / 16*/
90
+ line-height: 1.15;
91
+ /*24 / 21*/
92
+ margin-top: 2.285714em;
93
+ /*48 / 21*/
94
+ margin-bottom: 1.15em;
95
+ /*24 / 21*/
94
96
  }
95
97
 
96
-
97
98
  h4 {
98
- margin-left: 0px;
99
- margin-right: 0px;
100
- margin-bottom: 0px;
101
- width: 100%;
102
- padding: 10px 30px 0 30px;
103
- background-color: #FFD139;
104
- display: inline-block;
105
- border-left: transparent;
106
- text-align: center;
99
+ font-size: 16px;
100
+ /*18 / 16*/
101
+ margin-top: 2.67em;
102
+ /*48 / 18*/
107
103
  }
104
+ /* links */
105
+
108
106
 
109
107
 
110
108
  pre {
@@ -135,6 +133,403 @@ code {
135
133
  }
136
134
 
137
135
 
136
+ a {
137
+ text-decoration: none;
138
+ color: #065588;
139
+ }
140
+ a:hover,
141
+ a:active {
142
+ text-decoration: underline;
143
+ }
144
+ /* block spacing */
145
+
146
+ p {
147
+ margin: 1.2em 3%;
148
+ }
149
+
150
+
151
+
152
+ blockquote, q {
153
+ border: 2px dotted #dddddd;
154
+ border-radius: 0.7em;
155
+ padding: 0 10px;
156
+ color: #c7254e;
157
+ quotes: none;
158
+ margin: auto 3%;
159
+ }
160
+
161
+ /* tables */
162
+ .md-meta,.md-before, .md-after {
163
+ color:#999;
164
+ }
165
+
166
+ table {
167
+ margin-bottom: 1.5em;
168
+ /*24 / 16*/
169
+ font-size: 1em;
170
+ /* width: 100%; */
171
+ }
172
+ thead th,
173
+ tfoot th {
174
+ padding: .25em .25em .25em .4em;
175
+ text-transform: uppercase;
176
+ }
177
+ th {
178
+ text-align: left;
179
+ }
180
+ td {
181
+ vertical-align: top;
182
+ padding: .5em .25em .5em .4em;
183
+ }
184
+
185
+ .md-fences {
186
+ color: #0079bb;
187
+ }
188
+
189
+
190
+
191
+
192
+
193
+ tt {
194
+ font-size: .875em;
195
+ line-height: 1.714285em;
196
+ }
197
+
198
+ p + ul,
199
+ p + ol{
200
+ margin-top: .5em;
201
+ }
202
+
203
+ h3 + ul,
204
+ h4 + ul,
205
+ h5 + ul,
206
+ h6 + ul,
207
+ h3 + ol,
208
+ h4 + ol,
209
+ h5 + ol,
210
+ h6 + ol {
211
+ margin-top: .5em;
212
+ }
213
+
214
+ li > ul,
215
+ li > ol {
216
+ margin-top: inherit;
217
+ margin-bottom: 0;
218
+ }
219
+
220
+ li ol>li {
221
+ list-style-type: lower-alpha;
222
+ }
223
+
224
+ li li ol>li{
225
+ list-style-type: lower-roman;
226
+ }
227
+
228
+ h2,
229
+ h3 {
230
+ margin-bottom: .75em;
231
+ }
232
+ hr {
233
+ border-top: none;
234
+ border-right: none;
235
+ border-bottom: 1px solid;
236
+ border-left: none;
237
+ }
238
+ h1 {
239
+ border-color: #c5c5c5;
240
+ }
241
+ blockquote {
242
+
243
+ border-color: #bababa;
244
+ }
245
+
246
+ blockquote ul,
247
+ blockquote ol {
248
+ margin-left:0;
249
+ }
250
+
251
+ .ty-table-edit {
252
+ background-color: transparent;
253
+ }
254
+ thead {
255
+ background-color: #dadada;
256
+ }
257
+ tr:nth-child(even) {
258
+ background: #e8e7e7;
259
+ }
260
+ hr {
261
+ border-color: #c5c5c5;
262
+ }
263
+ .task-list{
264
+ }
265
+
266
+ .md-task-list-item {
267
+ list-style-type: none;
268
+ }
269
+
270
+ .md-task-list-item > input:before {
271
+ content: '\221A';
272
+ display: inline-block;
273
+
274
+ height: 1.6em;
275
+ vertical-align: middle;
276
+ text-align: center;
277
+ color: #ddd;
278
+ background-color: #F3F2EE;
279
+ }
280
+
281
+ .md-task-list-item > input:checked:before,
282
+ .md-task-list-item > input[checked]:before{
283
+ color: inherit;
284
+ }
285
+
286
+ #write pre.md-meta-block {
287
+ min-height: 1.875em;
288
+ color: #555;
289
+ border: 0px;
290
+ background: transparent;
291
+ margin-top: -4px;
292
+ margin-left: 1em;
293
+ margin-top: 1em;
294
+ }
295
+
296
+ .md-image>.md-meta {
297
+ color: #9B5146;
298
+ }
299
+
300
+ .md-image>.md-meta{
301
+ font-family: Microsoft YaHei;
302
+ }
303
+
304
+
305
+ #write>h3.md-focus:before{
306
+ left: -1.5em;
307
+ color:#999;
308
+ border-color:#999;
309
+ }
310
+ #write>h4.md-focus:before{
311
+ left: -1.5em;
312
+ top: .25em;
313
+ color:#999;
314
+ border-color:#999;
315
+ }
316
+ #write>h5.md-focus:before{
317
+ color:#999;
318
+ border-color:#999;
319
+ }
320
+ #write>h6.md-focus:before{
321
+ left: -1.5em;
322
+ top: 0.3125em;
323
+ color:#999;
324
+ border-color:#999;
325
+ }
326
+
327
+ .md-toc:focus .md-toc-content{
328
+ margin-top: 19px;
329
+ }
330
+
331
+ .md-toc-content:empty:before{
332
+ color: #065588;
333
+ }
334
+ .md-toc-item {
335
+ color: #065588;
336
+ }
337
+
338
+ #write div.md-toc-tooltip {
339
+ background-color: #f3f2ee;
340
+ }
341
+
342
+ #typora-sidebar {
343
+ background-color: #f3f2ee;
344
+ box-shadow: 0 6px 12px rgba(0, 0, 0, 0.375);
345
+ }
346
+
347
+ .pin-outline #typora-sidebar {
348
+ background: inherit;
349
+ box-shadow: none;
350
+ border-right: 1px dashed;
351
+ }
352
+
353
+ .pin-outline #typora-sidebar:hover .outline-title-wrapper {
354
+ border-left:1px dashed;
355
+ }
356
+
357
+ .outline-item:hover {
358
+ background-color: #dadada;
359
+ border-left: 28px solid #dadada;
360
+ border-right: 18px solid #dadada;
361
+ }
362
+
363
+ .typora-node .outline-item:hover {
364
+ border-right: 28px solid #dadada;
365
+ }
366
+
367
+ .outline-expander:before {
368
+ content: "\f105";
369
+ font-family: FontAwesome;
370
+ font-size:12px;
371
+ top: 1px;
372
+ }
373
+
374
+ .outline-expander:hover:before,
375
+ .outline-item-open>.outline-item>.outline-expander:before {
376
+ content: "\f107";
377
+ }
378
+
379
+ .modal-content {
380
+ background-color: #f3f2ee;
381
+ }
382
+
383
+ .auto-suggest-container ul li {
384
+ list-style-type: none;
385
+ }
386
+
387
+ /** UI for electron */
388
+
389
+ .megamenu-menu,
390
+ #top-titlebar, #top-titlebar *,
391
+ .megamenu-content {
392
+ background: #f3f2ee;
393
+ color: #1f0909;
394
+ }
395
+
396
+ .megamenu-menu-header {
397
+ border-bottom: 1px dashed #202B33;
398
+ }
399
+
400
+ .megamenu-menu {
401
+ box-shadow: none;
402
+ border-right: 1px dashed;
403
+ }
404
+
405
+ header, .context-menu, .megamenu-content, footer {
406
+ font-family: Microsoft YaHei;
407
+ color: #1f0909;
408
+ }
409
+
410
+ #megamenu-back-btn {
411
+ color: #1f0909;
412
+ border-color: #1f0909;
413
+ }
414
+
415
+ .megamenu-menu-header #megamenu-menu-header-title:before {
416
+ color: #1f0909;
417
+ }
418
+
419
+ .megamenu-menu-list li a:hover, .megamenu-menu-list li a.active {
420
+ color: inherit;
421
+ background-color: #e8e7df;
422
+ }
423
+
424
+ .long-btn:hover {
425
+ background-color: #e8e7df;
426
+ }
427
+
428
+ #recent-file-panel tbody tr:nth-child(2n-1) {
429
+ background-color: transparent !important;
430
+ }
431
+
432
+ .megamenu-menu-panel tbody tr:hover td:nth-child(2) {
433
+ color: inherit;
434
+ }
435
+
436
+ .megamenu-menu-panel .btn {
437
+ background-color: #D2D1D1;
438
+ }
439
+
440
+ .btn-default {
441
+ background-color: transparent;
442
+ }
443
+
444
+ .typora-sourceview-on #toggle-sourceview-btn,
445
+ .ty-show-word-count #footer-word-count {
446
+ background: #c7c5c5;
447
+ }
448
+
449
+ #typora-quick-open {
450
+ background-color: inherit;
451
+ }
452
+
453
+ .md-diagram-panel {
454
+ margin-top: 8px;
455
+ }
456
+
457
+
458
+ .file-list-item-summary {
459
+ opacity: 1;
460
+ }
461
+
462
+ .file-list-item {
463
+ color: #777;
464
+ }
465
+
466
+ .file-list-item.active {
467
+ background-color: inherit;
468
+ color: black;
469
+ }
470
+
471
+ .ty-side-sort-btn.active {
472
+ background-color: inherit;
473
+ }
474
+
475
+ .file-list-item.active .file-list-item-file-name {
476
+ font-weight: bold;
477
+ }
478
+
479
+ .file-list-item{
480
+ opacity:1 !important;
481
+ }
482
+
483
+ .file-library-node.active>.file-node-background{
484
+ background-color: rgba(32, 43, 51, 0.63);
485
+ }
486
+
487
+ .file-tree-node.active>.file-node-content{
488
+ color: white;
489
+ }
490
+
491
+ .md-task-list-item>input {
492
+ margin-left: -1.7em;
493
+ }
494
+
495
+ input {
496
+ border: 1px solid #aaa;
497
+ }
498
+
499
+ .megamenu-menu-header #megamenu-menu-header-title,
500
+ .megamenu-menu-header:hover,
501
+ .megamenu-menu-header:focus {
502
+ color: inherit;
503
+ }
504
+
505
+ .dropdown-menu .divider {
506
+ border-color: #e5e5e5;
507
+ opacity: 1;
508
+ }
509
+
510
+ /* https://github.com/typora/typora-issues/issues/2046 */
511
+ .os-windows-7 strong,
512
+ .os-windows-7 strong {
513
+ }
514
+
515
+ .ty-preferences .btn-default {
516
+ background: transparent;
517
+ }
518
+
519
+ .ty-preferences .window-header {
520
+ border-bottom: 1px dashed #202B33;
521
+ box-shadow: none;
522
+ }
523
+
524
+ #sidebar-loading-template, #sidebar-loading-template.file-list-item {
525
+ color: #777;
526
+ }
527
+
528
+ .searchpanel-search-option-btn.active {
529
+ background: #777;
530
+ color: white;
531
+ }
532
+
138
533
  /**
139
534
  代码高亮
140
535
  */
@@ -200,3 +595,23 @@ code {
200
595
  .highlight .vg { color: #bb60d5 } /* Name.Variable.Global */
201
596
  .highlight .vi { color: #bb60d5 } /* Name.Variable.Instance */
202
597
  .highlight .il { color: #40a070 } /* Literal.Number.Integer.Long */
598
+
599
+
600
+
601
+ /*大纲紧凑*/
602
+ .outline-item {
603
+ padding-top: 0px;
604
+ padding-bottom: 0px;
605
+ }
606
+ .outline-h1{
607
+ font-size: 14px !important;
608
+ }
609
+
610
+ .outline-h3,.outline-h4{
611
+ font-size: 13px !important;
612
+ }
613
+ .outline-expander {
614
+ }
615
+ li.md-list-item {
616
+ line-height: 120%;
617
+ }