hexo-theme-solitude 1.10.0 → 1.10.1
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/.github/screenshot.webp +0 -0
- package/README.md +7 -5
- package/README_en-US.md +7 -5
- package/README_zh-Hant.md +7 -5
- package/_config.yml +10 -7
- package/languages/default.yml +1 -0
- package/languages/en.yml +1 -0
- package/languages/zh-CN.yml +1 -0
- package/languages/zh-TW.yml +1 -0
- package/layout/includes/body/gadsense.pug +2 -2
- package/layout/includes/inject/head.pug +1 -1
- package/layout/includes/widgets/aside/asideAdsense.pug +5 -0
- package/layout/includes/widgets/aside/asideCustom.pug +4 -3
- package/layout/includes/widgets/aside/asideSwitch.pug +2 -0
- package/layout/includes/widgets/home/categoryBar.pug +6 -2
- package/layout/includes/widgets/home/postList.pug +2 -2
- package/layout/post.pug +5 -0
- package/package.json +1 -1
- package/scripts/event/merge_config.js +355 -321
- package/source/css/_comments/comment.styl +2 -0
- package/source/css/_comments/twikoo.styl +16 -37
- package/source/css/_global/index.styl +13 -6
- package/source/css/_layout/aside.styl +8 -1
- package/source/css/_layout/other.styl +0 -3
- package/source/css/_mode/index.styl +2 -0
- package/source/css/_page/_about/reward.styl +1 -6
- package/source/css/_page/_home/category-bar.styl +26 -21
- package/source/css/_page/_home/home-top.styl +3 -0
- package/source/css/_post/ads.styl +4 -0
- package/source/css/_post/index.styl +4 -1
- package/source/css/_post/tools.styl +3 -0
- package/source/img/error_load.webp +0 -0
- package/source/img/loading.gif +0 -0
- package/.github/screenshot.png +0 -0
- package/README_fr.md +0 -90
- package/README_ja.md +0 -88
- package/source/img/error_load.png +0 -0
- package/source/img/pwa/favicon_128.ico +0 -0
- package/source/img/pwa/favicon_256.ico +0 -0
- package/source/img/pwa/favicon_512.ico +0 -0
@@ -159,6 +159,8 @@ div#post-comment
|
|
159
159
|
overflow hidden
|
160
160
|
animation owoIn .3s cubic-bezier(.42, 0, .3, 1.11)
|
161
161
|
padding 1rem
|
162
|
+
+maxWidth768()
|
163
|
+
display none !important
|
162
164
|
|
163
165
|
if hexo-config('twikoo.style') && 'Twikoo' in hexo-config('comment.use')
|
164
166
|
@import 'twikoo.styl'
|
@@ -443,12 +443,14 @@ button.el-button.tk-cancel.el-button--default.el-button--small
|
|
443
443
|
border-radius 8px !important
|
444
444
|
color var(--efu-fontcolor) !important
|
445
445
|
|
446
|
-
@media screen and (max-width: 768px)
|
447
|
-
.OwO .OwO-body
|
448
|
-
width 300px
|
449
446
|
|
450
447
|
.OwO
|
448
|
+
&.OwO-open
|
449
|
+
.OwO-body
|
450
|
+
animation .3s ease .1s 1 normal both running donate_effcet
|
451
451
|
.OwO-body
|
452
|
+
z-index 102
|
453
|
+
width 500px
|
452
454
|
border var(--style-border-always) !important
|
453
455
|
border-radius 8px !important
|
454
456
|
overflow hidden
|
@@ -456,26 +458,12 @@ button.el-button.tk-cancel.el-button--default.el-button--small
|
|
456
458
|
backdrop-filter saturate(180%) blur(10px)
|
457
459
|
-webkit-backdrop-filter blur(10px)
|
458
460
|
transform translateZ(0)
|
461
|
+
+maxWidth768()
|
462
|
+
width 300px
|
459
463
|
|
460
464
|
.OwO-bar
|
461
465
|
border-top none !important
|
462
466
|
|
463
|
-
.OwO-items
|
464
|
-
.OwO-item:hover
|
465
|
-
box-shadow var(--efu-shadow-lightblack) !important
|
466
|
-
border-radius 8px
|
467
|
-
|
468
|
-
#twikoo > div.tk-comments > div.tk-submit > div.tk-row.actions > div > div.tk-action-icon.OwO.OwO-open > div.OwO-body > div > ul > li > span
|
469
|
-
line-height 48px
|
470
|
-
font-size 28px
|
471
|
-
|
472
|
-
.OwO
|
473
|
-
&.OwO-open
|
474
|
-
.OwO-body
|
475
|
-
animation .3s ease .1s 1 normal both running donate_effcet
|
476
|
-
|
477
|
-
.OwO-body
|
478
|
-
.OwO-bar
|
479
467
|
.OwO-packages
|
480
468
|
li
|
481
469
|
margin-right 0 !important
|
@@ -485,6 +473,15 @@ button.el-button.tk-cancel.el-button--default.el-button--small
|
|
485
473
|
li:hover
|
486
474
|
transition .3s
|
487
475
|
|
476
|
+
.OwO-items
|
477
|
+
.OwO-item:hover
|
478
|
+
box-shadow var(--efu-shadow-lightblack) !important
|
479
|
+
border-radius 8px
|
480
|
+
|
481
|
+
#twikoo > div.tk-comments > div.tk-submit > div.tk-row.actions > div > div.tk-action-icon.OwO.OwO-open > div.OwO-body > div > ul > li > span
|
482
|
+
line-height 48px
|
483
|
+
font-size 28px
|
484
|
+
|
488
485
|
.OwO-packages
|
489
486
|
background var(--efu-background)
|
490
487
|
padding-left 8px !important
|
@@ -504,24 +501,6 @@ button.el-button.tk-cancel.el-button--default.el-button--small
|
|
504
501
|
.OwO-packages
|
505
502
|
li
|
506
503
|
line-height 45px !important
|
507
|
-
z-index 102
|
508
|
-
width 500px
|
509
|
-
|
510
|
-
#owo-big
|
511
|
-
position fixed
|
512
|
-
align-items center
|
513
|
-
background-color var(--efu-card-bg)
|
514
|
-
border var(--style-border-always)
|
515
|
-
border-radius 10px
|
516
|
-
z-index 9999
|
517
|
-
display none
|
518
|
-
transform translate(0, -105%)
|
519
|
-
overflow hidden
|
520
|
-
animation owoIn .3s cubic-bezier(.42, 0, .3, 1.11)
|
521
|
-
padding 1rem
|
522
|
-
|
523
|
-
img
|
524
|
-
width 100%
|
525
504
|
|
526
505
|
.tk-replies
|
527
506
|
.tk-content
|
@@ -249,15 +249,17 @@ input::placeholder
|
|
249
249
|
margin 0 0 1rem
|
250
250
|
|
251
251
|
table
|
252
|
-
display block
|
253
252
|
width 100%
|
254
253
|
border-spacing 0
|
255
254
|
border-collapse collapse
|
256
255
|
empty-cells show
|
257
|
-
overflow-x auto
|
258
256
|
|
259
|
-
|
260
|
-
display
|
257
|
+
+maxWidth768()
|
258
|
+
display block
|
259
|
+
overflow-x auto
|
260
|
+
|
261
|
+
&::-webkit-scrollbar
|
262
|
+
display none
|
261
263
|
|
262
264
|
table thead
|
263
265
|
background var(--efu-secondbg)
|
@@ -299,6 +301,9 @@ img:not([src]), img[src=""]
|
|
299
301
|
flex-direction row
|
300
302
|
align-items center
|
301
303
|
|
304
|
+
iframe
|
305
|
+
border-radius 12px
|
306
|
+
|
302
307
|
.copy-true
|
303
308
|
user-select all
|
304
309
|
|
@@ -323,13 +328,15 @@ li, ul
|
|
323
328
|
padding 0
|
324
329
|
|
325
330
|
::-webkit-scrollbar
|
326
|
-
width
|
331
|
+
width 10px
|
327
332
|
height 6px
|
328
333
|
|
329
334
|
::-webkit-scrollbar-thumb
|
330
|
-
background var(--efu-
|
335
|
+
background var(--efu-card-border)
|
336
|
+
opacity .5
|
331
337
|
border-radius 8px
|
332
338
|
cursor pointer
|
339
|
+
border 2px solid var(--efu-background)
|
333
340
|
|
334
341
|
::-webkit-scrollbar-thumb:hover
|
335
342
|
background var(--efu-main)
|
@@ -87,6 +87,10 @@
|
|
87
87
|
color var(--efu-main)
|
88
88
|
transform scale(1.1)
|
89
89
|
|
90
|
+
&:active
|
91
|
+
transform scale(.97)
|
92
|
+
opacity .8
|
93
|
+
|
90
94
|
.card-info-social-icons
|
91
95
|
margin 0
|
92
96
|
display flex
|
@@ -894,4 +898,7 @@ backcolor = convert(hexo-config('aside.flip.backcolor'))
|
|
894
898
|
transform rotateY(180deg)
|
895
899
|
box-sizing border-box
|
896
900
|
background url(faceback) center center no-repeat
|
897
|
-
background-size 100%
|
901
|
+
background-size 100%
|
902
|
+
|
903
|
+
.card-widget.card-adsense
|
904
|
+
padding 0
|
@@ -25,6 +25,7 @@
|
|
25
25
|
--efu-post-blockquote-bg #000
|
26
26
|
--efu-post-tabs-bg #121212
|
27
27
|
--efu-secondbg #30343f
|
28
|
+
--efu-secondbg-bg #21232a
|
28
29
|
--efu-shadow-nav 0 5px 20px 0px rgba(28, 28, 28, 0.4)
|
29
30
|
--efu-card-bg #1b1c20
|
30
31
|
--efu-card-bg-op var(--efu-white-op)
|
@@ -70,6 +71,7 @@
|
|
70
71
|
--efu-post-blockquote-bg #fafcff
|
71
72
|
--efu-post-tabs-bg #f2f5f8
|
72
73
|
--efu-secondbg #f7f7f9
|
74
|
+
--efu-secondbg-bg var(--efu-secondbg)
|
73
75
|
--efu-shadow-nav 0 5px 12px -5px rgba(102, 68, 68, 0.05)
|
74
76
|
--efu-card-bg #fff
|
75
77
|
--efu-card-bg-op var(--efu-black-op)
|
@@ -39,13 +39,8 @@
|
|
39
39
|
padding 8px 12px
|
40
40
|
background var(--efu-red)
|
41
41
|
border-radius 12px
|
42
|
-
color var(--efu-white)
|
43
|
-
display flex
|
44
|
-
align-items center
|
45
42
|
z-index 1
|
46
|
-
|
47
|
-
cursor pointer
|
48
|
-
box-shadow none
|
43
|
+
box-shadow initial
|
49
44
|
width fit-content
|
50
45
|
height fit-content
|
51
46
|
line-height 2
|
@@ -1,5 +1,5 @@
|
|
1
1
|
#category-bar
|
2
|
-
padding
|
2
|
+
padding .4rem .7rem
|
3
3
|
background var(--efu-card-bg)
|
4
4
|
border-radius 12px
|
5
5
|
display flex
|
@@ -34,12 +34,27 @@
|
|
34
34
|
|
35
35
|
.category-bar-right
|
36
36
|
display flex
|
37
|
+
align-items center
|
37
38
|
|
38
|
-
|
39
|
-
|
40
|
-
|
39
|
+
.category-bar-next
|
40
|
+
margin-left 8px
|
41
|
+
cursor pointer
|
42
|
+
height 30px
|
43
|
+
width 30px
|
44
|
+
display flex
|
45
|
+
border-radius 8px
|
46
|
+
align-items center
|
47
|
+
justify-content center
|
48
|
+
transition .3s
|
41
49
|
|
42
|
-
|
50
|
+
.category-bar-more
|
51
|
+
margin-left 4px
|
52
|
+
font-weight 700
|
53
|
+
border-radius 8px
|
54
|
+
padding 0 8px
|
55
|
+
|
56
|
+
div:hover,a:hover
|
57
|
+
background var(--efu-secondbg-bg)
|
43
58
|
color var(--efu-lighttext)
|
44
59
|
|
45
60
|
.category-bar-items
|
@@ -57,8 +72,8 @@
|
|
57
72
|
.category-bar-item
|
58
73
|
&:hover
|
59
74
|
a
|
60
|
-
background var(--efu-
|
61
|
-
color var(--efu-
|
75
|
+
background var(--efu-secondbg-bg)
|
76
|
+
color var(--efu-lighttext)
|
62
77
|
|
63
78
|
a
|
64
79
|
padding .1rem .5rem
|
@@ -68,6 +83,7 @@
|
|
68
83
|
display flex
|
69
84
|
align-items center
|
70
85
|
height 30px
|
86
|
+
border var(--style-border-always)
|
71
87
|
|
72
88
|
&.select
|
73
89
|
order -1
|
@@ -76,17 +92,6 @@
|
|
76
92
|
background var(--efu-theme)
|
77
93
|
color var(--efu-white)
|
78
94
|
|
79
|
-
|
80
|
-
|
81
|
-
|
82
|
-
height 30px
|
83
|
-
width 30px
|
84
|
-
display flex
|
85
|
-
border-radius 8px
|
86
|
-
align-items center
|
87
|
-
justify-content center
|
88
|
-
transition .3s
|
89
|
-
@media (hover: hover)
|
90
|
-
.category-bar-next:hover
|
91
|
-
backgroundvar(--efu-secondbg)
|
92
|
-
color var(--efu-lighttext)
|
95
|
+
&.home
|
96
|
+
a
|
97
|
+
border initial
|
Binary file
|
package/source/img/loading.gif
CHANGED
Binary file
|
package/.github/screenshot.png
DELETED
Binary file
|
package/README_fr.md
DELETED
@@ -1,90 +0,0 @@
|
|
1
|
-
[简体中文](README.md)丨[繁体中文](README_zh-Hant.md)丨[English](README_en-US.md)丨Français丨[日本語](README_ja.md)
|
2
|
-
|
3
|
-
<div align="center">
|
4
|
-
|
5
|
-
<img src=".github/logo.svg" alt="Logo de la solitude" height="200">
|
6
|
-
|
7
|
-
<h1>Thème Hexo Solitude</h1>
|
8
|
-
|
9
|
-
Un thème Hexo élégant qui prend en charge le chargement paresseux, les PWA, le latex et les systèmes de commentaires
|
10
|
-
multiples.
|
11
|
-
|
12
|
-
La conception du thème est entièrement autorisée par [@张洪Heo](https://github.comzhheo).
|
13
|
-
|
14
|
-

|
15
|
-

|
16
|
-

|
17
|
-
[](https://github.com/valor-x/hexo-theme-solitude/stargazers)
|
18
|
-
[](https://www.npmjs.com/package/hexo-theme-solitude)
|
19
|
-
|
20
|
-

|
21
|
-

|
22
|
-
|
23
|
-

|
24
|
-

|
25
|
-

|
26
|
-
|
27
|
-

|
28
|
-

|
29
|
-

|
30
|
-
[](https://developer.mozilla.org/en-US/docs/Web/Progressive_web_apps)
|
31
|
-
|
32
|
-
[](https://twitter.com/efu_oo)
|
33
|
-
[](https://t.me/solitudePro)
|
34
|
-
[](https://discord.gg/Y8VEvVgW)
|
35
|
-
|
36
|
-

|
37
|
-

|
38
|
-
|
39
|
-
[](https://gitee.com/nsjjd_w/hexo-theme-solitude)
|
40
|
-
[](https://gitlab.com/efu/hexo-theme-solitude)
|
41
|
-
|
42
|
-
[Aperçu](https://www.efu.me/) 丨 [documentation](https://docs.efu.me/)
|
43
|
-
|
44
|
-
</div>
|
45
|
-
|
46
|
-

|
47
|
-
|
48
|
-
## caractéristique
|
49
|
-
|
50
|
-
- Chargement paresseux de page (Pjax), chargement paresseux d’image (LazyLoad), application hors ligne (PWA)
|
51
|
-
- Commentaires (Twikoo, Waline, Valine, Artalk)
|
52
|
-
- Mode couleur
|
53
|
-
- Lightbox (zoom moyen, fancybox)
|
54
|
-
- Formules mathématiques (latex)
|
55
|
-
- Pages en vedette : Essais instantanés, Mon équipement, Outils en ligne, Galerie de musique, Étang à poissons Friend
|
56
|
-
Chain, Page d’album photo, Page Douban
|
57
|
-
- Caractéristiques de l’article : résumé de l’IA, mise en évidence du code
|
58
|
-
|
59
|
-
## Todo
|
60
|
-
|
61
|
-
- [x] Examen d’Artalk
|
62
|
-
- [x] Double examen
|
63
|
-
- [x] album photo
|
64
|
-
|
65
|
-
> Si vous avez des questions, n’hésitez pas à les poser [issue](https://github.com/valor-x/hexo-theme-solitude/issues)
|
66
|
-
|
67
|
-
## appliquer
|
68
|
-
|
69
|
-
1. Utiliser le package NPM pour l’installation
|
70
|
-
```bash
|
71
|
-
npm i hexo-theme-solitude
|
72
|
-
```
|
73
|
-
2. Appliquer un thème
|
74
|
-
```yaml
|
75
|
-
theme: solitude
|
76
|
-
```
|
77
|
-
|
78
|
-
Go to [Docs](https://docs.efu.me) for more information.
|
79
|
-
|
80
|
-
## Sponsors
|
81
|
-
|
82
|
-
<p align="center">
|
83
|
-
<a href="https://cdn.jsdelivr.net/gh/efuo/static/sponsors.svg">
|
84
|
-
<img src='https://cdn.jsdelivr.net/gh/efuo/static/sponsors.svg'/>
|
85
|
-
</a>
|
86
|
-
</p>
|
87
|
-
|
88
|
-
## copyright
|
89
|
-
|
90
|
-
[MIT](./LICENSE) License © 2023-jusqu’ici [Efu](https://github.com/efuo)
|
package/README_ja.md
DELETED
@@ -1,88 +0,0 @@
|
|
1
|
-
[简体中文](README.md)丨[繁体中文](README_zh-Hant.md)丨[English](README_en-US.md)丨[Français](README_fr.md)丨日本語
|
2
|
-
|
3
|
-
<div align="center">
|
4
|
-
|
5
|
-
<img src=".github/logo.svg" alt="Solitude logo" height="200">
|
6
|
-
|
7
|
-
<h1>ヘキソテーマソリチュード</h1>
|
8
|
-
|
9
|
-
遅延読み込み、PWA、ラテックス、および複数のコメントシステムをサポートするエレガントなHexoテーマ。
|
10
|
-
|
11
|
-
テーマデザインは [@张洪Heo](https://github.comzhheo) によって完全にライセンスされています。
|
12
|
-
|
13
|
-

|
14
|
-

|
15
|
-

|
16
|
-
[](https://github.com/valor-x/hexo-theme-solitude/stargazers)
|
17
|
-
[](https://www.npmjs.com/package/hexo-theme-solitude)
|
18
|
-
|
19
|
-

|
20
|
-

|
21
|
-
|
22
|
-

|
23
|
-

|
24
|
-

|
25
|
-
|
26
|
-

|
27
|
-

|
28
|
-

|
29
|
-
[](https://developer.mozilla.org/en-US/docs/Web/Progressive_web_apps)
|
30
|
-
|
31
|
-
[](https://twitter.com/efu_oo)
|
32
|
-
[](https://t.me/solitudePro)
|
33
|
-
[](https://discord.gg/Y8VEvVgW)
|
34
|
-
|
35
|
-

|
36
|
-

|
37
|
-
|
38
|
-
[](https://gitee.com/nsjjd_w/hexo-theme-solitude)
|
39
|
-
[](https://gitlab.com/efu/hexo-theme-solitude)
|
40
|
-
|
41
|
-
[プレビュー](https://www.efu.me/) 丨 [ドキュメンテーション](https://docs.efu.me/)
|
42
|
-
|
43
|
-
</div>
|
44
|
-
|
45
|
-

|
46
|
-
|
47
|
-
## 特性
|
48
|
-
|
49
|
-
- ページ遅延読み込み(Pjax)、画像遅延読み込み(LazyLoad)、オフラインアプリケーション(PWA)
|
50
|
-
- コメント(Twikoo、Waline、Valine、Artalk)
|
51
|
-
- カラーモード
|
52
|
-
- ライトボックス(中ズーム、ファンシーボックス)
|
53
|
-
- 数式(ラテックス)
|
54
|
-
- 注目のページ:インスタントエッセイ、マイ機器、オンラインツール、ミュージックギャラリー、フレンドチェーンフィッシュポンド、フォトアルバムページ、Doubanページ
|
55
|
-
- 記事の特徴:AIの要約、コードの強調表示
|
56
|
-
|
57
|
-
## すべての
|
58
|
-
|
59
|
-
- [x] Artalkレビュー
|
60
|
-
- [x] ダブルレビュー
|
61
|
-
- [x] 写真集
|
62
|
-
|
63
|
-
> ご不明な点がございましたら、お問い合わせください [issue](https://github.com/valor-x/hexo-theme-solitude/issues)
|
64
|
-
|
65
|
-
## 申し込む
|
66
|
-
|
67
|
-
1. インストールに NPM パッケージを使用する
|
68
|
-
```bash
|
69
|
-
npm i hexo-theme-solitude
|
70
|
-
```
|
71
|
-
2. テーマを適用する
|
72
|
-
```yaml
|
73
|
-
theme: solitude
|
74
|
-
```
|
75
|
-
|
76
|
-
詳しくは [Docs](https://docs.efu.me) をご覧ください。
|
77
|
-
|
78
|
-
## スポンサー
|
79
|
-
|
80
|
-
<p align="center">
|
81
|
-
<a href="https://cdn.jsdelivr.net/gh/efuo/static/sponsors.svg">
|
82
|
-
<img src='https://cdn.jsdelivr.net/gh/efuo/static/sponsors.svg'/>
|
83
|
-
</a>
|
84
|
-
</p>
|
85
|
-
|
86
|
-
## 著作権
|
87
|
-
|
88
|
-
[MIT](./LICENSE) License © 2023-これまで [Efu](https://github.com/efuo)
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|