tona-vite 1.0.21 → 1.0.23
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/README.md +81 -21
- package/README.zh-CN.md +123 -0
- package/dist/index.d.mts.map +1 -1
- package/dist/index.mjs +8 -10
- package/dist/index.mjs.map +1 -1
- package/package.json +33 -33
- package/public/css/blog-common.min.css +3347 -2874
- package/public/css/mobile-common.min.css +108 -92
- package/public/index.html +1 -1
- package/public/js/blog.common.min.js +20882 -15206
- package/public/js/highlight.min.js +10739 -1483
- package/public/js/highlightjs-line-numbers.min.js +162 -128
- package/public/js/jquery.min.js +5277 -3927
|
@@ -1,226 +1,242 @@
|
|
|
1
1
|
body {
|
|
2
|
-
|
|
3
|
-
|
|
2
|
+
font-size: 14px !important;
|
|
3
|
+
-webkit-text-size-adjust: none;
|
|
4
4
|
}
|
|
5
5
|
|
|
6
|
-
.skin-codinglife .bannerbar-mobile
|
|
7
|
-
|
|
6
|
+
.skin-codinglife .bannerbar-mobile,
|
|
7
|
+
.skin-codinglife .imagebar-mobile {
|
|
8
|
+
margin-bottom: -10px;
|
|
8
9
|
}
|
|
9
10
|
|
|
10
|
-
.skin-codinglife .bannerbar-text-mobile
|
|
11
|
-
|
|
11
|
+
.skin-codinglife .bannerbar-text-mobile,
|
|
12
|
+
.skin-codinglife .imagebar-text-mobile {
|
|
13
|
+
margin-bottom: 0;
|
|
12
14
|
}
|
|
13
15
|
|
|
14
|
-
.bannerbar-text-mobile
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
16
|
+
.bannerbar-text-mobile,
|
|
17
|
+
.imagebar-text-mobile {
|
|
18
|
+
text-align: center;
|
|
19
|
+
padding: 10px 0;
|
|
20
|
+
background-color: #ede9f2;
|
|
18
21
|
}
|
|
19
22
|
|
|
20
|
-
.bannerbar-text-mobile a:link
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
23
|
+
.bannerbar-text-mobile a:link,
|
|
24
|
+
.bannerbar-text-mobile a:hover,
|
|
25
|
+
.bannerbar-text-mobile a:active,
|
|
26
|
+
.bannerbar-text-mobile a:visited,
|
|
27
|
+
.imagebar-text-mobile a:link,
|
|
28
|
+
.imagebar-text-mobile a:hover,
|
|
29
|
+
.imagebar-text-mobile a:active,
|
|
30
|
+
.imagebar-text-mobile a:visited {
|
|
31
|
+
color: #369;
|
|
32
|
+
font-size: 14px;
|
|
33
|
+
text-decoration: none;
|
|
24
34
|
}
|
|
25
35
|
|
|
26
|
-
.bannerbar-text-mobile a:hover
|
|
27
|
-
|
|
36
|
+
.bannerbar-text-mobile a:hover,
|
|
37
|
+
.imagebar-text-mobile a:hover {
|
|
38
|
+
text-decoration: underline;
|
|
28
39
|
}
|
|
29
40
|
|
|
30
|
-
#bannerbar img
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
41
|
+
#bannerbar img,
|
|
42
|
+
#imagebar img {
|
|
43
|
+
width: 100% !important;
|
|
44
|
+
max-width: 100% !important;
|
|
45
|
+
max-height: 70px;
|
|
34
46
|
}
|
|
35
47
|
|
|
36
48
|
.formobile {
|
|
37
|
-
|
|
49
|
+
display: block;
|
|
38
50
|
}
|
|
39
51
|
|
|
40
52
|
.forpc {
|
|
41
|
-
|
|
53
|
+
display: none !important;
|
|
42
54
|
}
|
|
43
55
|
|
|
44
56
|
#blog_nav_rss {
|
|
45
|
-
|
|
57
|
+
display: none !important;
|
|
46
58
|
}
|
|
47
59
|
|
|
48
60
|
#blog_nav_rss_image {
|
|
49
|
-
|
|
61
|
+
display: none !important;
|
|
50
62
|
}
|
|
51
63
|
|
|
52
64
|
#blog_nav_newpost {
|
|
53
|
-
|
|
65
|
+
display: none !important;
|
|
54
66
|
}
|
|
55
67
|
|
|
56
|
-
.blogpost-body img
|
|
57
|
-
|
|
58
|
-
|
|
68
|
+
.blogpost-body img,
|
|
69
|
+
.blog_comment_body img {
|
|
70
|
+
max-width: 300px !important;
|
|
71
|
+
height: auto;
|
|
59
72
|
}
|
|
60
73
|
|
|
61
|
-
.blogpost-body p>img {
|
|
62
|
-
|
|
63
|
-
|
|
74
|
+
.blogpost-body p > img {
|
|
75
|
+
display: block;
|
|
76
|
+
margin: auto;
|
|
64
77
|
}
|
|
65
78
|
|
|
66
79
|
.blogpost-body iframe {
|
|
67
|
-
|
|
68
|
-
|
|
80
|
+
max-width: 100% !important;
|
|
81
|
+
height: auto;
|
|
69
82
|
}
|
|
70
83
|
|
|
71
84
|
div.commentform textarea {
|
|
72
|
-
|
|
85
|
+
min-height: 200px;
|
|
73
86
|
}
|
|
74
87
|
|
|
75
88
|
.commentbox_title {
|
|
76
|
-
|
|
89
|
+
width: auto;
|
|
77
90
|
}
|
|
78
91
|
|
|
79
92
|
#green_channel {
|
|
80
|
-
|
|
93
|
+
width: 100%;
|
|
81
94
|
}
|
|
82
95
|
|
|
83
96
|
#cnblogs_post_body table[style] {
|
|
84
|
-
|
|
85
|
-
|
|
97
|
+
width: auto !important;
|
|
98
|
+
height: auto !important;
|
|
86
99
|
}
|
|
87
100
|
|
|
88
|
-
#sidebar_search_box input[type=
|
|
89
|
-
|
|
101
|
+
#sidebar_search_box input[type='text'] {
|
|
102
|
+
width: 260px;
|
|
90
103
|
}
|
|
91
104
|
|
|
92
105
|
#cnblogs_post_body table {
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
106
|
+
display: block;
|
|
107
|
+
overflow-x: scroll;
|
|
108
|
+
-webkit-overflow-scrolling: regular;
|
|
109
|
+
max-height: 800px;
|
|
97
110
|
}
|
|
98
111
|
|
|
99
112
|
#cnblogs_post_body table::-webkit-scrollbar:horizontal {
|
|
100
|
-
|
|
113
|
+
height: 12px;
|
|
101
114
|
}
|
|
102
115
|
|
|
103
116
|
#cnblogs_post_body table::-webkit-scrollbar-track {
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
117
|
+
-webkit-box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.3);
|
|
118
|
+
border-radius: 10px;
|
|
119
|
+
background-color: #f5f5f5;
|
|
107
120
|
}
|
|
108
121
|
|
|
109
122
|
#cnblogs_post_body table::-webkit-scrollbar {
|
|
110
|
-
|
|
111
|
-
|
|
123
|
+
width: 12px;
|
|
124
|
+
background-color: #f5f5f5;
|
|
112
125
|
}
|
|
113
126
|
|
|
114
127
|
#cnblogs_post_body table::-webkit-scrollbar-thumb {
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
128
|
+
border-radius: 10px;
|
|
129
|
+
-webkit-box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.3);
|
|
130
|
+
background-color: #555;
|
|
118
131
|
}
|
|
119
132
|
|
|
120
|
-
#blog_c1
|
|
121
|
-
|
|
122
|
-
|
|
133
|
+
#blog_c1,
|
|
134
|
+
#cnblogs_c2 {
|
|
135
|
+
text-align: center;
|
|
136
|
+
margin: 10px auto 0 auto;
|
|
123
137
|
}
|
|
124
138
|
|
|
125
139
|
#blog_c1 {
|
|
126
|
-
|
|
140
|
+
width: 300px;
|
|
127
141
|
}
|
|
128
142
|
|
|
129
143
|
#cnblogs_c2 img {
|
|
130
|
-
|
|
131
|
-
|
|
144
|
+
max-width: 100%;
|
|
145
|
+
height: auto;
|
|
132
146
|
}
|
|
133
147
|
|
|
134
148
|
.commentform {
|
|
135
|
-
|
|
149
|
+
margin-left: 10px;
|
|
136
150
|
}
|
|
137
151
|
|
|
138
152
|
.commentbox_tab {
|
|
139
|
-
|
|
153
|
+
/* width:100%; */
|
|
140
154
|
}
|
|
141
155
|
|
|
142
156
|
.comment_textarea {
|
|
143
|
-
|
|
157
|
+
width: 100%;
|
|
144
158
|
}
|
|
145
159
|
|
|
146
160
|
div.commentform textarea {
|
|
147
|
-
|
|
161
|
+
font-size: 16px;
|
|
148
162
|
}
|
|
149
163
|
|
|
150
|
-
.commentbox_title_right
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
164
|
+
.commentbox_title_right,
|
|
165
|
+
.commentbox_title_left {
|
|
166
|
+
/* width: auto; */
|
|
167
|
+
/* max-width:100%; */
|
|
168
|
+
/* justify-content:space-between; */
|
|
154
169
|
}
|
|
155
170
|
|
|
156
171
|
.commentbox_title_right {
|
|
157
|
-
|
|
172
|
+
padding: 8px 5px;
|
|
158
173
|
}
|
|
159
174
|
|
|
160
175
|
.navbar {
|
|
161
|
-
|
|
176
|
+
display: none;
|
|
162
177
|
}
|
|
163
178
|
|
|
164
|
-
.cnblogs-markdown :not(pre,div,td)>code
|
|
165
|
-
|
|
179
|
+
.cnblogs-markdown :not(pre, div, td) > code,
|
|
180
|
+
.blogpost-body :not(pre, div, td) > code {
|
|
181
|
+
white-space: pre-wrap;
|
|
166
182
|
}
|
|
167
183
|
|
|
168
184
|
.category-link-list {
|
|
169
|
-
|
|
185
|
+
grid-template-columns: repeat(2, minmax(0, 1fr));
|
|
170
186
|
}
|
|
171
187
|
|
|
172
188
|
body.skin-lessismore {
|
|
173
|
-
|
|
189
|
+
min-width: auto;
|
|
174
190
|
}
|
|
175
191
|
|
|
176
192
|
.skin-lessismore #home {
|
|
177
|
-
|
|
193
|
+
width: 100%;
|
|
178
194
|
}
|
|
179
195
|
|
|
180
196
|
.skin-lessismore #mainContent {
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
197
|
+
float: none;
|
|
198
|
+
width: 100%;
|
|
199
|
+
padding-left: 0;
|
|
200
|
+
padding-right: 0;
|
|
185
201
|
}
|
|
186
202
|
|
|
187
203
|
.skin-lessismore #sideBarMain {
|
|
188
|
-
|
|
204
|
+
width: 100%;
|
|
189
205
|
}
|
|
190
206
|
|
|
191
207
|
.skin-lessismore .forFlow {
|
|
192
|
-
|
|
208
|
+
margin: 10px;
|
|
193
209
|
}
|
|
194
210
|
|
|
195
211
|
.skin-lessismore #green_channel {
|
|
196
|
-
|
|
212
|
+
width: 80%;
|
|
197
213
|
}
|
|
198
214
|
|
|
199
215
|
.skin-lessismore #tbCommentBody {
|
|
200
|
-
|
|
216
|
+
width: 100%;
|
|
201
217
|
}
|
|
202
218
|
|
|
203
219
|
.skin-simplememory #mainContent {
|
|
204
|
-
|
|
205
|
-
|
|
220
|
+
float: none;
|
|
221
|
+
margin-left: 0;
|
|
206
222
|
}
|
|
207
223
|
|
|
208
224
|
.skin-simplememory #main {
|
|
209
|
-
|
|
225
|
+
padding: 10px;
|
|
210
226
|
}
|
|
211
227
|
|
|
212
228
|
.skin-simplememory .forFlow {
|
|
213
|
-
|
|
229
|
+
margin: 0 10px;
|
|
214
230
|
}
|
|
215
231
|
|
|
216
232
|
.skin-simplememory #sideBarMain {
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
|
|
220
|
-
|
|
233
|
+
width: 100%;
|
|
234
|
+
float: none;
|
|
235
|
+
padding: 10px;
|
|
236
|
+
margin-right: 0;
|
|
221
237
|
}
|
|
222
238
|
|
|
223
239
|
.skin-custom #mainContent {
|
|
224
|
-
|
|
225
|
-
|
|
240
|
+
float: none;
|
|
241
|
+
margin-left: 0;
|
|
226
242
|
}
|
package/public/index.html
CHANGED