hexo-theme-solitude 3.0.21 → 4.0.0

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 (142) hide show
  1. package/.github/FUNDING.yml +3 -3
  2. package/README.md +11 -1
  3. package/README_en-US.md +11 -1
  4. package/_config.yml +16 -7
  5. package/languages/default.yml +56 -36
  6. package/languages/en.yml +90 -69
  7. package/languages/es.yml +94 -73
  8. package/languages/zh-CN.yml +56 -34
  9. package/languages/zh-TW.yml +80 -57
  10. package/layout/archive.pug +60 -14
  11. package/layout/category.pug +13 -11
  12. package/layout/includes/body/gadsense.pug +2 -2
  13. package/layout/includes/console.pug +71 -72
  14. package/layout/includes/footer.pug +24 -9
  15. package/layout/includes/head/config.pug +83 -39
  16. package/layout/includes/head/mode.pug +7 -7
  17. package/layout/includes/head/page_config.pug +20 -11
  18. package/layout/includes/inject/body.pug +14 -36
  19. package/layout/includes/keyboard.pug +3 -3
  20. package/layout/includes/loading.pug +1 -37
  21. package/layout/includes/mixins/articleSort.pug +3 -3
  22. package/layout/includes/mixins/common.pug +8 -4
  23. package/layout/includes/mixins/pace.pug +1 -1
  24. package/layout/includes/mixins/pagination.pug +3 -3
  25. package/layout/includes/nav.pug +4 -3
  26. package/layout/includes/page/about.pug +9 -8
  27. package/layout/includes/page/brevity.pug +2 -2
  28. package/layout/includes/page/links.pug +23 -11
  29. package/layout/includes/page/music.pug +0 -5
  30. package/layout/includes/rightmenu.pug +20 -20
  31. package/layout/includes/sidebar.pug +2 -2
  32. package/layout/includes/widgets/aside/asideInfoCard.pug +2 -2
  33. package/layout/includes/widgets/aside/asideTag.pug +2 -2
  34. package/layout/includes/widgets/home/bbTimeList.pug +3 -3
  35. package/layout/includes/widgets/home/categoryBar.pug +30 -15
  36. package/layout/includes/widgets/home/hometop.pug +113 -8
  37. package/layout/includes/widgets/home/postList.pug +1 -2
  38. package/layout/includes/widgets/home/topGroup.pug +3 -7
  39. package/layout/includes/widgets/nav/group.pug +4 -2
  40. package/layout/includes/widgets/nav/menu.pug +6 -4
  41. package/layout/includes/widgets/nav/right.pug +7 -6
  42. package/layout/includes/widgets/page/about/award.pug +67 -38
  43. package/layout/includes/widgets/page/about/hobbies.pug +12 -3
  44. package/layout/includes/widgets/page/banner.pug +1 -1
  45. package/layout/includes/widgets/page/kit/content.pug +2 -2
  46. package/layout/includes/widgets/page/links/banner.pug +30 -19
  47. package/layout/includes/widgets/page/message/artalk.pug +3 -3
  48. package/layout/includes/widgets/page/message/content.pug +3 -3
  49. package/layout/includes/widgets/page/message/twikoo.pug +3 -3
  50. package/layout/includes/widgets/page/message/valine.pug +4 -4
  51. package/layout/includes/widgets/page/message/waline.pug +3 -3
  52. package/layout/includes/widgets/page/recentcomment/artalk.pug +5 -9
  53. package/layout/includes/widgets/page/recentcomment/twikoo.pug +5 -9
  54. package/layout/includes/widgets/page/recentcomment/valine.pug +6 -10
  55. package/layout/includes/widgets/page/recentcomment/waline.pug +5 -9
  56. package/layout/includes/widgets/post/award.pug +1 -28
  57. package/layout/includes/widgets/post/copyright.pug +10 -10
  58. package/layout/includes/widgets/post/postInfo.pug +10 -11
  59. package/layout/includes/widgets/post/postMeta.pug +3 -2
  60. package/layout/includes/widgets/rightside/hide.pug +5 -5
  61. package/layout/includes/widgets/rightside/show.pug +7 -7
  62. package/layout/includes/widgets/third-party/comments/artalk.pug +9 -9
  63. package/layout/includes/widgets/third-party/comments/giscus.pug +2 -2
  64. package/layout/includes/widgets/third-party/comments/twikoo.pug +5 -5
  65. package/layout/includes/widgets/third-party/comments/valine.pug +6 -6
  66. package/layout/includes/widgets/third-party/comments/waline.pug +6 -6
  67. package/layout/includes/widgets/third-party/hot/twikoo.pug +1 -1
  68. package/layout/includes/widgets/third-party/music.pug +9 -5
  69. package/layout/includes/widgets/third-party/news-comment/artalk.pug +6 -6
  70. package/layout/includes/widgets/third-party/news-comment/twikoo.pug +7 -7
  71. package/layout/includes/widgets/third-party/news-comment/valine.pug +8 -8
  72. package/layout/includes/widgets/third-party/news-comment/waline.pug +7 -7
  73. package/layout/includes/widgets/third-party/pjax.pug +16 -10
  74. package/layout/includes/widgets/third-party/search/algolia-search.pug +2 -2
  75. package/layout/includes/widgets/third-party/search/docsearch.pug +3 -3
  76. package/layout/includes/widgets/third-party/search/index.pug +1 -3
  77. package/layout/includes/widgets/third-party/search/local-search.pug +9 -9
  78. package/layout/index.pug +8 -6
  79. package/package.json +8 -7
  80. package/plugins.yml +22 -21
  81. package/scripts/event/cdn.js +11 -6
  82. package/scripts/event/friend_links.js +30 -0
  83. package/scripts/event/merge_config.js +15 -7
  84. package/scripts/filter/comment.js +2 -2
  85. package/scripts/filter/default.js +1 -1
  86. package/scripts/helper/inject_head_js.js +79 -33
  87. package/scripts/helper/related_post.js +16 -21
  88. package/scripts/tags/chart.js +1 -1
  89. package/scripts/tags/typeit.js +1 -1
  90. package/source/css/_components/capsule.styl +259 -168
  91. package/source/css/_components/rightside.styl +98 -242
  92. package/source/css/_global/animation.styl +1 -10
  93. package/source/css/_global/index.styl +27 -1
  94. package/source/css/_layout/aside.styl +7 -1
  95. package/source/css/_layout/console.styl +145 -165
  96. package/source/css/_layout/header.styl +238 -47
  97. package/source/css/_layout/pagination.styl +176 -132
  98. package/source/css/_layout/rightmenu.styl +11 -2
  99. package/source/css/_layout/sidebar.styl +39 -17
  100. package/source/css/_mode/index.styl +7 -1
  101. package/source/css/_page/_about/about.styl +18 -2
  102. package/source/css/_page/_about/buff.styl +1 -1
  103. package/source/css/_page/_about/contentinfo.styl +2 -1
  104. package/source/css/_page/_about/game.styl +57 -1
  105. package/source/css/_page/_about/like.styl +7 -2
  106. package/source/css/_page/_about/maxim.styl +1 -1
  107. package/source/css/_page/_about/reward.styl +226 -108
  108. package/source/css/_page/_about/skills.styl +5 -3
  109. package/source/css/_page/_home/category-bar.styl +162 -88
  110. package/source/css/_page/_home/home-top.styl +309 -263
  111. package/source/css/_page/_home/home.styl +34 -7
  112. package/source/css/_page/archive.styl +412 -0
  113. package/source/css/_page/category.styl +27 -1
  114. package/source/css/_page/index.styl +2 -0
  115. package/source/css/_page/links.styl +190 -0
  116. package/source/css/_page/other.styl +37 -0
  117. package/source/css/_post/index.styl +2 -1
  118. package/source/css/_post/meta.styl +245 -217
  119. package/source/css/_search/local-search.styl +158 -82
  120. package/source/css/var.styl +2 -2
  121. package/source/js/archive-page.js +191 -0
  122. package/source/js/core/actions.js +48 -0
  123. package/source/js/core/api.js +32 -0
  124. package/source/js/core/config.js +13 -0
  125. package/source/js/core/lifecycle.js +52 -0
  126. package/source/js/core/preloader.js +34 -0
  127. package/source/js/core/resources.js +65 -0
  128. package/source/js/covercolor/api.js +13 -103
  129. package/source/js/covercolor/ave.js +14 -77
  130. package/source/js/covercolor/local.js +22 -116
  131. package/source/js/covercolor/shared.js +102 -0
  132. package/source/js/friend_links.js +502 -0
  133. package/source/js/main.js +793 -177
  134. package/source/js/music.js +24 -14
  135. package/source/js/post_ai.js +13 -2
  136. package/source/js/right_menu.js +44 -24
  137. package/source/js/search/algolia.js +29 -21
  138. package/source/js/search/local.js +231 -266
  139. package/source/js/tw_cn.js +37 -12
  140. package/source/js/utils.js +37 -25
  141. package/layout/includes/widgets/randomlink.pug +0 -43
  142. package/scripts/filter/randomPosts.js +0 -16
@@ -1,177 +1,221 @@
1
- #pagination
1
+ #pagination:not(.pagination-post)
2
2
  width 100%
3
- +minWidth768()
4
- overflow visible
5
- +maxWidth768()
6
- margin-bottom 0
7
- margin-top 0
3
+ overflow visible
8
4
 
9
5
  .pagination
6
+ position relative
7
+ display flex
8
+ align-items center
9
+ justify-content center
10
+ gap 8px
10
11
  text-align center
11
- +minWidth768()
12
- display flex
13
- position relative
14
- justify-content center
15
- +maxWidth768()
16
- display flex
17
-
18
- .extend
19
- +maxWidth768()
20
- width 100%
21
- height 2.5rem
22
- margin .2rem 0 1rem 0
23
- border-radius 12px
24
- line-height 2.5rem
25
- background var(--efu-card-bg)
26
- border var(--style-border-always)
27
- box-shadow var(--efu-shadow-border)
28
-
29
- i
30
- +maxWidth768()
31
- display none
32
- .space
33
- +maxWidth768()
34
- display none
35
12
 
36
- .page-number
37
- display inline-block
38
- margin 0 .2rem
39
- min-width 1.2rem
40
- height 1.2rem
41
- text-align center
42
- line-height 1.2rem
13
+ .page-number:focus-visible,
14
+ .extend:focus-visible,
15
+ #toPageText:focus-visible
16
+ outline 2px solid var(--efu-theme)
17
+ outline-offset 2px
43
18
 
44
- +minWidth768()
45
- width 2rem
19
+ @media screen and (min-width: 769px)
20
+ .page-number
21
+ display block
22
+ flex 0 0 40px
23
+ width 40px
24
+ min-width 40px
25
+ height 40px
26
+ margin 0
27
+ padding 0
28
+ color var(--efu-fontcolor)
29
+ line-height 38px
46
30
  background var(--efu-card-bg)
47
- height 2rem
48
- line-height calc(2rem - 2px)
49
- border-radius 8px
50
- margin 0 .3rem
51
- box-shadow var(--efu-shadow-border)
52
31
  border var(--style-border)
32
+ border-radius 99px
33
+ box-shadow var(--efu-shadow-border)
34
+ cursor pointer
53
35
  transition .3s
36
+
54
37
  &:hover
55
38
  color var(--efu-theme)
56
- border var(--style-border-hover)
39
+ border-color var(--efu-theme)
57
40
  box-shadow var(--efu-shadow-main)
58
- +maxWidth768()
59
- display none
60
-
61
- &.current
62
- background var(--efu-theme)
63
- color var(--efu-white)
64
- border-radius 5px
65
41
 
66
- +minWidth768()
42
+ &.current
43
+ color var(--efu-nav-hover-text)
67
44
  background var(--efu-theme)
68
- border var(--style-border-hover)
45
+ border-color var(--efu-theme)
69
46
  box-shadow var(--efu-shadow-theme)
47
+ cursor default
70
48
 
71
49
  &:hover
50
+ color var(--efu-nav-hover-text)
72
51
  background var(--efu-theme)
52
+ border-color var(--efu-theme)
73
53
  box-shadow var(--efu-shadow-theme)
74
- color var(--efu-white)
75
-
76
- a.extend.next, a.extend.prev
77
- +minWidth768()
78
- width 4rem
79
- height 2rem
80
- line-height 1.9rem
81
- border-radius 8px
82
- background var(--efu-card-bg)
83
- box-shadow var(--efu-shadow-border)
54
+
55
+ .space
56
+ display block
57
+ flex 0 0 16px
58
+ width 16px
59
+ height 40px
60
+ margin 0
61
+ color var(--efu-fontcolor)
62
+ line-height 32px
63
+
64
+ a.extend.next,
65
+ a.extend.prev
84
66
  position absolute
85
- border var(--style-border)
86
67
  display flex
87
68
  align-items center
88
69
  justify-content center
70
+ width 80px
71
+ min-width 80px
72
+ height 40px
73
+ margin 0
74
+ padding 0
75
+ color var(--efu-fontcolor)
76
+ line-height 38px
77
+ background var(--efu-card-bg)
78
+ border var(--style-border)
79
+ border-radius 99px
80
+ box-shadow var(--efu-shadow-border)
89
81
  overflow hidden
90
82
  transition .3s
91
83
 
92
84
  i
93
85
  transition .3s
94
86
 
95
- a.extend
96
- &:hover
97
- color var(--efu-theme)
98
- border var(--style-border-hover)
99
- box-shadow var(--efu-shadow-main)
100
-
101
- &.next
102
- right 0
103
- +minWidth768()
104
- .pagination_tips_next
105
- margin-left -32px
106
- transition .3s ease-out 0s
107
- opacity 0
108
-
87
+ a.extend
109
88
  &:hover
110
- .pagination_tips_next
111
- margin-left 2px
112
- opacity 1
113
- white-space nowrap
89
+ color var(--efu-theme)
90
+ background var(--efu-card-bg)
91
+ border-color var(--efu-theme)
92
+ box-shadow var(--efu-shadow-main)
93
+
94
+ &.prev
95
+ left 0
114
96
 
115
- &.prev
116
- left 0
117
- +minWidth768()
118
97
  .pagination_tips_prev
119
98
  margin-right -32px
120
- transition .3s ease-out 0s
121
99
  opacity 0
100
+ transition .3s ease-out
122
101
 
123
- &:hover
124
- .pagination_tips_prev
102
+ &:hover .pagination_tips_prev
125
103
  margin-right 2px
126
104
  opacity 1
127
105
  white-space nowrap
128
106
 
129
- .toPageGroup
130
- display flex
131
- position relative
132
- margin 0 .3rem
133
- +maxWidth768()
134
- display none
107
+ &.next
108
+ right 0
109
+
110
+ .pagination_tips_next
111
+ margin-left -32px
112
+ opacity 0
113
+ transition .3s ease-out
135
114
 
136
- a#toPageButton
115
+ &:hover .pagination_tips_next
116
+ margin-left 2px
117
+ opacity 1
118
+ white-space nowrap
119
+
120
+ .toPageGroup
121
+ position relative
137
122
  display flex
138
- position absolute
123
+ flex 0 0 40px
139
124
  width 40px
140
125
  height 40px
141
- right 0
142
- top 0
143
- border-radius 8px
144
- justify-content center
145
- align-items center
146
- transition .3s
147
- background var(--efu-card-bg)
148
- border var(--style-border-always)
149
- cursor text
150
- pointer-events none
151
-
152
- &:focus-within a#toPageButton, &:hover a#toPageButton
153
- width 30px
154
- height 30px
155
- right 4px
156
- top 5px
157
- background var(--efu-card-bg)
158
- border 1px solid var(--efu-none)
159
- border-radius 4px
160
- opacity .2
126
+ margin 0
127
+
128
+ input
129
+ width 40px
130
+ height 40px
131
+ padding-left 12px
132
+ color var(--efu-fontcolor)
133
+ font-size 16px
134
+ background var(--efu-secondbg)
135
+ border var(--style-border-always)
136
+ border-radius 99px
137
+ outline none
138
+ transition .3s
161
139
 
162
- input
163
- width 40px
164
- height 40px
165
- border-radius 8px
166
- border var(--style-border-always)
167
- transition .3s
168
- outline-style none
169
- font-size 16px
170
- padding-left 12px
171
- background var(--efu-secondbg)
172
- color var(--efu-fontcolor)
140
+ &:focus
141
+ width 100px
142
+ border-color var(--efu-theme)
143
+
144
+ &:hover input
145
+ width 100px
146
+ border-color var(--efu-theme)
147
+
148
+ a#toPageButton
149
+ position absolute
150
+ top 0
151
+ right 0
152
+ display flex
153
+ align-items center
154
+ justify-content center
155
+ width 40px
156
+ height 40px
157
+ color var(--efu-fontcolor)
158
+ background var(--efu-card-bg)
159
+ border var(--style-border-always)
160
+ border-radius 99px
161
+ cursor text
162
+ pointer-events none
163
+ transition .3s
164
+
165
+ &.haveValue
166
+ cursor pointer
167
+ pointer-events auto
168
+
169
+ &:hover
170
+ color var(--efu-nav-hover-text)
171
+ background var(--efu-theme)
172
+ opacity 1
173
+
174
+ &:hover a#toPageButton,
175
+ &:focus-within a#toPageButton
176
+ top 5px
177
+ right 4px
178
+ width 30px
179
+ height 30px
180
+ background var(--efu-card-bg)
181
+ border-color transparent
182
+ border-radius 99px
183
+ opacity .2
173
184
 
174
- &:focus, /#pagination .toPageGroup:hover input
175
- border var(--style-border-hover-always)
176
- outline-style none
177
- width 100px
185
+ +maxWidth768()
186
+ margin 0
187
+
188
+ .pagination
189
+ gap 10px
190
+ margin 0
191
+
192
+ .extend
193
+ position static
194
+ display flex
195
+ flex 1 1 0
196
+ align-items center
197
+ justify-content center
198
+ width 100%
199
+ min-width 0
200
+ height 50px
201
+ margin 0
202
+ padding 0
203
+ color var(--efu-fontcolor)
204
+ line-height 50px
205
+ background var(--efu-card-bg)
206
+ border var(--style-border-always)
207
+ border-radius 12px
208
+ box-shadow var(--efu-shadow-border)
209
+
210
+ &:hover
211
+ color var(--efu-nav-hover-text)
212
+ background var(--efu-theme)
213
+ border-color var(--efu-theme)
214
+
215
+ i
216
+ display none
217
+
218
+ .page-number,
219
+ .space,
220
+ .toPageGroup
221
+ display none
@@ -3,7 +3,9 @@ if hexo-config('right_menu.enable')
3
3
  display none
4
4
  position fixed
5
5
  padding 0 .25rem
6
- width 9rem
6
+ width max-content
7
+ min-width 9rem
8
+ max-width calc(100vw - 24px)
7
9
  height fit-content
8
10
  top 10%
9
11
  left 10%
@@ -17,6 +19,7 @@ if hexo-config('right_menu.enable')
17
19
  user-select none
18
20
  box-shadow var(--efu-shadow-black)
19
21
  transition border .3s
22
+ box-sizing border-box
20
23
 
21
24
  &:hover
22
25
  border var(--style-border-hover)
@@ -55,6 +58,7 @@ if hexo-config('right_menu.enable')
55
58
 
56
59
  i
57
60
  display inline-block
61
+ flex 0 0 1.5rem
58
62
  text-align center
59
63
  line-height 1.5rem
60
64
  width 1.5rem
@@ -62,7 +66,12 @@ if hexo-config('right_menu.enable')
62
66
  margin 0 .25rem
63
67
 
64
68
  span
69
+ min-width 0
70
+ max-width 14rem
71
+ overflow hidden
65
72
  line-height 1.5rem
73
+ text-overflow ellipsis
74
+ white-space nowrap
66
75
 
67
76
  .rightMenu-line
68
77
  border-top 1px dashed var(--efu-theme-op)
@@ -76,4 +85,4 @@ if hexo-config('right_menu.enable')
76
85
  left 0
77
86
  display none
78
87
  margin 0 !important
79
- z-index 99993
88
+ z-index 99993
@@ -3,27 +3,38 @@
3
3
 
4
4
  #menu-mask
5
5
  position fixed
6
- z-index 1001
6
+ z-index 1003
7
7
  display none
8
8
  width 100%
9
9
  height 100%
10
- background var(--efu-maskbg)
11
- -webkit-backdrop-filter saturate(180%) blur(20px)
12
- backdrop-filter saturate(180%) blur(20px)
10
+ background var(--efu-none)
11
+ -webkit-backdrop-filter none
12
+ backdrop-filter none
13
13
  transform translateZ(0)
14
14
  animation .6s ease 0s 1 normal none running to_show
15
15
 
16
16
  #sidebar-menus
17
17
  position fixed
18
- top 0
19
- right -300px
20
- overflow hidden auto
18
+ top 16px
19
+ right 8px
20
+ overflow hidden
21
21
  width 300px
22
- height 100%
22
+ max-width 90vw
23
+ height calc(100% - 32px)
23
24
  background var(--efu-maskbgdeep)
24
- transition all .5s ease 0s
25
- z-index 1001
26
- border-left var(--style-border-always)
25
+ transition transform .3s cubic-bezier(.25, .46, .45, .94), opacity .3s cubic-bezier(.25, .46, .45, .94)
26
+ z-index 1004
27
+ border var(--style-border-always)
28
+ padding-bottom 44px
29
+ border-radius 12px
30
+ transform-origin top right
31
+ transform scale(.9)
32
+ opacity 0
33
+ pointer-events none
34
+ scrollbar-width none
35
+
36
+ &::-webkit-scrollbar
37
+ display none
27
38
 
28
39
  +minWidth768()
29
40
  display none
@@ -49,15 +60,20 @@
49
60
 
50
61
  / .site-data
51
62
  display flex
52
- width 100%
53
- justify-content space-around
54
- margin 12px 0 0 0
55
- padding .6rem 16px
63
+ width calc(100% - 32px)
64
+ justify-content space-between
65
+ margin 18px 16px 12px
66
+ padding 8px 16px
67
+ gap 12px
68
+ background var(--efu-card-bg)
69
+ border var(--style-border-always)
70
+ border-radius 8px
56
71
 
57
72
  .data-item
58
73
  display flex
59
74
  justify-content flex-start
60
- margin-right 36px
75
+ margin-right 0
76
+ min-width 0
61
77
 
62
78
  .data-item-link > a
63
79
  display flex
@@ -73,6 +89,7 @@
73
89
  .data-item-link .headline
74
90
  font-size 12px
75
91
  color var(--efu-secondtext)
92
+ white-space nowrap
76
93
 
77
94
  .menus_items
78
95
  padding 0 16px
@@ -128,7 +145,12 @@
128
145
  display none
129
146
 
130
147
  &.open
131
- transform translate3d(-100%, 0, 0)
148
+ transform scale(1)
149
+ opacity 1
150
+ pointer-events auto
151
+ overflow hidden auto
152
+ -webkit-backdrop-filter blur(20px) saturate(180%)
153
+ backdrop-filter blur(20px) saturate(180%)
132
154
 
133
155
  .back-menu-list-groups
134
156
  padding 0 16px
@@ -3,6 +3,7 @@
3
3
  --efu-theme-op $dark_theme_op
4
4
  --efu-theme-op-deep $dark_theme_op_deep
5
5
  --efu-theme-none $dark_theme_none
6
+ --efu-nav-hover-text $dark_nav_hover_text
6
7
  --efu-blue #0084ff
7
8
  --efu-red #ff3842
8
9
  --efu-pink #d44040
@@ -33,6 +34,8 @@
33
34
  --efu-shadow-light2black 0 5px 12px -5px rgba(102, 68, 68, 0.0)
34
35
  --efu-card-border #3d3d3f
35
36
  --efu-shadow-border 0 8px 16px -4px #00000050
37
+ --efu-shadow-glass 0 5px 100px -5px rgba(0, 0, 0, 0.55)
38
+ --efu-shadow-glass-inset rgba(255, 255, 255, 0.9) 1.1px 2.2px 0.5px -1.8px inset, rgba(255, 255, 255, 0.9) -1px -2.2px 0.5px -1.8px inset, rgba(0, 0, 0, 0.1) 2px 3px 2px 0 inset
36
39
  --style-border 1px solid var(--efu-card-border)
37
40
  --style-border-always 1px solid var(--efu-card-border)
38
41
  --style-border-hover 1px solid var(--efu-theme)
@@ -49,6 +52,7 @@
49
52
  --efu-theme-op-deep $light_theme_op_deep
50
53
  --efu-theme-op-light #4259ef0d
51
54
  --efu-theme-none $light_theme_none
55
+ --efu-nav-hover-text $light_nav_hover_text
52
56
  --efu-blue #425aef
53
57
  --efu-red #f04a63
54
58
  --efu-pink #ff7c7c
@@ -79,6 +83,8 @@
79
83
  --efu-shadow-light2black 0 5px 12px -5px rgba(102, 68, 68, 0.00)
80
84
  --efu-card-border #e3e8f7
81
85
  --efu-shadow-border 0 8px 16px -4px #2c2d300c
86
+ --efu-shadow-glass 0 5px 100px -5px rgba(140, 140, 140, .55)
87
+ --efu-shadow-glass-inset 0 1px 2px rgba(255, 255, 255, 0.7) inset
82
88
  --style-border 1px solid var(--efu-card-border)
83
89
  --style-border-always 1px solid var(--efu-card-border)
84
90
  --style-border-hover 1px solid var(--efu-main)
@@ -94,4 +100,4 @@
94
100
  :root
95
101
  +maxWidth768()
96
102
  --style-border 0px solid var(--efu-none)
97
- --style-border-hover 0px solid var(--efu-main)
103
+ --style-border-hover 0px solid var(--efu-main)
@@ -8,9 +8,25 @@
8
8
  .author-title
9
9
  font-size 2rem
10
10
  font-weight 700
11
- margin .5rem 0
11
+ margin 1rem 0 2rem
12
12
  line-height 1
13
13
 
14
+ .author-page-content
15
+ display flex
16
+ flex-direction column
17
+ gap .5rem
18
+
19
+ .author-content-item
20
+ flex 1
21
+ width 49%
22
+
23
+ .create-site-post
24
+ line-height 2
25
+
26
+ +maxWidth768()
27
+ .author-title
28
+ margin .5rem 0 1rem
29
+
14
30
  if "tenyear" in $about
15
31
  @import "tenyear"
16
32
 
@@ -47,4 +63,4 @@ if "tj" in $about
47
63
  @import "statistic"
48
64
 
49
65
  if "award" in $about
50
- @import "reward"
66
+ @import "reward"
@@ -30,4 +30,4 @@
30
30
  .title1
31
31
  opacity .8
32
32
  font-size .6rem
33
- margin-bottom .5rem
33
+ margin-bottom .5rem
@@ -8,6 +8,7 @@
8
8
  background-size 200%
9
9
  animation gradient 15s ease infinite
10
10
  flex 4
11
+ min-height 200px
11
12
 
12
13
  .title1
13
14
  opacity .8
@@ -76,4 +77,4 @@
76
77
  background-image linear-gradient(45deg, #8a7cfb 50%, #633e9c)
77
78
 
78
79
  span:nth-child(4)
79
- background-image linear-gradient(45deg, #fa7671 50%, #f45f7f)
80
+ background-image linear-gradient(45deg, #fa7671 50%, #f45f7f)
@@ -11,6 +11,7 @@
11
11
  height 100%
12
12
  top 0
13
13
  left 0
14
+ pointer-events none
14
15
 
15
16
  .card-content
16
17
  position absolute
@@ -21,4 +22,59 @@
21
22
  z-index 2
22
23
  display flex
23
24
  flex-direction column
24
- padding 1rem 2rem
25
+ padding 1rem 2rem
26
+
27
+ .author-content-item-title
28
+ display flex
29
+ align-items center
30
+ justify-content space-between
31
+ gap 1rem
32
+
33
+ .author-content-item-title-text
34
+ min-width 0
35
+
36
+ .mode-img
37
+ flex 0 0 40px
38
+ width 40px
39
+ height 40px
40
+ border-radius 8px
41
+ object-fit cover
42
+
43
+ .hero-group
44
+ display flex
45
+ align-items center
46
+
47
+ .hero-group-item
48
+ position relative
49
+ z-index calc(100 - var(--index))
50
+ flex 0 0 40px
51
+ width 40px
52
+ height 40px
53
+ border 2px solid #357358
54
+ border-radius 50%
55
+ object-fit cover
56
+
57
+ &:not(:first-child)
58
+ margin-left -10px
59
+
60
+ +maxWidth768()
61
+ min-height 260px
62
+
63
+ .card-content
64
+ padding 1rem
65
+
66
+ .author-content-item-title
67
+ font-size 30px
68
+
69
+ .mode-img
70
+ flex-basis 36px
71
+ width 36px
72
+ height 36px
73
+
74
+ .hero-group-item
75
+ flex-basis 36px
76
+ width 36px
77
+ height 36px
78
+
79
+ &:not(:first-child)
80
+ margin-left -9px
@@ -1,7 +1,8 @@
1
1
  #about-page
2
2
  .author-content-item.like-technology
3
+ flex 1
3
4
  background-size cover
4
- min-height 230px
5
+ min-height 300px
5
6
  color var(--efu-white)
6
7
  &::after
7
8
  box-shadow 0 -69px 203px 11px #050b20 inset
@@ -11,10 +12,12 @@
11
12
  height 100%
12
13
  top 0
13
14
  left 0
15
+ pointer-events none
14
16
 
15
17
  .author-content-item.like-music
18
+ flex 1
16
19
  background-size cover
17
- min-height 400px
20
+ min-height 300px
18
21
  color var(--efu-white)
19
22
  overflow hidden
20
23
  &::after
@@ -25,8 +28,10 @@
25
28
  height 100%
26
29
  top 0
27
30
  left 0
31
+ pointer-events none
28
32
 
29
33
  .author-content-item.comic
34
+ flex 1
30
35
  min-height 400px
31
36
  color var(--efu-white)
32
37
  position relative
@@ -19,4 +19,4 @@
19
19
  .title1
20
20
  opacity .8
21
21
  font-size .6rem
22
- margin-bottom .5rem
22
+ margin-bottom .5rem