hexo-theme-solitude 1.11.2 → 1.12.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 (51) hide show
  1. package/CONTRIBUTING.md +1 -1
  2. package/README.md +5 -3
  3. package/README_en-US.md +11 -11
  4. package/README_zh-Hant.md +10 -10
  5. package/SECURITY.md +1 -1
  6. package/_config.yml +48 -36
  7. package/languages/default.yml +3 -1
  8. package/languages/en.yml +3 -1
  9. package/languages/zh-CN.yml +2 -0
  10. package/languages/zh-TW.yml +2 -0
  11. package/layout/includes/console.pug +4 -3
  12. package/layout/includes/head/config.pug +1 -0
  13. package/layout/includes/inject/body.pug +0 -3
  14. package/layout/includes/inject/head.pug +2 -2
  15. package/layout/includes/widgets/aside/asideNewstComments.pug +9 -0
  16. package/layout/includes/widgets/aside/asideSwitch.pug +2 -0
  17. package/layout/includes/widgets/third-party/comments/artalk.pug +1 -1
  18. package/layout/includes/widgets/third-party/comments/comment.pug +3 -1
  19. package/layout/includes/widgets/third-party/comments/giscus.pug +60 -0
  20. package/layout/includes/widgets/third-party/comments/js.pug +3 -1
  21. package/layout/includes/widgets/third-party/news-comment/artalk.pug +10 -12
  22. package/layout/includes/widgets/third-party/news-comment/newest-comment.pug +6 -5
  23. package/layout/includes/widgets/third-party/news-comment/twikoo.pug +9 -9
  24. package/layout/includes/widgets/third-party/news-comment/valine.pug +8 -7
  25. package/layout/includes/widgets/third-party/news-comment/waline.pug +8 -7
  26. package/package.json +3 -3
  27. package/scripts/event/merge_config.js +17 -16
  28. package/scripts/event/welcome.js +1 -1
  29. package/scripts/filter/default.js +2 -2
  30. package/source/css/_highlight/index.styl +1 -1
  31. package/source/css/_layout/aside.styl +53 -6
  32. package/source/css/_layout/console.styl +3 -79
  33. package/source/css/_page/message.styl +2 -1
  34. package/source/css/_post/meta.styl +4 -14
  35. package/source/css/_post/tools.styl +7 -2
  36. package/source/css/_search/local-search.styl +4 -0
  37. package/source/img/404.avif +0 -0
  38. package/source/img/avatar.avif +0 -0
  39. package/source/img/default.avif +0 -0
  40. package/source/img/error_load.avif +0 -0
  41. package/source/img/happy-sticker.avif +0 -0
  42. package/source/img/loading.avif +0 -0
  43. package/source/img/recent_c.avif +0 -0
  44. package/source/js/main.js +15 -12
  45. package/source/js/utils.js +8 -0
  46. package/source/img/404.webp +0 -0
  47. package/source/img/avatar.png +0 -0
  48. package/source/img/default.png +0 -0
  49. package/source/img/error_load.webp +0 -0
  50. package/source/img/happy-sticker.png +0 -0
  51. package/source/img/loading.gif +0 -0
@@ -1,10 +1,11 @@
1
- if theme.comment.use && theme.console_plus && theme.comment.newest_comment.enable
1
+ - var limit = theme.aside.newest_comment.limit ? theme.aside.newest_comment.limit : 5
2
+ if theme.comment.use
2
3
  case theme.comment.use[0]
3
4
  when 'Twikoo'
4
- !=partial('includes/widgets/third-party/news-comment/twikoo', {}, {cache: true})
5
+ !=partial('includes/widgets/third-party/news-comment/twikoo', {limit}, {cache: true})
5
6
  when 'Waline'
6
- !=partial('includes/widgets/third-party/news-comment/waline', {}, {cache: true})
7
+ !=partial('includes/widgets/third-party/news-comment/waline', {limit}, {cache: true})
7
8
  when 'Valine'
8
- !=partial('includes/widgets/third-party/news-comment/valine', {}, {cache: true})
9
+ !=partial('includes/widgets/third-party/news-comment/valine', {limit}, {cache: true})
9
10
  when 'Artalk'
10
- !=partial('includes/widgets/third-party/news-comment/artalk', {}, {cache: true})
11
+ !=partial('includes/widgets/third-party/news-comment/artalk', {limit}, {cache: true})
@@ -1,5 +1,5 @@
1
1
  script.
2
- window.addEventListener('load', () => {
2
+ (() => {
3
3
  const changeContent = (content) => {
4
4
  if (!content) return '';
5
5
  const replacements = [
@@ -12,14 +12,13 @@ script.
12
12
  {regex: /<[^>]+>/g, replacement: ''}
13
13
  ]
14
14
  content = replacements.reduce((str, {regex, replacement}) => str.replace(regex, replacement), content)
15
- return content.length > 150 ? `${content.substring(0, 150)}...` : content
15
+ return content.length > 150 ? `${content.substring(0, 100)}...` : content
16
16
  }
17
17
  const generateHtml = (array) => {
18
18
  const html = array.map(item => `
19
19
  <div class='aside-list-item'>
20
- <div onclick='pjax.loadUrl("${item.url}")' class='thumbnail'>
20
+ <div class='thumbnail'>
21
21
  <img src='${item.avatar}' alt='${item.nick}'>
22
- <div class='name'><span>${item.nick}</span></div>
23
22
  </div>
24
23
  <div class='content'>
25
24
  <div class='comment' onclick='pjax.loadUrl("${item.url}")'>${item.content}</div>
@@ -27,7 +26,7 @@ script.
27
26
  </div>
28
27
  </div>
29
28
  `).join('')
30
- document.querySelector('#card-newest-comments .aside-list').innerHTML = array.length ? html : "!{_p('newest_comment.zero')}"
29
+ document.querySelector('.card-recent-comment .aside-list').innerHTML = array.length ? html : "!{_p('newest_comment.zero')}"
31
30
  window.lazyLoadInstance?.update()
32
31
  window.pjax?.refresh()
33
32
  sco?.changeTimeFormat(document.querySelectorAll('.aside-list-item time'))
@@ -37,7 +36,7 @@ script.
37
36
  twikoo.getRecentComments({
38
37
  envId: '!{theme.twikoo.envId}',
39
38
  region: '',
40
- pageSize: 6,
39
+ pageSize: !{limit},
41
40
  includeReply: true
42
41
  }).then(res => {
43
42
  const twikooArray = res.map(e => ({
@@ -51,7 +50,7 @@ script.
51
50
  generateHtml(twikooArray)
52
51
  }).catch((err) => {
53
52
  console.error(err);
54
- document.querySelector('#card-newest-comments .aside-list').textContent = "!{_p('newest_comment.error')}"
53
+ document.querySelector('.card-recent-comment .aside-list').textContent = "!{_p('newest_comment.error')}"
55
54
  })
56
55
  }
57
56
  if (typeof twikoo === 'object') {
@@ -64,5 +63,6 @@ script.
64
63
  const data = utils.saveToLocal.get('twikoo-newest-comment')
65
64
  data ? generateHtml(data) : getComment()
66
65
  }
67
- newestCommentInit()
68
- })
66
+ window.addEventListener('DOMContentLoaded', newestCommentInit, false)
67
+ window.addEventListener('pjax:complete', newestCommentInit, false);
68
+ })()
@@ -1,5 +1,5 @@
1
1
  script.
2
- window.addEventListener('load', () => {
2
+ (() => {
3
3
  const emojiReg = /:[a-z0-9_\u4e00-\u9fa5]+:/g
4
4
  const changeContent = (content) => {
5
5
  if (content === '') return content;
@@ -16,10 +16,10 @@ script.
16
16
 
17
17
  content = replacements.reduce((str, {regex, replacement}) => str.replace(regex, replacement), content);
18
18
 
19
- return content.length > 150 ? content.substring(0, 150) + '...' : content;
19
+ return content.length > 150 ? content.substring(0, 100) + '...' : content;
20
20
  }
21
21
 
22
- const $asideList = document.querySelector('#card-newest-comments .aside-list')
22
+ const $asideList = document.querySelector('.card-recent-comment .aside-list')
23
23
  const newestCommentInit = () => {
24
24
  const data = utils.saveToLocal.get('valine-newest-comment')
25
25
  if (data) {
@@ -42,7 +42,7 @@ script.
42
42
  await fetch('!{theme.valine.serverURLs}/1.1/classes/Comment?limit=8&order=-createdAt', settings).then(res => res.json())
43
43
  .then(async result => {
44
44
  let ls = []
45
- for (const i of result.results.slice(0, 6)) {
45
+ for (const i of result.results.slice(0, !{limit})) {
46
46
  if (emojiReg.test(i.comment)) continue
47
47
  ls.push({
48
48
  content: changeContent(i.comment),
@@ -61,7 +61,7 @@ script.
61
61
  }
62
62
 
63
63
  const generateHtml = array => {
64
- const $dom = document.querySelector('#card-newest-comments .aside-list')
64
+ const $dom = document.querySelector('.card-recent-comment .aside-list')
65
65
  $dom.innerHTML = array.length ? array.map(item => `
66
66
  <div class='aside-list-item'>
67
67
  <div onclick='pjax.loadUrl(\"${item.url}\")' class='thumbnail'>
@@ -79,5 +79,6 @@ script.
79
79
  sco?.changeTimeFormat(document.querySelectorAll('.aside-list-item time'))
80
80
  }
81
81
 
82
- newestCommentInit()
83
- })
82
+ window.addEventListener('DOMContentLoaded', newestCommentInit, false)
83
+ window.addEventListener('pjax:complete', newestCommentInit, false);
84
+ })()
@@ -1,5 +1,5 @@
1
1
  script.
2
- window.addEventListener('load', () => {
2
+ (() => {
3
3
  const changeContent = (content) => {
4
4
  if (content === '') return content;
5
5
 
@@ -15,10 +15,10 @@ script.
15
15
 
16
16
  content = replacements.reduce((str, {regex, replacement}) => str.replace(regex, replacement), content);
17
17
 
18
- return content.length > 150 ? content.substring(0, 150) + '...' : content;
18
+ return content.length > 150 ? content.substring(0, 100) + '...' : content;
19
19
  }
20
20
 
21
- const $asideList = document.querySelector('#card-newest-comments .aside-list')
21
+ const $asideList = document.querySelector('.card-recent-comment .aside-list')
22
22
  const newestCommentInit = () => {
23
23
  const data = utils.saveToLocal.get('waline-newest-comment')
24
24
  if (data) {
@@ -29,7 +29,7 @@ script.
29
29
  }
30
30
 
31
31
  const getComment = async () => {
32
- await fetch('!{theme.waline.envId}/api/comment?type=recent&count=6', {method: 'GET'}).then(async res => {
32
+ await fetch('!{theme.waline.envId}/api/comment?type=recent&count=!{limit}', {method: 'GET'}).then(async res => {
33
33
  const result = await res.json()
34
34
  const walineArray = result.data.map(e => {
35
35
  return {
@@ -49,7 +49,7 @@ script.
49
49
  }
50
50
 
51
51
  const generateHtml = array => {
52
- const $dom = document.querySelector('#card-newest-comments .aside-list')
52
+ const $dom = document.querySelector('.card-recent-comment .aside-list')
53
53
  $dom.innerHTML = array.length ? array.map(item => `
54
54
  <div class='aside-list-item'>
55
55
  <div onclick='pjax.loadUrl("${item.url}")' class='thumbnail'>
@@ -67,5 +67,6 @@ script.
67
67
  sco?.changeTimeFormat(document.querySelectorAll('.aside-list-item time'))
68
68
  }
69
69
 
70
- newestCommentInit()
71
- })
70
+ window.addEventListener('DOMContentLoaded', newestCommentInit, false)
71
+ window.addEventListener('pjax:complete', newestCommentInit, false);
72
+ })()
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "hexo-theme-solitude",
3
- "version": "1.11.2",
3
+ "version": "1.12.0",
4
4
  "description": "A beautiful, powerful, and efficient Hexo theme developed by EverFu.",
5
5
  "main": "package.json",
6
6
  "scripts": {
@@ -16,14 +16,14 @@
16
16
  ],
17
17
  "repository": {
18
18
  "type": "git",
19
- "url": "https://github.com/valor-x/hexo-theme-solitude.git"
19
+ "url": "https://github.com/everfu/hexo-theme-solitude"
20
20
  },
21
21
  "dependencies": {
22
22
  "hexo-renderer-stylus": "^3.0.0",
23
23
  "hexo-renderer-pug": "^3.0.0"
24
24
  },
25
25
  "bugs": {
26
- "url": "https://github.com/valor-x/hexo-theme-solitude/issues",
26
+ "url": "https://github.com/everfu/hexo-theme-solitude/issues",
27
27
  "email": "o@efu.me"
28
28
  },
29
29
  "homepage": "https://www.efu.me/",
@@ -29,7 +29,7 @@ hexo.extend.filter.register('before_generate', () => {
29
29
  sup: 'Recommend',
30
30
  title: 'Solitude Docs',
31
31
  url: 'https://solitude.js.org/',
32
- img: '/img/default.png',
32
+ img: '/img/default.avif',
33
33
  color: 'none',
34
34
  }
35
35
  },
@@ -50,7 +50,7 @@ hexo.extend.filter.register('before_generate', () => {
50
50
  style: 0,
51
51
  author: {
52
52
  img: '/img/logo.png',
53
- sticker: '/img/happy-sticker.png',
53
+ sticker: '/img/happy-sticker.avif',
54
54
  },
55
55
  url: '/about/',
56
56
  background: null,
@@ -72,6 +72,11 @@ hexo.extend.filter.register('before_generate', () => {
72
72
  backface: '',
73
73
  backcolor: 'var(--efu-blue)'
74
74
  },
75
+ newest_comment: {
76
+ enable: false,
77
+ storage: .5,
78
+ limit: 5
79
+ },
75
80
  toc: {
76
81
  post: true,
77
82
  page: false,
@@ -108,12 +113,12 @@ hexo.extend.filter.register('before_generate', () => {
108
113
  tags: true,
109
114
  categories: true,
110
115
  default: {
111
- cover: ['/img/default.png'],
116
+ cover: ['/img/default.avif'],
112
117
  }
113
118
  },
114
119
  post: {
115
120
  default: {
116
- cover: ['/img/default.png'],
121
+ cover: ['/img/default.avif'],
117
122
  locate: 'China, Changsha',
118
123
  copyright: {
119
124
  enable: true,
@@ -186,7 +191,7 @@ hexo.extend.filter.register('before_generate', () => {
186
191
  license: null,
187
192
  links: [{
188
193
  name: 'Solitude',
189
- url: 'https://github.com/valor-x/hexo-theme-solitude',
194
+ url: 'https://github.com/everfu/hexo-theme-solitude',
190
195
  }]
191
196
  },
192
197
  errorpage: {
@@ -236,8 +241,8 @@ hexo.extend.filter.register('before_generate', () => {
236
241
  lazyload: {
237
242
  enable: false,
238
243
  field: 'site',
239
- placeholder: '/img/loading.gif',
240
- errorimg: '/img/error_load.webp'
244
+ placeholder: '/img/loading.avif',
245
+ errorimg: '/img/error_load.avif'
241
246
  },
242
247
  loading: {
243
248
  fullpage: false,
@@ -300,10 +305,6 @@ hexo.extend.filter.register('before_generate', () => {
300
305
  lazyload: false,
301
306
  count: false,
302
307
  avatar: 'https://cravatar.cn',
303
- newest_comment: {
304
- enable: false,
305
- storage: .2
306
- }
307
308
  },
308
309
  twikoo: {
309
310
  envId: 'your envId',
@@ -347,11 +348,11 @@ hexo.extend.filter.register('before_generate', () => {
347
348
  enable: false,
348
349
  manifest: '/manifest.json',
349
350
  theme_color: "#006a73",
350
- mask_icon: '/img/logo.png',
351
- apple_touch_icon: '/img/logo.png',
352
- bookmark_icon: '/img/logo.png',
353
- favicon_32_32: '/img/logo.png',
354
- favicon_16_16: '/img/logo.png'
351
+ mask_icon: '/img/pwa/favicon.ico',
352
+ apple_touch_icon: '/img/pwa/favicon.ico',
353
+ bookmark_icon: '/img/pwa/favicon.ico',
354
+ favicon_32_32: '/img/pwa/favicon_32.ico',
355
+ favicon_16_16: '/img/pwa/favicon_16.ico'
355
356
  },
356
357
  google_adsense: {
357
358
  enable: false,
@@ -9,6 +9,6 @@ hexo.on('ready', () => {
9
9
  ###### #### ##### ##### # ### ###### ######
10
10
  ${version}
11
11
  ===================================================================
12
- GitHub: https://github.com/valor-x/hexo-theme-solitude
12
+ GitHub: https://github.com/everfu/hexo-theme-solitude
13
13
  `)
14
14
  })
@@ -5,7 +5,7 @@ hexo.extend.filter.register('after_post_render', function (data) {
5
5
  const {config} = hexo.theme;
6
6
  if (data.layout === 'post') {
7
7
  let {copyright, locate, cover} = hexo.theme.config.post.default
8
- cover = cover !== null ? cover : ['/img/default.png']
8
+ cover = cover !== null ? cover : ['/img/default.avif']
9
9
  data.locate = data.locate || locate
10
10
  data.cc = data.cc || copyright
11
11
  data.cover = data.cover || cover[getRandomInt(0, cover?.length)]
@@ -15,7 +15,7 @@ hexo.extend.filter.register('after_post_render', function (data) {
15
15
  }
16
16
  if (data.layout === 'page') {
17
17
  let {cover} = hexo.theme.config.page.default
18
- cover = cover !== null ? cover : ['/img/default.png']
18
+ cover = cover !== null ? cover : ['/img/default.avif']
19
19
  data.cover = data.cover || cover[getRandomInt(0, cover?.length)]
20
20
  data.excerpt = data.title
21
21
  data.toc = !!(config.aside.toc.page && data.toc !== false && data.aside);
@@ -86,7 +86,7 @@ figure
86
86
  border-top var(--style-border-always)
87
87
  position absolute
88
88
  bottom 0
89
- z-index 10
89
+ z-index 1
90
90
  width 100%
91
91
  text-align center
92
92
  font-size 16px
@@ -49,7 +49,7 @@
49
49
  position relative
50
50
  overflow hidden
51
51
  margin-top .5rem
52
- padding 1rem 1.2rem
52
+ padding .5rem .7rem
53
53
 
54
54
  &:hover
55
55
  box-shadow var(--efu-shadow-border)
@@ -631,9 +631,9 @@ if hexo-config('aside.card.style') == 2
631
631
  gap .5rem
632
632
  z-index 1
633
633
  if hexo-config('aside.position') == 0
634
- right 1rem
635
- else
636
- left 1rem
634
+ right 1rem
635
+ else
636
+ left 1rem
637
637
 
638
638
  .headline
639
639
  color var(--efu-gray)
@@ -777,7 +777,7 @@ if hexo-config('aside.card.style') == 2
777
777
  hr
778
778
  display flex
779
779
  position relative
780
- margin 1rem 0
780
+ margin .5rem 0
781
781
  border 1px dashed var(--efu-theme-op)
782
782
 
783
783
  .item-headline
@@ -1047,4 +1047,51 @@ backcolor = convert(hexo-config('aside.flip.backcolor'))
1047
1047
  background-size 100%
1048
1048
 
1049
1049
  .card-widget.card-adsense
1050
- padding 0
1050
+ padding 0
1051
+
1052
+ if hexo-config('aside.newest_comment.enable')
1053
+ .card-recent-comment
1054
+ .recent-comment-more
1055
+ margin-left auto
1056
+ margin-right .5rem
1057
+ &:hover
1058
+ color var(--efu-lighttext)
1059
+ transition .3s
1060
+ .aside-list-item
1061
+ padding: .5rem
1062
+ width: 100%
1063
+ display: flex
1064
+ flex-direction: row
1065
+ height: 80px
1066
+ transition: .3s
1067
+ position: relative
1068
+ &:not(:last-child)
1069
+ border-bottom 1px dashed rgba(255, 255, 255, .1)
1070
+
1071
+ .thumbnail img
1072
+ width: 60px
1073
+ height: 60px
1074
+ margin-right: 8px
1075
+ border-radius: 12px
1076
+
1077
+ .content
1078
+ max-width: calc(100% - 68px)
1079
+ line-height 1.5
1080
+
1081
+ .comment
1082
+ overflow hidden
1083
+ text-overflow ellipsis
1084
+ display -webkit-box
1085
+ font-size 14px
1086
+ -webkit-line-clamp 2
1087
+ transition .3s
1088
+ -webkit-box-orient vertical
1089
+ cursor pointer
1090
+ &:hover
1091
+ color var(--efu-lighttext)
1092
+ transition .3s
1093
+
1094
+ .datetime
1095
+ font-size 12px
1096
+ color var(--efu-secondtext)
1097
+ margin-top auto
@@ -56,7 +56,6 @@
56
56
  margin-right .5rem
57
57
  width 40%
58
58
  height 100%
59
- min-width fit-content
60
59
 
61
60
  +maxWidth1300()
62
61
  display none
@@ -117,50 +116,6 @@
117
116
  display flex
118
117
  align-items center
119
118
 
120
- .aside-list-item
121
- .thumbnail
122
- display flex
123
- align-items center
124
-
125
- &:hover
126
- .thumbnail
127
- color var(--efu-white)
128
-
129
- .content
130
- display flex
131
- flex-direction column
132
- height 100%
133
- margin-top .5rem
134
-
135
- .comment
136
- -webkit-line-clamp 2
137
- display -webkit-box
138
- overflow hidden
139
- -webkit-box-orient vertical
140
- line-height 24px
141
- font-size 14px
142
-
143
- &::before
144
- content ''
145
- width 100%
146
- height 100%
147
- position absolute
148
- top 0
149
- left 0
150
-
151
- &:hover
152
- .comment
153
- color var(--efu-white)
154
-
155
- time
156
- font-size 12px
157
- color var(--efu-secondtext)
158
- margin-top auto
159
-
160
- &:hover
161
- time
162
- color var(--efu-white)
163
-
164
119
  .aside-list
165
120
  display flex
166
121
  flex-wrap wrap
@@ -184,8 +139,10 @@
184
139
  [data-theme="dark"] &
185
140
  background var(--efu-orange)
186
141
  color var(--efu-white)
142
+
187
143
  .button-group
188
144
  gap .5rem
145
+
189
146
  .console-btn-item
190
147
  &:hover
191
148
  span
@@ -350,37 +307,4 @@
350
307
 
351
308
  #consoleHideAside
352
309
  +maxWidth768()
353
- display none
354
-
355
- #card-newest-comments
356
- .aside-list-item
357
- background: var(--efu-card-bg)
358
- border-radius: 12px
359
- border: var(--style-border)
360
- padding: 12px 16px
361
- width: 49%
362
- display: flex
363
- flex-direction: column
364
- height: 150px
365
- transition: .3s
366
- position: relative
367
- cursor pointer
368
-
369
- &:hover
370
- background: var(--efu-main)
371
- color: var(--efu-white)
372
-
373
- &:not(:last-child)
374
- margin-bottom: .5rem
375
-
376
- .thumbnail img
377
- width: 20px
378
- height: 20px
379
- margin-right: 8px
380
- border-radius: 20px
381
-
382
- .name
383
- text-overflow: ellipsis
384
- overflow: hidden
385
- white-space: nowrap
386
- font-weight: 700
310
+ display none
@@ -59,5 +59,6 @@
59
59
  overflow hidden
60
60
  text-overflow ellipsis
61
61
 
62
- .hide
62
+ #barrage.hide
63
+ z-index -1
63
64
  opacity 0
@@ -248,35 +248,25 @@
248
248
  display: flex
249
249
  align-items center
250
250
  line-height 1
251
+ margin 0 .5rem
251
252
 
252
253
  +maxWidth768()
253
254
  line-height 1.5
254
255
 
255
256
  > span:first-child
256
- margin-right .8rem
257
+ margin-left 0
258
+
257
259
 
258
260
  .post-meta-date
259
- margin-right .8rem
260
261
  opacity .6
261
262
 
262
263
  .post-meta-wordcount
263
264
  opacity .6
264
- margin-right 20px
265
-
266
- +maxWidth768()
267
- margin-left 0
268
-
269
- > span.word-count
270
- font-weight 800
271
-
272
- > span:nth-child(7)
273
- font-weight 800
274
265
 
275
266
  .post-meta-separator
276
- margin 0 10px
267
+ margin 0 1rem 0 0
277
268
 
278
269
  .post-meta-position
279
- margin-right 12px
280
270
  opacity .6
281
271
 
282
272
  .post-meta-pv
@@ -236,6 +236,11 @@
236
236
  box-shadow var(--efu-shadow-main)
237
237
  color var(--efu-white)
238
238
 
239
+ span.tagsPageCount
240
+ color var(--efu-lighttext)
241
+ background var(--efu-maskbgdeep)
242
+ transition all .2s ease-in-out 0s
243
+
239
244
  span.tags-punctuation
240
245
  font-size 12px
241
246
  margin-right 1px
@@ -244,14 +249,14 @@
244
249
 
245
250
  .tagsPageCount, / #tag-page-tags .tagsPageCount
246
251
  padding 2px
247
- background var(--efu-card-bg)
252
+ background var(--efu-fontcolor)
248
253
  border var(--style-border-always)
249
254
  min-width 22.5px
250
255
  display inline-block
251
256
  border-radius 4px
252
257
  text-align center
253
258
  font-size .6rem
254
- color var(--efu-fontcolor)
259
+ color var(--efu-card-bg)
255
260
  margin-left 4px
256
261
  if hexo-config('post.share.enable')
257
262
  /.social-share *
@@ -133,6 +133,10 @@
133
133
  color var(--efu-fontcolor)
134
134
  caret-color var(--efu-theme)
135
135
 
136
+ ::placeholder
137
+ color var(--efu-gray)
138
+ opacity .5
139
+
136
140
  #search-mask
137
141
  position fixed
138
142
  inset 0
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file