hexo-theme-solitude 3.0.0 → 3.0.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 (53) hide show
  1. package/.github/FUNDING.yml +3 -4
  2. package/.github/ISSUE_TEMPLATE/config.yml +3 -3
  3. package/.github/workflows/npm-publish.yml +1 -1
  4. package/.github/workflows/release.yml +29 -0
  5. package/LICENSE +202 -21
  6. package/README.md +3 -1
  7. package/README_en-US.md +3 -1
  8. package/README_zh-Hant.md +3 -1
  9. package/_config.yml +19 -18
  10. package/languages/en.yml +0 -0
  11. package/languages/zh-CN.yml +0 -0
  12. package/languages/zh-TW.yml +0 -0
  13. package/layout/includes/footer.pug +10 -7
  14. package/layout/includes/head/config.pug +9 -9
  15. package/layout/includes/inject/body.pug +4 -4
  16. package/layout/includes/inject/head.pug +2 -2
  17. package/layout/includes/page/brevity.pug +7 -7
  18. package/layout/includes/widgets/aside/asideInfoCard.pug +18 -86
  19. package/layout/includes/widgets/home/banner.pug +0 -1
  20. package/layout/includes/widgets/home/bbTimeList.pug +4 -4
  21. package/layout/includes/widgets/page/about/contentinfo.pug +1 -1
  22. package/layout/includes/widgets/page/recentcomment/waline.pug +0 -1
  23. package/layout/index.pug +2 -2
  24. package/package.json +10 -10
  25. package/scripts/event/merge_config.js +4 -6
  26. package/scripts/filter/checkThemeConfig.js +3 -3
  27. package/scripts/helper/stylus.js +1 -1
  28. package/source/css/_components/capsule.styl +228 -0
  29. package/source/css/_components/expire.styl +12 -0
  30. package/source/css/_components/index.styl +17 -0
  31. package/source/css/_components/keyboard.styl +59 -0
  32. package/source/css/_components/pace.styl +39 -0
  33. package/source/css/_components/rightside.styl +63 -0
  34. package/source/css/_components/universe.styl +17 -0
  35. package/source/css/_layout/aside.styl +162 -460
  36. package/source/css/_layout/footer.styl +6 -9
  37. package/source/css/_page/_about/contentinfo.styl +1 -1
  38. package/source/css/_page/_home/home.styl +1 -1
  39. package/source/css/_page/{says.styl → brevity.styl} +54 -53
  40. package/source/css/_page/index.styl +2 -2
  41. package/source/css/index.styl +4 -1
  42. package/source/css/var.styl +2 -0
  43. package/source/js/main.js +7 -7
  44. package/.github/PULL_REQUEST_TEMPLATE.md +0 -28
  45. package/.github/workflows/issue_invalid.yml +0 -18
  46. package/.github/workflows/issue_question.yml +0 -30
  47. package/.github/workflows/issue_wontfix.yml +0 -29
  48. package/source/css/_layout/capsule.styl +0 -229
  49. package/source/css/_layout/expire.styl +0 -13
  50. package/source/css/_layout/keyboard.styl +0 -60
  51. package/source/css/_layout/pace.styl +0 -40
  52. package/source/css/_layout/rightside.styl +0 -58
  53. package/source/css/_layout/universe.styl +0 -18
@@ -0,0 +1,63 @@
1
+
2
+ #rightside
3
+ position: fixed
4
+ right: -2.5rem
5
+ bottom: 20px
6
+ z-index: 1000
7
+ opacity: 0
8
+ transition: all .5s
9
+
10
+ &.needEndHide
11
+ display block !important
12
+
13
+ &.hide.needEndHide
14
+ bottom 0 !important
15
+ transform: none !important
16
+
17
+ button
18
+ display: block
19
+ margin-bottom: 5px
20
+ width: 1.8rem
21
+ height: 1.8rem
22
+ border-radius: 50%
23
+ background-color: var(--btn-bg)
24
+ color: var(--btn-color)ß
25
+ text-align: center
26
+ font-size: 16px
27
+
28
+ &.pc
29
+ display: block
30
+ +maxWidth900()
31
+ display: none
32
+
33
+ &.mobile
34
+ display: none
35
+
36
+ +maxWidth900()
37
+ display: block
38
+
39
+ &.top
40
+ &:hover
41
+ #percent
42
+ display: none
43
+
44
+ i
45
+ display: block
46
+ transition: all .3s
47
+ transform: scale(1.3)
48
+
49
+ i
50
+ transition: all .3s
51
+ display: none
52
+
53
+ &.show
54
+ display: block
55
+
56
+ .rs_hide
57
+ transform: translate(45px, 0)
58
+ transition: all .4s
59
+ opacity 0
60
+
61
+ &.show
62
+ opacity .8
63
+ transform: translate(0, 0)
@@ -0,0 +1,17 @@
1
+ #universe
2
+ display block
3
+ position fixed
4
+ margin 0
5
+ padding 0
6
+ border 0
7
+ outline 0
8
+ left 0
9
+ top 0
10
+ width 100%
11
+ height 100%
12
+ pointer-events none
13
+ z-index 1
14
+
15
+ [data-theme=light]
16
+ #universe
17
+ display none