hexo-theme-solitude 1.5.4 → 1.5.6

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 (61) hide show
  1. package/.github/ISSUE_TEMPLATE/bug_report.yml +7 -6
  2. package/.github/ISSUE_TEMPLATE/feature_request.yml +1 -1
  3. package/README.md +23 -23
  4. package/{README_EN.md → README_zh-cn.md} +23 -23
  5. package/README_zh-tw.md +2 -2
  6. package/_config.yml +0 -12
  7. package/languages/en.yml +9 -6
  8. package/languages/zh-CN.yml +9 -6
  9. package/languages/zh-TW.yml +9 -6
  10. package/layout/includes/head/config.pug +9 -6
  11. package/layout/includes/inject/body.pug +7 -6
  12. package/layout/includes/inject/head.pug +1 -1
  13. package/layout/includes/page/music.pug +2 -12
  14. package/layout/includes/widgets/page/about/personalities.pug +1 -1
  15. package/layout/includes/widgets/post/copyright.pug +0 -2
  16. package/layout/page.pug +0 -4
  17. package/package.json +1 -1
  18. package/plugins.yml +0 -4
  19. package/scripts/event/cdn.js +6 -1
  20. package/scripts/tags/button.js +1 -1
  21. package/scripts/tags/bvideo.js +2 -2
  22. package/scripts/tags/gallery.js +54 -0
  23. package/scripts/tags/image.js +1 -1
  24. package/scripts/tags/link.js +6 -3
  25. package/scripts/tags/note.js +6 -0
  26. package/source/css/_global/function.styl +4 -0
  27. package/source/css/_page/_gallery/index.styl +0 -66
  28. package/source/css/_page/_home/home-top.styl +1 -1
  29. package/source/css/_page/music.styl +9 -9
  30. package/source/css/_page/share.styl +2 -2
  31. package/source/css/_widgets/_post/content.styl +7 -0
  32. package/source/css/_widgets/_post/copyright.styl +0 -18
  33. package/source/css/_widgets/_tags/button.styl +29 -49
  34. package/source/css/_widgets/_tags/checkbox.styl +176 -57
  35. package/source/css/_widgets/_tags/fold.styl +65 -79
  36. package/source/css/_widgets/_tags/gallery.styl +67 -0
  37. package/source/css/_widgets/_tags/index.styl +32 -30
  38. package/source/css/_widgets/_tags/label.styl +4 -3
  39. package/source/css/_widgets/_tags/link.styl +48 -77
  40. package/source/css/_widgets/_tags/media.styl +57 -0
  41. package/source/css/_widgets/_tags/mermaid.styl +1 -2
  42. package/source/css/_widgets/_tags/note.styl +1 -7
  43. package/source/css/_widgets/_tags/span.styl +24 -51
  44. package/source/css/_widgets/_tags/tabs.styl +3 -1
  45. package/source/css/_widgets/index.styl +1 -1
  46. package/source/js/covercolor/api.js +16 -16
  47. package/source/js/covercolor/local.js +16 -16
  48. package/source/js/lately.min.js +6 -0
  49. package/source/js/main.js +2 -33
  50. package/source/js/music.js +91 -139
  51. package/source/js/utils.js +6 -0
  52. package/layout/includes/page/album.pug +0 -38
  53. package/layout/includes/page/gallery.pug +0 -11
  54. package/scripts/generator/gallery.js +0 -49
  55. package/scripts/tags/card.js +0 -9
  56. package/scripts/tags/u.js +0 -7
  57. package/source/css/_widgets/_tags/bvideo.styl +0 -8
  58. package/source/css/_widgets/_tags/card.styl +0 -52
  59. package/source/css/_widgets/_tags/image.styl +0 -10
  60. package/source/css/_widgets/_tags/inline-image.styl +0 -6
  61. /package/.github/workflows/{npm-publish-github-packages.yml → publish.yml} +0 -0
@@ -1,52 +0,0 @@
1
- #article-container
2
- .card
3
- width 100%
4
- height auto
5
- display flex
6
- flex-direction column
7
- padding .5rem 1rem
8
- border-radius 0.375rem
9
- margin .5rem 0
10
-
11
- .card-title
12
- display flex
13
- align-items center
14
- font-size 1.8rem
15
- font-weight bold
16
-
17
- i
18
- margin-right 8px
19
- font-size 20px
20
-
21
- p
22
- margin 0 0 0 1.5rem
23
-
24
- &.card-red
25
- background rgba(238, 125, 121, 0.1)
26
- border 1px solid var(--efu-red)
27
- color var(--efu-red)
28
-
29
- &.card-green
30
- background rgb(240 253 244)
31
- border 1px solid var(--efu-green)
32
- color var(--efu-green)
33
-
34
- &.card-blue
35
- background rgb(240 248 253)
36
- border 1px solid var(--efu-blue)
37
- color var(--efu-blue)
38
-
39
- &.card-yellow
40
- background rgb(255 251 240)
41
- border 1px solid var(--efu-yellow)
42
- color var(--efu-yellow)
43
-
44
- &.card-purple
45
- background rgb(243 240 253)
46
- border 1px solid var(--efu-purple)
47
- color var(--efu-purple)
48
-
49
- &.card-cyan
50
- background rgb(240 253 253)
51
- border 1px solid var(--efu-cyan)
52
- color var(--efu-cyan)
@@ -1,10 +0,0 @@
1
- .md .img
2
- object-fit: contain
3
-
4
- img.inline
5
- display: inline !important
6
- vertical-align: middle
7
- transform: translateY(-4px)
8
- p .img-alt
9
- display: inline-block
10
- width: 100%
@@ -1,6 +0,0 @@
1
- #article-container
2
- .inline-img
3
- display: inline
4
- margin: 0 3px
5
- height: 1.1em
6
- vertical-align: text-bottom