hexo-theme-solitude 1.4.7 → 1.5.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 (62) hide show
  1. package/CONTRIBUTING.md +16 -3
  2. package/README.md +2 -2
  3. package/README_EN.md +2 -2
  4. package/_config.yml +115 -186
  5. package/languages/en-US.yml +0 -1
  6. package/languages/zh-CN.yml +0 -1
  7. package/languages/zh-TW.yml +0 -1
  8. package/layout/includes/footer.pug +8 -6
  9. package/layout/includes/inject/body.pug +0 -2
  10. package/layout/includes/inject/head.pug +5 -3
  11. package/layout/includes/nav.pug +3 -3
  12. package/layout/includes/sidebar.pug +1 -1
  13. package/layout/includes/widgets/aside/asideInfoCard.pug +4 -3
  14. package/layout/includes/widgets/home/banner.pug +11 -4
  15. package/layout/includes/widgets/home/categoryGroup.pug +12 -8
  16. package/layout/includes/widgets/home/hometop.pug +1 -2
  17. package/layout/includes/widgets/home/postList.pug +2 -2
  18. package/layout/includes/widgets/nav/group.pug +13 -0
  19. package/layout/includes/widgets/nav/menu.pug +20 -16
  20. package/layout/includes/widgets/page/about/award.pug +1 -1
  21. package/layout/includes/widgets/page/equipment/content.pug +1 -1
  22. package/layout/includes/widgets/page/links/linksCard.pug +0 -1
  23. package/layout/includes/widgets/third-party/comments/waline.pug +2 -0
  24. package/layout/includes/widgets/third-party/news-comment/twikoo.pug +2 -2
  25. package/layout/includes/widgets/third-party/news-comment/waline.pug +2 -2
  26. package/layout/includes/widgets/third-party/search/algolia-search.pug +1 -1
  27. package/layout/includes/widgets/third-party/search/local-search.pug +1 -1
  28. package/layout/index.pug +6 -6
  29. package/package.json +1 -1
  30. package/plugins.yml +0 -5
  31. package/scripts/helper/stylus.js +28 -1
  32. package/source/css/_global/animation.styl +6 -0
  33. package/source/css/_layout/basic.styl +10 -1
  34. package/source/css/_layout/header.styl +5 -5
  35. package/source/css/_layout/index.styl +0 -1
  36. package/source/css/_page/_about/skills.styl +1 -1
  37. package/source/css/_page/_home/category-bar.styl +14 -14
  38. package/source/css/_page/_home/home-top.styl +57 -45
  39. package/source/css/_page/_home/recent-post.styl +1 -1
  40. package/source/css/_page/equipment.styl +3 -2
  41. package/source/css/_page/home.styl +0 -15
  42. package/source/css/_page/links.styl +9 -8
  43. package/source/css/_page/says.styl +1 -2
  44. package/source/css/_page/share.styl +30 -67
  45. package/source/css/_widgets/_aside/flip.styl +3 -6
  46. package/source/css/_widgets/_aside/index.styl +1 -1
  47. package/source/css/_widgets/_aside/info.styl +1 -1
  48. package/source/css/_widgets/_comment/twikoo.styl +4 -6
  49. package/source/css/_widgets/_comment/waline.styl +435 -72
  50. package/source/css/_widgets/_extra/console.styl +2 -1
  51. package/source/css/_widgets/_extra/fullpage.styl +1 -1
  52. package/source/css/_widgets/_mixins/footer.styl +4 -2
  53. package/source/css/_widgets/_post/content.styl +1 -11
  54. package/source/css/_widgets/_post/copyright.styl +2 -2
  55. package/source/css/_widgets/_post/meta.styl +2 -2
  56. package/source/css/_widgets/_post/relatedPost.styl +1 -1
  57. package/source/css/_widgets/_post/tools.styl +1 -1
  58. package/source/css/_widgets/_search/algolia-search.styl +4 -2
  59. package/source/css/_widgets/_tags/note.styl +4 -0
  60. package/source/js/main.js +27 -35
  61. package/source/js/sco-ai.min.js +1 -1
  62. package/layout/includes/widgets/nav/left.pug +0 -10
@@ -5,9 +5,8 @@ div#banners
5
5
  +minWidth1200()
6
6
  display flex
7
7
  width 100%
8
- height 76%
8
+ height 100%
9
9
  background var(--sco-card-bg)
10
- margin-bottom .5rem
11
10
  border var(--style-border)
12
11
  border-radius 12px
13
12
  overflow hidden
@@ -55,15 +54,15 @@ div#banners
55
54
  font-size 1rem
56
55
 
57
56
  .banners-title
58
- top 2rem
59
- left 1.5rem
57
+ top 2.6rem
58
+ left 2rem
60
59
  position absolute
61
60
  display flex
62
61
  flex-direction column
63
62
 
64
63
  &-big
65
64
  font-size 36px
66
- line-height 1
65
+ line-height 1.15
67
66
  font-weight 700
68
67
  margin-bottom 8px
69
68
 
@@ -72,38 +71,8 @@ div#banners
72
71
  line-height 1
73
72
  color var(--sco-secondtext)
74
73
  margin-top 8px
75
- margin-bottom .5rem
76
-
77
- #banner-hover
78
- position absolute
79
- width 100%
80
- height 100%
81
- top 0
82
- left 0
83
- border-radius 12px
84
- background var(--sco-theme)
85
- color var(--sco-card-bg)
86
- padding-left .5rem
87
- display flex
88
- flex-direction column
89
- justify-content center
90
- opacity 0
91
- transition cubic-bezier(.71, .15, .16, 1.15) .6s
92
-
93
- i
94
- font-size 80px
95
- opacity .4
96
-
97
- &:hover
98
- #banner-hover
99
- opacity 1
100
- padding-left 2rem
101
- background var(--sco-theme-op-deep)
102
- backdrop-filter blur(15px)
103
- transform translateZ(0)
104
- transition .3s
105
- background-size 200%
106
- cursor pointer
74
+ margin-bottom 0.5rem
75
+ margin-left 2px
107
76
 
108
77
  .flink
109
78
  .banners-title
@@ -116,15 +85,14 @@ div#banners
116
85
 
117
86
  .tags-group-all
118
87
  display flex
119
- transform rotate(-30deg)
120
88
 
121
89
  &.nowrapMove
122
- transform rotate(0)
123
90
  padding-bottom 2rem
124
91
 
125
92
  .tags-group-wrapper
126
93
  margin-top: 7rem
127
- animation: rowup 120s linear infinite
94
+ animation: rowleft 120s linear infinite
95
+ display flex
128
96
 
129
97
  .tags-group-icon
130
98
  border-radius 50%
@@ -135,36 +103,31 @@ div#banners
135
103
  border-radius 50%
136
104
  object-fit cover
137
105
 
138
- .tags-group-wrapper
139
- margin-top: 5rem
140
- display: flex
141
- flex-wrap: nowrap
142
- animation: rowup 60s linear infinite
106
+ .tags-group-icon-pair
107
+ margin-left 1rem
108
+ user-select none
143
109
 
144
- /.tags-group-icon-pair
145
- margin-left 1rem
146
- user-select none
110
+ a img
111
+ border-radius 50%
147
112
 
148
- a img
149
- border-radius 50%
113
+ /.tags-group-icon
114
+ width 120px
115
+ height 120px
116
+ border-radius 30px
117
+ display flex
118
+ align-items center
119
+ justify-content center
120
+ color #fff
121
+ font-size 66px
122
+ font-weight 700
123
+ box-shadow var(--sco-shadow-blackdeep)
124
+
125
+ &:nth-child(even)
126
+ margin-top 1rem
127
+ transform translate(-60px)
150
128
 
151
- .tags-group-icon
152
- width 120px
153
- height 120px
154
- display flex
155
- align-items center
156
- justify-content center
157
- color #fff
158
- font-size 66px
159
- font-weight 700
160
- box-shadow var(--sco-shadow-blackdeep)
161
-
162
- &:nth-child(even)
163
- margin-top 1rem
164
- transform translate(-60px)
165
-
166
- img
167
- width 60%
129
+ img
130
+ width 60%
168
131
 
169
132
  .author-content
170
133
  display flex
@@ -1,10 +1,11 @@
1
1
  favicon = hexo-config('aside.flip.favicon')
2
2
  face = hexo-config('aside.flip.face')
3
3
  faceback = hexo-config('aside.flip.backface')
4
+ backcolor = convert(hexo-config('aside.flip.backcolor'))
4
5
 
5
6
  #aside-content
6
7
  .card-widget.card-platform
7
- background var(--sco-main)
8
+ background backcolor
8
9
  display flex
9
10
  justify-content center
10
11
  align-content center
@@ -63,8 +64,4 @@ faceback = hexo-config('aside.flip.backface')
63
64
  transform rotateY(180deg)
64
65
  box-sizing border-box
65
66
  background url(faceback) center center no-repeat
66
- background-size 100%
67
-
68
- if !hexo-config('aside.flip.darkcolor')
69
- [data-theme='dark'] #aside-content .card-widget.card-platform
70
- background var(--sco-card-bg)
67
+ background-size 100%
@@ -35,7 +35,7 @@
35
35
 
36
36
  + div, + ul
37
37
  padding 0
38
- -webkit-user-select none
38
+ user-select none
39
39
 
40
40
  .card-widget
41
41
  box-shadow var(--sco-shadow-border)
@@ -85,7 +85,7 @@
85
85
  padding 2px 8px
86
86
  border-radius 12px
87
87
  cursor pointer
88
- -webkit-user-select none
88
+ user-select none
89
89
  transition .3s
90
90
  margin auto
91
91
  min-width 100px
@@ -28,7 +28,7 @@
28
28
  .tk-action-link
29
29
  color var(--sco-lighttext) !important
30
30
  cursor pointer
31
- -webkit-user-select none
31
+ user-select none
32
32
  padding 0 12px 0 12px
33
33
  transition all .3s
34
34
  border-radius 8px
@@ -50,8 +50,6 @@
50
50
 
51
51
  .tk-content
52
52
  img
53
- max-height 1100px !important
54
- max-width 100% !important
55
53
  border-radius 12px
56
54
 
57
55
  .tk-avatar
@@ -211,7 +209,7 @@
211
209
  border var(--style-border-always)
212
210
  box-shadow var(--sco-shadow-border)
213
211
  border-radius 12px
214
- -webkit-user-select none
212
+ user-select none
215
213
 
216
214
  &:hover
217
215
  background var(--sco-theme) !important
@@ -286,7 +284,7 @@
286
284
  .el-input-group__prepend
287
285
  box-shadow none
288
286
  border-radius 12px 0 0 12px
289
- -webkit-user-select none
287
+ user-select none
290
288
 
291
289
  @media screen and (max-width: 768px)
292
290
  .tk-meta-input
@@ -516,4 +514,4 @@ button.el-button.tk-cancel.el-button--default.el-button--small
516
514
 
517
515
  .el-textarea .el-input__count
518
516
  color var(--sco-secondtext) !important
519
- -webkit-user-select none
517
+ user-select none