hexo-theme-solitude 1.10.3 → 1.10.5
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/_config.yml +11 -8
- package/layout/category.pug +1 -1
- package/layout/includes/inject/body.pug +7 -4
- package/layout/includes/inject/head.pug +1 -1
- package/layout/includes/widgets/aside/asideAdsense.pug +1 -1
- package/layout/includes/widgets/aside/asideInfoCard.pug +31 -1
- package/layout/includes/widgets/nav/right.pug +1 -1
- package/layout/index.pug +8 -7
- package/layout/post.pug +1 -1
- package/layout/tag.pug +1 -1
- package/package.json +1 -1
- package/scripts/event/merge_config.js +1 -0
- package/source/css/_comments/twikoo.styl +2 -1
- package/source/css/_global/index.styl +6 -10
- package/source/css/_layout/aside.styl +161 -17
- package/source/css/_layout/console.styl +5 -14
- package/source/css/_layout/header.styl +1 -1
- package/source/css/_layout/pagination.styl +0 -2
- package/source/css/_layout/recent-post.styl +8 -15
- package/source/css/_layout/sidebar.styl +1 -1
- package/source/css/_page/_home/category-bar.styl +5 -7
- package/source/css/_page/_home/home-top.styl +5 -3
- package/source/css/_page/_home/home.styl +10 -3
- package/source/css/_page/category.styl +1 -2
- package/source/css/_page/message.styl +2 -2
- package/source/css/_page/other.styl +0 -1
- package/source/css/_page/says.styl +3 -9
- package/source/css/_page/tag.styl +1 -1
- package/source/css/_tags/note.styl +1 -1
package/_config.yml
CHANGED
@@ -184,21 +184,24 @@ aside:
|
|
184
184
|
# 表情图片链接
|
185
185
|
# Emoticon image link
|
186
186
|
# tip: 26x26 size
|
187
|
-
sticker: https://7.isyangs.cn/34/65f2e4e0423cc-34.png
|
188
|
-
#
|
189
|
-
# Click the author
|
187
|
+
sticker: https://7.isyangs.cn/34/65f2e4e0423cc-34.png # 不填不显示
|
188
|
+
# 点击作者头像跳转链接
|
189
|
+
# Click the author's avatar to jump link
|
190
190
|
url: /about/
|
191
|
+
# 背景图片
|
192
|
+
# Background image
|
193
|
+
background: # https://s3.qjqq.cn/47/663af296b85f4.webp!color # 不设置不会展示(仅样式为1、2时有效)
|
191
194
|
# 文案1
|
192
195
|
# label1
|
193
|
-
content: 分享自己对编程的<b>热爱</b>,对美好生活的<b>向往</b>,对知识海洋<b>探索历程</b>。
|
196
|
+
content: 分享自己对编程的<b>热爱</b>,对美好生活的<b>向往</b>,对知识海洋<b>探索历程</b>。 # 样式为1时无效
|
194
197
|
# 文案2
|
195
198
|
# label2
|
196
|
-
content2: 相信你可以在这里找到对你有用的知识和教程。
|
199
|
+
content2: 相信你可以在这里找到对你有用的知识和教程。 # 样式为1时无效
|
197
200
|
# 个人信息卡片底部的小图标,按照例子填写
|
198
201
|
# Small icons at the bottom of the personal information card, fill in according to the example
|
199
202
|
# 个人信息卡片顶部按钮的打招呼语句
|
200
203
|
# Greeting statement of the button at the top of the personal information card
|
201
|
-
sayhello:
|
204
|
+
sayhello: # 样式为2时无效
|
202
205
|
morning: 一日之计在于晨
|
203
206
|
noon: 吃饱了才有力气干活
|
204
207
|
afternoon: 集中精力,攻克难关
|
@@ -206,7 +209,7 @@ aside:
|
|
206
209
|
goodnight: 睡个好觉,保证精力充沛
|
207
210
|
# 个人信息卡片顶部按钮的切换文字
|
208
211
|
# Switching text of the button at the top of the personal information card
|
209
|
-
sayhello2:
|
212
|
+
sayhello2: # 样式为2时无效
|
210
213
|
# - 🤖️ 数码科技爱好者
|
211
214
|
# - 🔍 分享与热心帮助
|
212
215
|
# - 🏠 智能家居小能手
|
@@ -217,7 +220,7 @@ aside:
|
|
217
220
|
# - 💢 壮汉人狠话不多
|
218
221
|
# - 🎮 电竞游戏爱好者
|
219
222
|
# 个人信息卡片底部的小图标,按照例子填写
|
220
|
-
information:
|
223
|
+
information: # 样式为1时请不要超过4个
|
221
224
|
# Github: https://github.com/efuo || st-github-line # 名称:链接 || 图标 / Name: link || icon
|
222
225
|
# Bilibili: https://space.bilibili.com/1329819902 || st-bilibili-line
|
223
226
|
|
package/layout/category.pug
CHANGED
@@ -8,5 +8,5 @@ block content
|
|
8
8
|
.recent-posts#recent-posts
|
9
9
|
each post,index in page.posts.find({ parent: { $exists: false } }).data
|
10
10
|
include includes/widgets/home/postList
|
11
|
-
|
11
|
+
include includes/mixins/pagination
|
12
12
|
include includes/widgets/aside/aside
|
@@ -80,6 +80,13 @@ div
|
|
80
80
|
!= item
|
81
81
|
|
82
82
|
.js-pjax
|
83
|
+
if is_home() && theme.says.enable && theme.says.home_mini
|
84
|
+
script.
|
85
|
+
sco.initbbtalk()
|
86
|
+
if page.type === 'says' && theme.says.enable
|
87
|
+
script.
|
88
|
+
GLOBAL_CONFIG.lightbox && utils.lightbox(document.querySelectorAll(".bber-content-img img"));
|
89
|
+
sco.changeTimeFormat(document.querySelectorAll('.bber-info-time time'))
|
83
90
|
if comment_js
|
84
91
|
include ../widgets/third-party/comments/js
|
85
92
|
if theme.mermaid
|
@@ -88,10 +95,6 @@ div
|
|
88
95
|
if is_home() && theme.carousel && site.posts.data.filter(item => item.recommend === true).slice(0, 6) || false
|
89
96
|
script.
|
90
97
|
carousel_swiper()
|
91
|
-
if page.type === 'says' && theme.says.enable
|
92
|
-
script.
|
93
|
-
GLOBAL_CONFIG.lightbox && utils.lightbox(document.querySelectorAll(".bber-content-img img"));
|
94
|
-
sco.changeTimeFormat(document.querySelectorAll('.bber-info-time time'))
|
95
98
|
if theme.busuanzi && (theme.aside.siteinfo.uv || theme.aside.siteinfo.pv)
|
96
99
|
if theme.busuanzi_use === 0
|
97
100
|
script(defer pjax src=url_for(theme.cdn.busuanzi_js))
|
@@ -27,7 +27,7 @@ include ../head/pwa.pug
|
|
27
27
|
|
28
28
|
script.
|
29
29
|
console.log(
|
30
|
-
"%c Program: Hexo %c Theme: Solitude %c Version: v1.10.
|
30
|
+
"%c Program: Hexo %c Theme: Solitude %c Version: v1.10.5",
|
31
31
|
"border-radius:5px 0 0 5px;padding: 5px 10px;color:white;background:#ff3842;",
|
32
32
|
"padding: 5px 10px;color:white;background:#3e9f50;",
|
33
33
|
"padding: 5px 10px;color:white;background:#0084ff;border-radius:0 5px 5px 0",
|
@@ -1,4 +1,4 @@
|
|
1
|
-
if theme.google_adsense.enable
|
1
|
+
if theme.google_adsense.enable && !theme.google_adsense.auto_ads && theme.google_adsense.aside_card
|
2
2
|
.card-widget.card-adsense
|
3
3
|
ins.adsbygoogle(style="display:block; text-align:center; min-height:120px; min-width: 100%", data-ad-layout="in-article", data-ad-format="fluid", hide-unfilled="true", data-ad-client=theme.google_adsense.client, data-ad-slot=theme.google_adsense.slot)
|
4
4
|
script.
|
@@ -53,4 +53,34 @@
|
|
53
53
|
each value, label in theme.aside.card.information || {}
|
54
54
|
- var array = value.split('||')
|
55
55
|
a.social-icon(href=url_for(trim(array[0])), title=label)
|
56
|
-
i.solitude(class=array[1])
|
56
|
+
i.solitude(class=array[1])
|
57
|
+
when 2
|
58
|
+
.card-info-bg-top
|
59
|
+
.author-info-social
|
60
|
+
.social-icons
|
61
|
+
each value, label in theme.aside.card.information || {}
|
62
|
+
- var array = value.split('||')
|
63
|
+
a.social-icon(href=url_for(trim(array[0])), title=label)
|
64
|
+
i.solitude(class=array[1])
|
65
|
+
span.more-info(onclick="document.querySelector('.social-icons').classList.toggle('show')")
|
66
|
+
i.solitude.st-more-2-fill
|
67
|
+
a.card-info-avatar(href=url_for(theme.aside.card.url) title=_p('aside.avatar'))
|
68
|
+
.avatar-img
|
69
|
+
img(src=theme.aside.card.author.img alt=_p('aside.avatar'))
|
70
|
+
if theme.aside.card.author.sticker
|
71
|
+
.avatar-sticker
|
72
|
+
img.avatar-sticker-img(src=theme.aside.card.author.sticker, alt=_p('aside.sticker'))
|
73
|
+
.author-info__name= config.author
|
74
|
+
.card-info__data.is-center
|
75
|
+
a(href=url_for('/archives/') title=_p('aside.card.posts') + site.posts.length)
|
76
|
+
.length-num= site.posts.length
|
77
|
+
.headline= _p('page.archives')
|
78
|
+
a(href=url_for('/tags/') title=_p('aside.card.tags') + site.tags.length)
|
79
|
+
.length-num= site.tags.length
|
80
|
+
.headline= _p('page.tag')
|
81
|
+
a(href=url_for('/categories/') title=_p('aside.card.categories') + site.categories.length)
|
82
|
+
.length-num= site.categories.length
|
83
|
+
.headline= _p('page.category')
|
84
|
+
.card-info__desc_group
|
85
|
+
.author-info__description!= theme.aside.card.content
|
86
|
+
.author-info__description2!= theme.aside.card.content2
|
@@ -6,7 +6,7 @@ each item in custom
|
|
6
6
|
if theme.nav.right.random
|
7
7
|
.nav-button#randomPost_button
|
8
8
|
a.site-page(onclick="toRandomPost()", title=_p('nav.randompost'), href="javascript:void(0);")
|
9
|
-
i.solitude.st-
|
9
|
+
i.solitude.st-dice-line
|
10
10
|
if theme.search.enable
|
11
11
|
.nav-button#search-button
|
12
12
|
a.site-page.social-icon.search(href="javascript:void(0);", title=_p('nav.search'))
|
package/layout/index.pug
CHANGED
@@ -8,15 +8,16 @@ block content
|
|
8
8
|
if theme.hometop.enable && is_home_first_page()
|
9
9
|
include ./includes/widgets/home/hometop
|
10
10
|
main.layout#content-inner
|
11
|
-
|
12
|
-
if theme.carousel && is_home_first_page()
|
13
|
-
include ./includes/widgets/home/carousel.pug
|
11
|
+
#home
|
14
12
|
#category-bar
|
15
13
|
include ./includes/widgets/home/categoryBar
|
16
|
-
|
17
|
-
|
14
|
+
.recent-posts#recent-posts
|
15
|
+
if theme.carousel && is_home_first_page()
|
16
|
+
include ./includes/widgets/home/carousel.pug
|
17
|
+
for post, index in page.posts.sort("-sticky" || "-date").data
|
18
|
+
include ./includes/widgets/home/postList
|
18
19
|
|
19
|
-
|
20
|
-
|
20
|
+
// pagination
|
21
|
+
include ./includes/mixins/pagination
|
21
22
|
// aside
|
22
23
|
include ./includes/widgets/aside/aside
|
package/layout/post.pug
CHANGED
@@ -37,7 +37,7 @@ block content
|
|
37
37
|
a.social-share-ico.icon-facebook(href=`https://www.facebook.com/sharer/sharer.php?u=${encodedPath}` title="Facebook")
|
38
38
|
when 'twitter'
|
39
39
|
a.social-share-ico.icon-twitter(href=`https://twitter.com/intent/tweet?url=${encodedPath}&text=${encodedTitle}` title="Twitter")
|
40
|
-
if theme.google_adsense.enable && theme.google_adsense.post_content
|
40
|
+
if theme.google_adsense.enable && !theme.google_adsense.auto_ads && theme.google_adsense.post_content
|
41
41
|
div.google-ads-warp
|
42
42
|
ins.adsbygoogle(style="display:block; text-align:center; height:284px", data-ad-layout="in-article", data-ad-format="fluid", hide-unfilled="true", data-ad-client=theme.google_adsense.client, data-ad-slot=theme.google_adsense.slot)
|
43
43
|
script.
|
package/layout/tag.pug
CHANGED
@@ -12,5 +12,5 @@ block content
|
|
12
12
|
.recent-posts#recent-posts
|
13
13
|
each post,index in page.posts.find({ parent: { $exists: false } }).data
|
14
14
|
include includes/widgets/home/postList
|
15
|
-
|
15
|
+
include includes/mixins/pagination
|
16
16
|
include includes/widgets/aside/aside
|
package/package.json
CHANGED
@@ -95,14 +95,6 @@ main
|
|
95
95
|
*::-webkit-scrollbar-track
|
96
96
|
background-color transparent
|
97
97
|
|
98
|
-
#site-title,
|
99
|
-
#site-subtitle,
|
100
|
-
.site-name,
|
101
|
-
#aside-content .author-info__name,
|
102
|
-
#aside-content .author-info__description
|
103
|
-
font-family "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif
|
104
|
-
|
105
|
-
|
106
98
|
if hexo-config('lazyload.enable') && !hexo-config('lazyload.placeholder')
|
107
99
|
img
|
108
100
|
&[data-lazy-src]:not(.loaded)
|
@@ -371,7 +363,7 @@ i.solitude
|
|
371
363
|
.layout
|
372
364
|
display: flex
|
373
365
|
margin: 0 auto
|
374
|
-
padding:
|
366
|
+
padding: 0 1.5rem
|
375
367
|
max-width: 1200px
|
376
368
|
+maxWidth768()
|
377
369
|
padding 0
|
@@ -391,7 +383,7 @@ i.solitude
|
|
391
383
|
+maxWidth1200()
|
392
384
|
width 100%
|
393
385
|
|
394
|
-
>
|
386
|
+
> #post,#category,#tag,#archive
|
395
387
|
box-shadow var(--efu-shadow-border)
|
396
388
|
padding 1rem 2rem
|
397
389
|
border-radius 12px
|
@@ -409,6 +401,10 @@ i.solitude
|
|
409
401
|
padding 0 1rem
|
410
402
|
background var(--efu-background)
|
411
403
|
|
404
|
+
.show
|
405
|
+
opacity 1 !important
|
406
|
+
pointer-events all !important
|
407
|
+
|
412
408
|
span.tags-punctuation::before
|
413
409
|
content: "\e071"
|
414
410
|
font-family: solitude, serif !important
|
@@ -1,5 +1,9 @@
|
|
1
1
|
#aside-content
|
2
2
|
width 300px
|
3
|
+
if hexo-config('aside.position') == 0
|
4
|
+
order 1
|
5
|
+
else
|
6
|
+
order 2
|
3
7
|
|
4
8
|
+minWidth900()
|
5
9
|
if hexo-config('aside.position') == 0
|
@@ -13,9 +17,9 @@
|
|
13
17
|
+minWidth1300()
|
14
18
|
animation slide-in .6s .3s backwards
|
15
19
|
if hexo-config('aside.position') == 0
|
16
|
-
padding-right
|
20
|
+
padding-right .5rem
|
17
21
|
else
|
18
|
-
padding-left
|
22
|
+
padding-left .5rem
|
19
23
|
|
20
24
|
.item-headline
|
21
25
|
padding-bottom 0
|
@@ -44,20 +48,19 @@
|
|
44
48
|
border-radius 12px
|
45
49
|
position relative
|
46
50
|
overflow hidden
|
47
|
-
margin-top
|
51
|
+
margin-top .5rem
|
48
52
|
padding 1rem 1.2rem
|
49
53
|
|
50
54
|
&:hover
|
51
55
|
box-shadow var(--efu-shadow-border)
|
52
56
|
|
53
|
-
|
54
|
-
|
55
|
-
|
56
|
-
|
57
|
-
margin-top 0
|
57
|
+
> .card-widget
|
58
|
+
&:first-child
|
59
|
+
transition 0.3s
|
60
|
+
margin-top 0
|
58
61
|
|
59
62
|
.sticky_layout
|
60
|
-
top calc(60px +
|
63
|
+
top calc(60px + .5rem)
|
61
64
|
position sticky
|
62
65
|
transition: top .3s ease 0s
|
63
66
|
|
@@ -66,6 +69,7 @@
|
|
66
69
|
width fit-content
|
67
70
|
color var(--efu-white)
|
68
71
|
background var(--efu-white-op)
|
72
|
+
backdrop-filter blur(10px)
|
69
73
|
font-size 12px
|
70
74
|
padding 2px 8px
|
71
75
|
border-radius 12px
|
@@ -90,7 +94,7 @@
|
|
90
94
|
&:active
|
91
95
|
transform scale(.97)
|
92
96
|
opacity .8
|
93
|
-
|
97
|
+
|
94
98
|
.card-info-social-icons
|
95
99
|
margin 0
|
96
100
|
display flex
|
@@ -256,12 +260,6 @@
|
|
256
260
|
|
257
261
|
if hexo-config('aside.card.style') == 0
|
258
262
|
#aside-content
|
259
|
-
> .card-widget:first-child
|
260
|
-
transition: .3s
|
261
|
-
border: none
|
262
|
-
box-shadow: none
|
263
|
-
background: var(--efu-main)
|
264
|
-
margin-top: 0
|
265
263
|
|
266
264
|
.card-widget
|
267
265
|
if hexo-config('aside.card.author.sticker')
|
@@ -475,6 +473,11 @@ if hexo-config('aside.card.style') == 1
|
|
475
473
|
min-height 140px
|
476
474
|
background: linear-gradient(-25deg, var(--efu-main), var(--efu-main-op-deep), var(--efu-main), var(--efu-main-op-deep))
|
477
475
|
background-size: 400%
|
476
|
+
if hexo-config('aside.card.background')
|
477
|
+
background-image url(hexo-config('aside.card.background'))
|
478
|
+
background-size cover
|
479
|
+
background-position center
|
480
|
+
background-repeat no-repeat
|
478
481
|
|
479
482
|
.card-info-avatar
|
480
483
|
width 114px
|
@@ -485,6 +488,7 @@ if hexo-config('aside.card.style') == 1
|
|
485
488
|
position absolute
|
486
489
|
transition cubic-bezier(.69, .39, 0, 1.21) .3s
|
487
490
|
transform-origin bottom
|
491
|
+
z-index 1
|
488
492
|
border 7px solid var(--efu-card-bg)
|
489
493
|
|
490
494
|
.avatar-img
|
@@ -546,7 +550,7 @@ if hexo-config('aside.card.style') == 1
|
|
546
550
|
margin-top 60px
|
547
551
|
text-align center
|
548
552
|
font-weight 700
|
549
|
-
color var(--efu-
|
553
|
+
color var(--efu-fontcolor)
|
550
554
|
font-size 20px
|
551
555
|
line-height 1
|
552
556
|
margin-bottom 5px
|
@@ -596,6 +600,146 @@ if hexo-config('aside.card.style') == 1
|
|
596
600
|
font-size: 1em
|
597
601
|
line-height: 1.5
|
598
602
|
|
603
|
+
if hexo-config('aside.card.style') == 2
|
604
|
+
#aside-content .card-widget.card-info
|
605
|
+
padding 0
|
606
|
+
|
607
|
+
.card-info-bg-top
|
608
|
+
width 100%
|
609
|
+
height 95px
|
610
|
+
position relative
|
611
|
+
background: linear-gradient(-25deg, var(--efu-main), var(--efu-main-op-deep), var(--efu-main), var(--efu-main-op-deep))
|
612
|
+
if hexo-config('aside.card.background')
|
613
|
+
background-image url(hexo-config('aside.card.background'))
|
614
|
+
background-size cover
|
615
|
+
background-position center
|
616
|
+
background-repeat no-repeat
|
617
|
+
.author-info__name
|
618
|
+
font-size 24px
|
619
|
+
line-height 35px
|
620
|
+
color var(--efu-white)
|
621
|
+
font-weight 700
|
622
|
+
position absolute
|
623
|
+
top 55px
|
624
|
+
if hexo-config('aside.position') == 0
|
625
|
+
left 6rem
|
626
|
+
else
|
627
|
+
left 1rem
|
628
|
+
.card-info__data
|
629
|
+
position absolute
|
630
|
+
top 98px
|
631
|
+
gap .5rem
|
632
|
+
z-index 1
|
633
|
+
if hexo-config('aside.position') == 0
|
634
|
+
right 1rem
|
635
|
+
else
|
636
|
+
left 1rem
|
637
|
+
|
638
|
+
.headline
|
639
|
+
color var(--efu-gray)
|
640
|
+
|
641
|
+
.length-num
|
642
|
+
font-weight 700
|
643
|
+
|
644
|
+
a
|
645
|
+
font-size 14px
|
646
|
+
display flex
|
647
|
+
line-height 18px
|
648
|
+
gap .1rem
|
649
|
+
.card-info__desc_group
|
650
|
+
padding 44px 1rem 1rem
|
651
|
+
min-height 50px
|
652
|
+
opacity .8
|
653
|
+
line-height 18px
|
654
|
+
.author-info-social
|
655
|
+
position absolute
|
656
|
+
display inline-flex
|
657
|
+
gap: 5px
|
658
|
+
top .5rem
|
659
|
+
if hexo-config('aside.position') == 0
|
660
|
+
right 1rem
|
661
|
+
else
|
662
|
+
left 1rem
|
663
|
+
|
664
|
+
i
|
665
|
+
font-size 18px
|
666
|
+
width 30px
|
667
|
+
height 30px
|
668
|
+
border-radius 50%
|
669
|
+
background rgba(255, 255, 255, .2)
|
670
|
+
backdrop-filter blur(10px)
|
671
|
+
color var(--efu-white)
|
672
|
+
display flex
|
673
|
+
justify-content center
|
674
|
+
align-items center
|
675
|
+
|
676
|
+
.social-icons
|
677
|
+
order 1
|
678
|
+
opacity 0
|
679
|
+
transition .3s
|
680
|
+
display flex
|
681
|
+
gap 5px
|
682
|
+
.more-info
|
683
|
+
if hexo-config('aside.position') == 0
|
684
|
+
order 1
|
685
|
+
else
|
686
|
+
order 0
|
687
|
+
cursor pointer
|
688
|
+
display flex
|
689
|
+
justify-content center
|
690
|
+
align-items center
|
691
|
+
.card-info-avatar
|
692
|
+
width 80px
|
693
|
+
height 80px
|
694
|
+
top 50px
|
695
|
+
border-radius 500px
|
696
|
+
position absolute
|
697
|
+
transition cubic-bezier(.69, .39, 0, 1.21) .3s
|
698
|
+
transform-origin bottom
|
699
|
+
border 3px solid var(--efu-card-bg)
|
700
|
+
z-index 1
|
701
|
+
if hexo-config('aside.position') == 0
|
702
|
+
left 1rem
|
703
|
+
else
|
704
|
+
right 1rem
|
705
|
+
|
706
|
+
.avatar-img
|
707
|
+
overflow hidden
|
708
|
+
border-radius 500px
|
709
|
+
width 74px
|
710
|
+
cursor pointer
|
711
|
+
height 74px
|
712
|
+
|
713
|
+
img
|
714
|
+
object-fit cover
|
715
|
+
width 100%
|
716
|
+
height 100%
|
717
|
+
transition .3s
|
718
|
+
|
719
|
+
&:hover
|
720
|
+
transform: scale(1.3)
|
721
|
+
|
722
|
+
if hexo-config('aside.card.author.sticker')
|
723
|
+
.avatar-sticker
|
724
|
+
position absolute
|
725
|
+
bottom -2px
|
726
|
+
right -2px
|
727
|
+
width 26px
|
728
|
+
height 26px
|
729
|
+
line-height 26px
|
730
|
+
z-index 0
|
731
|
+
display flex
|
732
|
+
align-items center
|
733
|
+
justify-content center
|
734
|
+
transition .3s .2s
|
735
|
+
transform scale(1)
|
736
|
+
background var(--efu-card-bg)
|
737
|
+
border-radius 50%
|
738
|
+
|
739
|
+
img
|
740
|
+
width 21px
|
741
|
+
height 21px
|
742
|
+
|
599
743
|
[data-theme=dark] #aside-content
|
600
744
|
> .card-widget.card-info
|
601
745
|
border var(--style-border-always)
|
@@ -14,10 +14,6 @@
|
|
14
14
|
pointer-events none
|
15
15
|
user-select none
|
16
16
|
|
17
|
-
&.show
|
18
|
-
opacity 1
|
19
|
-
pointer-events all
|
20
|
-
|
21
17
|
&.show .close-btn i
|
22
18
|
transform rotate(0)
|
23
19
|
|
@@ -175,10 +171,8 @@
|
|
175
171
|
background var(--efu-orange)
|
176
172
|
color var(--efu-white)
|
177
173
|
.button-group
|
174
|
+
gap .5rem
|
178
175
|
.console-btn-item
|
179
|
-
&:not(:last-child)
|
180
|
-
margin-right .5rem
|
181
|
-
|
182
176
|
&:hover
|
183
177
|
span
|
184
178
|
background var(--efu-main)
|
@@ -216,11 +210,11 @@
|
|
216
210
|
.card-tag-cloud
|
217
211
|
margin-top 1.5rem
|
218
212
|
display flex
|
213
|
+
gap .5rem
|
219
214
|
flex-wrap wrap
|
220
215
|
|
221
216
|
a
|
222
217
|
color var(--efu-fontcolor)
|
223
|
-
margin 6px 4px
|
224
218
|
padding 2px 8px
|
225
219
|
border-radius 8px
|
226
220
|
background var(--efu-card-bg)
|
@@ -281,23 +275,20 @@
|
|
281
275
|
flex-direction row
|
282
276
|
flex-wrap wrap
|
283
277
|
height 164px
|
278
|
+
gap .5rem
|
284
279
|
|
285
280
|
li.card-archive-list-item
|
286
|
-
flex 0
|
287
|
-
|
288
|
-
&:not(:nth-child(4n))
|
289
|
-
margin-right .555rem
|
281
|
+
flex 0 1 24.101%
|
290
282
|
|
291
283
|
.card-archive-list-link
|
292
284
|
border-radius 8px
|
293
|
-
margin-top 8px
|
294
285
|
display flex
|
295
286
|
flex-direction column
|
296
287
|
align-content space-between
|
297
288
|
border var(--style-border)
|
298
289
|
transition all .3s ease 0s
|
299
290
|
background var(--efu-maskbgdeep)
|
300
|
-
padding
|
291
|
+
padding 9.5px 16px
|
301
292
|
|
302
293
|
&:hover
|
303
294
|
background var(--efu-main)
|
@@ -13,10 +13,7 @@ if hexo-config('index_post_list.direction') == "column"
|
|
13
13
|
+minWidth1300()
|
14
14
|
display flex
|
15
15
|
flex-wrap wrap
|
16
|
-
|
17
|
-
align-items flex-start
|
18
|
-
align-content flex-start
|
19
|
-
user-select none
|
16
|
+
gap .5rem
|
20
17
|
transition width .3s
|
21
18
|
|
22
19
|
+maxWidth768()
|
@@ -34,19 +31,19 @@ if hexo-config('index_post_list.direction') == "column"
|
|
34
31
|
border-radius 12px
|
35
32
|
cursor pointer
|
36
33
|
border var(--style-border)
|
37
|
-
margin 1rem 0 1rem
|
38
34
|
|
39
35
|
+minWidth1300()
|
40
36
|
flex-direction column
|
41
|
-
width
|
42
|
-
|
43
|
-
|
37
|
+
width 100%
|
38
|
+
flex 1 1 40%
|
39
|
+
max-width 50%
|
44
40
|
box-shadow var(--efu-shadow-border)
|
45
41
|
|
42
|
+
+maxWidth1300()
|
43
|
+
margin-bottom .5rem
|
44
|
+
|
46
45
|
+maxWidth768()
|
47
|
-
margin 1.5rem 0
|
48
46
|
border-radius 12px
|
49
|
-
margin-top 0.5rem
|
50
47
|
border var(--style-border-always)
|
51
48
|
box-shadow var(--efu-shadow-border)
|
52
49
|
display block
|
@@ -250,6 +247,7 @@ else if hexo-config('index_post_list.direction') == "row"
|
|
250
247
|
align-items flex-start
|
251
248
|
align-content flex-start
|
252
249
|
user-select none
|
250
|
+
gap .5rem
|
253
251
|
transition width .3s
|
254
252
|
|
255
253
|
+maxWidth768()
|
@@ -266,17 +264,12 @@ else if hexo-config('index_post_list.direction') == "row"
|
|
266
264
|
border-radius 12px
|
267
265
|
cursor pointer
|
268
266
|
border var(--style-border)
|
269
|
-
margin 1rem 0 1rem
|
270
267
|
flex-direction row
|
271
268
|
width 100%
|
272
|
-
margin-top .25rem
|
273
|
-
margin-bottom .75rem
|
274
269
|
box-shadow var(--efu-shadow-border)
|
275
270
|
|
276
271
|
+maxWidth768()
|
277
|
-
margin 1.5rem 0
|
278
272
|
border-radius 12px
|
279
|
-
margin-top 0.5rem
|
280
273
|
border var(--style-border-always)
|
281
274
|
box-shadow var(--efu-shadow-border)
|
282
275
|
flex-direction column
|
@@ -171,13 +171,13 @@
|
|
171
171
|
display flex
|
172
172
|
white-space nowrap
|
173
173
|
flex-direction row
|
174
|
+
gap .5rem
|
174
175
|
flex-wrap wrap
|
175
176
|
margin-bottom 60px
|
176
177
|
|
177
178
|
a
|
178
179
|
color var(--efu-fontcolor) !important
|
179
180
|
padding 2px 8px 2px 12px
|
180
|
-
margin 4px
|
181
181
|
border-radius 8px
|
182
182
|
border var(--style-border-always)
|
183
183
|
background var(--efu-card-bg)
|
@@ -5,7 +5,6 @@
|
|
5
5
|
display flex
|
6
6
|
white-space nowrap
|
7
7
|
overflow hidden
|
8
|
-
margin-bottom 1rem
|
9
8
|
border var(--style-border)
|
10
9
|
transition 0.3s
|
11
10
|
height 50px
|
@@ -13,23 +12,22 @@
|
|
13
12
|
justify-content space-between
|
14
13
|
user-select none
|
15
14
|
align-items center
|
16
|
-
|
17
|
-
+maxWidth1300()
|
18
|
-
margin-bottom 1rem
|
19
|
-
animation slide-in .6s 0s backwards
|
15
|
+
margin-bottom .5rem
|
20
16
|
|
21
17
|
+minWidth1300()
|
22
|
-
margin-bottom .75rem
|
23
18
|
&:hover
|
24
19
|
border var(--style-border-hover)
|
25
20
|
box-shadow var(--efu-shadow-main)
|
26
21
|
|
22
|
+
+minWidth1200()
|
23
|
+
animation: slide-in .6s .3s backwards;
|
24
|
+
|
27
25
|
+maxWidth768()
|
28
26
|
margin-bottom 0
|
29
27
|
margin-top 0
|
30
28
|
border-radius 0
|
31
29
|
background var(--efu-background)
|
32
|
-
padding 0
|
30
|
+
padding 0 1rem
|
33
31
|
border none
|
34
32
|
|
35
33
|
.category-bar-right
|
@@ -16,6 +16,10 @@
|
|
16
16
|
flex-wrap nowrap
|
17
17
|
width 100%
|
18
18
|
overflow-x scroll
|
19
|
+
gap .5rem
|
20
|
+
|
21
|
+
+maxWidth1200()
|
22
|
+
gap 0
|
19
23
|
|
20
24
|
&::-webkit-scrollbar
|
21
25
|
display none
|
@@ -24,7 +28,6 @@
|
|
24
28
|
display flex
|
25
29
|
+minWidth1201()
|
26
30
|
width calc(50% - .25rem)
|
27
|
-
margin-right 1rem
|
28
31
|
height calc(328px + .5rem)
|
29
32
|
display flex
|
30
33
|
flex-direction column
|
@@ -53,7 +56,6 @@
|
|
53
56
|
display none
|
54
57
|
+maxWidth768()
|
55
58
|
min-width 130px
|
56
|
-
margin-bottom .5rem
|
57
59
|
margin-left 1rem
|
58
60
|
max-height 164px
|
59
61
|
overflow hidden
|
@@ -313,7 +315,7 @@
|
|
313
315
|
|
314
316
|
.banner-button-group
|
315
317
|
bottom: 1rem
|
316
|
-
|
318
|
+
|
317
319
|
+maxWidth768()
|
318
320
|
margin-right 1rem
|
319
321
|
|
@@ -1,8 +1,8 @@
|
|
1
1
|
if hexo-config('hometop.enable') || hexo-config('says.enable')
|
2
2
|
#home_top
|
3
3
|
max-width 1400px
|
4
|
-
margin
|
5
|
-
padding
|
4
|
+
margin 0 auto
|
5
|
+
padding .5rem 1.5rem
|
6
6
|
|
7
7
|
+maxWidth768()
|
8
8
|
padding 0
|
@@ -14,4 +14,11 @@ if hexo-config('hometop.enable')
|
|
14
14
|
if hexo-config('carousel')
|
15
15
|
@import "carousel.styl"
|
16
16
|
|
17
|
-
@import "category-bar.styl"
|
17
|
+
@import "category-bar.styl"
|
18
|
+
|
19
|
+
if hexo-config('aside.position') == 0
|
20
|
+
#home
|
21
|
+
order 2
|
22
|
+
else
|
23
|
+
#home
|
24
|
+
order 1
|
@@ -69,6 +69,7 @@
|
|
69
69
|
font-size 2em
|
70
70
|
|
71
71
|
.tag-cloud-list
|
72
|
+
gap .5rem
|
72
73
|
a
|
73
74
|
display flex
|
74
75
|
width fit-content
|
@@ -76,7 +77,6 @@
|
|
76
77
|
font-size 1.4em
|
77
78
|
padding 0.2em 0.5em
|
78
79
|
background var(--efu-card-bg)
|
79
|
-
margin 0.5em 0.5em
|
80
80
|
border-radius 12px
|
81
81
|
border var(--style-border-always)
|
82
82
|
box-shadow var(--efu-shadow-border)
|
@@ -90,7 +90,6 @@
|
|
90
90
|
transition none
|
91
91
|
|
92
92
|
&:hover
|
93
|
-
transform scale(1.1)
|
94
93
|
background var(--efu-main) !important
|
95
94
|
box-shadow var(--efu-shadow-blue)
|
96
95
|
color var(--efu-white) !important
|
@@ -56,7 +56,7 @@ if hexo-config('says.home_mini')
|
|
56
56
|
|
57
57
|
if hexo-config('says.enable')
|
58
58
|
#bber
|
59
|
-
margin-top
|
59
|
+
margin-top .5rem
|
60
60
|
width 100%
|
61
61
|
|
62
62
|
if hexo-config('says.style') == 2
|
@@ -101,12 +101,6 @@ if hexo-config('says.enable')
|
|
101
101
|
width 100%
|
102
102
|
height 100%
|
103
103
|
|
104
|
-
& > section
|
105
|
-
& > ul
|
106
|
-
& > li
|
107
|
-
&.item
|
108
|
-
margin-bottom 1rem
|
109
|
-
|
110
104
|
if hexo-config('says.style') == 1
|
111
105
|
.bber-bottom
|
112
106
|
display flex
|
@@ -279,7 +273,7 @@ if hexo-config('says.enable')
|
|
279
273
|
li
|
280
274
|
&.item
|
281
275
|
position relative
|
282
|
-
width
|
276
|
+
width 33%
|
283
277
|
border var(--style-border-always)
|
284
278
|
border-radius 12px
|
285
279
|
padding 1rem 1rem .5rem
|
@@ -290,8 +284,8 @@ if hexo-config('says.enable')
|
|
290
284
|
justify-content space-between
|
291
285
|
align-items flex-start
|
292
286
|
background var(--efu-card-bg)
|
287
|
+
margin-right .5rem
|
293
288
|
box-shadow var(--efu-shadow-border)
|
294
|
-
margin-right 2%
|
295
289
|
|
296
290
|
+maxWidth1300()
|
297
291
|
width 49%
|