hexo-theme-solitude 1.5.6 → 1.5.7

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.
@@ -78,7 +78,7 @@ script.
78
78
  )(window)
79
79
 
80
80
  console.log(
81
- "%c Program: Hexo %c Theme: Solitude %c Version: v1.5.6",
81
+ "%c Program: Hexo %c Theme: Solitude %c Version: v1.5.7",
82
82
  "border-radius:5px 0 0 5px;padding: 5px 10px;color:white;background:#ff3842;",
83
83
  "padding: 5px 10px;color:white;background:#3e9f50;",
84
84
  "border-radius:0 5px 5px 0;padding: 5px 10px;background:#0084ff;color:white;"
@@ -24,7 +24,7 @@ if theme.says.enable
24
24
 
25
25
  if item.aplayer
26
26
  .bber-music
27
- meting-js(server=item.aplayer.server type="song" id=item.aplayer.id mutex="true" preload="none" theme="var(--st-main)" data-lrctype="0")
27
+ meting-js(server=item.aplayer.server type="song" id=item.aplayer.id mutex="true" preload="none" theme="var(--efu-main)" data-lrctype="0")
28
28
 
29
29
  if item.video
30
30
  .bber-video
@@ -14,7 +14,7 @@ if site.data.about.rewardList
14
14
  .reward-list-item
15
15
  .reward-list-item-name= reward.name
16
16
  .reward-list-bottom-group
17
- .reward-list-item-money(style=(reward.vip ? "background: var(--st-vip);color: var(--st-white)" : ""))
17
+ .reward-list-item-money(style=(reward.vip ? "background: var(--efu-vip);color: var(--efu-white)" : ""))
18
18
  if reward.icon
19
19
  i.solitude(class=reward.icon)
20
20
  | ¥ #{reward.money}
@@ -1,3 +1,3 @@
1
1
  div.needEndHide#nav-music(onclick="sco.musicToggle()")
2
2
  div#nav-music-hoverTips=__('music.hit')
3
- meting-js(id=theme.capsule.id, server=theme.capsule.server, type="playlist", mutex="true", preload="none", data-lrctype="0", order="random", theme="var(--st-main)")
3
+ meting-js(id=theme.capsule.id, server=theme.capsule.server, type="playlist", mutex="true", preload="none", data-lrctype="0", order="random", theme="var(--efu-main)")
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "hexo-theme-solitude",
3
- "version": "1.5.6",
3
+ "version": "1.5.7",
4
4
  "description": "A beautiful, powerful, and efficient Hexo theme developed by the wleelw",
5
5
  "main": "package.json",
6
6
  "scripts": {
@@ -65,23 +65,8 @@
65
65
  &:hover
66
66
  transform scale(1.1)
67
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
68
  &::before
80
69
  content ''
81
- -webkit-transition 1s
82
- -moz-transition 1s
83
- -o-transition 1s
84
- -ms-transition 1s
85
70
  transition 1s
86
71
  width 30px
87
72
  height 30px
@@ -91,4 +76,17 @@
91
76
  border 5px solid var(--efu-background)
92
77
  bottom 5px
93
78
  right 10px
94
- z-index 2
79
+ z-index 2
80
+
81
+ +maxWidth768()
82
+ width 120px
83
+ height 120px
84
+
85
+ &::before
86
+ bottom -2px
87
+ right -2px
88
+ width 20px
89
+ height 20px
90
+
91
+ img
92
+ border-radius 200px
@@ -21,9 +21,9 @@
21
21
  display none
22
22
 
23
23
  / #bannerGroup
24
- display flex
24
+ display none
25
25
 
26
- +minWidth1200()
26
+ +minWidth1201()
27
27
  width calc(50% - .25rem)
28
28
  margin-right .5rem
29
29
  height calc(328px + .5rem)
@@ -50,7 +50,7 @@
50
50
  flex-direction column
51
51
  justify-content space-between
52
52
  min-width 200px
53
- +minWidth1200()
53
+ +minWidth1201()
54
54
  display none
55
55
  +maxWidth768()
56
56
  min-width 130px
@@ -216,7 +216,7 @@
216
216
  .todayCard
217
217
  display none
218
218
 
219
- +minWidth1200()
219
+ +minWidth1201()
220
220
  position absolute
221
221
  width 100%
222
222
  z-index 3
@@ -70,7 +70,7 @@ const utils = {
70
70
  snackbarShow: (text, showAction, duration) => {
71
71
  const sa = (typeof showAction !== 'undefined') ? showAction : false
72
72
  const dur = (typeof duration !== 'undefined') ? duration : 5000
73
- document.styleSheets[0].addRule(':root', '--st-snackbar-time:' + dur + 'ms!important')
73
+ document.styleSheets[0].addRule(':root', '--efu-snackbar-time:' + dur + 'ms!important')
74
74
  Snackbar.show({
75
75
  text: text, showAction: sa, duration: dur, pos: 'top-center'
76
76
  })