wechat-md-publisher 0.2.5 → 0.2.6
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/package.json +1 -1
- package/themes/builtin/orange-heart.css +176 -0
package/package.json
CHANGED
|
@@ -0,0 +1,176 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Typora Theme - Orange Heart / Author - evgo2017
|
|
3
|
+
* https://github.com/evgo2017/typora-theme-orange-heart
|
|
4
|
+
*/
|
|
5
|
+
|
|
6
|
+
#wenyan {
|
|
7
|
+
line-height: 1.75;
|
|
8
|
+
font-size: 16px;
|
|
9
|
+
}
|
|
10
|
+
#wenyan p {
|
|
11
|
+
margin: 1em 0;
|
|
12
|
+
}
|
|
13
|
+
#wenyan h1,
|
|
14
|
+
#wenyan h2,
|
|
15
|
+
#wenyan h3,
|
|
16
|
+
#wenyan h4,
|
|
17
|
+
#wenyan h5,
|
|
18
|
+
#wenyan h6 {
|
|
19
|
+
margin: 1.2em 0 1em;
|
|
20
|
+
padding: 0px;
|
|
21
|
+
font-weight: bold;
|
|
22
|
+
}
|
|
23
|
+
#wenyan h1 {
|
|
24
|
+
font-size: 1.5em;
|
|
25
|
+
}
|
|
26
|
+
#wenyan h2 {
|
|
27
|
+
font-size: 1.3em;
|
|
28
|
+
border-bottom: 2px solid rgb(239, 112, 96);
|
|
29
|
+
display: flex;
|
|
30
|
+
}
|
|
31
|
+
#wenyan h2 span {
|
|
32
|
+
display: inline-block;
|
|
33
|
+
font-weight: bold;
|
|
34
|
+
background: rgb(239, 112, 96);
|
|
35
|
+
color: #ffffff;
|
|
36
|
+
padding: 3px 10px 1px;
|
|
37
|
+
border-top-right-radius: 3px;
|
|
38
|
+
border-top-left-radius: 3px;
|
|
39
|
+
margin-right: 3px;
|
|
40
|
+
}
|
|
41
|
+
#wenyan h2::after {
|
|
42
|
+
content: "";
|
|
43
|
+
border-bottom: 36px solid #efebe9;
|
|
44
|
+
border-right: 20px solid transparent;
|
|
45
|
+
align-self: flex-end;
|
|
46
|
+
height: 0;
|
|
47
|
+
}
|
|
48
|
+
#wenyan h3 {
|
|
49
|
+
font-size: 1.3em;
|
|
50
|
+
}
|
|
51
|
+
#wenyan h4 {
|
|
52
|
+
font-size: 1.2em;
|
|
53
|
+
}
|
|
54
|
+
#wenyan h5 {
|
|
55
|
+
font-size: 1.1em;
|
|
56
|
+
}
|
|
57
|
+
#wenyan h6 {
|
|
58
|
+
font-size: 1em;
|
|
59
|
+
}
|
|
60
|
+
#wenyan ul,
|
|
61
|
+
#wenyan ol {
|
|
62
|
+
margin-top: 8px;
|
|
63
|
+
margin-bottom: 8px;
|
|
64
|
+
padding-left: 25px;
|
|
65
|
+
color: black;
|
|
66
|
+
}
|
|
67
|
+
#wenyan ul {
|
|
68
|
+
list-style-type: disc;
|
|
69
|
+
}
|
|
70
|
+
#wenyan ul ul {
|
|
71
|
+
list-style-type: square;
|
|
72
|
+
}
|
|
73
|
+
#wenyan ol {
|
|
74
|
+
list-style-type: decimal;
|
|
75
|
+
}
|
|
76
|
+
#wenyan blockquote {
|
|
77
|
+
margin: 0;
|
|
78
|
+
display: block;
|
|
79
|
+
font-size: 0.9em;
|
|
80
|
+
overflow: auto;
|
|
81
|
+
border-left: 3px solid rgb(239, 112, 96);
|
|
82
|
+
color: #6a737d;
|
|
83
|
+
padding: 10px 10px 10px 20px;
|
|
84
|
+
margin-bottom: 20px;
|
|
85
|
+
margin-top: 20px;
|
|
86
|
+
background: #fff9f9;
|
|
87
|
+
}
|
|
88
|
+
#wenyan a {
|
|
89
|
+
text-decoration: none;
|
|
90
|
+
word-wrap: break-word;
|
|
91
|
+
font-weight: bold;
|
|
92
|
+
color: rgb(239, 112, 96);
|
|
93
|
+
border-bottom: 1px solid rgb(239, 112, 96);
|
|
94
|
+
}
|
|
95
|
+
#wenyan p code,
|
|
96
|
+
#wenyan li code {
|
|
97
|
+
font-size: 0.9em;
|
|
98
|
+
word-wrap: break-word;
|
|
99
|
+
padding: 2px 4px;
|
|
100
|
+
border-radius: 4px;
|
|
101
|
+
margin: 0 2px;
|
|
102
|
+
color: rgb(239, 112, 96);
|
|
103
|
+
background-color: rgba(27, 31, 35, 0.05);
|
|
104
|
+
word-break: break-all;
|
|
105
|
+
}
|
|
106
|
+
#wenyan img {
|
|
107
|
+
max-width: 100%;
|
|
108
|
+
height: auto;
|
|
109
|
+
margin: 0 auto;
|
|
110
|
+
display: block;
|
|
111
|
+
}
|
|
112
|
+
#wenyan span img {
|
|
113
|
+
max-width: 100%;
|
|
114
|
+
display: inline-block;
|
|
115
|
+
border-right: 0px;
|
|
116
|
+
border-left: 0px;
|
|
117
|
+
}
|
|
118
|
+
#wenyan table {
|
|
119
|
+
border-collapse: collapse;
|
|
120
|
+
margin: 1.4em auto;
|
|
121
|
+
max-width: 100%;
|
|
122
|
+
table-layout: fixed;
|
|
123
|
+
text-align: left;
|
|
124
|
+
overflow: auto;
|
|
125
|
+
display: table;
|
|
126
|
+
word-wrap: break-word;
|
|
127
|
+
word-break: break-all;
|
|
128
|
+
}
|
|
129
|
+
#wenyan table td,
|
|
130
|
+
#wenyan table th {
|
|
131
|
+
font-size: 0.75em;
|
|
132
|
+
padding: 9px 12px;
|
|
133
|
+
line-height: 22px;
|
|
134
|
+
border: 1px solid rgb(239, 112, 96);
|
|
135
|
+
vertical-align: top;
|
|
136
|
+
}
|
|
137
|
+
#wenyan table th {
|
|
138
|
+
font-weight: bold;
|
|
139
|
+
background-color: #fff9f9;
|
|
140
|
+
color: rgb(239, 112, 96);
|
|
141
|
+
}
|
|
142
|
+
#wenyan span code,
|
|
143
|
+
#wenyan li code {
|
|
144
|
+
color: rgb(239, 112, 96);
|
|
145
|
+
}
|
|
146
|
+
#wenyan pre {
|
|
147
|
+
border-radius: 5px;
|
|
148
|
+
line-height: 2;
|
|
149
|
+
margin: 1em 0.5em;
|
|
150
|
+
padding: .5em;
|
|
151
|
+
box-shadow: rgba(0, 0, 0, 0.55) 0px 1px 5px;
|
|
152
|
+
font-size: 12px;
|
|
153
|
+
}
|
|
154
|
+
#wenyan pre code {
|
|
155
|
+
display: block;
|
|
156
|
+
margin: .5em;
|
|
157
|
+
padding: 0;
|
|
158
|
+
}
|
|
159
|
+
#wenyan .footnote {
|
|
160
|
+
color: rgb(239, 112, 96);
|
|
161
|
+
}
|
|
162
|
+
#wenyan #footnotes p {
|
|
163
|
+
display: flex;
|
|
164
|
+
margin: 0;
|
|
165
|
+
font-size: 0.9em;
|
|
166
|
+
}
|
|
167
|
+
#wenyan .footnote-num {
|
|
168
|
+
display: inline;
|
|
169
|
+
width: 10%;
|
|
170
|
+
}
|
|
171
|
+
#wenyan .footnote-txt {
|
|
172
|
+
display: inline;
|
|
173
|
+
width: 90%;
|
|
174
|
+
word-wrap: break-word;
|
|
175
|
+
word-break: break-all;
|
|
176
|
+
}
|