hexo-theme-solitude 3.0.5 → 3.0.7

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 (67) hide show
  1. package/_config.yml +3 -21
  2. package/layout/404.pug +1 -1
  3. package/layout/includes/console.pug +21 -7
  4. package/layout/includes/footer.pug +1 -1
  5. package/layout/includes/keyboard.pug +1 -1
  6. package/layout/includes/mixins/articleSort.pug +1 -1
  7. package/layout/includes/mixins/pagination.pug +2 -2
  8. package/layout/includes/nav.pug +1 -1
  9. package/layout/includes/page/brevity.pug +4 -4
  10. package/layout/includes/page/categories.pug +1 -1
  11. package/layout/includes/page/tags.pug +1 -1
  12. package/layout/includes/rightmenu.pug +19 -19
  13. package/layout/includes/sidebar.pug +4 -7
  14. package/layout/includes/widgets/aside/aside.pug +2 -2
  15. package/layout/includes/widgets/aside/asideAllInfo.pug +0 -3
  16. package/layout/includes/widgets/aside/asideInfoCard.pug +12 -13
  17. package/layout/includes/widgets/aside/asideNewestPost.pug +2 -2
  18. package/layout/includes/widgets/aside/asideNewstComments.pug +2 -2
  19. package/layout/includes/widgets/aside/asideSwitch.pug +0 -4
  20. package/layout/includes/widgets/aside/asideToc.pug +1 -1
  21. package/layout/includes/widgets/aside/asideWebInfo.pug +10 -22
  22. package/layout/includes/widgets/home/bbTimeList.pug +6 -6
  23. package/layout/includes/widgets/home/categoryBar.pug +4 -4
  24. package/layout/includes/widgets/home/postList.pug +2 -2
  25. package/layout/includes/widgets/home/topGroup.pug +1 -1
  26. package/layout/includes/widgets/nav/right.pug +4 -4
  27. package/layout/includes/widgets/page/about/award.pug +2 -2
  28. package/layout/includes/widgets/page/about/hobbies.pug +1 -1
  29. package/layout/includes/widgets/page/about/other.pug +1 -1
  30. package/layout/includes/widgets/page/banner.pug +1 -1
  31. package/layout/includes/widgets/page/kit/content.pug +1 -1
  32. package/layout/includes/widgets/page/links/banner.pug +16 -26
  33. package/layout/includes/widgets/page/recentcomment/artalk.pug +1 -1
  34. package/layout/includes/widgets/page/recentcomment/twikoo.pug +1 -1
  35. package/layout/includes/widgets/page/recentcomment/valine.pug +1 -1
  36. package/layout/includes/widgets/page/recentcomment/waline.pug +1 -1
  37. package/layout/includes/widgets/post/award.pug +1 -1
  38. package/layout/includes/widgets/post/copyright.pug +2 -2
  39. package/layout/includes/widgets/post/postInfo.pug +16 -16
  40. package/layout/includes/widgets/sidebar/artalk.pug +1 -1
  41. package/layout/includes/widgets/sidebar/twikoo.pug +1 -1
  42. package/layout/includes/widgets/sidebar/valine.pug +1 -1
  43. package/layout/includes/widgets/sidebar/waline.pug +1 -1
  44. package/layout/includes/widgets/third-party/comments/comment.pug +4 -4
  45. package/layout/includes/widgets/third-party/search/algolia-search.pug +1 -1
  46. package/layout/includes/widgets/third-party/search/local-search.pug +1 -1
  47. package/layout/post.pug +1 -1
  48. package/layout/tag.pug +1 -1
  49. package/package.json +1 -1
  50. package/scripts/event/merge_config.js +0 -7
  51. package/scripts/helper/related_post.js +1 -1
  52. package/source/css/_global/index.styl +13 -13
  53. package/source/css/_layout/article-container.styl +11 -20
  54. package/source/css/_layout/aside.styl +271 -620
  55. package/source/css/_layout/console.styl +9 -8
  56. package/source/css/_layout/header.styl +4 -4
  57. package/source/css/_layout/sidebar.styl +0 -1
  58. package/source/css/_page/_about/reward.styl +1 -0
  59. package/source/css/_page/other.styl +1 -1
  60. package/source/css/_post/meta.styl +3 -3
  61. package/source/css/_tags/gallery.styl +0 -1
  62. package/source/js/covercolor/api.js +1 -1
  63. package/source/js/covercolor/ave.js +1 -1
  64. package/source/js/covercolor/local.js +1 -1
  65. package/source/js/main.js +6 -6
  66. package/layout/includes/widgets/aside/asideArchive.pug +0 -17
  67. package/layout/includes/widgets/aside/asideFlipCard.pug +0 -5
@@ -13,7 +13,7 @@ if tj || oneself
13
13
  if tj.button
14
14
  .banner-button-group
15
15
  a.banner-button(href=url_for(tj.button_link))
16
- i.solitude.fa-solid.fa-circle-chevron-right
16
+ i.solitude.fas.fa-circle-chevron-right
17
17
  span.banner-button-text= tj.button_text
18
18
 
19
19
  case tj.provider
@@ -11,5 +11,5 @@
11
11
  .banner-button-group
12
12
  - const isInternalLink = page.rightbtnlink.startsWith('/')
13
13
  a.banner-button(onclick=isInternalLink ? `pjax.loadUrl("${page.rightbtnlink}")`: null, href=isInternalLink ? null : url_for(page.rightbtnlink), target=isInternalLink ? null : "_blank")
14
- i.solitude.fa-solid.fa-circle-chevron-right
14
+ i.solitude.fas.fa-circle-chevron-right
15
15
  span.banner-button-text= page.rightbtn
@@ -21,4 +21,4 @@
21
21
  else
22
22
  a.equipment-item-content-item-link(href=item.link) 查看文章
23
23
  a.bber-reply(onclick=`sco.toTalk('${item.description}')`)
24
- i.solitude.fa-solid.fa-comment(style="font-size: 1rem;")
24
+ i.solitude.fas.fa-comment(style="font-size: 1rem;")
@@ -5,38 +5,28 @@
5
5
  .banner-button-group
6
6
  if theme.footer.randomlink
7
7
  a.banner-button.secondary(onclick="travelling()")
8
- i.solitude.fa-solid.fa-tower-broadcast
8
+ i.solitude.fas.fa-tower-broadcast
9
9
  span.banner-button-text=_p('link.banner.random')
10
10
  if theme.comment.use
11
11
  a.banner-button(onclick="sco.scrollToComment()")
12
- i.solitude.fa-solid.fa-circle-chevron-right
12
+ i.solitude.fas.fa-circle-chevron-right
13
13
  span.solitude.banner-button-text=_p('link.banner.toComment')
14
14
 
15
15
  - if (site.data.links.swiper !== false)
16
16
  .tags-group-all.nowrapMove
17
- - const data = site.data.links.links
18
- - var links = []
19
- each x in data
20
- each y in x.link_list
21
- - links.push(y)
22
- - let times = 4 * (links.length? Math.ceil(20/links.length):0)
23
- - let length = times * links.length
24
- - let duration = length * 1500 - 1400
25
- - let originalLinks = links
26
- - for (let i = 1; i < times; i++)
27
- - links = links.concat(originalLinks)
28
- .tags-group-wrapper(style=`animation-duration: ${duration}ms`)
29
- - var pairs = []
30
- each link, index in links
31
- if (index % 2 === 0)
32
- - pairs.push([link])
33
- else
34
- - pairs[pairs.length - 1].push(link)
35
- each pair in pairs
36
- .tags-group-icon-pair
37
- each y in pair
38
- a.tags-group-icon(href=url_for(y.link), title=y.name)
39
- img(src=y.avatar + (site.data.links.banner_suffix || ''), title=y.name)
40
- span.tags-group-title=y.name
17
+ - const data = site.data.links.links.filter(x => x.type !== 'discn')
18
+ - const links = data.flatMap(x => x.link_list)
19
+ .tags-group-wrapper
20
+ - const pairs = links.reduce(function(acc, link, index) {
21
+ - if (index % 2 === 0) acc.push([link])
22
+ - else acc[acc.length - 1].push(link)
23
+ - return acc
24
+ - }, [])
25
+ each pair in pairs
26
+ .tags-group-icon-pair
27
+ each y in pair
28
+ a.tags-group-icon(href=url_for(y.link), title=y.name)
29
+ img(src=y.avatar + (site.data.links.banner_suffix || ''), title=y.name)
30
+ span.tags-group-title=y.name
41
31
  - else
42
32
  .tags-group-all(style="height:calc(3rem + 72px);")
@@ -53,7 +53,7 @@ script(pjax).
53
53
  </div>
54
54
  <div class="comment-content">${i.content}</div>
55
55
  <div class="comment-title">
56
- <i class="solitude fa-solid fa-comment"></i>
56
+ <i class="solitude fas fa-comment"></i>
57
57
  ${i.title}</div>
58
58
  </div>
59
59
  `).join('') : `#{__("console.newest_comment.empty")}`
@@ -60,7 +60,7 @@ script(pjax).
60
60
  </div>
61
61
  <div class="comment-content">${formatContent(i.content)}</div>
62
62
  <div class="comment-title">
63
- <i class="solitude fa-solid fa-comment"></i>
63
+ <i class="solitude fas fa-comment"></i>
64
64
  ${i.title}</div>
65
65
  </div>
66
66
  `).join('') : `#{__("console.newest_comment.empty")}`
@@ -58,7 +58,7 @@ script(pjax).
58
58
  </div>
59
59
  <div class="comment-content">${i.content}</div>
60
60
  <div class="comment-title">
61
- <i class="solitude fa-solid fa-comment"></i>
61
+ <i class="solitude fas fa-comment"></i>
62
62
  ${i.title}</div>
63
63
  </div>
64
64
  `).join('') : `#{__("console.newest_comment.empty")}`
@@ -49,7 +49,7 @@ script(pjax).
49
49
  </div>
50
50
  <div class="comment-content">${i.content}</div>
51
51
  <div class="comment-title">
52
- <i class="solitude fa-solid fa-comment"></i>
52
+ <i class="solitude fas fa-comment"></i>
53
53
  ${i.title}</div>
54
54
  </div>
55
55
  `).join('') : `#{__("console.newest_comment.empty")}`
@@ -1,6 +1,6 @@
1
1
  .post-reward
2
2
  .reward-button(title=_p('award.tipping') onclick="AddRewardMask()")
3
- i.solitude.fa-solid.fa-heart
3
+ i.solitude.fas.fa-heart
4
4
  =_p('award.tipping')
5
5
  .reward-main
6
6
  ul.reward-all
@@ -3,7 +3,7 @@
3
3
  .post-copyright__author_group
4
4
  .post-copyright__author_img
5
5
  img.post-copyright__author_img_front(src=url_for(page.avatar || copyright.author || theme.site.icon))
6
- .post-copyright__author_name= page.author || config.title
6
+ .post-copyright__author_name= page.author || config.author
7
7
  .post-copyright__author_desc= page.desc || config.subtitle
8
8
  .post-tools#post-tools
9
9
  .post-tools-left
@@ -13,7 +13,7 @@
13
13
  if theme.post.rss
14
14
  .reward-link.mode
15
15
  a.reward-link-button(href=url_for(theme.post.rss))
16
- i.solitude.fa-solid.fa-seedling
16
+ i.solitude.fas.fa-seedling
17
17
  = _p('footer.rss')
18
18
  if theme.post.share.enable
19
19
  .social-share
@@ -11,7 +11,7 @@
11
11
  each tag in page.tags.data
12
12
  a.post-meta__tags(href=url_for(tag.path))
13
13
  span.tags-name.tags-punctuation
14
- i.solitude.fa-solid.fa-hashtag
14
+ i.solitude.fas.fa-hashtag
15
15
  = tag.name
16
16
  h1.post-title= page.title
17
17
  #post-meta
@@ -22,16 +22,16 @@
22
22
  time(datetime=date_xml(page.date))= date_xml(page.date)
23
23
  if theme.post.meta.updated
24
24
  span.post-meta-date(title=_p('post.updated') + ' ' + full_date(page.updated))
25
- i.post-meta-icon.solitude.fa-solid.fa-arrows-rotate
25
+ i.post-meta-icon.solitude.fas.fa-arrows-rotate
26
26
  time(datetime=date_xml(page.updated))= date_xml(page.updated)
27
27
  if theme.wordcount
28
28
  span.post-meta-wordcount
29
29
  if theme.post.meta.wordcount
30
- i.post-meta-icon.solitude.fa-solid.fa-file-word(title=_p('post.wordcount'))
30
+ i.post-meta-icon.solitude.fas.fa-file-word(title=_p('post.wordcount'))
31
31
  span.word-count= wordcount(page.content)
32
32
  span.post-meta-separator
33
33
  if theme.post.meta.readtime
34
- i.post-meta-icon.solitude.fa-solid.fa-clock(title=_p('post.minread'))
34
+ i.post-meta-icon.solitude.fas.fa-clock(title=_p('post.minread'))
35
35
  span= min2read(page.content) + " min"
36
36
  if theme.post.meta.locate
37
37
  span.post-meta-position(title=_p('post.ip') + page.locate)
@@ -39,44 +39,44 @@
39
39
  span= page.locate
40
40
  if theme.post.meta.pv && (theme.comment.use && theme.comment.pv || theme.busuanzi)
41
41
  a.post-meta-pv(href=url_for(page.path), title=_p('post.pv'))
42
- i.post-meta-icon.solitude.fa-solid.fa-fire-flame-curved
42
+ i.post-meta-icon.solitude.fas.fa-fire-flame-curved
43
43
  if theme.comment.use && theme.comment.pv
44
44
  case theme.comment.use[0]
45
45
  when "Twikoo"
46
46
  span#twikoo_visitors
47
- i.solitude.fa-solid.fa-spinner.fa-spin
47
+ i.solitude.fas.fa-spinner.fa-spin
48
48
  when "Waline"
49
49
  span.waline-pageview-count
50
- i.solitude.fa-solid.fa-spinner.fa-spin
50
+ i.solitude.fas.fa-spinner.fa-spin
51
51
  when "Valine"
52
52
  span.leancloud_visitors(id=url_for(page.path))
53
53
  span.leancloud-visitors-count
54
- i.solitude.fa-solid.fa-spinner.fa-spin
54
+ i.solitude.fas.fa-spinner.fa-spin
55
55
  when 'Artalk'
56
56
  span#ArtalkPV
57
- i.solitude.fa-solid.fa-spinner.fa-spin
57
+ i.solitude.fas.fa-spinner.fa-spin
58
58
  else
59
59
  if theme.busuanzi
60
60
  if theme.busuanzi_use === 0
61
61
  span#busuanzi_value_page_pv
62
- i.solitude.fa-solid.fa-spinner.fa-spin
62
+ i.solitude.fas.fa-spinner.fa-spin
63
63
  else
64
64
  span#busuanzi_page_pv
65
- i.solitude.fa-solid.fa-spinner.fa-spin
65
+ i.solitude.fas.fa-spinner.fa-spin
66
66
  if theme.post.meta.comment && page.comment && theme.comment.count && theme.comment.use
67
67
  span.post-meta-commentcount(title=_p('post.comment'), onclick="sco.scrollTo('post-comment')")
68
- i.solitude.fa-solid.fa-comment
68
+ i.solitude.fas.fa-comment
69
69
  a(href=url_for(page.path) + "#post-comment")
70
70
  case theme.comment.use[0]
71
71
  when "Twikoo"
72
72
  span.twikoo-count
73
- i.solitude.fa-solid.fa-spinner.fa-spin
73
+ i.solitude.fas.fa-spinner.fa-spin
74
74
  when "Waline"
75
75
  span.waline-comment-count
76
- i.solitude.fa-solid.fa-spinner.fa-spin
76
+ i.solitude.fas.fa-spinner.fa-spin
77
77
  when "Valine"
78
78
  span.valine-comment-count(data-xid=url_for(page.path) itemprop="commentCount")
79
- i.solitude.fa-solid.fa-spinner.fa-spin
79
+ i.solitude.fas.fa-spinner.fa-spin
80
80
  when 'Artalk'
81
81
  span.artalk-count
82
- i.solitude.fa-solid.fa-spinner.fa-spin
82
+ i.solitude.fas.fa-spinner.fa-spin
@@ -1,5 +1,5 @@
1
1
  .length-num#artalk_allcount
2
- i.solitude.fa-solid.fa-spinner.fa-spin
2
+ i.solitude.fas.fa-spinner.fa-spin
3
3
 
4
4
  - const { server, site } = theme.artalk
5
5
 
@@ -1,5 +1,5 @@
1
1
  .length-num#twikoo_allcount
2
- i.solitude.fa-solid.fa-spinner.fa-spin
2
+ i.solitude.fas.fa-spinner.fa-spin
3
3
 
4
4
  - const {envId} = theme.twikoo
5
5
 
@@ -1,5 +1,5 @@
1
1
  .length-num#valine_allcount
2
- i.solitude.fa-solid.fa-spinner.fa-spin
2
+ i.solitude.fas.fa-spinner.fa-spin
3
3
 
4
4
  - const { appId, appKey, serverURLs } = theme.valine
5
5
 
@@ -1,5 +1,5 @@
1
1
  .length-num#waline_allcount
2
- i.solitude.fa-solid.fa-spinner.fa-spin
2
+ i.solitude.fas.fa-spinner.fa-spin
3
3
 
4
4
  script(pjax).
5
5
  (async () => {
@@ -3,7 +3,7 @@
3
3
  #post-comment
4
4
  .comment-head
5
5
  .comment-headline
6
- i.solitude.fa-solid.fa-comment
6
+ i.solitude.fas.fa-comment
7
7
  span=' ' + _p('comment.title')
8
8
  if count && is_post()
9
9
  span.count
@@ -12,13 +12,13 @@
12
12
  case name
13
13
  when "Twikoo"
14
14
  span.twikoo-count
15
- i.solitude.fa-solid.fa-spinner.fa-spin
15
+ i.solitude.fas.fa-spinner.fa-spin
16
16
  when "Waline"
17
17
  span.waline-comment-count
18
- i.solitude.fa-solid.fa-spinner.fa-spin
18
+ i.solitude.fas.fa-spinner.fa-spin
19
19
  when "Valine"
20
20
  span.valine-comment-count(data-xid=url_for(page.path) itemprop="commentCount")
21
- i.solitude.fa-solid.fa-spinner.fa-spin
21
+ i.solitude.fas.fa-spinner.fa-spin
22
22
  when "Artalk"
23
23
  span.artalk-count
24
24
  when "Giscus"
@@ -6,7 +6,7 @@
6
6
  i.solitude.fab.fa-algolia
7
7
  span.algolia-tips-text='Algolia'
8
8
  span.search-close-button
9
- i.solitude.fa-solid.fa-xmark
9
+ i.solitude.fas.fa-xmark
10
10
  #algolia-input-panel
11
11
  #algolia-search-input
12
12
  #search-results
@@ -3,7 +3,7 @@
3
3
  nav.search-nav
4
4
  span.search-dialog-title=__('nav.search')
5
5
  button.search-close-button
6
- i.solitude.fa-solid.fa-xmark
6
+ i.solitude.fas.fa-xmark
7
7
  div.search-wrap
8
8
  div.search-box
9
9
  input.search-box-input#search-input(type="text", autocomplete="off", spellcheck="false", autocorrect="off", autocapitalize="off", placeholder=__('search.placeholder'))
package/layout/post.pug CHANGED
@@ -16,7 +16,7 @@ block content
16
16
  each data in page.tags.data || []
17
17
  a(href=url_for(data.path)).post-meta__tags
18
18
  span.tags-punctuation
19
- i.solitude.fa-solid.fa-hashtag
19
+ i.solitude.fas.fa-hashtag
20
20
  =data.name
21
21
  span.tagsPageCount=data.length
22
22
  if theme.google_adsense.enable && !theme.google_adsense.auto_ads && theme.google_adsense.post_content
package/layout/tag.pug CHANGED
@@ -7,7 +7,7 @@ block content
7
7
  each tag in site.tags.find({ parent: { $exists: false } }).data
8
8
  a(id=tag.name class=(tag.name === page.tag ? 'select' : '') href=url_for(tag.path))
9
9
  span.tags-punctuation
10
- i.solitude.fa-solid.fa-hashtag
10
+ i.solitude.fas.fa-hashtag
11
11
  =tag.name
12
12
  span.tagsPageCount=tag.length
13
13
  .recent-posts#recent-posts
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "hexo-theme-solitude",
3
- "version": "3.0.5",
3
+ "version": "3.0.7",
4
4
  "description": "A beautiful, powerful, and efficient Hexo theme developed by everfu.",
5
5
  "main": "package.json",
6
6
  "keywords": [
@@ -53,12 +53,6 @@ hexo.extend.filter.register('before_generate', () => {
53
53
  witty_words: [],
54
54
  information: null,
55
55
  },
56
- flip: {
57
- favicon: '',
58
- face: '',
59
- backface: '',
60
- backcolor: 'var(--efu-blue)'
61
- },
62
56
  newest_comment: {
63
57
  enable: false,
64
58
  storage: 0.5,
@@ -66,7 +60,6 @@ hexo.extend.filter.register('before_generate', () => {
66
60
  },
67
61
  toc: { post: true, page: false, vague: true },
68
62
  tags: { enable: true, limit: 20, highlight: false, list: [] },
69
- archive: { enable: true, type: 'month' },
70
63
  siteinfo: {
71
64
  postcount: true,
72
65
  wordcount: false,
@@ -42,7 +42,7 @@ hexo.extend.helper.register('related_posts', function (currentPost, allPosts) {
42
42
  let result = `
43
43
  <div class="relatedPosts">
44
44
  <div class="headline">
45
- <i class="solitude fa-solid fa-star"></i>
45
+ <i class="solitude fas fa-star"></i>
46
46
  <span>${headlineLang}</span>
47
47
  <div class="relatedPosts-link">
48
48
  <a onclick="event.preventDefault(); toRandomPost();" href="javascript:void(0);" rel="external nofollow" data-pjax-state="">${this._p('random')}</a>
@@ -55,6 +55,8 @@
55
55
  --card-hover-box-shadow 0 3px 8px 6px rgba(7, 17, 27, 0.15)
56
56
  --offset 0px
57
57
  --hlscrollbar-bg #121212
58
+ --gap .5rem
59
+ --radius 8px
58
60
 
59
61
  body
60
62
  position relative
@@ -143,10 +145,8 @@ h1, h2, h3, h4, h5, h6
143
145
  color var(--efu-fontcolor)
144
146
 
145
147
  hr
146
- box-sizing content-box
147
- height 0
148
- overflow visible
149
- display none
148
+ margin .5rem 0
149
+ border 1px dashed var(--efu-theme-op)
150
150
 
151
151
  a
152
152
  color var(--efu-fontcolor)
@@ -381,15 +381,16 @@ i.solitude
381
381
  max-width 1400px
382
382
  flex-grow 1
383
383
 
384
- /.hide-aside.layout
385
- max-width 1400px
386
-
387
- > div
388
- width 100% !important
384
+ &.hide-aside
385
+ > div:first-child
386
+ width 100%
389
387
 
390
388
  > div:first-child
391
389
  width calc(100% - 300px)
392
390
 
391
+ .hide-aside &
392
+ width 100%
393
+
393
394
  +maxWidth1200()
394
395
  width 100%
395
396
 
@@ -397,7 +398,6 @@ i.solitude
397
398
  box-shadow var(--efu-shadow-border)
398
399
  padding 1rem 2rem
399
400
  border-radius 12px
400
- background var(--efu-card-bg)
401
401
  border var(--style-border)
402
402
  align-self flex-start
403
403
  animation slide-in .6s .1s backwards
@@ -405,6 +405,9 @@ i.solitude
405
405
  if hexo-config('aside.position') == 0
406
406
  order 2
407
407
 
408
+ +minWidth768()
409
+ background var(--efu-card-bg)
410
+
408
411
  +maxWidth768()
409
412
  box-shadow none
410
413
  border none
@@ -424,9 +427,6 @@ span.tags-punctuation
424
427
  margin-right 2px
425
428
  opacity .4
426
429
 
427
- .hide-aside #page &
428
- font-size 16px
429
-
430
430
  #post-info &
431
431
  font-size 14px
432
432
  line-height 32px
@@ -22,16 +22,6 @@
22
22
  &.fancybox
23
23
  border-bottom none
24
24
 
25
- &:not(.fancybox)
26
- padding 0 4px
27
-
28
- &:hover
29
- border 0
30
- text-decoration none
31
- color var(--efu-white)
32
- border-radius 4px
33
- background var(--efu-main)
34
-
35
25
  .table-wrap
36
26
  margin 1rem 0
37
27
  border-radius 8px
@@ -73,16 +63,16 @@
73
63
  a
74
64
  &:not(.fancybox)
75
65
  text-decoration none
76
- border-bottom 2px dotted var(--efu-lighttext)
77
- color var(--efu-fontcolor)
66
+ border none
67
+ color var(--efu-theme)
78
68
  font-weight 700
79
69
  padding 0 4px
80
- border-radius 4px 4px 0 0
70
+ background linear-gradient(to top, var(--efu-theme-op), var(--efu-theme-op)) no-repeat bottom / 100% .1em
71
+ transition all .2s
81
72
 
82
73
  &:hover
83
- color var(--efu-white)
84
74
  border-radius 4px
85
- background var(--efu-main)
75
+ background-size: 100% 100%
86
76
 
87
77
  blockquote
88
78
  p
@@ -91,13 +81,14 @@
91
81
  font-size 15px
92
82
 
93
83
  code:not([class*='language-'])
94
- color var(--efu-white)
95
- padding 0.2rem 0.4rem
84
+ color var(--efu-fontcolor)
85
+ padding .4em
96
86
  border-radius 4px
97
- margin 0 4px
98
- background var(--efu-pink)
99
- line-height 2
87
+ font-size 12px
88
+ background var(--efu-card-bg)
89
+ line-height 1.5
100
90
  box-shadow var(--efu-shadow-border)
91
+ border var(--style-border)
101
92
 
102
93
  img:not(.post_bg)
103
94
  border-radius 12px