hexo-theme-particlex 2.1.3 → 2.1.5
Sign up to get free protection for your applications and to get access to all the features.
- package/README.md +5 -2
- package/layout/card.ejs +6 -2
- package/package.json +1 -1
- package/source/css/particlex.css +13 -16
package/README.md
CHANGED
@@ -144,7 +144,10 @@ highlightStyle: github # Highlight style
|
|
144
144
|
支持 Markdown 格式
|
145
145
|
|
146
146
|
```yaml
|
147
|
-
description:
|
147
|
+
description: |-
|
148
|
+
Normal
|
149
|
+
_Italic_
|
150
|
+
**Strong**
|
148
151
|
```
|
149
152
|
|
150
153
|
- 页脚
|
@@ -177,7 +180,7 @@ highlightStyle: github # Highlight style
|
|
177
180
|
|
178
181
|
- 渲染数学公式
|
179
182
|
|
180
|
-
使用
|
183
|
+
使用 KaTeX 渲染数学公式,默认关闭
|
181
184
|
|
182
185
|
```yaml
|
183
186
|
math:
|
package/layout/card.ejs
CHANGED
@@ -13,6 +13,7 @@
|
|
13
13
|
</div>
|
14
14
|
<% }); %>
|
15
15
|
</div>
|
16
|
+
<% if (Object.keys(theme.card.iconLinks).length) { %>
|
16
17
|
<div class="icon-links">
|
17
18
|
<% Object.keys(theme.card.iconLinks).forEach(key => { %>
|
18
19
|
<span class="icon-link">
|
@@ -22,14 +23,17 @@
|
|
22
23
|
</span>
|
23
24
|
<% }); %>
|
24
25
|
</div>
|
26
|
+
<% } %>
|
27
|
+
<% if (Object.keys(theme.card.friendLinks).length) { %>
|
25
28
|
<div class="friend-links">
|
26
29
|
<% Object.keys(theme.card.friendLinks).forEach(key => { %>
|
27
|
-
<
|
30
|
+
<span class="friend-link">
|
28
31
|
<a href="<%- theme.card.friendLinks[key] %>">
|
29
32
|
<%= key %>
|
30
33
|
</a>
|
31
|
-
</
|
34
|
+
</span>
|
32
35
|
<% }); %>
|
33
36
|
</div>
|
37
|
+
<% } %>
|
34
38
|
</div>
|
35
39
|
</div>
|
package/package.json
CHANGED
package/source/css/particlex.css
CHANGED
@@ -291,7 +291,7 @@ footer .footer-wrap {
|
|
291
291
|
color: #1e3e3f;
|
292
292
|
}
|
293
293
|
#home-posts .post .post-tags {
|
294
|
-
line-height: 1.
|
294
|
+
line-height: 1.7;
|
295
295
|
}
|
296
296
|
#home-posts .post .post-tags a {
|
297
297
|
font-size: 14px;
|
@@ -414,7 +414,6 @@ footer .footer-wrap {
|
|
414
414
|
font-size: 16px;
|
415
415
|
font-weight: bold;
|
416
416
|
color: #1e3e3f;
|
417
|
-
text-transform: uppercase;
|
418
417
|
}
|
419
418
|
#home-card .card-style .descriptions {
|
420
419
|
margin: 20px auto;
|
@@ -423,9 +422,8 @@ footer .footer-wrap {
|
|
423
422
|
#home-card .card-style .icon-links {
|
424
423
|
width: 85%;
|
425
424
|
margin: 10px auto;
|
426
|
-
padding:
|
425
|
+
padding-top: 10px;
|
427
426
|
border-top: #cdcdcd solid 1px;
|
428
|
-
border-bottom: #cdcdcd solid 1px;
|
429
427
|
}
|
430
428
|
#home-card .card-style .icon-links a {
|
431
429
|
color: #5c6b72;
|
@@ -441,20 +439,18 @@ footer .footer-wrap {
|
|
441
439
|
margin: 5px;
|
442
440
|
}
|
443
441
|
#home-card .card-style .friend-links {
|
444
|
-
|
445
|
-
|
446
|
-
|
447
|
-
|
448
|
-
text-align: center;
|
442
|
+
width: 85%;
|
443
|
+
margin: 10px auto;
|
444
|
+
padding-top: 10px;
|
445
|
+
border-top: #cdcdcd solid 1px;
|
449
446
|
}
|
450
447
|
#home-card .card-style .friend-links .friend-link a {
|
451
448
|
display: inline-block;
|
452
|
-
width:
|
453
|
-
|
449
|
+
width: 100%;
|
450
|
+
margin-bottom: 5px;
|
451
|
+
line-height: 30px;
|
454
452
|
color: #5c6b72;
|
455
|
-
|
456
|
-
border-radius: 15px;
|
457
|
-
background-blend-mode: darken;
|
453
|
+
border-radius: 10px;
|
458
454
|
}
|
459
455
|
#home-card .card-style .friend-links .friend-link a:hover {
|
460
456
|
color: #fff;
|
@@ -507,6 +503,7 @@ footer .footer-wrap {
|
|
507
503
|
#menu .phone-menu .title {
|
508
504
|
z-index: 10004;
|
509
505
|
cursor: pointer;
|
506
|
+
text-transform: uppercase;
|
510
507
|
color: #555;
|
511
508
|
}
|
512
509
|
#menu .phone-menu .items {
|
@@ -718,7 +715,7 @@ footer .footer-icon {
|
|
718
715
|
text-decoration: none;
|
719
716
|
}
|
720
717
|
#archives .info {
|
721
|
-
line-height: 1.
|
718
|
+
line-height: 1.7;
|
722
719
|
}
|
723
720
|
#archives .category {
|
724
721
|
display: inline-block;
|
@@ -786,7 +783,7 @@ footer .footer-icon {
|
|
786
783
|
margin: 20px 0;
|
787
784
|
}
|
788
785
|
.article .info {
|
789
|
-
line-height: 1.
|
786
|
+
line-height: 1.7;
|
790
787
|
}
|
791
788
|
.article .info a {
|
792
789
|
color: #5c6b72;
|