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.
Files changed (40) hide show
  1. package/.github/screenshot.webp +0 -0
  2. package/README.md +7 -5
  3. package/README_en-US.md +7 -5
  4. package/README_zh-Hant.md +7 -5
  5. package/_config.yml +10 -7
  6. package/languages/default.yml +1 -0
  7. package/languages/en.yml +1 -0
  8. package/languages/zh-CN.yml +1 -0
  9. package/languages/zh-TW.yml +1 -0
  10. package/layout/includes/body/gadsense.pug +2 -2
  11. package/layout/includes/inject/head.pug +1 -1
  12. package/layout/includes/widgets/aside/asideAdsense.pug +5 -0
  13. package/layout/includes/widgets/aside/asideCustom.pug +4 -3
  14. package/layout/includes/widgets/aside/asideSwitch.pug +2 -0
  15. package/layout/includes/widgets/home/categoryBar.pug +6 -2
  16. package/layout/includes/widgets/home/postList.pug +2 -2
  17. package/layout/post.pug +5 -0
  18. package/package.json +1 -1
  19. package/scripts/event/merge_config.js +355 -321
  20. package/source/css/_comments/comment.styl +2 -0
  21. package/source/css/_comments/twikoo.styl +16 -37
  22. package/source/css/_global/index.styl +13 -6
  23. package/source/css/_layout/aside.styl +8 -1
  24. package/source/css/_layout/other.styl +0 -3
  25. package/source/css/_mode/index.styl +2 -0
  26. package/source/css/_page/_about/reward.styl +1 -6
  27. package/source/css/_page/_home/category-bar.styl +26 -21
  28. package/source/css/_page/_home/home-top.styl +3 -0
  29. package/source/css/_post/ads.styl +4 -0
  30. package/source/css/_post/index.styl +4 -1
  31. package/source/css/_post/tools.styl +3 -0
  32. package/source/img/error_load.webp +0 -0
  33. package/source/img/loading.gif +0 -0
  34. package/.github/screenshot.png +0 -0
  35. package/README_fr.md +0 -90
  36. package/README_ja.md +0 -88
  37. package/source/img/error_load.png +0 -0
  38. package/source/img/pwa/favicon_128.ico +0 -0
  39. package/source/img/pwa/favicon_256.ico +0 -0
  40. 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
- &::-webkit-scrollbar
260
- display none
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 6px
331
+ width 10px
327
332
  height 6px
328
333
 
329
334
  ::-webkit-scrollbar-thumb
330
- background var(--efu-scrollbar)
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
@@ -1,7 +1,4 @@
1
1
  span.tags-punctuation
2
- margin-right 2px
3
- font-size .7rem
4
- font-weight 700
5
2
  display flex
6
3
  align-items center
7
4
 
@@ -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
- transition .3s
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 0.4rem 1rem 0.4rem 0.7rem
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
- .category-bar-more
39
- margin-left 14px
40
- font-weight 700
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
- &:hover
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-theme)
61
- color var(--efu-white)
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
- .category-bar-next
80
- margin-left 8px
81
- cursor pointer
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
@@ -313,6 +313,9 @@
313
313
 
314
314
  .banner-button-group
315
315
  bottom: 1rem
316
+
317
+ +maxWidth768()
318
+ margin-right 1rem
316
319
 
317
320
  .banners-links
318
321
  display flex
@@ -0,0 +1,4 @@
1
+ #post
2
+ .google-ads-warp
3
+ +maxWidth900()
4
+ margin 0 1rem
@@ -12,4 +12,7 @@ if hexo-config('comment.commentBarrage')
12
12
  @import "pagination"
13
13
 
14
14
  if hexo-config('post_ai.enable')
15
- @import "postAI"
15
+ @import "postAI"
16
+
17
+ if hexo-config('google_adsense.enable')
18
+ @import "ads.styl"
@@ -62,6 +62,9 @@
62
62
  cursor pointer
63
63
  transition all .4s ease 0s
64
64
 
65
+ i
66
+ margin-right 4px
67
+
65
68
  &:hover
66
69
  background-color var(--efu-theme)
67
70
 
Binary file
Binary file
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
- ![npm package](https://img.shields.io/npm/v/hexo-theme-solitude?logo=npm)
15
- ![release](https://img.shields.io/github/package-json/v/valor-x/hexo-theme-solitude/master?color=%231ab1ad&label=release)
16
- ![license](https://img.shields.io/github/license/valor-x/hexo-theme-solitude?color=FF5531)
17
- [![Stars](https://img.shields.io/github/stars/valor-x/hexo-theme-solitude)](https://github.com/valor-x/hexo-theme-solitude/stargazers)
18
- [![NPM all downloads](https://img.shields.io/npm/dy/hexo-theme-solitude?color=white)](https://www.npmjs.com/package/hexo-theme-solitude)
19
-
20
- ![hexo version](https://img.shields.io/badge/hexo-7.0.0+-blue?logo=hexo&logoColor=white)
21
- ![node version](https://img.shields.io/badge/node-14.0.0-white?logo=node.js&logoColor=white)
22
-
23
- ![Latex](https://img.shields.io/badge/latex-20B2AA?logo=Latex)
24
- ![Ads](https://img.shields.io/badge/Google_Ads-black?logo=googleads)
25
- ![algolia](https://img.shields.io/badge/algolia-457AFF?logo=algolia)
26
-
27
- ![cdnjs](https://img.shields.io/badge/cdnjs-orange?logo=Cloudflare&logoColor=white)
28
- ![A11y](https://img.shields.io/badge/A11y-green?logo=%C3%8Ele-de-France%20Mobilit%C3%A9s&logoColor=white)
29
- ![mermaid](https://img.shields.io/badge/mermaid-ff3670?logo=mermaid&logoColor=white)
30
- [![pwa](https://img.shields.io/badge/pwa-red?logo=pwa)](https://developer.mozilla.org/en-US/docs/Web/Progressive_web_apps)
31
-
32
- [![twiter](https://img.shields.io/badge/Twitter-gray?logo=x)](https://twitter.com/efu_oo)
33
- [![TG](https://img.shields.io/badge/Telegram-gray?logo=Telegram&logoColor=white)](https://t.me/solitudePro)
34
- [![Discord](https://img.shields.io/discord/1218118131428495430?label=Discord&logo=Discord&labelColor=white&color=black)](https://discord.gg/Y8VEvVgW)
35
-
36
- ![JetBrains](https://img.shields.io/badge/jetbrains-support-black?logo=jetbrains)
37
- ![DuoLingo](https://img.shields.io/badge/duolingo-support-black?logo=duolingo&logoColor=white)
38
-
39
- [![gitee](https://img.shields.io/badge/Gitee-red?logo=gitee)](https://gitee.com/nsjjd_w/hexo-theme-solitude)
40
- [![gitlab](https://img.shields.io/badge/GitLab-blue?logo=gitlab)](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
- ![Screenshot](.github/screenshot.png)
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 &copy; 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
- ![npm package](https://img.shields.io/npm/v/hexo-theme-solitude?logo=npm)
14
- ![release](https://img.shields.io/github/package-json/v/valor-x/hexo-theme-solitude/master?color=%231ab1ad&label=release)
15
- ![license](https://img.shields.io/github/license/valor-x/hexo-theme-solitude?color=FF5531)
16
- [![Stars](https://img.shields.io/github/stars/valor-x/hexo-theme-solitude)](https://github.com/valor-x/hexo-theme-solitude/stargazers)
17
- [![NPM all downloads](https://img.shields.io/npm/dy/hexo-theme-solitude?color=white)](https://www.npmjs.com/package/hexo-theme-solitude)
18
-
19
- ![hexo version](https://img.shields.io/badge/hexo-7.0.0+-blue?logo=hexo&logoColor=white)
20
- ![node version](https://img.shields.io/badge/node-14.0.0-white?logo=node.js&logoColor=white)
21
-
22
- ![Latex](https://img.shields.io/badge/latex-20B2AA?logo=Latex)
23
- ![Ads](https://img.shields.io/badge/Google_Ads-black?logo=googleads)
24
- ![algolia](https://img.shields.io/badge/algolia-457AFF?logo=algolia)
25
-
26
- ![cdnjs](https://img.shields.io/badge/cdnjs-orange?logo=Cloudflare&logoColor=white)
27
- ![A11y](https://img.shields.io/badge/A11y-green?logo=%C3%8Ele-de-France%20Mobilit%C3%A9s&logoColor=white)
28
- ![mermaid](https://img.shields.io/badge/mermaid-ff3670?logo=mermaid&logoColor=white)
29
- [![pwa](https://img.shields.io/badge/pwa-red?logo=pwa)](https://developer.mozilla.org/en-US/docs/Web/Progressive_web_apps)
30
-
31
- [![twiter](https://img.shields.io/badge/Twitter-gray?logo=x)](https://twitter.com/efu_oo)
32
- [![TG](https://img.shields.io/badge/Telegram-gray?logo=Telegram&logoColor=white)](https://t.me/solitudePro)
33
- [![Discord](https://img.shields.io/discord/1218118131428495430?label=Discord&logo=Discord&labelColor=white&color=black)](https://discord.gg/Y8VEvVgW)
34
-
35
- ![JetBrains](https://img.shields.io/badge/jetbrains-support-black?logo=jetbrains)
36
- ![DuoLingo](https://img.shields.io/badge/duolingo-support-black?logo=duolingo&logoColor=white)
37
-
38
- [![gitee](https://img.shields.io/badge/Gitee-red?logo=gitee)](https://gitee.com/nsjjd_w/hexo-theme-solitude)
39
- [![gitlab](https://img.shields.io/badge/GitLab-blue?logo=gitlab)](https://gitlab.com/efu/hexo-theme-solitude)
40
-
41
- [プレビュー](https://www.efu.me/) 丨 [ドキュメンテーション](https://docs.efu.me/)
42
-
43
- </div>
44
-
45
- ![Screenshot](.github/screenshot.png)
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 &copy; 2023-これまで [Efu](https://github.com/efuo)
Binary file
Binary file
Binary file
Binary file