hexo-theme-solitude 1.8.9 → 1.8.11

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 (42) hide show
  1. package/_config.yml +2 -25
  2. package/languages/default.yml +7 -0
  3. package/languages/en.yml +7 -0
  4. package/languages/zh-CN.yml +7 -0
  5. package/languages/zh-TW.yml +7 -0
  6. package/layout/includes/footer.pug +1 -1
  7. package/layout/includes/head/page_config.pug +1 -1
  8. package/layout/includes/inject/body.pug +5 -5
  9. package/layout/includes/inject/head.pug +3 -3
  10. package/layout/includes/page/links.pug +0 -2
  11. package/layout/includes/page/music.pug +6 -1
  12. package/layout/includes/widgets/aside/asideInfoCard.pug +54 -20
  13. package/layout/includes/widgets/aside/asideWebInfo.pug +12 -4
  14. package/layout/includes/widgets/home/carousel.pug +27 -21
  15. package/layout/includes/widgets/post/post-ai.pug +2 -2
  16. package/layout/includes/widgets/post/postMeta.pug +6 -2
  17. package/layout/includes/widgets/third-party/comments/artalk.pug +3 -3
  18. package/layout/includes/widgets/third-party/comments/twikoo.pug +4 -2
  19. package/layout/includes/widgets/third-party/comments/valine.pug +5 -3
  20. package/layout/includes/widgets/third-party/comments/waline.pug +4 -2
  21. package/layout/page.pug +4 -6
  22. package/package.json +1 -1
  23. package/plugins.yml +5 -1
  24. package/scripts/event/merge_config.js +1 -13
  25. package/source/css/_layout/aside.styl +363 -225
  26. package/source/css/_layout/header.styl +7 -6
  27. package/source/css/_layout/sidebar.styl +2 -2
  28. package/source/css/_page/_home/carousel.styl +73 -89
  29. package/source/css/_page/index.styl +0 -3
  30. package/source/css/_page/links.styl +1 -1
  31. package/source/js/barrage_comment.js +63 -70
  32. package/source/js/covercolor/api.js +35 -52
  33. package/source/js/covercolor/local.js +22 -27
  34. package/source/js/main.js +472 -567
  35. package/source/js/music.js +15 -5
  36. package/source/js/right_menu.js +38 -47
  37. package/source/js/search/local.js +16 -11
  38. package/source/js/utils.js +109 -136
  39. package/.github/workflows/github-publish.yml +0 -20
  40. package/layout/includes/page/moment.pug +0 -28
  41. package/layout/includes/widgets/page/moments/angle.pug +0 -19
  42. package/source/css/_page/moment.styl +0 -180
@@ -1,180 +0,0 @@
1
- #random-post
2
- min-height 32px
3
- background var(--efu-card-bg)
4
- border var(--style-border-always)
5
- box-shadow var(--efu-shadow-border)
6
- padding 20px 30px
7
- border-radius 12px
8
- margin-top 8px
9
-
10
- .random-friends-post
11
- text-decoration none
12
- border-bottom 2px solid var(--efu-lighttext)
13
- color var(--efu-fontcolor)
14
- font-weight 700
15
- padding 0 4px
16
-
17
- &:hover
18
- text-decoration none
19
- border-bottom 2px solid var(--efu-none)
20
- color var(--efu-white)
21
- background var(--efu-main)
22
- border-radius 4px
23
- box-shadow var(--efu-shadow-main)
24
-
25
- .random-post-start
26
- transition-duration .3s
27
-
28
- &:hover
29
- color var(--efu-hovertext)
30
-
31
- .moments-list
32
- display flex
33
- flex-direction column
34
-
35
- .article-sort-item-info
36
- display flex
37
- flex-direction column
38
-
39
- .article-sort-item-title
40
- color var(--efu-lighttext)
41
-
42
- &:hover
43
- color var(--efu-hovertext)
44
-
45
- #friend_link_moments
46
- border none
47
-
48
- .moments-article-img
49
- height 100%
50
- margin 0
51
-
52
- .tab-item-content
53
- #moments_container
54
- .moments-item
55
- a
56
- border-bottom none
57
- padding 0
58
- margin-right auto
59
- width auto
60
-
61
- &:hover
62
- background none
63
- color var(--efu-lighttext)
64
- box-shadow none
65
-
66
- h2
67
- display none
68
-
69
- #friend_moments_list
70
- .moments-sort-item
71
- margin 1rem 0
72
-
73
- .moments-sort-item-img
74
- border-radius 12px
75
-
76
- .moments-item-time
77
- order 1
78
-
79
- .moments-sort-item-title
80
- color: var(--efu-lighttext)
81
- border-bottom none
82
- padding 0
83
-
84
- &:hover
85
- color var(--efu-hovertext)
86
- background 0 0
87
- box-shadow none
88
-
89
- .moments_load_button
90
- color var(--efu-fontcolor)
91
- background var(--efu-card-btn-bg)
92
- padding 12px 16px
93
- border-radius 12px
94
- transition .3s
95
- width 100%
96
- margin-top 1rem
97
- margin-bottom 1rem
98
- border 0
99
-
100
- &:hover
101
- color var(--efu-white)
102
- background var(--efu-main)
103
- transition .3s
104
-
105
- .moments-item-title
106
- color var(--efu-lighttext)
107
- font-size 1rem
108
- order 0
109
- width 100%
110
- font-weight 700
111
- -webkit-line-clamp 1
112
- overflow hidden
113
-
114
- .moments-item-info
115
- display flex
116
- flex-direction column
117
-
118
- .moments_post_time
119
- display none
120
-
121
- i
122
- margin-right 8px
123
-
124
- .moments-item-title
125
- font-weight 700
126
-
127
- .moments_post_info_number
128
- float right
129
-
130
- .moments-item-img
131
- width 60px
132
- height 60px
133
-
134
- img
135
- border-radius 80px
136
- width 80px
137
- height 80px
138
- overflow hidden
139
-
140
- .moments-item
141
- margin-left 0
142
- box-shadow none
143
-
144
- #hexo-circle-of-friends-root
145
- margin 0 -8px
146
-
147
- #cf-container
148
- a
149
- width fit-content
150
-
151
- .cf-article .cf-img-avatar
152
- border-radius 50% !important
153
- right -30px!important
154
- bottom -30px!important
155
-
156
- #page
157
- .title-h2-a
158
- display flex
159
- align-items center
160
- justify-content space-between
161
- margin-top .5rem
162
-
163
- a
164
- margin-left .5rem
165
- color var(--efu-secondtext)
166
- font-weight 700
167
-
168
- &:hover
169
- color var(--efu-main)
170
-
171
- .title-h2-a-left
172
- display flex
173
- align-items center
174
-
175
- h2
176
- margin 0
177
-
178
- .title-h2-a-right
179
- font-size 14px
180
- color var(--efu-secondtext)