hexo-theme-solitude 1.5.0 → 1.5.2
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.
- package/.github/ISSUE_TEMPLATE/config.yml +17 -0
- package/.github/ISSUE_TEMPLATE/feature_request.yml +48 -0
- package/.github/PULL_REQUEST_TEMPLATE.md +35 -0
- package/CONTRIBUTING.md +2 -13
- package/LICENSE +21 -674
- package/README.md +17 -41
- package/README_EN.md +14 -39
- package/SECURITY.md +9 -0
- package/_config.yml +235 -264
- package/languages/{en-US.yml → en.yml} +3 -5
- package/languages/zh-CN.yml +0 -2
- package/languages/zh-TW.yml +0 -2
- package/layout/404.pug +1 -1
- package/layout/includes/body/gadsense.pug +9 -0
- package/layout/includes/console.pug +6 -6
- package/layout/includes/footer.pug +13 -13
- package/layout/includes/inject/body.pug +10 -1
- package/layout/includes/inject/head.pug +6 -4
- package/layout/includes/mixins/pagination.pug +2 -2
- package/layout/includes/nav.pug +2 -2
- package/layout/includes/page/album.pug +9 -9
- package/layout/includes/page/says.pug +5 -5
- package/layout/includes/sidebar.pug +2 -3
- package/layout/includes/widgets/aside/asideInfoCard.pug +1 -1
- package/layout/includes/widgets/aside/asideNewestPost.pug +1 -1
- package/layout/includes/widgets/aside/asideToc.pug +1 -1
- package/layout/includes/widgets/aside/asideWebInfo.pug +8 -8
- package/layout/includes/widgets/home/banner.pug +1 -1
- package/layout/includes/widgets/home/bbTimeList.pug +7 -7
- package/layout/includes/widgets/home/categoryBar.pug +5 -4
- package/layout/includes/widgets/home/categoryGroup.pug +3 -2
- package/layout/includes/widgets/home/postList.pug +11 -5
- package/layout/includes/widgets/home/topGroup.pug +1 -1
- package/layout/includes/widgets/nav/menu.pug +1 -1
- package/layout/includes/widgets/nav/right.pug +6 -6
- package/layout/includes/widgets/page/about/award.pug +3 -3
- package/layout/includes/widgets/page/about/hobbies.pug +1 -1
- package/layout/includes/widgets/page/banner.pug +1 -1
- package/layout/includes/widgets/page/equipment/content.pug +1 -1
- package/layout/includes/widgets/page/links/banner.pug +3 -3
- package/layout/includes/widgets/page/moments/angle.pug +1 -1
- package/layout/includes/widgets/post/award.pug +1 -1
- package/layout/includes/widgets/post/copyright.pug +1 -1
- package/layout/includes/widgets/post/post-ai.pug +1 -1
- package/layout/includes/widgets/post/postMeta.pug +12 -12
- package/layout/includes/widgets/rightside/index.pug +25 -25
- package/layout/includes/widgets/third-party/comments/comment.pug +1 -1
- package/layout/includes/widgets/third-party/music.pug +1 -1
- package/layout/includes/widgets/third-party/search/algolia-search.pug +2 -2
- package/layout/includes/widgets/third-party/search/local-search.pug +1 -1
- package/layout/index.pug +2 -2
- package/package.json +9 -9
- package/plugins.yml +8 -12
- package/scripts/event/cdn.js +10 -0
- package/scripts/event/welcome.js +1 -1
- package/scripts/filter/lazyload.js +2 -3
- package/scripts/helper/related_post.js +1 -1
- package/scripts/helper/stylus.js +11 -3
- package/scripts/tags/card.js +1 -1
- package/scripts/tags/mermaid.js +9 -0
- package/scripts/tags/tabs.js +2 -2
- package/source/css/_global/animation.styl +1 -1
- package/source/css/_global/index.styl +27 -27
- package/source/css/_layout/basic.styl +18 -18
- package/source/css/_layout/header.styl +67 -67
- package/source/css/_layout/index.styl +14 -14
- package/source/css/_mode/index.styl +88 -88
- package/source/css/_page/_about/author.styl +5 -5
- package/source/css/_page/_about/buff.styl +1 -1
- package/source/css/_page/_about/careers.styl +1 -1
- package/source/css/_page/_about/contentinfo.styl +2 -2
- package/source/css/_page/_about/game.styl +2 -2
- package/source/css/_page/_about/like.styl +2 -2
- package/source/css/_page/_about/myphoto.styl +1 -1
- package/source/css/_page/_about/oneself.styl +2 -2
- package/source/css/_page/_about/reward.styl +11 -11
- package/source/css/_page/_about/skills.styl +2 -2
- package/source/css/_page/_about/statistic.styl +4 -4
- package/source/css/_page/_about/tenyear.styl +4 -4
- package/source/css/_page/_gallery/index.styl +7 -7
- package/source/css/_page/_home/category-bar.styl +11 -8
- package/source/css/_page/_home/home-top.styl +16 -16
- package/source/css/_page/_home/index.styl +1 -1
- package/source/css/_page/_home/pagination.styl +22 -22
- package/source/css/_page/_home/recent-post.styl +22 -15
- package/source/css/_page/category.styl +11 -11
- package/source/css/_page/douban.styl +10 -10
- package/source/css/_page/equipment.styl +10 -10
- package/source/css/_page/error.styl +3 -3
- package/source/css/_page/google.styl +32 -0
- package/source/css/_page/index.styl +4 -1
- package/source/css/_page/links.styl +27 -27
- package/source/css/_page/moment.styl +22 -22
- package/source/css/_page/music.styl +16 -14
- package/source/css/_page/says.styl +21 -21
- package/source/css/_page/share.styl +25 -25
- package/source/css/_page/tag.styl +12 -12
- package/source/css/_widgets/_aside/allinfo.styl +12 -12
- package/source/css/_widgets/_aside/flip.styl +3 -6
- package/source/css/_widgets/_aside/index.styl +4 -4
- package/source/css/_widgets/_aside/info.styl +27 -27
- package/source/css/_widgets/_aside/newPost.styl +5 -5
- package/source/css/_widgets/_aside/toc.styl +7 -7
- package/source/css/_widgets/_comment/index.styl +7 -7
- package/source/css/_widgets/_comment/twikoo.styl +66 -50
- package/source/css/_widgets/_comment/waline.styl +45 -44
- package/source/css/_widgets/_extra/console.styl +30 -29
- package/source/css/_widgets/_extra/fullpage.styl +1 -1
- package/source/css/_widgets/_extra/music.styl +11 -11
- package/source/css/_widgets/_extra/pace.styl +2 -2
- package/source/css/_widgets/_extra/rightmenu.styl +8 -8
- package/source/css/_widgets/_mixins/article-sort.styl +7 -7
- package/source/css/_widgets/_mixins/footer.styl +31 -29
- package/source/css/_widgets/_mixins/keyboard.styl +8 -8
- package/source/css/_widgets/_mixins/other.styl +4 -4
- package/source/css/_widgets/_mixins/sidebar.styl +20 -20
- package/source/css/_widgets/_post/_highlight/index.styl +16 -16
- package/source/css/_widgets/_post/_highlight/theme/default.styl +1 -1
- package/source/css/_widgets/_post/_highlight/theme/mac.styl +1 -1
- package/source/css/_widgets/_post/commentBarrage.styl +13 -13
- package/source/css/_widgets/_post/content.styl +27 -26
- package/source/css/_widgets/_post/copyright.styl +11 -11
- package/source/css/_widgets/_post/meta.styl +27 -27
- package/source/css/_widgets/_post/pagination.styl +13 -13
- package/source/css/_widgets/_post/postAI.styl +18 -18
- package/source/css/_widgets/_post/relatedPost.styl +8 -8
- package/source/css/_widgets/_post/tools.styl +30 -30
- package/source/css/_widgets/_search/algolia-search.styl +18 -18
- package/source/css/_widgets/_search/local-search.styl +22 -22
- package/source/css/_widgets/_tags/button.styl +1 -1
- package/source/css/_widgets/_tags/card.styl +12 -12
- package/source/css/_widgets/_tags/fold.styl +11 -11
- package/source/css/_widgets/_tags/index.styl +26 -26
- package/source/css/_widgets/_tags/link.styl +10 -9
- package/source/css/_widgets/_tags/mermaid.styl +4 -0
- package/source/css/_widgets/_tags/note.styl +2 -2
- package/source/css/_widgets/_tags/tabs.styl +10 -10
- package/source/css/_widgets/_tags/timeline.styl +5 -5
- package/source/img/logo.png +0 -0
- package/source/js/comment/twikoo_commentBarrage.js +1 -1
- package/source/js/comment/waline_commentBarrage.js +1 -1
- package/source/js/covercolor/api.js +18 -18
- package/source/js/covercolor/local.js +18 -18
- package/source/js/main.js +5 -5
- package/source/js/music.js +1 -12
- package/source/js/sco-ai.min.js +1 -1
- package/source/js/search/algolia.js +7 -7
- package/source/js/tw_cn.js +2 -2
- package/source/js/universe.min.js +5 -0
- package/source/js/utils.js +2 -2
- package/source/js/waterfall.min.js +1 -0
@@ -6,19 +6,19 @@ div#banners
|
|
6
6
|
display flex
|
7
7
|
width 100%
|
8
8
|
height 100%
|
9
|
-
background var(--
|
9
|
+
background var(--efu-card-bg)
|
10
10
|
border var(--style-border)
|
11
11
|
border-radius 12px
|
12
12
|
overflow hidden
|
13
13
|
position relative
|
14
|
-
box-shadow var(--
|
14
|
+
box-shadow var(--efu-shadow-border)
|
15
15
|
flex-direction column
|
16
16
|
transition .3s
|
17
17
|
will-change transform
|
18
18
|
animation slide-in .6s .1s backwards
|
19
19
|
|
20
20
|
:not(.flink)&:hover
|
21
|
-
box-shadow var(--
|
21
|
+
box-shadow var(--efu-shadow-main)
|
22
22
|
|
23
23
|
.banner-button-group
|
24
24
|
position absolute
|
@@ -28,26 +28,26 @@ div#banners
|
|
28
28
|
|
29
29
|
.banner-button
|
30
30
|
padding 8px 12px
|
31
|
-
background var(--
|
31
|
+
background var(--efu-fontcolor)
|
32
32
|
border-radius 12px
|
33
|
-
color var(--
|
33
|
+
color var(--efu-card-bg)
|
34
34
|
display flex
|
35
35
|
align-items center
|
36
36
|
z-index 1
|
37
37
|
transition .3s
|
38
38
|
cursor pointer
|
39
|
-
box-shadow var(--
|
39
|
+
box-shadow var(--efu-shadow-black)
|
40
40
|
|
41
41
|
&.secondary
|
42
|
-
background var(--
|
42
|
+
background var(--efu-secondbg)
|
43
43
|
border var(--style-border-always)
|
44
|
-
color var(--
|
44
|
+
color var(--efu-lighttext)
|
45
45
|
margin-right 1rem
|
46
|
-
box-shadow var(--
|
46
|
+
box-shadow var(--efu-shadow-border)
|
47
47
|
|
48
48
|
&:hover
|
49
|
-
background var(--
|
50
|
-
color var(--
|
49
|
+
background var(--efu-theme)
|
50
|
+
color var(--efu-white)
|
51
51
|
|
52
52
|
i
|
53
53
|
margin-right 8px
|
@@ -69,7 +69,7 @@ div#banners
|
|
69
69
|
&-small
|
70
70
|
font-size 12px
|
71
71
|
line-height 1
|
72
|
-
color var(--
|
72
|
+
color var(--efu-secondtext)
|
73
73
|
margin-top 8px
|
74
74
|
margin-bottom 0.5rem
|
75
75
|
margin-left 2px
|
@@ -120,7 +120,7 @@ div#banners
|
|
120
120
|
color #fff
|
121
121
|
font-size 66px
|
122
122
|
font-weight 700
|
123
|
-
box-shadow var(--
|
123
|
+
box-shadow var(--efu-shadow-blackdeep)
|
124
124
|
|
125
125
|
&:nth-child(even)
|
126
126
|
margin-top 1rem
|
@@ -150,16 +150,16 @@ div#banners
|
|
150
150
|
.author-content.author-content-item.sharePage
|
151
151
|
height 19rem
|
152
152
|
background-size cover
|
153
|
-
color var(--
|
153
|
+
color var(--efu-white)
|
154
154
|
overflow hidden
|
155
155
|
margin-top 0
|
156
156
|
|
157
157
|
.author-content-item
|
158
158
|
width 49%
|
159
159
|
border-radius 12px
|
160
|
-
background var(--
|
160
|
+
background var(--efu-card-bg)
|
161
161
|
border var(--style-border-always)
|
162
|
-
box-shadow var(--
|
162
|
+
box-shadow var(--efu-shadow-border)
|
163
163
|
position relative
|
164
164
|
overflow hidden
|
165
165
|
padding 1rem 2rem
|
@@ -223,8 +223,8 @@ div#banners
|
|
223
223
|
width 118px
|
224
224
|
border-radius 20px
|
225
225
|
justify-content center
|
226
|
-
background var(--
|
227
|
-
color var(--
|
226
|
+
background var(--efu-black-op)
|
227
|
+
color var(--efu-white)
|
228
228
|
display flex
|
229
229
|
align-items center
|
230
230
|
z-index 1
|
@@ -235,8 +235,8 @@ div#banners
|
|
235
235
|
transform translateZ(0)
|
236
236
|
|
237
237
|
&:hover
|
238
|
-
background var(--
|
239
|
-
color var(--
|
238
|
+
background var(--efu-main)
|
239
|
+
color var(--efu-card-bg)
|
240
240
|
|
241
241
|
i
|
242
242
|
margin-right 8px
|
@@ -252,7 +252,7 @@ div#banners
|
|
252
252
|
.banner-button-group
|
253
253
|
.banner-button
|
254
254
|
background 0 0
|
255
|
-
color var(--
|
255
|
+
color var(--efu-white)
|
256
256
|
padding 0
|
257
257
|
width 30px
|
258
258
|
height 30px
|
@@ -269,13 +269,13 @@ div#banners
|
|
269
269
|
a
|
270
270
|
&:not(.headerlink)
|
271
271
|
text-decoration none
|
272
|
-
border-bottom 2px dotted var(--
|
273
|
-
color var(--
|
272
|
+
border-bottom 2px dotted var(--efu-lighttext)
|
273
|
+
color var(--efu-fontcolor)
|
274
274
|
font-weight 700
|
275
275
|
padding 0 4px
|
276
276
|
border-radius 4px 4px 0 0
|
277
277
|
|
278
278
|
&:hover
|
279
|
-
color var(--
|
279
|
+
color var(--efu-white)
|
280
280
|
border-radius 4px
|
281
|
-
background var(--
|
281
|
+
background var(--efu-main)
|
@@ -19,40 +19,40 @@
|
|
19
19
|
top 0
|
20
20
|
max-height 64px
|
21
21
|
overflow hidden
|
22
|
-
background var(--
|
22
|
+
background var(--efu-card-bg)
|
23
23
|
backdrop-filter saturate(180%) blur(20px)
|
24
24
|
transition .1s ease-out
|
25
25
|
|
26
26
|
&:hover
|
27
27
|
max-height 1000px
|
28
28
|
transition .3s ease-out
|
29
|
-
background var(--
|
29
|
+
background var(--efu-maskbgdeep)
|
30
30
|
|
31
31
|
a
|
32
32
|
padding .1rem .5rem
|
33
33
|
margin .25rem .25rem
|
34
34
|
line-height 1.6
|
35
35
|
border-radius 8px
|
36
|
-
color var(--
|
36
|
+
color var(--efu-fontcolor) !important
|
37
37
|
border var(--style-border-always)
|
38
38
|
display flex
|
39
39
|
align-items center
|
40
|
-
background var(--
|
40
|
+
background var(--efu-card-bg)
|
41
41
|
transition all .3s ease-out 0s
|
42
42
|
|
43
43
|
&.select
|
44
44
|
order -1
|
45
|
-
color var(--
|
46
|
-
background var(--
|
47
|
-
box-shadow var(--
|
45
|
+
color var(--efu-card-bg) !important
|
46
|
+
background var(--efu-theme)
|
47
|
+
box-shadow var(--efu-shadow-theme)
|
48
48
|
|
49
49
|
&:hover
|
50
|
-
color var(--
|
51
|
-
background var(--
|
52
|
-
box-shadow var(--
|
50
|
+
color var(--efu-white) !important
|
51
|
+
background var(--efu-theme)
|
52
|
+
box-shadow var(--efu-shadow-theme)
|
53
53
|
|
54
54
|
&.select .tagsPageCount
|
55
|
-
background var(--
|
56
|
-
color var(--
|
55
|
+
background var(--efu-card-bg)
|
56
|
+
color var(--efu-lighttext)
|
57
57
|
+maxWidth768()
|
58
58
|
display none
|
@@ -31,7 +31,7 @@
|
|
31
31
|
display flex
|
32
32
|
position relative
|
33
33
|
margin 1rem 0
|
34
|
-
border 1px dashed var(--
|
34
|
+
border 1px dashed var(--efu-theme-op)
|
35
35
|
|
36
36
|
.item-headline
|
37
37
|
display none
|
@@ -54,7 +54,7 @@
|
|
54
54
|
left 0
|
55
55
|
right 0
|
56
56
|
height 150px
|
57
|
-
background-image linear-gradient(to top, var(--
|
57
|
+
background-image linear-gradient(to top, var(--efu-card-bg), transparent)
|
58
58
|
pointer-events none
|
59
59
|
|
60
60
|
a
|
@@ -68,9 +68,9 @@
|
|
68
68
|
margin-left 2px
|
69
69
|
|
70
70
|
&:hover
|
71
|
-
background var(--
|
72
|
-
color var(--
|
73
|
-
box-shadow var(--
|
71
|
+
background var(--efu-theme)
|
72
|
+
color var(--efu-white) !important
|
73
|
+
box-shadow var(--efu-shadow-theme)
|
74
74
|
cursor pointer
|
75
75
|
border-radius 5px
|
76
76
|
|
@@ -85,8 +85,8 @@
|
|
85
85
|
a#more-tags-btn
|
86
86
|
width 100%
|
87
87
|
text-align center
|
88
|
-
background var(--
|
89
|
-
color var(--
|
88
|
+
background var(--efu-secondbg)
|
89
|
+
color var(--efu-fontcolor)
|
90
90
|
border-radius 8px
|
91
91
|
display flex
|
92
92
|
justify-content center
|
@@ -114,7 +114,7 @@
|
|
114
114
|
display inline-block
|
115
115
|
padding .15rem .5rem
|
116
116
|
width 100%
|
117
|
-
color var(--
|
117
|
+
color var(--efu-fontcolor)
|
118
118
|
transition all .4s ease 0s
|
119
119
|
border-radius: 8px
|
120
120
|
margin: 4px 0
|
@@ -123,10 +123,10 @@
|
|
123
123
|
border: var(--style-border)
|
124
124
|
|
125
125
|
&:hover
|
126
|
-
background-color var(--
|
127
|
-
color var(--
|
126
|
+
background-color var(--efu-theme)
|
127
|
+
color var(--efu-card-bg)
|
128
128
|
border-radius 5px
|
129
|
-
box-shadow: var(--
|
129
|
+
box-shadow: var(--efu-shadow-theme)
|
130
130
|
padding: .15rem .5rem
|
131
131
|
border: var(--style-border-hover)
|
132
132
|
cursor pointer
|
@@ -164,5 +164,5 @@ if hexo-config('aside.tags.highlight')
|
|
164
164
|
for tag in highlightTags
|
165
165
|
tag = '"/tags/' + tag + '/"'
|
166
166
|
#aside-content .card-tag-cloud a[href*={tag}]
|
167
|
-
color var(--
|
167
|
+
color var(--efu-lighttext)
|
168
168
|
font-weight 500
|
@@ -1,10 +1,11 @@
|
|
1
1
|
favicon = hexo-config('aside.flip.favicon')
|
2
2
|
face = hexo-config('aside.flip.face')
|
3
3
|
faceback = hexo-config('aside.flip.backface')
|
4
|
+
backcolor = convert(hexo-config('aside.flip.backcolor'))
|
4
5
|
|
5
6
|
#aside-content
|
6
7
|
.card-widget.card-platform
|
7
|
-
background
|
8
|
+
background backcolor
|
8
9
|
display flex
|
9
10
|
justify-content center
|
10
11
|
align-content center
|
@@ -63,8 +64,4 @@ faceback = hexo-config('aside.flip.backface')
|
|
63
64
|
transform rotateY(180deg)
|
64
65
|
box-sizing border-box
|
65
66
|
background url(faceback) center center no-repeat
|
66
|
-
background-size 100%
|
67
|
-
|
68
|
-
if !hexo-config('aside.flip.darkcolor')
|
69
|
-
[data-theme='dark'] #aside-content .card-widget.card-platform
|
70
|
-
background var(--sco-card-bg)
|
67
|
+
background-size 100%
|
@@ -5,7 +5,7 @@
|
|
5
5
|
transition: .3s
|
6
6
|
border: none
|
7
7
|
box-shadow: none
|
8
|
-
background: var(--
|
8
|
+
background: var(--efu-main)
|
9
9
|
margin-top: 0
|
10
10
|
|
11
11
|
+minWidth900()
|
@@ -38,8 +38,8 @@
|
|
38
38
|
user-select none
|
39
39
|
|
40
40
|
.card-widget
|
41
|
-
box-shadow var(--
|
42
|
-
background var(--
|
41
|
+
box-shadow var(--efu-shadow-border)
|
42
|
+
background var(--efu-card-bg)
|
43
43
|
border var(--style-border)
|
44
44
|
transition 0.3s
|
45
45
|
border-radius 12px
|
@@ -49,7 +49,7 @@
|
|
49
49
|
padding 1rem 1.2rem
|
50
50
|
|
51
51
|
&:hover
|
52
|
-
box-shadow var(--
|
52
|
+
box-shadow var(--efu-shadow-border)
|
53
53
|
|
54
54
|
> .card-widget
|
55
55
|
&:first-child
|
@@ -10,7 +10,7 @@
|
|
10
10
|
|
11
11
|
&.card-info
|
12
12
|
padding 0 !important
|
13
|
-
box-shadow var(--
|
13
|
+
box-shadow var(--efu-shadow-black)
|
14
14
|
|
15
15
|
> div.card-content
|
16
16
|
padding 1rem 1.2rem
|
@@ -19,7 +19,7 @@
|
|
19
19
|
|
20
20
|
> .card-widget.card-info
|
21
21
|
&:before
|
22
|
-
background linear-gradient(-25deg, var(--
|
22
|
+
background linear-gradient(-25deg, var(--efu-main), var(--efu-main-op-deep), var(--efu-main), var(--efu-main-op-deep))
|
23
23
|
background-size 400%
|
24
24
|
position absolute
|
25
25
|
width 100%
|
@@ -36,11 +36,11 @@
|
|
36
36
|
|
37
37
|
> div.card-info-avatarimg
|
38
38
|
overflow hidden
|
39
|
-
background var(--
|
39
|
+
background var(--efu-yellow)
|
40
40
|
transition 1.5s
|
41
41
|
min-height 160px
|
42
42
|
position relative
|
43
|
-
box-shadow var(--
|
43
|
+
box-shadow var(--efu-shadow-yellow)
|
44
44
|
|
45
45
|
&:hover img
|
46
46
|
transform scale(1.03)
|
@@ -59,7 +59,7 @@
|
|
59
59
|
justify-content center
|
60
60
|
transition .3s .2s
|
61
61
|
transform scale(1)
|
62
|
-
background var(--
|
62
|
+
background var(--efu-card-bg)
|
63
63
|
border-radius 50%
|
64
64
|
|
65
65
|
img
|
@@ -72,15 +72,15 @@
|
|
72
72
|
|
73
73
|
.author-info__desc
|
74
74
|
font-size 12px
|
75
|
-
color var(--
|
75
|
+
color var(--efu-card-bg)
|
76
76
|
opacity .6
|
77
77
|
line-height 1
|
78
78
|
|
79
79
|
#author-info__sayhi
|
80
80
|
text-align center
|
81
81
|
width fit-content
|
82
|
-
color var(--
|
83
|
-
background var(--
|
82
|
+
color var(--efu-white)
|
83
|
+
background var(--efu-white-op)
|
84
84
|
font-size 12px
|
85
85
|
padding 2px 8px
|
86
86
|
border-radius 12px
|
@@ -92,14 +92,14 @@
|
|
92
92
|
|
93
93
|
/ [data-theme=dark] &
|
94
94
|
background #00000015
|
95
|
-
color var(--
|
95
|
+
color var(--efu-black)
|
96
96
|
|
97
97
|
&:hover
|
98
|
-
color var(--
|
98
|
+
color var(--efu-white)
|
99
99
|
|
100
100
|
&:hover
|
101
|
-
background var(--
|
102
|
-
color var(--
|
101
|
+
background var(--efu-card-bg)
|
102
|
+
color var(--efu-main)
|
103
103
|
transform scale(1.1)
|
104
104
|
|
105
105
|
.card-info-avatar.is-center
|
@@ -116,7 +116,7 @@
|
|
116
116
|
position absolute
|
117
117
|
transition cubic-bezier(.69, .39, 0, 1.21) .3s
|
118
118
|
transform-origin bottom
|
119
|
-
border 5px solid var(--
|
119
|
+
border 5px solid var(--efu-card-bg)
|
120
120
|
|
121
121
|
../ :hover .avatar-img-group
|
122
122
|
opacity 0
|
@@ -125,7 +125,7 @@
|
|
125
125
|
.author-info__name
|
126
126
|
text-align left
|
127
127
|
font-weight 700
|
128
|
-
color var(--
|
128
|
+
color var(--efu-card-bg)
|
129
129
|
font-size 20px
|
130
130
|
line-height 1
|
131
131
|
margin-bottom 5px
|
@@ -151,10 +151,10 @@
|
|
151
151
|
line-height 1.38
|
152
152
|
margin .3rem 0
|
153
153
|
text-align justify
|
154
|
-
color var(--
|
154
|
+
color var(--efu-card-bg)
|
155
155
|
|
156
156
|
b
|
157
|
-
color var(--
|
157
|
+
color var(--efu-card-bg)
|
158
158
|
|
159
159
|
.author-info__description2
|
160
160
|
line-height 1.38
|
@@ -162,10 +162,10 @@
|
|
162
162
|
text-align justify
|
163
163
|
width 100%
|
164
164
|
z-index 2
|
165
|
-
color var(--
|
165
|
+
color var(--efu-card-bg)
|
166
166
|
|
167
167
|
b
|
168
|
-
color var(--
|
168
|
+
color var(--efu-card-bg)
|
169
169
|
|
170
170
|
.author-info__bottom-group
|
171
171
|
display flex
|
@@ -195,7 +195,7 @@
|
|
195
195
|
|
196
196
|
a
|
197
197
|
.headline
|
198
|
-
color var(--
|
198
|
+
color var(--efu-fontcolor)
|
199
199
|
font-size 1em
|
200
200
|
|
201
201
|
.length-num
|
@@ -218,7 +218,7 @@
|
|
218
218
|
.social-icon
|
219
219
|
margin 0
|
220
220
|
margin-left 8px
|
221
|
-
color var(--
|
221
|
+
color var(--efu-fontcolor)
|
222
222
|
font-size 1.4em
|
223
223
|
cursor pointer
|
224
224
|
display flex
|
@@ -228,8 +228,8 @@
|
|
228
228
|
padding 8px
|
229
229
|
border-radius 32px
|
230
230
|
cursor pointer
|
231
|
-
background var(--
|
232
|
-
color var(--
|
231
|
+
background var(--efu-white-op)
|
232
|
+
color var(--efu-card-bg)
|
233
233
|
width 40px
|
234
234
|
height 40px
|
235
235
|
display flex
|
@@ -237,17 +237,17 @@
|
|
237
237
|
justify-content center
|
238
238
|
|
239
239
|
&:hover
|
240
|
-
background var(--
|
240
|
+
background var(--efu-white)
|
241
241
|
transform scale(1.1)
|
242
|
-
color var(--
|
242
|
+
color var(--efu-main)
|
243
243
|
box-shadow none
|
244
244
|
|
245
245
|
/ [data-theme=dark] &
|
246
|
-
background var(--
|
246
|
+
background var(--efu-black-op)
|
247
247
|
|
248
248
|
&:hover
|
249
|
-
background-color var(--
|
250
|
-
color var(--
|
249
|
+
background-color var(--efu-black)
|
250
|
+
color var(--efu-white)
|
251
251
|
|
252
252
|
img.avatar-img
|
253
253
|
width 118px
|
@@ -11,13 +11,13 @@
|
|
11
11
|
align-items flex-start
|
12
12
|
|
13
13
|
&:hover
|
14
|
-
background var(--
|
15
|
-
color var(--
|
14
|
+
background var(--efu-main)
|
15
|
+
color var(--efu-white)
|
16
16
|
transition .3s
|
17
|
-
box-shadow var(--
|
17
|
+
box-shadow var(--efu-shadow-main)
|
18
18
|
|
19
19
|
.content a
|
20
|
-
color var(--
|
20
|
+
color var(--efu-white)
|
21
21
|
|
22
22
|
.thumbnail
|
23
23
|
-webkit-mask-image -webkit-radial-gradient(center, #fff, #000)
|
@@ -48,7 +48,7 @@
|
|
48
48
|
font-weight 700
|
49
49
|
padding 2px 0
|
50
50
|
margin-bottom 8px
|
51
|
-
color var(--
|
51
|
+
color var(--efu-fontcolor)
|
52
52
|
font-size 95%
|
53
53
|
line-height 1.3
|
54
54
|
-webkit-line-clamp 2
|
@@ -3,7 +3,7 @@
|
|
3
3
|
padding .5rem .5rem
|
4
4
|
|
5
5
|
&:hover
|
6
|
-
box-shadow var(--
|
6
|
+
box-shadow var(--efu-shadow-border)
|
7
7
|
|
8
8
|
+minWidth900()
|
9
9
|
right 0 !important
|
@@ -77,7 +77,7 @@
|
|
77
77
|
padding 8px
|
78
78
|
border-left 0 solid transparent
|
79
79
|
border-radius 12px
|
80
|
-
color var(--
|
80
|
+
color var(--efu-secondtext)
|
81
81
|
cursor default
|
82
82
|
min-height 40px
|
83
83
|
display flex
|
@@ -86,9 +86,9 @@
|
|
86
86
|
|
87
87
|
&.active
|
88
88
|
border-radius 12px
|
89
|
-
border-left-color var(--
|
90
|
-
background-color var(--
|
91
|
-
color var(--
|
89
|
+
border-left-color var(--efu-hovertext)
|
90
|
+
background-color var(--efu-card-bg)
|
91
|
+
color var(--efu-lighttext)
|
92
92
|
font-weight 700
|
93
93
|
font-size 20px
|
94
94
|
|
@@ -100,9 +100,9 @@
|
|
100
100
|
transition .3s
|
101
101
|
|
102
102
|
&:hover
|
103
|
-
color var(--
|
103
|
+
color var(--efu-lighttext)
|
104
104
|
|
105
105
|
[data-theme=dark]
|
106
106
|
.toc
|
107
107
|
.toc-item.active .toc-link .toc-text
|
108
|
-
color: var(--
|
108
|
+
color: var(--efu-white)
|
@@ -55,7 +55,7 @@
|
|
55
55
|
display none
|
56
56
|
|
57
57
|
.post-comment
|
58
|
-
background var(--
|
58
|
+
background var(--efu-card-bg)
|
59
59
|
|
60
60
|
div#post-comment
|
61
61
|
margin-top 2rem
|
@@ -70,13 +70,13 @@ div#post-comment
|
|
70
70
|
|
71
71
|
> div.comment-privacy
|
72
72
|
a:hover
|
73
|
-
color var(--
|
73
|
+
color var(--efu-main)
|
74
74
|
|
75
75
|
.comment-tips
|
76
76
|
background-color rgba(103, 194, 58, 0.13)
|
77
77
|
border var(--style-border-always)
|
78
|
-
border-color var(--
|
79
|
-
color var(--
|
78
|
+
border-color var(--efu-green)
|
79
|
+
color var(--efu-green)
|
80
80
|
border-radius 8px
|
81
81
|
padding 8px 12px
|
82
82
|
margin-top 0.5rem
|
@@ -88,12 +88,12 @@ div#post-comment
|
|
88
88
|
font-weight 700
|
89
89
|
|
90
90
|
blockquote
|
91
|
-
background var(--
|
91
|
+
background var(--efu-secondbg)
|
92
92
|
border var(--style-border)
|
93
93
|
box-shadow none
|
94
94
|
margin 0 0 .5rem
|
95
95
|
font-size .6rem
|
96
|
-
color var(--
|
96
|
+
color var(--efu-secondtext)
|
97
97
|
border-radius 8px
|
98
98
|
|
99
99
|
.comment-head
|
@@ -110,4 +110,4 @@ div#post-comment
|
|
110
110
|
|
111
111
|
&:hover
|
112
112
|
a
|
113
|
-
color var(--
|
113
|
+
color var(--efu-theme)
|