hexo-theme-solitude 1.6.0 → 1.7.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 (83) hide show
  1. package/README.md +1 -1
  2. package/README_zh-cn.md +1 -1
  3. package/README_zh-tw.md +1 -1
  4. package/SECURITY.md +5 -5
  5. package/_config.yml +50 -51
  6. package/languages/en.yml +59 -63
  7. package/languages/zh-CN.yml +52 -55
  8. package/languages/zh-TW.yml +52 -55
  9. package/layout/404.pug +1 -1
  10. package/layout/category.pug +1 -1
  11. package/layout/includes/console.pug +13 -12
  12. package/layout/includes/footer.pug +6 -6
  13. package/layout/includes/head/config.pug +70 -38
  14. package/layout/includes/head/opengraph.pug +2 -2
  15. package/layout/includes/head/pwa.pug +6 -6
  16. package/layout/includes/head.pug +1 -1
  17. package/layout/includes/inject/body.pug +7 -7
  18. package/layout/includes/inject/head.pug +35 -1
  19. package/layout/includes/keyboard.pug +1 -1
  20. package/layout/includes/nav.pug +1 -1
  21. package/layout/includes/sidebar.pug +19 -3
  22. package/layout/includes/widgets/home/categoryBar.pug +2 -2
  23. package/layout/includes/widgets/home/postList.pug +4 -4
  24. package/layout/includes/widgets/home/topGroup.pug +2 -2
  25. package/layout/includes/widgets/nav/group.pug +2 -2
  26. package/layout/includes/widgets/nav/right.pug +1 -1
  27. package/layout/includes/widgets/page/about/award.pug +8 -9
  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/links/banner.pug +5 -4
  32. package/layout/includes/widgets/page/moments/angle.pug +1 -1
  33. package/layout/includes/widgets/post/award.pug +10 -15
  34. package/layout/includes/widgets/post/copyright.pug +2 -2
  35. package/layout/includes/widgets/post/postMeta.pug +17 -10
  36. package/layout/includes/widgets/randomlink.pug +3 -2
  37. package/layout/includes/widgets/third-party/comments/comment.pug +5 -7
  38. package/layout/includes/widgets/third-party/comments/twikoo.pug +1 -0
  39. package/layout/includes/widgets/third-party/comments/valine.pug +44 -0
  40. package/layout/includes/widgets/third-party/comments/waline.pug +40 -11
  41. package/layout/includes/widgets/third-party/news-comment/newest-comment.pug +5 -3
  42. package/layout/includes/widgets/third-party/news-comment/twikoo.pug +12 -10
  43. package/layout/includes/widgets/third-party/news-comment/valine.pug +79 -0
  44. package/layout/includes/widgets/third-party/news-comment/waline.pug +25 -20
  45. package/layout/page.pug +3 -0
  46. package/layout/tag.pug +1 -1
  47. package/package.json +1 -1
  48. package/plugins.yml +15 -3
  49. package/scripts/event/cdn.js +9 -9
  50. package/scripts/event/init.js +4 -2
  51. package/scripts/event/merge_config.js +15 -6
  52. package/scripts/helper/related_post.js +2 -2
  53. package/scripts/tags/tabs.js +1 -1
  54. package/source/css/_comments/{index.styl → comment.styl} +15 -22
  55. package/source/css/_comments/twikoo.styl +3 -0
  56. package/source/css/_comments/valine.styl +245 -0
  57. package/source/css/_global/index.styl +3 -0
  58. package/source/css/_highlight/highlight/index.styl +1 -1
  59. package/source/css/_highlight/prismjs/line-number.styl +1 -1
  60. package/source/css/_layout/article-sort.styl +1 -1
  61. package/source/css/_layout/aside.styl +3 -3
  62. package/source/css/_layout/console.styl +7 -6
  63. package/source/css/_layout/footer.styl +1 -0
  64. package/source/css/_layout/header.styl +2 -0
  65. package/source/css/_layout/sidebar.styl +30 -20
  66. package/source/css/_page/_home/home-top.styl +1 -1
  67. package/source/css/_page/_home/recent-post.styl +2 -2
  68. package/source/css/_page/index.styl +1 -4
  69. package/source/css/_page/links.styl +5 -5
  70. package/source/css/_post/content.styl +26 -7
  71. package/source/css/_post/tools.styl +3 -9
  72. package/source/css/index.styl +1 -3
  73. package/source/img/flower.gif +0 -0
  74. package/source/js/{comment/twikoo_commentBarrage.js → commentBarrage/twikoo.js} +4 -10
  75. package/source/js/commentBarrage/valine.js +156 -0
  76. package/source/js/{comment/waline_commentBarrage.js → commentBarrage/waline.js} +3 -5
  77. package/source/js/main.js +92 -96
  78. package/source/js/third_party/efu_ai.min.js +6 -0
  79. package/source/js/utils.js +15 -2
  80. package/layout/includes/widgets/rightside/index.pug +0 -87
  81. package/source/css/_comments/waline.styl +0 -455
  82. package/source/js/rightside.js +0 -221
  83. package/source/js/third_party/sco-ai.min.js +0 -8
@@ -5,7 +5,7 @@ hexo.extend.helper.register('related_posts', function (currentPost, allPosts) {
5
5
  const config = hexo.theme.config
6
6
  const limitNum = config.related_post.limit || 6
7
7
  const dateType = config.related_post.date_type || 'created'
8
- const headlineLang = this._p('喜欢这篇的人也看了')
8
+ const headlineLang = this._p('star')
9
9
 
10
10
  currentPost.tags.forEach(function (tag) {
11
11
  allPosts.forEach(function (post) {
@@ -36,7 +36,7 @@ hexo.extend.helper.register('related_posts', function (currentPost, allPosts) {
36
36
  relatedPosts.sort(compare('weight', dateType))
37
37
 
38
38
  let result = '<div class="relatedPosts">'
39
- result += `<div class="headline"><i class="solitude st-star-smile-fill"></i><span>${headlineLang}</span><div class="relatedPosts-link"><a onclick="event.preventDefault(); toRandomPost();" href="javascript:void(0);" rel="external nofollow" data-pjax-state="">随便逛逛</a></div></div>`
39
+ result += `<div class="headline"><i class="solitude st-star-smile-fill"></i><span>${headlineLang}</span><div class="relatedPosts-link"><a onclick="event.preventDefault(); toRandomPost();" href="javascript:void(0);" rel="external nofollow" data-pjax-state="">${this._p('random')}</a></div></div>`
40
40
  result += '<div class="relatedPosts-list">'
41
41
 
42
42
  for (let i = 0; i < Math.min(relatedPosts.length, limitNum); i++) {
@@ -1,6 +1,6 @@
1
1
  /**
2
2
  * Tabs
3
- * from butterfly
3
+ * from solitude
4
4
  */
5
5
 
6
6
  'use strict'
@@ -72,21 +72,6 @@ div#post-comment
72
72
  a:hover
73
73
  color var(--efu-main)
74
74
 
75
- .comment-tips
76
- background-color rgba(103, 194, 58, 0.13)
77
- border var(--style-border-always)
78
- border-color var(--efu-green)
79
- color var(--efu-green)
80
- border-radius 8px
81
- padding 8px 12px
82
- margin-top 0.5rem
83
- display none
84
- width 100%
85
-
86
- &.show
87
- display flex
88
- font-weight 700
89
-
90
75
  blockquote
91
76
  background var(--efu-secondbg)
92
77
  border var(--style-border)
@@ -104,10 +89,18 @@ div#post-comment
104
89
  flex-wrap wrap
105
90
  position relative
106
91
 
107
- .comment-randomInfo
108
- margin-left auto
109
- font-size 13px
110
-
111
- &:hover
112
- a
113
- color var(--efu-theme)
92
+ #owo-big
93
+ position fixed
94
+ align-items center
95
+ background-color var(--heo-card-bg)
96
+ border var(--style-border-always)
97
+ border-radius 10px
98
+ z-index 9999
99
+ display none
100
+ transform translate(0, -105%)
101
+ overflow hidden
102
+ animation owoIn .3s cubic-bezier(.42,0,.3,1.11)
103
+ padding 1rem
104
+
105
+ @import 'twikoo.styl' when hexo-config('comment.type') == 'twikoo'
106
+ @import 'valine.styl' when hexo-config('comment.type') == 'valine'
@@ -1,4 +1,7 @@
1
1
  #twikoo
2
+ .tk-admin-config-group-title
3
+ margin-top 0
4
+ line-height normal
2
5
  .tk-row
3
6
  .tk-col
4
7
  flex-direction column-reverse !important
@@ -0,0 +1,245 @@
1
+ #comment
2
+ .vcount
3
+ display none !important
4
+
5
+ .vpreview-btn
6
+ display none
7
+
8
+ .vemoji-btn
9
+ position absolute
10
+ bottom 4.5px
11
+ left 50px
12
+
13
+ .vpanel
14
+ display flex
15
+ flex-direction column
16
+ position relative
17
+
18
+ .vemojis
19
+ display: none;
20
+ position: absolute;
21
+ left: 0;
22
+ right: 0;
23
+ max-width: 500px;
24
+ color: #4a4a4a;
25
+ border: 1px solid rgba(144, 147, 153, 0.31);
26
+ top: 6.7rem
27
+ z-index: 1000;
28
+ animation: .3s ease .1s 1 normal both running donate_effcet
29
+ width: 500px;
30
+ border: var(--style-border-always)
31
+ border-radius: 8px !important;
32
+ overflow: hidden;
33
+ background-color: var(--efu-maskbg)
34
+ backdrop-filter: saturate(180%) blur(10px);
35
+ transform: translateZ(0);
36
+ overflow-y: auto;
37
+ padding: 10px;
38
+
39
+ .vwrap
40
+ flex 1
41
+ display flex
42
+ border none !important
43
+ padding 0
44
+ overflow: inherit;
45
+ flex-direction column-reverse
46
+
47
+ .vheader
48
+ display flex
49
+ margin .5rem 0
50
+ position relative
51
+ width calc(100% - 5.5rem)
52
+ gap .5rem
53
+
54
+ +maxWidth768()
55
+ flex-direction column
56
+
57
+ input
58
+ border-radius 12px
59
+ width calc((100% - 1rem) / 3)
60
+ flex 1
61
+ position relative
62
+ font-size 13px
63
+ background var(--efu-secondbg)
64
+ border var(--style-border-always)
65
+ padding 6px 10px
66
+ line-height 1
67
+
68
+ +maxWidth768()
69
+ width 100%
70
+
71
+ .vquote
72
+
73
+ .vcard
74
+ background: var(--efu-card-bg);
75
+ border none
76
+ border-top: var(--style-border-dashed);
77
+ border-radius: 12px;
78
+ transition: .3s;
79
+ padding: 1rem 0 0;
80
+ margin-top: 0;
81
+ box-shadow: none;
82
+
83
+ .vreply-wrapper
84
+
85
+ .vrow .vcol:first-child
86
+ bottom 78px
87
+
88
+ +maxWidth768()
89
+ bottom 164px
90
+
91
+ .vrow .vcol.text-right:not(.vctrl)
92
+ bottom 31px
93
+
94
+ +maxWidth768()
95
+ bottom 117px
96
+
97
+ .cancel-reply
98
+ display flex !important
99
+ flex-direction row
100
+ justify-content center
101
+ margin 0
102
+
103
+ .cancel-reply-btn
104
+ position inherit
105
+
106
+ .vrow
107
+ padding 0
108
+
109
+ .vcol
110
+ position absolute
111
+
112
+ &:first-child
113
+ bottom 56px
114
+ left 20px
115
+ width auto
116
+
117
+ +maxWidth768()
118
+ bottom 141px
119
+
120
+ &.text-right:not(.vctrl)
121
+ bottom 9px
122
+ right 0
123
+ transition .3s
124
+ border 0 solid var(--efu-main)
125
+ width 5rem
126
+ margin-left .5rem
127
+ border-radius 12px
128
+ height 34px
129
+
130
+ +maxWidth768()
131
+ bottom 94px
132
+
133
+ button
134
+ background-color var(--efu-fontcolor)
135
+ width 100%
136
+ height 100%
137
+ color var(--efu-card-bg)
138
+ border-radius 12px
139
+ opacity .2
140
+
141
+ +maxWidth768()
142
+ height 119px
143
+
144
+ svg
145
+ width 18px
146
+ height 18px
147
+
148
+ #veditor
149
+ display block
150
+ padding 16px 16px 40px 16px
151
+ line-height 1.5
152
+ width 100%
153
+ font-size 14px
154
+ background var(--efu-secondbg)
155
+ color var(--efu-fontcolor)
156
+ border-radius 12px
157
+ min-height 121px
158
+ border var(--style-border-always)
159
+
160
+ &:focus
161
+ border var(--style-border-hover-always)
162
+ box-shadow var(--efu-shadow-main)
163
+
164
+ .vcard
165
+ margin-top: 0
166
+ margin-bottom: .5rem
167
+ background: var(--efu-card-bg);
168
+ transition: .3s;
169
+ border-radius: 12px;
170
+ padding: 0;
171
+ padding-top: .5rem;
172
+ border: none;
173
+ border-top: var(--style-border-dashed);
174
+ display: flex;
175
+ flex-direction: row;
176
+ word-break: break-all;
177
+
178
+ +maxWidth768()
179
+ padding: 1rem;
180
+ border: var(--style-border-always);
181
+ box-shadow: var(--efu-shadow-border)
182
+
183
+ .vimg
184
+ width 32px
185
+ height 32px
186
+ border-radius 32px
187
+ cursor pointer
188
+ margin-right 16px
189
+
190
+ &:hover
191
+ transform: rotate(360deg)
192
+
193
+ .vh
194
+ flex 1
195
+ padding 0
196
+ border 0
197
+
198
+ .vhead
199
+ display flex
200
+ align-items center
201
+ gap: 5px;
202
+
203
+ .vnick
204
+ font-size 1rem
205
+ line-height 32px
206
+ margin-right 0
207
+
208
+ .vsys
209
+ background: var(--efu-card-bg);
210
+ border: var(--style-border-always);
211
+ padding: 3px 5px
212
+ border-radius: 8px;
213
+ color: var(--efu-secondtext)
214
+ display: inline
215
+ font-size: .5rem;
216
+
217
+ .vat
218
+ display: flex;
219
+ align-items: center;
220
+ color: var(--efu-lighttext)
221
+ padding: 3px 12px
222
+ transition: all .3s;
223
+ border-radius: 8px;
224
+ background-color: var(--efu-secondbg);
225
+ border: var(--style-border-always);
226
+ position: absolute;
227
+ right: 0;
228
+ bottom: 18px
229
+
230
+ &:hover
231
+ background-color: var(--efu-lighttext)
232
+ color: var(--efu-card-bg)
233
+
234
+ .vquote
235
+ border-left none
236
+
237
+ .vicon.actived
238
+ fill var(--efu-main)
239
+
240
+ #page
241
+ .vcard
242
+ padding: 1rem 1rem 1.5rem;
243
+ border: var(--style-border);
244
+ border-top: var(--style-border);
245
+ box-shadow: var(--efu-shadow-border);
@@ -66,6 +66,9 @@ body
66
66
  line-height 2
67
67
  -webkit-tap-highlight-color transparent
68
68
  margin 0
69
+ if !hexo-config('copy.enable')
70
+ user-select none
71
+ -webkit-user-select none
69
72
 
70
73
  *
71
74
  box-sizing border-box
@@ -28,7 +28,7 @@ figure
28
28
  color var(--efu-secondtext)
29
29
  background var(--efu-secondbg)
30
30
  border-right var(--style-border-always)
31
- text-align right
31
+ text-align center
32
32
 
33
33
  &.code
34
34
  width 100%
@@ -6,7 +6,7 @@
6
6
  > code
7
7
  display block
8
8
  position relative
9
- padding 8px 0 8px 45px
9
+ padding 8px 0 8px 38px
10
10
 
11
11
  .line-numbers-rows
12
12
  position absolute
@@ -47,7 +47,7 @@
47
47
  display flex
48
48
  flex-direction column
49
49
  -webkit-box-flex 1
50
- flex 1 1 0%
50
+ flex 1 1 0
51
51
 
52
52
  a
53
53
  overflow hidden
@@ -205,7 +205,7 @@ if "about" in aside
205
205
 
206
206
  > .card-widget.card-info
207
207
  &:before
208
- background linear-gradient(-25deg, var(--efu-main), var(--efu-main-op-deep), var(--efu-main), var(--efu-main-op-deep))
208
+ background linear-gradient(-25deg, var(--efu-main), var(--efu-main-op-deep))
209
209
  background-size 400%
210
210
  position absolute
211
211
  width 100%
@@ -336,7 +336,7 @@ if "about" in aside
336
336
  .author-info__description
337
337
  line-height 1.38
338
338
  margin .3rem 0
339
- text-align justify
339
+ text-align left
340
340
  color var(--efu-card-bg)
341
341
 
342
342
  b
@@ -345,7 +345,7 @@ if "about" in aside
345
345
  .author-info__description2
346
346
  line-height 1.38
347
347
  margin .3rem 0
348
- text-align justify
348
+ text-align left
349
349
  width 100%
350
350
  z-index 2
351
351
  color var(--efu-card-bg)
@@ -170,7 +170,7 @@
170
170
  transition .3s
171
171
  cursor pointer
172
172
 
173
- a.darkmode_switchbutton
173
+ span.darkmode_switchbutton
174
174
  [data-theme="dark"] &
175
175
  background var(--efu-orange)
176
176
  color var(--efu-white)
@@ -180,10 +180,10 @@
180
180
  margin-right .5rem
181
181
 
182
182
  &:hover
183
- a
183
+ span
184
184
  background var(--efu-main)
185
185
 
186
- a
186
+ span
187
187
  width 100%
188
188
  height 100%
189
189
  background var(--efu-card-bg)
@@ -193,22 +193,23 @@
193
193
  align-items center
194
194
  justify-content center
195
195
  color var(--efu-fontcolor)
196
+ transition all .3s
196
197
 
197
198
  i
198
199
  font-size 1rem
199
200
 
200
201
  &.on
201
- a
202
+ span
202
203
  background var(--efu-orange)
203
204
  color var(--efu-white)
204
205
  transition .3s
205
206
 
206
207
  &:not(.on)
207
- a:hover
208
+ span:hover
208
209
  background var(--efu-main)
209
210
 
210
211
  &:hover
211
- a
212
+ span
212
213
  color var(--efu-white)
213
214
 
214
215
  .console-card.tags
@@ -161,6 +161,7 @@
161
161
 
162
162
  .random-friends-btn
163
163
  display flex
164
+ margin-left 8px
164
165
 
165
166
  /#footer-bar
166
167
  padding 1rem
@@ -886,6 +886,8 @@ if hexo-config('nav.group')
886
886
  height 35px
887
887
  line-height 35px
888
888
  border-radius 40px
889
+ if hexo-config('language') == 'en'
890
+ letter-spacing 0
889
891
 
890
892
  #travellings_button
891
893
  display inline
@@ -22,7 +22,6 @@
22
22
  height 100%
23
23
  background var(--efu-maskbgdeep)
24
24
  transition all .5s ease 0s
25
- padding-top 30px
26
25
  z-index 1001
27
26
  border-left var(--style-border-always)
28
27
 
@@ -48,6 +47,33 @@
48
47
  .site-page span:hover
49
48
  color var(--efu-white)
50
49
 
50
+ .site-data
51
+ display flex
52
+ width 100%
53
+ justify-content flex-start
54
+ margin 12px 0 0 0
55
+ padding .6rem 16px
56
+
57
+ .data-item
58
+ display flex
59
+ justify-content flex-start
60
+ margin-right 36px
61
+
62
+ .data-item-link > a
63
+ display flex
64
+ flex-direction column
65
+ align-items flex-start
66
+
67
+ .data-item-link .length-num
68
+ color var(--efu-fontcolor)
69
+ font-size 20px
70
+ font-weight 700
71
+ line-height 1
72
+
73
+ .data-item-link .headline
74
+ font-size 12px
75
+ color var(--efu-secondtext)
76
+
51
77
  .menus_items
52
78
  padding 0 16px
53
79
 
@@ -137,22 +163,6 @@
137
163
  &:hover
138
164
  transform rotate(360deg)
139
165
 
140
- .site-data
141
- display table
142
- padding .6rem .5rem 0
143
- width 100%
144
- table-layout fixed
145
-
146
- .data-item
147
- display table-cell
148
-
149
- .data-item-link .length-num
150
- color var(--text-highlight-color)
151
- font-size 1.28em
152
-
153
- .data-item-link .headline
154
- color var(--efu-fontcolor)
155
-
156
166
  hr
157
167
  margin 1rem auto
158
168
 
@@ -188,14 +198,14 @@
188
198
  padding 0 16px
189
199
  margin-bottom 6px
190
200
 
191
- a.darkmode_switchbutton
201
+ span.darkmode_switchbutton
192
202
  padding 4px 8px
193
203
 
194
204
  [data-theme="dark"] &
195
205
  background var(--efu-orange)
196
206
  color var(--efu-white)
197
207
 
198
- a.menu-child
208
+ span.menu-child
199
209
  width 100%
200
210
  background var(--efu-card-bg)
201
211
  border-radius 8px
@@ -211,7 +221,7 @@
211
221
  align-items center
212
222
  justify-content center
213
223
 
214
- a.menu-child span
224
+ span.menu-child span
215
225
  margin-left 10px
216
226
 
217
227
  .webinfo
@@ -334,7 +334,7 @@
334
334
  border-radius 60px
335
335
  margin-bottom 12px
336
336
  color var(--efu-white)
337
- width 94px
337
+ width 100px
338
338
  position relative
339
339
  background-size 200%
340
340
 
@@ -118,7 +118,7 @@ if hexo-config('index_post_list.direction') == "column"
118
118
  overflow hidden
119
119
  -webkit-box-orient vertical
120
120
  padding 5px 32px
121
- color var(--efu-gray)
121
+ opacity .8
122
122
  font-size 14px
123
123
  line-height 1.8
124
124
 
@@ -338,7 +338,7 @@ else if hexo-config('index_post_list.direction') == "row"
338
338
  overflow hidden
339
339
  -webkit-box-orient vertical
340
340
  padding 5px 32px
341
- color var(--efu-gray)
341
+ opacity .8
342
342
  font-size 14px
343
343
  line-height 1.8
344
344
  +maxWidth768()
@@ -31,7 +31,4 @@ if hexo-config('music.enable')
31
31
  @import "share.styl"
32
32
 
33
33
  if hexo-config('google_adsense.enable')
34
- @import "google.styl"
35
-
36
- if hexo-config('message.enable')
37
- @import "message/index.styl"
34
+ @import "google.styl"
@@ -28,7 +28,7 @@
28
28
  top 0
29
29
  width 100px
30
30
  height 50px
31
- background-image -webkit-linear-gradient(0deg,rgba(255,255,255,0),rgba(255,255,255,.5),rgba(255,255,255,0))
31
+ background-image -webkit-linear-gradient(0deg, rgba(255, 255, 255, 0), rgba(255, 255, 255, .5), rgba(255, 255, 255, 0))
32
32
  animation light_tag 4s both infinite
33
33
 
34
34
  &.vip
@@ -73,7 +73,6 @@
73
73
  width calc(50% - 16px)
74
74
 
75
75
  .img
76
- -webkit-mask-image -webkit-radial-gradient(center, #fff, #000)
77
76
  border-radius 0
78
77
  height 120px
79
78
  width 100%
@@ -81,7 +80,6 @@
81
80
  border none
82
81
  padding 0
83
82
  transition all .3s ease 0s
84
- background #f6f6f6
85
83
  overflow hidden
86
84
 
87
85
  img
@@ -114,6 +112,7 @@
114
112
  height 20px
115
113
  min-width 20px
116
114
  min-height 20px
115
+ transform scale(1.1)
117
116
  background var(--efu-secondbg)
118
117
 
119
118
  .site-card-text
@@ -147,15 +146,17 @@
147
146
  &:hover
148
147
  border var(--style-border-hover)
149
148
  box-shadow var(--efu-shadow-main)
149
+ background var(--efu-main)
150
150
 
151
151
  .site-card-tag
152
152
  left: -60px
153
153
 
154
154
  .img
155
- transform scale(1.1)
155
+ transform scale(1)
156
156
  filter brightness(.3)
157
157
  border-radius 12px
158
158
  background var(--efu-lighttext)
159
+ background var(--efu-main)
159
160
  +minWidth768()
160
161
  height 80px
161
162
 
@@ -191,7 +192,6 @@
191
192
  padding 0
192
193
  margin 0.5rem -6px 1rem -6px
193
194
  overflow-x hidden
194
- overflow auto
195
195
  text-align center
196
196
 
197
197
  &.mini
@@ -9,15 +9,20 @@
9
9
 
10
10
  a
11
11
  color var(--efu-fontcolor)
12
- padding 0 4px
13
12
  border-radius 4px 4px 0 0
14
13
 
15
- &:not(.fancybox):hover
16
- border 0
17
- text-decoration none
18
- color var(--efu-white)
19
- border-radius 4px
20
- background var(--efu-main)
14
+ border-bottom 2px dotted var(--efu-lighttext)
15
+ font-weight 700
16
+
17
+ &:not(.fancybox)
18
+ padding 0 4px
19
+
20
+ &:hover
21
+ border 0
22
+ text-decoration none
23
+ color var(--efu-white)
24
+ border-radius 4px
25
+ background var(--efu-main)
21
26
 
22
27
  .table-wrap
23
28
  margin 1rem 0
@@ -63,6 +68,20 @@
63
68
  img
64
69
  margin auto
65
70
 
71
+ a
72
+ &:not(.fancybox)
73
+ text-decoration none
74
+ border-bottom 2px dotted var(--efu-lighttext)
75
+ color var(--efu-fontcolor)
76
+ font-weight 700
77
+ padding 0 4px
78
+ border-radius 4px 4px 0 0
79
+
80
+ &:hover
81
+ color var(--efu-white)
82
+ border-radius 4px
83
+ background var(--efu-main)
84
+
66
85
  code:not([class*='language-'])
67
86
  color var(--efu-white)
68
87
  padding 0.2rem 0.4rem