hexo-theme-particlex 2.6.3 → 2.6.5
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 +8 -8
- package/_config.yml +4 -4
- package/package.json +1 -1
- package/source/css/main.css +7 -11
package/README.md
CHANGED
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
|
|
9
9
|
> 目前有 Full、Night 和 Maiden **两个**主题样式
|
|
10
10
|
|
|
11
|
-
|
|
11
|
+
但是更改后只有一种了,如果你想改颜色就在 `main.css` 里替换吧
|
|
12
12
|
|
|
13
13
|
# 1. 演示
|
|
14
14
|
|
|
@@ -205,7 +205,7 @@ preview:
|
|
|
205
205
|
|
|
206
206
|
一般来说,缩略展示文档只需要在文档中添加 `<!-- more -->` 即可,缩略内容在显示全文中也会出现
|
|
207
207
|
|
|
208
|
-
但考虑到不想把缩略内容放在正文里,就添加了此参数,在 [Front-Matter](https://hexo.io/
|
|
208
|
+
但考虑到不想把缩略内容放在正文里,就添加了此参数,在 [Front-Matter](https://hexo.io/docs/front-matter) 里设置
|
|
209
209
|
|
|
210
210
|
支持 Markdown 格式
|
|
211
211
|
|
|
@@ -216,11 +216,11 @@ description: |
|
|
|
216
216
|
|
|
217
217
|
### 3.3.6. 文章置顶
|
|
218
218
|
|
|
219
|
-
在 [Front-Matter](https://hexo.io/
|
|
219
|
+
在 [Front-Matter](https://hexo.io/docs/front-matter) 里设置 `pinned` 作为置顶参数,越大越靠前,默认为 0
|
|
220
220
|
|
|
221
221
|
### 3.3.7. 文章加密
|
|
222
222
|
|
|
223
|
-
使用 AES 加密算法,在 [Front-Matter](https://hexo.io/
|
|
223
|
+
使用 AES 加密算法,在 [Front-Matter](https://hexo.io/docs/front-matter) 里设置 `secret` 作为密码,**使用请安装插件 [Hexo-Helper-Crypto](https://github.com/theme-particlex/hexo-helper-crypto)**
|
|
224
224
|
|
|
225
225
|
```yaml
|
|
226
226
|
# Article encryption
|
|
@@ -264,7 +264,7 @@ giscus:
|
|
|
264
264
|
emitMetadata: 0
|
|
265
265
|
inputPosition: bottom
|
|
266
266
|
theme: preferred_color_scheme
|
|
267
|
-
lang:
|
|
267
|
+
lang:
|
|
268
268
|
```
|
|
269
269
|
|
|
270
270
|
### 3.4.2. Gitalk
|
|
@@ -283,7 +283,7 @@ gitalk:
|
|
|
283
283
|
repo: # The name of repository of store comments
|
|
284
284
|
owner: # GitHub repo owner
|
|
285
285
|
admin: # GitHub repo owner and collaborators, only these guys can initialize github issues
|
|
286
|
-
language:
|
|
286
|
+
language: # en, zh-CN, zh-TW, es-ES, fr, ru, de, pl and ko are currently available
|
|
287
287
|
proxy: # CORS proxy
|
|
288
288
|
```
|
|
289
289
|
|
|
@@ -315,7 +315,7 @@ waline:
|
|
|
315
315
|
- link
|
|
316
316
|
requiredMeta: # Set required meta field, e.g.: [nick] | [nick, mail]
|
|
317
317
|
- nick
|
|
318
|
-
lang:
|
|
318
|
+
lang: # Language, available values: en-US, zh-CN, zh-TW, pt-BR, ru-RU, jp-JP
|
|
319
319
|
wordLimit: 0 # Word limit, no limit when setting to 0
|
|
320
320
|
login: enable # Whether enable login, can choose from 'enable', 'disable' and 'force'
|
|
321
321
|
pageSize: 10 # Comment per page
|
|
@@ -333,7 +333,7 @@ twikoo:
|
|
|
333
333
|
envID:
|
|
334
334
|
region:
|
|
335
335
|
path: location.pathname
|
|
336
|
-
lang:
|
|
336
|
+
lang:
|
|
337
337
|
```
|
|
338
338
|
|
|
339
339
|
# 4. 写在最后
|
package/_config.yml
CHANGED
|
@@ -100,7 +100,7 @@ giscus:
|
|
|
100
100
|
emitMetadata: 0
|
|
101
101
|
inputPosition: bottom
|
|
102
102
|
theme: preferred_color_scheme
|
|
103
|
-
lang:
|
|
103
|
+
lang:
|
|
104
104
|
|
|
105
105
|
# Gitalk
|
|
106
106
|
# https://github.com/gitalk/gitalk
|
|
@@ -111,7 +111,7 @@ gitalk:
|
|
|
111
111
|
repo: # The name of repository of store comments
|
|
112
112
|
owner: # GitHub repo owner
|
|
113
113
|
admin: # GitHub repo owner and collaborators, only these guys can initialize github issues
|
|
114
|
-
language:
|
|
114
|
+
language: # en, zh-CN, zh-TW, es-ES, fr, ru, de, pl and ko are currently available
|
|
115
115
|
proxy: # CORS proxy
|
|
116
116
|
|
|
117
117
|
# Waline
|
|
@@ -135,7 +135,7 @@ waline:
|
|
|
135
135
|
- link
|
|
136
136
|
requiredMeta: # Set required meta field, e.g.: [nick] | [nick, mail]
|
|
137
137
|
- nick
|
|
138
|
-
lang:
|
|
138
|
+
lang: # Language, available values: en-US, zh-CN, zh-TW, pt-BR, ru-RU, jp-JP
|
|
139
139
|
wordLimit: 0 # Word limit, no limit when setting to 0
|
|
140
140
|
login: enable # Whether enable login, can choose from 'enable', 'disable' and 'force'
|
|
141
141
|
pageSize: 10 # Comment per page
|
|
@@ -147,4 +147,4 @@ twikoo:
|
|
|
147
147
|
envID:
|
|
148
148
|
region:
|
|
149
149
|
path: location.pathname
|
|
150
|
-
lang:
|
|
150
|
+
lang:
|
package/package.json
CHANGED
package/source/css/main.css
CHANGED
|
@@ -425,15 +425,15 @@
|
|
|
425
425
|
z-index: 1003;
|
|
426
426
|
}
|
|
427
427
|
#menu.hidden {
|
|
428
|
-
top: -50px
|
|
428
|
+
top: -50px;
|
|
429
429
|
}
|
|
430
430
|
#menu.menu-color {
|
|
431
|
-
background: #0003
|
|
432
|
-
box-shadow: 0 -1px 10px 0 transparent !important;
|
|
431
|
+
background: #0003;
|
|
433
432
|
}
|
|
434
|
-
#menu.menu-color
|
|
435
|
-
#menu.menu-color a
|
|
436
|
-
|
|
433
|
+
#menu.menu-color #desktop-menu a,
|
|
434
|
+
#menu.menu-color #mobile-menu a,
|
|
435
|
+
#menu.menu-color #mobile-menu .title {
|
|
436
|
+
color: #fff;
|
|
437
437
|
}
|
|
438
438
|
#preview {
|
|
439
439
|
align-items: center;
|
|
@@ -571,7 +571,7 @@ body::-webkit-scrollbar-track {
|
|
|
571
571
|
transform: scale(1.1);
|
|
572
572
|
}
|
|
573
573
|
.katex {
|
|
574
|
-
|
|
574
|
+
white-space: normal !important;
|
|
575
575
|
}
|
|
576
576
|
.language {
|
|
577
577
|
background: linear-gradient(to right, #ed6ea0 0%, #ec8c69 100%);
|
|
@@ -759,14 +759,10 @@ ol {
|
|
|
759
759
|
margin: 15px 0;
|
|
760
760
|
}
|
|
761
761
|
pre {
|
|
762
|
-
border: 1px solid #ebeef5;
|
|
763
762
|
border: 1px solid #ebeef5;
|
|
764
763
|
border-radius: 15px;
|
|
765
|
-
border-radius: 15px;
|
|
766
|
-
box-shadow: 0 2px 12px 0 #0000001a;
|
|
767
764
|
box-shadow: 0 2px 12px 0 #0000001a;
|
|
768
765
|
margin: 25px 0;
|
|
769
|
-
margin: 25px 0;
|
|
770
766
|
white-space: normal;
|
|
771
767
|
}
|
|
772
768
|
pre,
|