hexo-theme-solitude 3.0.16 → 3.0.17

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
@@ -66,7 +66,7 @@ div#footer-bar
66
66
  a.footer-bar-link(href=url_for(item.url), title=item.name)
67
67
  if item.icon
68
68
  img.beian-icon(src=url_for(item.icon), alt=item.name)
69
- span.beian-name= item.name
69
+ span.beian-name= item.name
70
70
  a.footer-bar-link(href=_p('hexo'))
71
71
  = _p('framework_by') + 'Hexo'
72
72
  a.footer-bar-link(href=_p('repo'))
@@ -79,5 +79,4 @@
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
83
- #post-info-bottom
82
+ i.solitude.fas.fa-spinner.fa-spin
package/package.json CHANGED
@@ -1,11 +1,8 @@
1
1
  {
2
2
  "name": "hexo-theme-solitude",
3
- "version": "3.0.16",
3
+ "version": "3.0.17",
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
- },
9
6
  "keywords": [
10
7
  "hexo",
11
8
  "theme",
@@ -29,5 +26,8 @@
29
26
  },
30
27
  "homepage": "https://solitude.js.org",
31
28
  "author": "Hexo-Theme-Solitude<o@efu.me>",
32
- "license": "Apache-2.0"
33
- }
29
+ "license": "Apache-2.0",
30
+ "scripts": {
31
+ "test": "echo \"Error: no test specified\" && exit 1"
32
+ }
33
+ }
@@ -380,7 +380,6 @@ i.solitude
380
380
  &#content-inner
381
381
  max-width 1400px
382
382
  flex-grow 1
383
- padding-top .5rem
384
383
 
385
384
  &.hide-aside
386
385
  > div:first-child
@@ -396,19 +395,12 @@ i.solitude
396
395
  width 100%
397
396
 
398
397
  > #post, #category, #tag, #archive
399
- box-shadow var(--efu-shadow-border)
400
- padding 1rem 2rem
401
- border-radius 12px
402
- border var(--style-border)
403
398
  align-self flex-start
404
399
  animation slide-in .6s .1s backwards
405
400
  position relative
406
401
  if hexo-config('aside.position') == 0
407
402
  order 2
408
403
 
409
- +minWidth768()
410
- background var(--efu-card-bg)
411
-
412
404
  +maxWidth768()
413
405
  box-shadow none
414
406
  border none
@@ -1,5 +1,10 @@
1
1
  .article-container
2
2
  overflow-wrap break-word
3
+ #post &
4
+ border var(--style-border)
5
+ border-radius var(--radius)
6
+ box-shadow var(--efu-shadow-border)
7
+ background var(--efu-card-bg)
3
8
  +maxWidth768()
4
9
  overflow hidden
5
10
 
@@ -1,8 +1,9 @@
1
1
  #category
2
2
  #category-bar
3
- padding 0
3
+ padding .4rem .6rem
4
4
  border none
5
5
  height auto
6
+ border var(--style-border)
6
7
  box-shadow none
7
8
 
8
9
  +maxWidth768()
@@ -1,8 +1,4 @@
1
1
  #tag
2
- +minWidth1300()
3
- padding: 4rem 2rem 1rem 2rem!important
4
- overflow hidden
5
-
6
2
  +maxWidth768()
7
3
  padding 0 1rem
8
4
 
@@ -10,19 +6,18 @@
10
6
  display flex
11
7
  flex-direction row
12
8
  flex-wrap wrap
13
- margin 0
14
- margin-bottom 0.5rem
15
- position absolute
16
- z-index 2
17
9
  width 100%
18
- padding 1rem 2rem
10
+ position absolute
11
+ z-index 1
19
12
  left 0
20
13
  top 0
21
- max-height 64px
22
- overflow hidden
14
+ max-height 44px
15
+ overflow: hidden
23
16
  background var(--efu-card-bg)
24
17
  backdrop-filter saturate(180%) blur(20px)
25
18
  transition .1s ease-out
19
+ border-radius 12px
20
+ border var(--style-border-always)
26
21
 
27
22
  &:hover
28
23
  max-height 1000px
@@ -34,6 +34,17 @@
34
34
 
35
35
  +maxWidth768()
36
36
  height 15rem
37
+ &::after
38
+ position absolute
39
+ content ''
40
+ width 100%
41
+ height 32px
42
+ background var(--efu-background)
43
+ bottom 0
44
+ border-radius 16px 16px 0 0
45
+
46
+ +maxWidth768()
47
+ display none
37
48
 
38
49
  .post-bg
39
50
  #post-cover
@@ -342,13 +353,4 @@
342
353
  background var(--efu-hovertext)
343
354
  border-radius 12px 12px 0 0
344
355
  +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)
356
+ min-height 250px