hexo-theme-solitude 3.0.7 → 3.0.8

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/languages/en.yml CHANGED
File without changes
File without changes
File without changes
@@ -10,23 +10,19 @@ if skills || careers
10
10
  span.author-content-item-title= skills.subtitle
11
11
  .skills-style-group
12
12
  .tags-group-all
13
- - let times = 4 * (skills.tags.length? Math.ceil(20/skills.tags.length):0)
14
- - let length = times * skills.tags.length
15
- - let duration = length * 1200 - 900
16
- .tags-group-wrapper(style=`animation-duration: ${duration}ms`)
13
+ .tags-group-wrapper
17
14
  - var pair = []
18
- - for (let i = 0; i < times; i++)
19
- each tag, index in skills.tags
20
- - pair.push(tag)
21
- if pair.length === 2
22
- .tags-group-icon-pair
23
- each item in pair
24
- .tags-group-icon(style=`background:${item.color}`)
25
- if item.img
26
- img(src=item.img, title=item.title)
27
- else if item.icon
28
- i(class=item.icon, title=item.title, style=`color: ${item.icon_color ? item.icon_color : ''}`)
29
- - pair = []
15
+ each tag, index in skills.tags
16
+ - pair.push(tag)
17
+ if pair.length === 2
18
+ .tags-group-icon-pair
19
+ each item in pair
20
+ .tags-group-icon(style=`background:${item.color}`)
21
+ if item.img
22
+ img(src=item.img, title=item.title)
23
+ else if item.icon
24
+ i(class=item.icon, title=item.title, style=`color: ${item.icon_color ? item.icon_color : ''}`)
25
+ - pair = []
30
26
  .skills-list
31
27
  each tag in skills.tags
32
28
  .skill-info
package/package.json CHANGED
@@ -1,8 +1,11 @@
1
1
  {
2
2
  "name": "hexo-theme-solitude",
3
- "version": "3.0.7",
3
+ "version": "3.0.8",
4
4
  "description": "A beautiful, powerful, and efficient Hexo theme developed by everfu.",
5
5
  "main": "package.json",
6
+ "scripts": {
7
+ "test": "echo \"Error: no test specified\" && exit 1"
8
+ },
6
9
  "keywords": [
7
10
  "hexo",
8
11
  "theme",
@@ -26,8 +29,5 @@
26
29
  },
27
30
  "homepage": "https://solitude.js.org",
28
31
  "author": "Hexo-Theme-Solitude<o@efu.me>",
29
- "license": "Apache-2.0",
30
- "scripts": {
31
- "test": "echo \"Error: no test specified\" && exit 1"
32
- }
33
- }
32
+ "license": "Apache-2.0"
33
+ }
@@ -211,7 +211,6 @@
211
211
  font-size 14px
212
212
 
213
213
  .card-tag-cloud
214
- max-height 360px
215
214
  overflow hidden
216
215
  position relative
217
216
  display flex
@@ -219,6 +218,25 @@
219
218
  flex-wrap wrap
220
219
  gap 5px
221
220
 
221
+ #aside-content &
222
+ max-height 360px
223
+
224
+ &.all-tags
225
+ max-height none
226
+
227
+ &::after
228
+ display none
229
+
230
+ &::after
231
+ content ""
232
+ position absolute
233
+ bottom 0
234
+ left 0
235
+ right 0
236
+ height 150px
237
+ background-image linear-gradient(to top, var(--efu-card-bg), transparent)
238
+ pointer-events none
239
+
222
240
  a
223
241
  color var(--efu-fontcolor)
224
242
  padding 0 .3rem
@@ -466,4 +484,22 @@ if hexo-config('comment.newest_comment.enable')
466
484
  .categories
467
485
  font-size 12px
468
486
  color var(--efu-secondtext)
469
- margin-top auto
487
+ margin-top auto
488
+
489
+ #more-tags-btn
490
+ transition .3s
491
+ width 100%
492
+ text-align center
493
+ background var(--efu-secondbg)
494
+ color var(--efu-fontcolor)
495
+ border-radius 8px
496
+ display flex
497
+ justify-content center
498
+ font-size 14px
499
+ padding 4px 0
500
+ border var(--style-border-always)
501
+ box-shadow var(--heo-shadow-border)
502
+ cursor pointer
503
+
504
+ &:hover
505
+ background var(--efu-main)