hexo-theme-solitude 1.4.0 → 1.4.2

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 (59) hide show
  1. package/_config.yml +66 -15
  2. package/languages/en-US.yml +3 -2
  3. package/languages/zh-CN.yml +3 -2
  4. package/layout/404.pug +1 -1
  5. package/layout/includes/console.pug +4 -0
  6. package/layout/includes/head/config.pug +1 -1
  7. package/layout/includes/head.pug +1 -1
  8. package/layout/includes/inject/body.pug +6 -5
  9. package/layout/includes/keyboard.pug +65 -0
  10. package/layout/includes/layout.pug +4 -0
  11. package/layout/includes/page/about.pug +1 -1
  12. package/layout/includes/page/album.pug +56 -0
  13. package/layout/includes/page/gallery.pug +11 -0
  14. package/layout/includes/page/links.pug +2 -0
  15. package/layout/includes/page/moment.pug +28 -0
  16. package/layout/includes/widgets/page/moments/angle.pug +19 -0
  17. package/layout/includes/widgets/page/says/json.pug +2 -4
  18. package/layout/includes/widgets/page/says/local.pug +3 -7
  19. package/layout/includes/widgets/page/says/memos.pug +2 -4
  20. package/layout/includes/widgets/third-party/search/algolia-search.pug +20 -15
  21. package/layout/includes/widgets/third-party/search/local-search.pug +3 -0
  22. package/layout/page.pug +6 -0
  23. package/package.json +1 -1
  24. package/plugins.yml +6 -2
  25. package/source/css/_global/index.styl +1 -5
  26. package/source/css/_layout/basic.styl +6 -2
  27. package/source/css/_mode/index.styl +6 -1
  28. package/source/css/_page/about/author.styl +94 -0
  29. package/source/css/_page/about/buff.styl +34 -0
  30. package/source/css/_page/about/careers.styl +27 -0
  31. package/source/css/_page/about/contentinfo.styl +78 -0
  32. package/source/css/_page/about/game.styl +41 -0
  33. package/source/css/_page/about/index.styl +39 -1
  34. package/source/css/_page/about/like.styl +29 -0
  35. package/source/css/_page/about/maxim.styl +23 -0
  36. package/source/css/_page/about/myphoto.styl +34 -0
  37. package/source/css/_page/about/oneself.styl +91 -0
  38. package/source/css/_page/about/personalities.styl +25 -0
  39. package/source/css/_page/about/reward.styl +113 -0
  40. package/source/css/_page/about/skills.styl +75 -0
  41. package/source/css/_page/about/statistic.styl +55 -0
  42. package/source/css/_page/gallery/index.styl +96 -0
  43. package/source/css/_page/index.styl +24 -4
  44. package/source/css/_page/moment.styl +4 -2
  45. package/source/css/_widgets/_comment/twikoo.styl +20 -17
  46. package/source/css/_widgets/_mixins/keyboard.styl +59 -0
  47. package/source/css/_widgets/_search/algolia-search.styl +37 -16
  48. package/source/css/_widgets/_search/local-search.styl +18 -2
  49. package/source/css/_widgets/_tags/link.styl +1 -1
  50. package/source/css/_widgets/index.styl +4 -0
  51. package/source/css/index.styl +0 -1
  52. package/source/js/covercolor/api.js +22 -21
  53. package/source/js/covercolor/local.js +21 -15
  54. package/source/js/main.js +15 -1
  55. package/source/js/search/algolia.js +4 -2
  56. package/source/js/search/local.js +3 -1
  57. package/source/js/utils.js +1 -1
  58. package/source/css/_page/about.styl +0 -773
  59. package/source/img/avatar.png +0 -0
@@ -54,8 +54,4 @@
54
54
  --card-box-shadow 0 3px 8px 6px rgba(7, 17, 27, 0.06)
55
55
  --card-hover-box-shadow 0 3px 8px 6px rgba(7, 17, 27, 0.15)
56
56
  --offset 0px
57
- --hlscrollbar-bg #121212
58
-
59
- +maxWidth768()
60
- --style-border 0px solid var(--sco-none)
61
- --style-border-hover 0px solid var(--sco-main)
57
+ --hlscrollbar-bg #121212
@@ -192,7 +192,6 @@ button
192
192
 
193
193
  img
194
194
  border-style none
195
- border-radius 8px
196
195
  max-width 100%
197
196
  transition all .2s ease 0s
198
197
  -webkit-user-drag none
@@ -295,4 +294,9 @@ table thead
295
294
  background var(--sco-secondbg)
296
295
 
297
296
  b, strong
298
- color var(--sco-lighttext)
297
+ color var(--sco-lighttext)
298
+
299
+ .button--animated
300
+ border-radius 8px
301
+ transition .3s
302
+ position relative
@@ -86,4 +86,9 @@
86
86
  --style-border-forever 2px solid var(--sco-main)
87
87
  --sco-navbg var(--sco-theme-op)
88
88
  --sco-hl-bg $hl_bg_light
89
- --sco-hltools-bg $hltools_bg_light
89
+ --sco-hltools-bg $hltools_bg_light
90
+
91
+ :root
92
+ +maxWidth768()
93
+ --style-border 0px solid var(--sco-none)
94
+ --style-border-hover 0px solid var(--sco-main)
@@ -0,0 +1,94 @@
1
+ #about-page
2
+ .author-info
3
+ display flex
4
+ align-items center
5
+ margin 0 0 16px 0
6
+
7
+ .author-tag-left
8
+ display flex
9
+ flex-direction column
10
+ align-items flex-end
11
+
12
+ .author-tag
13
+ &:first-child,
14
+ &:last-child
15
+ margin-right -16px
16
+
17
+ .author-tag-right
18
+ display flex
19
+ flex-direction column
20
+ align-items flex-start
21
+
22
+ .author-tag
23
+ &:first-child,
24
+ &:last-child
25
+ margin-left -16px
26
+
27
+ +maxWidth768()
28
+ .author-tag-left, .author-tag-right
29
+ display none
30
+
31
+ .author-tag
32
+ transform translate(0, -4px)
33
+ padding 1px 8px
34
+ background var(--sco-card-bg)
35
+ border var(--style-border-always)
36
+ border-radius 40px
37
+ margin-top 6px
38
+ font-size 14px
39
+ font-weight 700
40
+ box-shadow var(--sco-shadow-lightblack)
41
+ animation 6s ease-in-out 0s infinite normal none running floating
42
+
43
+ &:nth-child(1)
44
+ animation-delay 0s
45
+
46
+ &:nth-child(2)
47
+ animation-delay .6s
48
+
49
+ &:nth-child(3)
50
+ animation-delay 1.2s
51
+
52
+ &:nth-child(4)
53
+ animation-delay 1.8s
54
+
55
+ .author-img
56
+ margin 0 30px
57
+ border-radius 50%
58
+ width 180px
59
+ height 180px
60
+ position relative
61
+ background var(--sco-secondbg)
62
+ user-select none
63
+ transition .3s
64
+
65
+ &:hover
66
+ transform scale(1.1)
67
+
68
+ +maxWidth768()
69
+ width 120px
70
+ height 120px
71
+
72
+ &::before
73
+ bottom -5px
74
+ right -5px
75
+
76
+ img
77
+ border-radius 200px
78
+
79
+ &::before
80
+ content ''
81
+ -webkit-transition 1s
82
+ -moz-transition 1s
83
+ -o-transition 1s
84
+ -ms-transition 1s
85
+ transition 1s
86
+ width 30px
87
+ height 30px
88
+ background var(--sco-green)
89
+ position absolute
90
+ border-radius 50%
91
+ border 5px solid var(--sco-background)
92
+ bottom 5px
93
+ right 10px
94
+ z-index 2
@@ -0,0 +1,34 @@
1
+ #about-page
2
+ .author-content-item.buff
3
+ font-size 36px
4
+ font-weight 700
5
+ line-height 1.1
6
+ display flex
7
+ align-items flex-start
8
+ flex-direction column
9
+ justify-content center
10
+ background linear-gradient(120deg, #ff27e8 0, #ff8000 100%)
11
+ color var(--sco-white)
12
+ background-size 200%
13
+ animation gradient 15s ease infinite
14
+ min-height 200px
15
+ height fit-content
16
+ width 59%
17
+
18
+ .card-content
19
+ display flex
20
+ flex-direction column
21
+ justify-content center
22
+
23
+ .buff-title
24
+ display flex
25
+ flex-direction column
26
+
27
+ span:first-child
28
+ opacity 0.6
29
+ margin-bottom 8px
30
+
31
+ .title1
32
+ opacity .8
33
+ font-size .6rem
34
+ margin-bottom .5rem
@@ -0,0 +1,27 @@
1
+ #about-page
2
+ .author-content-item.careers
3
+ min-height 400px
4
+
5
+ img
6
+ position absolute
7
+ left 0
8
+ bottom 20px
9
+ width 100%
10
+ transition .6s
11
+ user-select none
12
+
13
+ .careers-group
14
+ margin-top 12px
15
+
16
+ .careers-item
17
+ display flex
18
+ align-items center
19
+
20
+ .circle
21
+ width 16px
22
+ height 16px
23
+ margin-right 8px
24
+ border-radius 16px
25
+
26
+ .name
27
+ color var(--sco-secondtext)
@@ -0,0 +1,78 @@
1
+ #about-page
2
+ .myInfoAndSayHello
3
+ display flex
4
+ flex-direction column
5
+ justify-content center
6
+ color var(--sco-white)
7
+ background linear-gradient(120deg, #5b27ff 0, #00d4ff 100%)
8
+ background-size 200%
9
+ animation gradient 15s ease infinite
10
+ width 59%
11
+
12
+ .title1
13
+ opacity .8
14
+ line-height 1.3
15
+
16
+ .title2
17
+ font-size 36px
18
+ font-weight 700
19
+ line-height 1.1
20
+ margin .5rem 0
21
+
22
+ .inline-word
23
+ word-break keep-all
24
+ white-space nowrap
25
+
26
+ .aboutsiteTips
27
+ display flex
28
+ justify-content center
29
+ align-items flex-start
30
+ flex-direction column
31
+ width 39%
32
+
33
+ h2
34
+ margin-right auto
35
+ font-size 36px
36
+ font-family Helvetica
37
+ line-height 1.06
38
+ letter-spacing -.02em
39
+ color var(--sco-fontcolor)
40
+ margin-top 0
41
+
42
+ .mask
43
+ height 36px
44
+ position relative
45
+ overflow hidden
46
+ margin-top 4px
47
+
48
+ span
49
+ display block
50
+ box-sizing border-box
51
+ position absolute
52
+ top 36px
53
+ padding-bottom var(--offset)
54
+ background-size 100% 100%
55
+ -webkit-background-clip text
56
+ background-clip text
57
+ -webkit-text-fill-color transparent
58
+ background-repeat no-repeat
59
+
60
+ &[data-show]
61
+ transform translateY(-100%)
62
+ transition .5s transform ease-in-out
63
+
64
+ &[data-up]
65
+ transform translateY(-200%)
66
+ transition .5s transform ease-in-out
67
+
68
+ span:nth-child(1)
69
+ background-image linear-gradient(45deg, #0ecffe 50%, #07a6f1)
70
+
71
+ span:nth-child(2)
72
+ background-image linear-gradient(45deg, #18e198 50%, #0ec15d)
73
+
74
+ span:nth-child(3)
75
+ background-image linear-gradient(45deg, #8a7cfb 50%, #633e9c)
76
+
77
+ span:nth-child(4)
78
+ background-image linear-gradient(45deg, #fa7671 50%, #f45f7f)
@@ -0,0 +1,41 @@
1
+ #about-page
2
+ .author-content-item.game-apex
3
+ min-height 300px
4
+ overflow hidden
5
+ color var(--sco-white)
6
+ width 59%
7
+
8
+ &::after
9
+ box-shadow 0 -69px 203px 11px #04120f inset
10
+ position absolute
11
+ content ''
12
+ width 100%
13
+ height 100%
14
+ top 0
15
+ left 0
16
+
17
+ .card-content
18
+ position absolute
19
+ width 100%
20
+ height 100%
21
+ top 0
22
+ left 0
23
+ z-index 2
24
+ display flex
25
+ flex-direction column
26
+ padding 1rem 2rem
27
+
28
+ .author-content-item.game-jl
29
+ width 39%
30
+ min-height 300px
31
+ overflow hidden
32
+ color var(--sco-white)
33
+
34
+ &::after
35
+ box-shadow 0 -69px 203px 11px #415dc9 inset
36
+ position absolute
37
+ content ''
38
+ width 100%
39
+ height 100%
40
+ top 0
41
+ left 0
@@ -1 +1,39 @@
1
- @import "./tenyear.styl"
1
+ #about-page
2
+ display flex
3
+ padding-top 1rem
4
+ flex-direction column
5
+ align-items center
6
+
7
+ .author-title
8
+ font-size 2rem
9
+ font-weight 700
10
+ margin 1rem 0
11
+ line-height 1
12
+
13
+ @import "tenyear"
14
+
15
+ @import "author"
16
+
17
+ @import "contentinfo"
18
+
19
+ @import "skills"
20
+
21
+ @import "oneself"
22
+
23
+ @import "buff"
24
+
25
+ @import "game"
26
+
27
+ @import "personalities"
28
+
29
+ @import "myphoto"
30
+
31
+ @import "careers"
32
+
33
+ @import "like"
34
+
35
+ @import "maxim"
36
+
37
+ @import "statistic"
38
+
39
+ @import "reward"
@@ -0,0 +1,29 @@
1
+ #about-page
2
+ .author-content-item.like-technology
3
+ background-size cover
4
+ min-height 230px
5
+ color var(--sco-white)
6
+
7
+ &::after
8
+ box-shadow 0 -69px 203px 11px #050b20 inset
9
+ position absolute
10
+ content ''
11
+ width 100%
12
+ height 100%
13
+ top 0
14
+ left 0
15
+
16
+ .author-content-item.like-music
17
+ background-size cover
18
+ min-height 400px
19
+ color var(--sco-white)
20
+ overflow hidden
21
+
22
+ &::after
23
+ box-shadow 0 -69px 203px 11px #0e0e0e inset
24
+ position absolute
25
+ content ''
26
+ width 100%
27
+ height 100%
28
+ top 0
29
+ left 0
@@ -0,0 +1,23 @@
1
+ #about-page
2
+ .author-content-item.maxim
3
+ font-size 36px
4
+ font-weight 700
5
+ line-height 1.1
6
+ display flex
7
+ align-items flex-start
8
+ flex-direction column
9
+ justify-content center
10
+ width 39%
11
+
12
+ .maxim-title
13
+ display flex
14
+ flex-direction column
15
+
16
+ span:first-child
17
+ opacity 0.6
18
+ margin-bottom 8px
19
+
20
+ .title1
21
+ opacity .8
22
+ font-size .6rem
23
+ margin-bottom .5rem
@@ -0,0 +1,34 @@
1
+ #about-page
2
+ .author-content-item.myphoto
3
+ height 60%
4
+ min-height 240px
5
+ position relative
6
+ overflow hidden
7
+ width 39%
8
+ display flex
9
+ align-items center
10
+ justify-content center
11
+
12
+ img
13
+ position absolute
14
+ height 100%
15
+ min-width 100%
16
+ object-fit cover
17
+ transition .6s
18
+ user-select none
19
+
20
+ &:hover
21
+ img
22
+ min-width 105%
23
+ transition 2s
24
+
25
+ .myphoto-title
26
+ position absolute
27
+ bottom 0
28
+ left 0
29
+ width 100%
30
+ background var(--sco-maskbgdeep)
31
+ padding .5rem 2rem
32
+ backdrop-filter saturate(180%) blur(20px)
33
+ -webkit-backdrop-filter blur(20px)
34
+ transform translateZ(0)
@@ -0,0 +1,91 @@
1
+ #about-page
2
+ .author-content-item-group
3
+ &.column
4
+ display flex
5
+ flex-direction column
6
+ width 49%
7
+ justify-content space-between
8
+
9
+ +maxWidth768()
10
+ width 100% !important
11
+
12
+ &.mapAndInfo
13
+ width 59%
14
+
15
+ .author-content-item
16
+ +minWidth1300()
17
+ animation slide-in .6s 0s backwards
18
+
19
+ &.map
20
+ background var(--site-about-oneself-map--light) no-repeat center
21
+ min-height 160px
22
+ max-height 400px
23
+ position relative
24
+ overflow hidden
25
+ margin-bottom 0.5rem
26
+ height 60%
27
+ background-size 100%
28
+ transition 1s ease-in-out
29
+
30
+ .map-title
31
+ position absolute
32
+ bottom 0
33
+ left 0
34
+ width 100%
35
+ background var(--sco-maskbg)
36
+ padding 0.5rem 2rem
37
+ backdrop-filter saturate(180%) blur(20px)
38
+ transition 1s ease-in-out
39
+ font-size 20px
40
+ transform translateZ(0)
41
+
42
+ +maxWidth768()
43
+ padding 1rem
44
+
45
+ b
46
+ color var(--sco-fontcolor)
47
+
48
+ +maxWidth768()
49
+ margin-bottom 0
50
+
51
+ [data-theme=dark] &
52
+ background var(--site-about-oneself-map--dark) no-repeat center
53
+ background-size 100%
54
+
55
+ &:hover
56
+ background-size 120%
57
+ transition 4s ease-in-out
58
+ background-position-x 0
59
+ background-position-y 36%
60
+
61
+ .map-title
62
+ bottom -100%
63
+
64
+ .author-content-item.selfInfo
65
+ display flex
66
+ min-height 100px
67
+ max-height 400px
68
+ justify-content space-between
69
+ align-items center
70
+ flex-wrap wrap
71
+ height -webkit-fill-available
72
+ height 40%
73
+
74
+ +maxWidth1300()
75
+ height 70%
76
+
77
+ div
78
+ display flex
79
+ flex-direction column
80
+ margin .5rem 2rem .5rem 0
81
+
82
+ .selfInfo-title
83
+ opacity .8
84
+ font-size .6rem
85
+ line-height 1
86
+ margin-bottom 8px
87
+
88
+ .selfInfo-content
89
+ font-weight 700
90
+ font-size 34px
91
+ line-height 1
@@ -0,0 +1,25 @@
1
+ .author-content-item.personalities
2
+ overflow hidden
3
+ position relative
4
+ width 59%
5
+ +maxWidth768()
6
+ min-height 360px
7
+
8
+ .title2
9
+ font-size 36px
10
+ font-weight 700
11
+ line-height 1.1
12
+
13
+ .image
14
+ position absolute
15
+ right -40px
16
+ bottom -10rem
17
+ transition transform 2s cubic-bezier(.13, .45, .21, 1.02)
18
+ user-select none
19
+
20
+ +maxWidth768()
21
+ right -70px
22
+
23
+ &:hover
24
+ .image
25
+ transform rotate(-10deg)
@@ -0,0 +1,113 @@
1
+ #about-page
2
+ .author-content-item
3
+ &.single.reward
4
+ .author-content-item
5
+ .author-content-item-title
6
+ color var(--sco-red)
7
+
8
+ .reward-list-updateDate
9
+ color var(--sco-gray)
10
+ font-size 14px
11
+
12
+ .author-content-item-description
13
+ font-size 16px
14
+ margin-top .5rem
15
+
16
+ .reward-list-all
17
+ display flex
18
+ flex-wrap wrap
19
+ flex-direction row
20
+ margin 1rem -.25rem .5rem
21
+
22
+ .post-reward
23
+ position absolute
24
+ right 2rem
25
+ top 2rem
26
+
27
+ .reward-main
28
+ top 60px
29
+ right 0
30
+ left auto
31
+ bottom auto
32
+ width fit-content
33
+ box-shadow var(--sco-shadow-border)
34
+
35
+ .reward-all::before
36
+ bottom auto
37
+ top -16px
38
+
39
+ .reward-button
40
+ padding 8px 12px
41
+ background var(--sco-red)
42
+ border-radius 12px
43
+ color var(--sco-white)
44
+ display flex
45
+ align-items center
46
+ z-index 1
47
+ transition .3s
48
+ cursor pointer
49
+ box-shadow none
50
+ width fit-content
51
+ height fit-content
52
+ line-height 2
53
+ user-select none
54
+
55
+ +maxWidth768()
56
+ display none
57
+
58
+ &:hover
59
+ .reward-button
60
+ filter brightness(1.1)
61
+
62
+ .reward-list-item
63
+ padding 1rem
64
+ border-radius 12px
65
+ border var(--style-border-always)
66
+ width calc((100% / 6) - .5rem)
67
+ margin 0 .25rem .5rem .25rem
68
+ box-shadow var(--sco-shadow-border)
69
+ flex-direction column
70
+ justify-content space-between
71
+
72
+ +maxWidth1200()
73
+ width calc((100% / 4) - .5rem)
74
+
75
+ +maxWidth900()
76
+ width calc((100% / 2) - .5rem)
77
+
78
+ +maxWidth768()
79
+ width 100%
80
+
81
+ .reward-list-item-name
82
+ font-size 1rem
83
+ font-weight 700
84
+ line-height 1
85
+ margin-bottom .5rem
86
+ white-space nowrap
87
+ overflow hidden
88
+ text-overflow ellipsis
89
+
90
+ .reward-list-bottom-group
91
+ display flex
92
+ align-items center
93
+ justify-content space-between
94
+
95
+ .reward-list-item-money
96
+ padding 4px
97
+ background var(--sco-fontcolor)
98
+ color var(--sco-card-bg)
99
+ font-size 12px
100
+ line-height 1
101
+ border-radius 4px
102
+ margin-right 4px
103
+ white-space nowrap
104
+
105
+ .reward-list-item-time
106
+ font-size 12px
107
+ color var(--sco-secondtext)
108
+ white-space nowrap
109
+
110
+ .reward-list-tips
111
+ p
112
+ font-size 12px
113
+ color var(--sco-secondtext)