hexo-theme-solitude 3.0.8 → 3.0.9

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.
@@ -49,7 +49,7 @@ body:
49
49
  注意:在`Hexo 7.0+`版本中,Node的最低支持的版本为:14.0.0。
50
50
  你可以前往 [Node.js 版本限制](https://hexo.io/zh-cn/docs/#Node-js-%E7%89%88%E6%9C%AC%E9%99%90%E5%88%B6)进行查看详情。
51
51
  options:
52
- - Hexo 7.0.0
52
+ - Hexo 7.0+
53
53
  - Hexo 6.3.0及以下
54
54
  validations:
55
55
  required: true
@@ -79,4 +79,5 @@
79
79
  i.solitude.fas.fa-spinner.fa-spin
80
80
  when 'Artalk'
81
81
  span.artalk-count
82
- i.solitude.fas.fa-spinner.fa-spin
82
+ i.solitude.fas.fa-spinner.fa-spin
83
+ #post-info-bottom
@@ -1,4 +1,3 @@
1
1
  .coverdiv#coverdiv
2
2
  img#post-cover.nolazyload(src=url_for(page.cover), alt=page.title)
3
3
  include ./postInfo
4
- include ./wave
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "hexo-theme-solitude",
3
- "version": "3.0.8",
3
+ "version": "3.0.9",
4
4
  "description": "A beautiful, powerful, and efficient Hexo theme developed by everfu.",
5
5
  "main": "package.json",
6
6
  "scripts": {
@@ -380,6 +380,7 @@ i.solitude
380
380
  &#content-inner
381
381
  max-width 1400px
382
382
  flex-grow 1
383
+ padding-top .5rem
383
384
 
384
385
  &.hide-aside
385
386
  > div:first-child
@@ -45,57 +45,6 @@
45
45
  +minWidth768()
46
46
  font-size 2.85em
47
47
 
48
- #site-subtitle
49
- color var(--light-grey)
50
- font-size 1.15em
51
-
52
- +minWidth768()
53
- font-size 1.72em
54
-
55
- #site_social_icons
56
- display none
57
- margin 0 auto
58
- width 15rem
59
- text-align center
60
-
61
- +maxWidth768()
62
- display block
63
-
64
- .social-icon
65
- margin 0 .5rem
66
- color var(--light-grey)
67
- font-size 1.43em
68
- cursor pointer
69
-
70
- #scroll-down
71
- position absolute
72
- bottom 0
73
- width 100%
74
- cursor pointer
75
- display none
76
-
77
- .scroll-down-effects
78
- animation: 1.5s ease 0s infinite normal none running scroll-down-effect
79
- position relative
80
- width 100%
81
- color var(--light-grey)
82
- font-size 30px
83
-
84
- &.not-home-page
85
- height 20rem
86
-
87
- +maxWidth768()
88
- height 14rem
89
-
90
- #page-site-info
91
- position absolute
92
- top 10rem
93
- padding 0 .5rem
94
- width 100%
95
-
96
- +maxWidth768()
97
- top 7rem
98
-
99
48
  #nav
100
49
  z-index 100
101
50
  box-shadow none
@@ -338,15 +287,6 @@
338
287
  overflow hidden
339
288
  transition .3s
340
289
 
341
- #page-header #scroll-down .scroll-down-effects,
342
- #page-header #site-subtitle, #page-header #site-title
343
- text-align center
344
- line-height 1.5
345
-
346
- #page-header.nav-fixed > #nav,
347
- #page-header.not-top-img > #nav
348
- box-shadow none
349
-
350
290
  #nav
351
291
  padding 0
352
292
  position absolute
@@ -672,15 +612,15 @@
672
612
  transition .3s
673
613
  white-space nowrap
674
614
 
675
- .nav-fixed #nav-totop #percent,
676
- .page #nav-totop #percent
677
- font-size 12px
678
- border-radius 35px
679
- display flex
680
- justify-content center
681
- align-items center
682
- transition .3s
683
- white-space nowrap
615
+ #nav-totop #percent
616
+ .nav-fixed &, .page &
617
+ font-size 12px
618
+ border-radius 35px
619
+ display flex
620
+ justify-content center
621
+ align-items center
622
+ transition .3s
623
+ white-space nowrap
684
624
 
685
625
  if hexo-config('nav.group')
686
626
  .back-home-button
@@ -906,9 +846,6 @@ if hexo-config('nav.group')
906
846
  +maxWidth768()
907
847
  color var(--efu-fontcolor)
908
848
 
909
- #weblogo
910
- align-self center
911
-
912
849
  #menus
913
850
  & > div
914
851
  &.menus_items
@@ -925,14 +862,6 @@ if hexo-config('nav.group')
925
862
  if $language == 'en-US'
926
863
  letter-spacing normal
927
864
 
928
- #travellings_button
929
- display inline
930
- padding 0 .4rem
931
- transition .3s
932
-
933
- +maxWidth1200()
934
- display none
935
-
936
865
  #page-name
937
866
  +minWidth900()
938
867
  align-items center
@@ -946,7 +875,6 @@ if hexo-config('nav.group')
946
875
  margin auto
947
876
  justify-content center
948
877
  animation-timing-function ease-out
949
- -webkit-animation-timing-function ease-out
950
878
 
951
879
  #page-name-mask
952
880
  +minWidth900()
@@ -36,46 +36,6 @@
36
36
  height 15rem
37
37
 
38
38
  .post-bg
39
- .main-hero-waves-area
40
- width 100%
41
- position absolute
42
- left 0
43
- bottom -11px
44
-
45
- .waves-area .waves-svg
46
- width 100%
47
- height 60px
48
-
49
- .parallax > use
50
- animation move-forever 30s cubic-bezier(.55, .5, .45, .5) infinite
51
-
52
- .parallax > use:nth-child(1)
53
- animation-delay -2s
54
- animation-duration 7s
55
- fill var(--efu-background)
56
- opacity .5
57
-
58
- .parallax > use:nth-child(2)
59
- animation-delay -3s
60
- animation-duration 10s
61
- fill var(--efu-background)
62
- opacity .6
63
-
64
- .parallax > use:nth-child(3)
65
- animation-delay -4s
66
- animation-duration 13s
67
- fill var(--efu-background)
68
- opacity .7
69
-
70
- .parallax > use:nth-child(4)
71
- animation-delay -5s
72
- animation-duration 20s
73
- fill var(--efu-background)
74
-
75
- +maxWidth768()
76
- .main-hero-waves-area
77
- display none
78
-
79
39
  #post-cover
80
40
  width 100%
81
41
  height 100%
@@ -374,11 +334,21 @@
374
334
  &:hover
375
335
  color var(--efu-main)
376
336
 
377
- #post #post-info
378
- height auto
379
- position unset
380
- padding 1rem 2rem
381
- background var(--efu-hovertext)
382
- border-radius 12px 12px 0 0
383
- +minWidth768()
384
- min-height 250px
337
+ #post
338
+ #post-info
339
+ height auto
340
+ position unset
341
+ padding 1rem 2rem
342
+ background var(--efu-hovertext)
343
+ border-radius 12px 12px 0 0
344
+ +minWidth768()
345
+ min-height 250px
346
+
347
+ #post-info-bottom
348
+ display flex
349
+ position absolute
350
+ width 100%
351
+ bottom 0
352
+ border-radius 1rem 1rem 0 0
353
+ padding .5rem 0
354
+ background var(--efu-background)
@@ -9,7 +9,7 @@
9
9
  box-shadow var(--efu-shadow-border)
10
10
 
11
11
  +maxWidth768()
12
- margin-top 22px
12
+ margin-top 0
13
13
 
14
14
  .ai-title
15
15
  display flex
@@ -17,13 +17,24 @@
17
17
  width 42px
18
18
  border var(--style-border-always)
19
19
 
20
- #efuTalk.on, #efuTalk:hover
21
- background var(--efu-lighttext)
22
- color var(--efu-card-bg)
23
- width 159px
24
- border-color var(--efu-lighttext)
20
+ &:hover
21
+ background var(--efu-lighttext)
22
+ color var(--efu-card-bg)
23
+ width 159px
24
+ border-color var(--efu-lighttext)
25
25
 
26
- #efuTalk span.efuTalkTitle
26
+ span.efuTalkTitle
27
+ color var(--efu-card-bg)
28
+ opacity 1
29
+
30
+ i.solitude.efuTalkIcon
31
+ width 18px
32
+ height 18px
33
+ font-size 18px
34
+ margin-left 3px
35
+ line-height 1
36
+
37
+ span.efuTalkTitle
27
38
  display flex
28
39
  font-size 14px
29
40
  padding 0 12px
@@ -54,20 +65,9 @@
54
65
  max-height 100% !important
55
66
  border-radius 0 !important
56
67
 
57
- #efuTalk.on span.efuTalkTitle, #efuTalk:hover span.efuTalkTitle
58
- color var(--efu-card-bg)
59
- opacity 1
60
-
61
68
  #postChat_button
62
69
  display none !important
63
70
 
64
- #efuTalk i.solitude.efuTalkIcon
65
- width 18px
66
- height 18px
67
- font-size 18px
68
- margin-left 3px
69
- line-height 1
70
-
71
71
  @keyframes to_show_fromLeftBottom
72
72
  from
73
73
  opacity 0
@@ -1,9 +0,0 @@
1
- section.main-hero-waves-area.waves-area
2
- svg.waves-svg(xmlns="http://www.w3.org/2000/svg", xlink="http://www.w3.org/1999/xlink", viewBox="0 24 150 28", preserveAspectRatio="none", shape-rendering="auto")
3
- defs
4
- path#gentle-wave(d="M -160 44 c 30 0 58 -18 88 -18 s 58 18 88 18 s 58 -18 88 -18 s 58 18 88 18 v 44 h -352 Z")
5
- g.parallax
6
- use(href="#gentle-wave", x="48", y="0")
7
- use(href="#gentle-wave", x="48", y="3")
8
- use(href="#gentle-wave", x="48", y="5")
9
- use(href="#gentle-wave", x="48", y="7")