hexo-theme-solitude 1.2.6 → 1.3.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.
- package/CONTRIBUTING.md +41 -0
- package/README.md +8 -8
- package/README_EN.md +6 -6
- package/_config.yml +495 -297
- package/languages/en-US.yml +105 -8
- package/languages/zh-CN.yml +98 -1
- package/layout/archive.pug +3 -3
- package/layout/category.pug +4 -5
- package/layout/includes/console.pug +15 -16
- package/layout/includes/footer.pug +26 -28
- package/layout/includes/head/config.pug +27 -8
- package/layout/includes/head/fest.pug +22 -0
- package/layout/includes/head/opengraph.pug +11 -0
- package/layout/includes/head.pug +1 -3
- package/layout/includes/header.pug +1 -1
- package/layout/includes/inject/body.pug +33 -13
- package/layout/includes/inject/head.pug +30 -20
- package/layout/includes/layout.pug +11 -8
- package/layout/includes/loading.pug +1 -64
- package/layout/includes/mixins/articleSort.pug +4 -4
- package/layout/includes/mixins/pagination.pug +1 -1
- package/layout/includes/nav.pug +10 -10
- package/layout/includes/page/about.pug +1 -0
- package/layout/includes/page/categories.pug +3 -3
- package/layout/includes/page/default.pug +1 -1
- package/layout/includes/page/echarts.pug +3 -3
- package/layout/includes/page/equipment.pug +0 -1
- package/layout/includes/page/links.pug +5 -26
- package/layout/includes/page/moments.pug +0 -1
- package/layout/includes/page/music.pug +19 -0
- package/layout/includes/page/not_configured.pug +18 -0
- package/layout/includes/page/rss.pug +20 -22
- package/layout/includes/page/says.pug +1 -2
- package/layout/includes/page/tags.pug +3 -3
- package/layout/includes/page/tlink.pug +0 -1
- package/layout/includes/sidebar.pug +7 -7
- package/layout/includes/widgets/aside/aside.pug +13 -1
- package/layout/includes/widgets/aside/asideArchive.pug +5 -3
- package/layout/includes/widgets/aside/asideCustom.pug +6 -0
- package/layout/includes/widgets/aside/asideHistory.pug +3 -3
- package/layout/includes/widgets/aside/asideInfoCard.pug +4 -6
- package/layout/includes/widgets/aside/asideNewestPost.pug +1 -1
- package/layout/includes/widgets/aside/asideSwitch.pug +0 -11
- package/layout/includes/widgets/aside/asideTag.pug +2 -2
- package/layout/includes/widgets/aside/asideToc.pug +1 -1
- package/layout/includes/widgets/aside/asideWebInfo.pug +6 -6
- package/layout/includes/widgets/aside/asideWelcome.pug +1 -1
- package/layout/includes/widgets/home/banner.pug +2 -2
- package/layout/includes/widgets/home/bbTimeList.pug +3 -3
- package/layout/includes/widgets/home/categoryBar.pug +3 -3
- package/layout/includes/widgets/home/categoryGroup.pug +2 -2
- package/layout/includes/widgets/home/hometop.pug +7 -7
- package/layout/includes/widgets/home/postList.pug +12 -8
- package/layout/includes/widgets/home/topGroup.pug +17 -13
- package/layout/includes/widgets/nav/left.pug +6 -6
- package/layout/includes/widgets/nav/menu.pug +4 -4
- package/layout/includes/widgets/nav/right.pug +14 -14
- package/layout/includes/widgets/page/about/authorinfo.pug +1 -1
- package/layout/includes/widgets/page/about/award.pug +11 -9
- package/layout/includes/widgets/page/about/contentinfo.pug +7 -7
- package/layout/includes/widgets/page/about/hobbies.pug +1 -1
- package/layout/includes/widgets/page/about/motto.pug +2 -2
- package/layout/includes/widgets/page/about/other.pug +10 -9
- package/layout/includes/widgets/page/about/personalities.pug +2 -2
- package/layout/includes/widgets/page/about/skillsinfo.pug +10 -12
- package/layout/includes/widgets/page/about/tenyear.pug +48 -0
- package/layout/includes/widgets/page/banner.pug +2 -2
- package/layout/includes/widgets/page/links/banner.pug +12 -14
- package/layout/includes/widgets/page/links/linksItem.pug +0 -1
- package/layout/includes/widgets/page/moments/angle.pug +7 -12
- package/layout/includes/widgets/page/moments/index.pug +7 -2
- package/layout/includes/widgets/post/award.pug +12 -8
- package/layout/includes/widgets/post/copyright.pug +16 -14
- package/layout/includes/widgets/post/postMeta.pug +36 -25
- package/layout/includes/widgets/post/postNav.pug +15 -15
- package/layout/includes/widgets/randomlink.pug +10 -5
- package/layout/includes/widgets/rightside/index.pug +9 -8
- package/layout/includes/widgets/third-party/ai/index.pug +12 -0
- package/layout/includes/widgets/third-party/comments/comment.pug +6 -1
- package/layout/includes/widgets/third-party/comments/twikoo.pug +5 -4
- package/layout/includes/widgets/third-party/comments/waline.pug +4 -5
- package/layout/includes/widgets/third-party/music.pug +1 -1
- package/layout/includes/widgets/third-party/pjax.pug +6 -1
- package/layout/includes/widgets/third-party/search/algolia-search.pug +4 -3
- package/layout/includes/widgets/third-party/search/index.pug +2 -2
- package/layout/includes/widgets/third-party/search/local-search.pug +3 -3
- package/layout/index.pug +5 -6
- package/layout/page.pug +34 -29
- package/layout/post.pug +3 -23
- package/layout/tag.pug +3 -3
- package/package.json +2 -2
- package/scripts/filter/checkThemeConfig.js +0 -5
- package/scripts/helper/cdn.js +12 -0
- package/scripts/helper/page.js +13 -0
- package/scripts/helper/related_post.js +0 -1
- package/scripts/tags/button.js +21 -0
- package/scripts/tags/card.js +9 -0
- package/scripts/tags/checkbox.js +51 -0
- package/scripts/tags/fold.js +0 -5
- package/scripts/tags/image.js +75 -0
- package/scripts/tags/inline-image.js +12 -0
- package/scripts/tags/label.js +10 -0
- package/scripts/tags/link.js +2 -0
- package/scripts/tags/media.js +29 -0
- package/scripts/tags/span.js +17 -0
- package/scripts/tags/timeline.js +2 -15
- package/scripts/tags/u.js +7 -0
- package/source/css/_global/animation.css +57 -0
- package/source/css/_global/index.styl +5 -20
- package/source/css/_global/var.styl +16 -1
- package/source/css/_layout/{base.styl → basic.styl} +24 -116
- package/source/css/_layout/header.styl +203 -615
- package/source/css/_layout/index.styl +29 -271
- package/source/css/_mode/index.styl +87 -94
- package/source/css/_page/_home/category-bar.styl +74 -0
- package/source/css/_page/_home/home-top.styl +541 -0
- package/source/css/_page/_home/index.styl +15 -0
- package/source/css/_page/_home/pagination.styl +176 -0
- package/source/css/_page/_home/recent-post.styl +204 -0
- package/source/css/_page/about/index.styl +1 -0
- package/source/css/_page/about/tenyear.styl +56 -0
- package/source/css/_page/about.styl +555 -626
- package/source/css/_page/category.styl +95 -119
- package/source/css/_page/douban.styl +126 -0
- package/source/css/_page/equipment.styl +100 -99
- package/source/css/_page/error.styl +130 -146
- package/source/css/_page/home.styl +41 -50
- package/source/css/_page/index.styl +42 -10
- package/source/css/_page/links.styl +305 -0
- package/source/css/_page/moment.styl +51 -51
- package/source/css/_page/music.styl +506 -0
- package/source/css/_page/rss.styl +62 -67
- package/source/css/_page/says.styl +375 -344
- package/source/css/_page/tag.styl +15 -13
- package/source/css/_widgets/{aside → _aside}/flip.styl +7 -5
- package/source/css/_widgets/{aside → _aside}/history.styl +9 -2
- package/source/css/_widgets/_aside/index.styl +96 -0
- package/source/css/_widgets/{aside → _aside}/info.styl +86 -89
- package/source/css/_widgets/{aside → _aside}/newPost.styl +7 -1
- package/source/css/_widgets/{aside → _aside}/toc.styl +28 -5
- package/source/css/_widgets/{comment → _comment}/index.styl +4 -12
- package/source/css/_widgets/{comment → _comment}/twikoo.styl +5 -2
- package/source/css/_widgets/{comment → _comment}/waline.styl +21 -5
- package/source/css/{_extra → _widgets/_extra}/console.styl +33 -10
- package/source/css/_widgets/_extra/fullpage.styl +46 -0
- package/source/css/_widgets/_extra/music.styl +218 -0
- package/source/css/_widgets/_extra/pace.styl +39 -0
- package/source/css/_widgets/_extra/rightmenu.styl +78 -0
- package/source/css/_widgets/_mixins/article-sort.styl +93 -0
- package/source/css/_widgets/_mixins/footer.styl +273 -0
- package/source/css/_widgets/_mixins/other.styl +34 -0
- package/source/css/_widgets/_mixins/sidebar.styl +230 -0
- package/source/css/_widgets/_post/_highlight/diff.styl +75 -0
- package/source/css/_widgets/_post/_highlight/index.styl +144 -0
- package/source/css/_widgets/_post/_highlight/theme/default.styl +12 -0
- package/source/css/_widgets/_post/_highlight/theme/mac.styl +25 -0
- package/source/css/_widgets/_post/_highlight/theme.styl +68 -0
- package/source/css/_widgets/_post/commentBarrage.styl +144 -0
- package/source/css/_widgets/_post/content.styl +152 -0
- package/source/css/_widgets/_post/copyright.styl +98 -0
- package/source/css/_widgets/_post/index.styl +20 -0
- package/source/css/_widgets/_post/meta.styl +420 -0
- package/source/css/_widgets/_post/pagination.styl +177 -0
- package/source/css/_widgets/_post/postAI.styl +131 -0
- package/source/css/{_post → _widgets/_post}/relatedPost.styl +4 -1
- package/source/css/_widgets/_post/tools.styl +249 -0
- package/source/css/{_search → _widgets/_search}/algolia-search.styl +4 -0
- package/source/css/{_search → _widgets/_search}/local-search.styl +15 -5
- package/source/css/_widgets/_tags/button.styl +60 -0
- package/source/css/_widgets/_tags/bvideo.styl +8 -0
- package/source/css/_widgets/_tags/card.styl +52 -0
- package/source/css/_widgets/_tags/checkbox.styl +85 -0
- package/source/css/_widgets/_tags/fold.styl +79 -0
- package/source/css/_widgets/_tags/image.styl +10 -0
- package/source/css/_widgets/_tags/index.styl +61 -0
- package/source/css/_widgets/_tags/inline-image.styl +6 -0
- package/source/css/_widgets/_tags/label.styl +3 -0
- package/source/css/_widgets/_tags/link.styl +80 -0
- package/source/css/_widgets/_tags/note.styl +101 -0
- package/source/css/_widgets/_tags/span.styl +61 -0
- package/source/css/_widgets/_tags/tabs.styl +105 -0
- package/source/css/_widgets/_tags/timeline.styl +80 -0
- package/source/css/_widgets/index.styl +50 -1
- package/source/css/index.styl +0 -25
- package/source/js/{commentBarrage.js → extend/comment/twikoo/commentBarrage.js} +0 -4
- package/source/js/extend/comment/{twikoo.js → twikoo/twikoo.js} +12 -40
- package/source/js/extend/comment/waline/commentBarrage.js +155 -0
- package/source/js/extend/comment/{waline.js → waline/waline.js} +10 -11
- package/source/js/extend/search/algolia-search.js +1 -5
- package/source/js/extend/search/local-search.js +33 -13
- package/source/js/main.js +144 -163
- package/source/js/music.js +129 -0
- package/source/js/utils.js +4 -7
- package/source/lib/cover-color.min.js +7 -0
- package/source/lib/rightside.min.js +1 -0
- package/source/lib/sco-ai.min.js +8 -0
- package/source/lib/snackbar.min.css +1 -1
- package/source/lib/txmap.min.js +1 -0
- package/source/lib/view-image.min.js +1 -1
- package/layout/includes/widgets/aside/asidePower.pug +0 -19
- package/layout/includes/widgets/home/rencentPost.pug +0 -26
- package/source/css/_extra/rightmenu.styl +0 -83
- package/source/css/_layout/articleSort.styl +0 -199
- package/source/css/_layout/footer.styl +0 -359
- package/source/css/_layout/sidebar.styl +0 -226
- package/source/css/_page/homeTop.styl +0 -1035
- package/source/css/_page/link.styl +0 -433
- package/source/css/_post/commentBarrage.styl +0 -149
- package/source/css/_post/externalTags.styl +0 -694
- package/source/css/_post/highlight.styl +0 -96
- package/source/css/_post/index.styl +0 -935
- package/source/css/_post/pagination.styl +0 -467
- package/source/css/_post/postContent.styl +0 -957
- package/source/css/_post/reward.styl +0 -217
- package/source/css/_widgets/aside/index.styl +0 -156
- package/source/css/_widgets/aside/power.styl +0 -90
- package/source/img/logo-horizontal_version.png +0 -0
- package/source/img/pwa/16.png +0 -0
- package/source/img/pwa/180.png +0 -0
- package/source/img/pwa/192.png +0 -0
- package/source/img/pwa/32.png +0 -0
- package/source/img/pwa/512.png +0 -0
- package/source/img/pwa/logo.png +0 -0
- package/source/img/pwa/siteicon/splash-1125x2436.png +0 -0
- package/source/img/pwa/siteicon/splash-1136x640.png +0 -0
- package/source/img/pwa/siteicon/splash-1170x2532.png +0 -0
- package/source/img/pwa/siteicon/splash-1179x2556.png +0 -0
- package/source/img/pwa/siteicon/splash-1242x2208.png +0 -0
- package/source/img/pwa/siteicon/splash-1242x2688.png +0 -0
- package/source/img/pwa/siteicon/splash-1248x2778.png +0 -0
- package/source/img/pwa/siteicon/splash-1290x2796.png +0 -0
- package/source/img/pwa/siteicon/splash-1334x750.png +0 -0
- package/source/img/pwa/siteicon/splash-1536x2048.png +0 -0
- package/source/img/pwa/siteicon/splash-1620x2160.png +0 -0
- package/source/img/pwa/siteicon/splash-1668x2224.png +0 -0
- package/source/img/pwa/siteicon/splash-1668x2388.png +0 -0
- package/source/img/pwa/siteicon/splash-1792x828.png +0 -0
- package/source/img/pwa/siteicon/splash-2048x1536.png +0 -0
- package/source/img/pwa/siteicon/splash-2048x2732.png +0 -0
- package/source/img/pwa/siteicon/splash-2160x1620.png +0 -0
- package/source/img/pwa/siteicon/splash-2208x1242.png +0 -0
- package/source/img/pwa/siteicon/splash-2224x1668.png +0 -0
- package/source/img/pwa/siteicon/splash-2388x1668.png +0 -0
- package/source/img/pwa/siteicon/splash-2436x1125.png +0 -0
- package/source/img/pwa/siteicon/splash-2532x1170.png +0 -0
- package/source/img/pwa/siteicon/splash-2556x1179.png +0 -0
- package/source/img/pwa/siteicon/splash-2688x1242.png +0 -0
- package/source/img/pwa/siteicon/splash-2732x2048.png +0 -0
- package/source/img/pwa/siteicon/splash-2778x1248.png +0 -0
- package/source/img/pwa/siteicon/splash-2796x1290.png +0 -0
- package/source/img/pwa/siteicon/splash-640x1136.png +0 -0
- package/source/img/pwa/siteicon/splash-750x1334.png +0 -0
- package/source/img/pwa/siteicon/splash-828x1792.png +0 -0
- package/source/img/solitude-show.jpg +0 -0
- package/source/js/extend/covercolor/local.js +0 -160
- package/source/js/rightside.js +0 -402
- package/source/js/txmap.js +0 -236
- package/source/lib/chuckle-post-ai.js +0 -1
- /package/source/css/_widgets/{aside → _aside}/allinfo.styl +0 -0
- /package/source/css/_widgets/{aside → _aside}/welcome.styl +0 -0
- /package/source/img/{theme/avatar.png → avatar.png} +0 -0
@@ -1,9 +1,15 @@
|
|
1
1
|
#tag
|
2
|
+
+minWidth1300()
|
3
|
+
padding: 4rem 2rem 1rem 2rem
|
4
|
+
|
5
|
+
+maxWidth768()
|
6
|
+
padding 0 1rem
|
7
|
+
|
2
8
|
#tag-page-tags
|
3
9
|
display flex
|
4
10
|
flex-direction row
|
5
11
|
flex-wrap wrap
|
6
|
-
margin 0
|
12
|
+
margin 0
|
7
13
|
margin-bottom 0.5rem
|
8
14
|
position absolute
|
9
15
|
z-index 1
|
@@ -17,6 +23,11 @@
|
|
17
23
|
backdrop-filter saturate(180%) blur(20px)
|
18
24
|
transition .1s ease-out
|
19
25
|
|
26
|
+
&:hover
|
27
|
+
max-height 1000px
|
28
|
+
transition .3s ease-out
|
29
|
+
background var(--sco-maskbgdeep)
|
30
|
+
|
20
31
|
a
|
21
32
|
padding .1rem .5rem
|
22
33
|
margin .25rem .25rem
|
@@ -26,6 +37,8 @@
|
|
26
37
|
border var(--style-border-always)
|
27
38
|
display flex
|
28
39
|
align-items center
|
40
|
+
background var(--sco-card-bg)
|
41
|
+
transition all .3s ease-out 0s
|
29
42
|
|
30
43
|
&.select
|
31
44
|
order -1
|
@@ -42,15 +55,4 @@
|
|
42
55
|
background var(--sco-card-bg)
|
43
56
|
color var(--sco-lighttext)
|
44
57
|
+maxWidth768()
|
45
|
-
display none
|
46
|
-
span.tags-punctuation
|
47
|
-
margin-right 2px
|
48
|
-
font-size .7rem
|
49
|
-
font-weight 700
|
50
|
-
display flex;
|
51
|
-
align-items center
|
52
|
-
transition .3s
|
53
|
-
|
54
|
-
+minWidth1300()
|
55
|
-
#tag
|
56
|
-
padding: 4rem 2rem 1rem 2rem
|
58
|
+
display none
|
@@ -31,6 +31,10 @@ faceback = hexo-config('aside.flip.backface')
|
|
31
31
|
opacity 0
|
32
32
|
transition .3s ease-out
|
33
33
|
|
34
|
+
&:hover
|
35
|
+
#flip-content
|
36
|
+
transform rotateY(180deg)
|
37
|
+
|
34
38
|
#flip-wrapper
|
35
39
|
perspective 1000
|
36
40
|
position relative
|
@@ -38,9 +42,6 @@ faceback = hexo-config('aside.flip.backface')
|
|
38
42
|
height 110px
|
39
43
|
z-index 1
|
40
44
|
|
41
|
-
#flip-wrapper:hover #flip-content
|
42
|
-
transform rotateY(180deg)
|
43
|
-
|
44
45
|
#flip-wrapper #flip-content
|
45
46
|
width 100%
|
46
47
|
height 100%
|
@@ -64,5 +65,6 @@ faceback = hexo-config('aside.flip.backface')
|
|
64
65
|
background url(faceback) center center no-repeat
|
65
66
|
background-size 100%
|
66
67
|
|
67
|
-
|
68
|
-
|
68
|
+
if !hexo-config('aside.flip.darkcolor')
|
69
|
+
[data-theme='dark'] #aside-content .card-widget.card-platform
|
70
|
+
background var(--sco-card-bg)
|
@@ -9,8 +9,15 @@
|
|
9
9
|
flex-direction column
|
10
10
|
align-items flex-start
|
11
11
|
|
12
|
-
#history-baidu
|
13
|
-
|
12
|
+
#history-baidu
|
13
|
+
height 100px
|
14
|
+
overflow hidden
|
15
|
+
> .blog-slider__pagination
|
16
|
+
display none
|
17
|
+
|
18
|
+
.history_swiper-containe
|
19
|
+
.swiper-wrapper
|
20
|
+
height 20px
|
14
21
|
|
15
22
|
.history_slide_time
|
16
23
|
color var(--sco-secondtext)
|
@@ -0,0 +1,96 @@
|
|
1
|
+
#aside-content
|
2
|
+
width 300px
|
3
|
+
|
4
|
+
> .card-widget:first-child
|
5
|
+
transition: .3s
|
6
|
+
border: none
|
7
|
+
box-shadow: none
|
8
|
+
background: var(--sco-main)
|
9
|
+
margin-top: 0
|
10
|
+
|
11
|
+
+minWidth900()
|
12
|
+
padding-left 15px
|
13
|
+
|
14
|
+
+maxWidth1200()
|
15
|
+
display none
|
16
|
+
|
17
|
+
+minWidth1300()
|
18
|
+
padding-left 1rem
|
19
|
+
animation slide-in .6s .3s backwards
|
20
|
+
|
21
|
+
.card-widget.card-power, .card-widget.card-history, .card-widget.card-welcome
|
22
|
+
padding: .4rem .6rem !important
|
23
|
+
|
24
|
+
.item-headline
|
25
|
+
padding-bottom
|
26
|
+
margin-left 8px
|
27
|
+
font-size 1em
|
28
|
+
font-weight 700
|
29
|
+
display flex
|
30
|
+
align-items center
|
31
|
+
|
32
|
+
i
|
33
|
+
font-size 16px
|
34
|
+
max-width 20px
|
35
|
+
|
36
|
+
span
|
37
|
+
margin-left 4px
|
38
|
+
|
39
|
+
+ div, + ul
|
40
|
+
padding 0
|
41
|
+
-webkit-user-select none
|
42
|
+
|
43
|
+
.card-widget
|
44
|
+
box-shadow var(--sco-shadow-border)
|
45
|
+
background var(--sco-card-bg)
|
46
|
+
border var(--style-border)
|
47
|
+
transition 0.3s
|
48
|
+
border-radius 12px
|
49
|
+
position relative
|
50
|
+
overflow hidden
|
51
|
+
margin-top 1rem
|
52
|
+
padding 1rem 1.2rem
|
53
|
+
|
54
|
+
&:hover
|
55
|
+
box-shadow var(--sco-shadow-border)
|
56
|
+
|
57
|
+
> .card-widget
|
58
|
+
&:first-child
|
59
|
+
transition 0.3s
|
60
|
+
border none
|
61
|
+
margin-top 0
|
62
|
+
|
63
|
+
.sticky_layout
|
64
|
+
top calc(60px + 1rem)
|
65
|
+
position sticky
|
66
|
+
transition: top .3s ease 0s
|
67
|
+
|
68
|
+
+minWidth900()
|
69
|
+
html.hide-aside .layout
|
70
|
+
-webkit-box-pack: center
|
71
|
+
justify-content: center
|
72
|
+
>div:first-child
|
73
|
+
width 100%
|
74
|
+
|
75
|
+
html.hide-aside .layout > .aside-content
|
76
|
+
display: none
|
77
|
+
|
78
|
+
@import "toc.styl"
|
79
|
+
|
80
|
+
if "about" in aside
|
81
|
+
@import "info.styl"
|
82
|
+
|
83
|
+
if "allInfo" in aside
|
84
|
+
@import "allinfo.styl"
|
85
|
+
|
86
|
+
if "wlcome" in aside
|
87
|
+
@import "welcome.styl"
|
88
|
+
|
89
|
+
if "history" in aside
|
90
|
+
@import "history.styl"
|
91
|
+
|
92
|
+
if "newestPost" in aside
|
93
|
+
@import "newPost.styl"
|
94
|
+
|
95
|
+
if "flip" in aside
|
96
|
+
@import "flip.styl"
|
@@ -2,11 +2,11 @@
|
|
2
2
|
.card-widget
|
3
3
|
&:hover
|
4
4
|
.avatar-sticker
|
5
|
-
opacity
|
6
|
-
transform
|
5
|
+
opacity 0
|
6
|
+
transform scale(0)
|
7
7
|
|
8
8
|
&.card-recent-post
|
9
|
-
padding
|
9
|
+
padding .4rem .6rem !important
|
10
10
|
|
11
11
|
&.card-info
|
12
12
|
padding 0 !important
|
@@ -43,13 +43,13 @@
|
|
43
43
|
box-shadow var(--sco-shadow-yellow)
|
44
44
|
|
45
45
|
&:hover img
|
46
|
-
transform
|
46
|
+
transform scale(1.03)
|
47
47
|
|
48
48
|
.card-info
|
49
49
|
.avatar-sticker
|
50
50
|
position absolute
|
51
|
-
bottom 2px
|
52
|
-
right 2px
|
51
|
+
bottom -2px
|
52
|
+
right -2px
|
53
53
|
width 33px
|
54
54
|
height 33px
|
55
55
|
line-height 34px
|
@@ -59,14 +59,14 @@
|
|
59
59
|
justify-content center
|
60
60
|
transition .3s .2s
|
61
61
|
transform scale(1)
|
62
|
-
background var(--sco-
|
62
|
+
background var(--sco-card-bg)
|
63
63
|
border-radius 50%
|
64
64
|
|
65
|
-
|
65
|
+
img
|
66
66
|
width 26px
|
67
67
|
height 26px
|
68
68
|
|
69
|
-
|
69
|
+
../ :hover .avatar-sticker
|
70
70
|
opacity 0
|
71
71
|
transform scale(0)
|
72
72
|
|
@@ -74,11 +74,7 @@
|
|
74
74
|
font-size 12px
|
75
75
|
color var(--sco-card-bg)
|
76
76
|
opacity .6
|
77
|
-
line-height 1
|
78
|
-
-webkit-line-clamp 2
|
79
|
-
display -webkit-box
|
80
|
-
overflow hidden
|
81
|
-
-webkit-box-orient vertical
|
77
|
+
line-height 1
|
82
78
|
|
83
79
|
#author-info__sayhi
|
84
80
|
text-align center
|
@@ -94,9 +90,16 @@
|
|
94
90
|
margin auto
|
95
91
|
min-width 100px
|
96
92
|
|
93
|
+
/ [data-theme=dark] &
|
94
|
+
background #00000015
|
95
|
+
color var(--sco-black)
|
96
|
+
|
97
|
+
&:hover
|
98
|
+
color var(--sco-white)
|
99
|
+
|
97
100
|
&:hover
|
98
101
|
background var(--sco-card-bg)
|
99
|
-
color var(--sco-
|
102
|
+
color var(--sco-main)
|
100
103
|
transform scale(1.1)
|
101
104
|
|
102
105
|
.card-info-avatar.is-center
|
@@ -105,19 +108,19 @@
|
|
105
108
|
align-items flex-start
|
106
109
|
|
107
110
|
.avatar-img-group
|
108
|
-
width
|
109
|
-
height
|
110
|
-
right
|
111
|
-
top
|
112
|
-
border-radius
|
113
|
-
position
|
114
|
-
transition
|
115
|
-
transform-origin
|
116
|
-
border
|
117
|
-
|
118
|
-
|
119
|
-
opacity
|
120
|
-
transform
|
111
|
+
width 118px
|
112
|
+
height 118px
|
113
|
+
right calc(50% - 59px)
|
114
|
+
top 90px
|
115
|
+
border-radius 500px
|
116
|
+
position absolute
|
117
|
+
transition cubic-bezier(.69, .39, 0, 1.21) .3s
|
118
|
+
transform-origin bottom
|
119
|
+
border 5px solid var(--sco-card-bg)
|
120
|
+
|
121
|
+
../ :hover .avatar-img-group
|
122
|
+
opacity 0
|
123
|
+
transform scale(0)
|
121
124
|
|
122
125
|
.author-info__name
|
123
126
|
text-align left
|
@@ -133,46 +136,46 @@
|
|
133
136
|
width 100%
|
134
137
|
|
135
138
|
.author-info__description_group
|
136
|
-
position
|
137
|
-
top
|
138
|
-
width
|
139
|
-
left
|
140
|
-
padding
|
141
|
-
opacity
|
142
|
-
transition
|
139
|
+
position absolute
|
140
|
+
top 50px
|
141
|
+
width 100%
|
142
|
+
left 0
|
143
|
+
padding 1.2rem
|
144
|
+
opacity 0
|
145
|
+
transition .3s
|
143
146
|
|
144
|
-
|
145
|
-
opacity
|
147
|
+
../ :hover .author-info__description_group
|
148
|
+
opacity 1
|
146
149
|
|
147
150
|
.author-info__description
|
148
|
-
line-height
|
149
|
-
margin
|
150
|
-
text-align
|
151
|
-
color
|
151
|
+
line-height 1.38
|
152
|
+
margin .3rem 0
|
153
|
+
text-align justify
|
154
|
+
color var(--sco-card-bg)
|
152
155
|
|
153
156
|
b
|
154
|
-
color
|
157
|
+
color var(--sco-card-bg)
|
155
158
|
|
156
159
|
.author-info__description2
|
157
|
-
line-height
|
158
|
-
margin
|
159
|
-
text-align
|
160
|
-
width
|
161
|
-
z-index
|
162
|
-
color
|
160
|
+
line-height 1.38
|
161
|
+
margin .3rem 0
|
162
|
+
text-align justify
|
163
|
+
width 100%
|
164
|
+
z-index 2
|
165
|
+
color var(--sco-card-bg)
|
163
166
|
|
164
167
|
b
|
165
|
-
color
|
168
|
+
color var(--sco-card-bg)
|
166
169
|
|
167
170
|
.author-info__bottom-group
|
168
|
-
display
|
169
|
-
justify-content
|
170
|
-
position
|
171
|
-
padding
|
172
|
-
width
|
173
|
-
left
|
174
|
-
bottom
|
175
|
-
align-items
|
171
|
+
display flex
|
172
|
+
justify-content space-between
|
173
|
+
position absolute
|
174
|
+
padding 1.2rem
|
175
|
+
width 100%
|
176
|
+
left 0
|
177
|
+
bottom 0
|
178
|
+
align-items center
|
176
179
|
|
177
180
|
.card-info-data
|
178
181
|
display table
|
@@ -181,11 +184,11 @@
|
|
181
184
|
table-layout fixed
|
182
185
|
|
183
186
|
> div:nth-child(0) > a > div.headline
|
184
|
-
font-weight
|
187
|
+
font-weight 700
|
185
188
|
|
186
189
|
> .card-info-data-item
|
187
190
|
display table-cell
|
188
|
-
transition
|
191
|
+
transition .3s
|
189
192
|
|
190
193
|
a
|
191
194
|
.headline
|
@@ -202,15 +205,16 @@
|
|
202
205
|
border-radius 5px
|
203
206
|
|
204
207
|
.card-info-social-icons
|
205
|
-
margin
|
206
|
-
display
|
207
|
-
justify-content
|
208
|
-
flex-direction
|
209
|
-
flex-wrap
|
210
|
-
cursor
|
208
|
+
margin 0
|
209
|
+
display flex
|
210
|
+
justify-content flex-start
|
211
|
+
flex-direction row
|
212
|
+
flex-wrap nowrap
|
213
|
+
cursor pointer
|
211
214
|
|
212
215
|
.social-icon
|
213
|
-
margin 0
|
216
|
+
margin 0
|
217
|
+
margin-left 8px
|
214
218
|
color var(--sco-fontcolor)
|
215
219
|
font-size 1.4em
|
216
220
|
cursor pointer
|
@@ -220,19 +224,14 @@
|
|
220
224
|
transition all .3s ease 0s
|
221
225
|
padding 8px
|
222
226
|
border-radius 32px
|
223
|
-
cursor
|
224
|
-
background
|
225
|
-
color
|
226
|
-
|
227
|
-
|
228
|
-
|
229
|
-
|
230
|
-
|
231
|
-
justify-content: center
|
232
|
-
|
233
|
-
+minWidth1300()
|
234
|
-
color var(--sco-white)
|
235
|
-
background var(--sco-black-op)
|
227
|
+
cursor pointer
|
228
|
+
background var(--sco-white-op)
|
229
|
+
color var(--sco-card-bg)
|
230
|
+
width 40px
|
231
|
+
height 40px
|
232
|
+
display flex
|
233
|
+
align-items center
|
234
|
+
justify-content center
|
236
235
|
|
237
236
|
&:hover
|
238
237
|
background var(--sco-white)
|
@@ -240,6 +239,13 @@
|
|
240
239
|
color var(--sco-main)
|
241
240
|
box-shadow none
|
242
241
|
|
242
|
+
/ [data-theme=dark] &
|
243
|
+
background var(--sco-black-op)
|
244
|
+
|
245
|
+
&:hover
|
246
|
+
background-color var(--sco-black)
|
247
|
+
color var(--sco-white)
|
248
|
+
|
243
249
|
img.avatar-img
|
244
250
|
width 118px
|
245
251
|
right 0
|
@@ -251,13 +257,4 @@
|
|
251
257
|
|
252
258
|
[data-theme=dark] #aside-content
|
253
259
|
> .card-widget.card-info
|
254
|
-
border
|
255
|
-
|
256
|
-
.card-info
|
257
|
-
.card-info-social-icons
|
258
|
-
i
|
259
|
-
color: var(--sco-card-bg)
|
260
|
-
|
261
|
-
&:hover
|
262
|
-
background var(--sco-card-bg)
|
263
|
-
color var(--sco-fontcolor)
|
260
|
+
border var(--style-border-always)
|
@@ -1,6 +1,6 @@
|
|
1
1
|
#aside-content
|
2
2
|
.card-toc
|
3
|
-
padding .5rem .5rem
|
3
|
+
padding .5rem .5rem
|
4
4
|
|
5
5
|
&:hover
|
6
6
|
box-shadow var(--sco-shadow-border)
|
@@ -28,22 +28,44 @@
|
|
28
28
|
|
29
29
|
#card-toc
|
30
30
|
+minWidth901()
|
31
|
-
right 0
|
31
|
+
right 0
|
32
32
|
|
33
33
|
.toc-content
|
34
34
|
overflow-y: auto
|
35
35
|
max-height: calc(100vh - 300px)
|
36
|
+
|
37
|
+
* > .toc-item > .toc-child
|
38
|
+
margin-left 10px
|
39
|
+
transition display .3s ease-in-out 0s
|
40
|
+
padding-left 10px
|
41
|
+
|
36
42
|
ol
|
37
43
|
margin 0
|
38
|
-
padding
|
44
|
+
padding-left .4rem
|
39
45
|
|
40
46
|
&ul
|
41
47
|
list-style: none
|
42
48
|
|
49
|
+
> ol
|
50
|
+
padding-left 0
|
51
|
+
|
52
|
+
.toc-child
|
53
|
+
display none
|
54
|
+
|
55
|
+
.toc-child .toc-child
|
56
|
+
display none
|
57
|
+
|
58
|
+
&.active
|
59
|
+
display block
|
60
|
+
|
61
|
+
.toc-item.active > .toc-child
|
62
|
+
display block
|
63
|
+
|
43
64
|
&:hover
|
44
65
|
.toc-content
|
45
66
|
.toc-link:not(.active) span
|
46
|
-
|
67
|
+
if hexo-config('aside.toc.vague')
|
68
|
+
filter: blur(0)
|
47
69
|
opacity: 1
|
48
70
|
|
49
71
|
.toc-item.active .toc-link
|
@@ -73,7 +95,8 @@
|
|
73
95
|
&:not(.active) span
|
74
96
|
opacity .6
|
75
97
|
cursor pointer
|
76
|
-
|
98
|
+
if hexo-config('aside.toc.vague')
|
99
|
+
filter blur(1px)
|
77
100
|
transition .3s
|
78
101
|
|
79
102
|
&:hover
|
@@ -73,23 +73,15 @@ div#post-comment
|
|
73
73
|
color var(--sco-main)
|
74
74
|
|
75
75
|
.comment-tips
|
76
|
-
background-color rgba(103, 194, 58, .
|
76
|
+
background-color rgba(103, 194, 58, 0.13)
|
77
77
|
border var(--style-border-always)
|
78
78
|
border-color var(--sco-green)
|
79
|
-
color var(--sco-
|
80
|
-
border-radius 8px
|
79
|
+
color var(--sco-green)
|
80
|
+
border-radius 8px
|
81
81
|
padding 8px 12px
|
82
|
-
margin-top .5rem
|
82
|
+
margin-top 0.5rem
|
83
83
|
display none
|
84
84
|
width 100%
|
85
|
-
position absolute
|
86
|
-
top 50px
|
87
|
-
z-index 1000
|
88
|
-
opacity 1
|
89
|
-
transition .3s
|
90
|
-
|
91
|
-
&:hover
|
92
|
-
opacity 0
|
93
85
|
|
94
86
|
&.show
|
95
87
|
display flex
|
@@ -285,6 +285,7 @@
|
|
285
285
|
.tk-meta-input
|
286
286
|
.el-input
|
287
287
|
.el-input-group__prepend
|
288
|
+
border-radius 12px 0 0 12px
|
288
289
|
-webkit-user-select none
|
289
290
|
|
290
291
|
@media screen and (max-width: 768px)
|
@@ -317,11 +318,12 @@ img.tk-avatar-img
|
|
317
318
|
.el-input--small
|
318
319
|
.el-input__inner
|
319
320
|
padding 8px
|
321
|
+
.el-input__inner, .el-textarea__inner
|
322
|
+
border-radius 12px
|
320
323
|
|
321
324
|
.el-input.el-input--small.el-input-group.el-input-group--prepend
|
322
325
|
border-radius 12px
|
323
326
|
background var(--sco-secondbg)
|
324
|
-
border var(--style-border-always)
|
325
327
|
|
326
328
|
.el-input.el-input--small.el-input-group.el-input-group--prepend:nth-child(1):before
|
327
329
|
content '输入QQ号会自动获取昵称和头像'
|
@@ -374,13 +376,14 @@ img.tk-avatar-img
|
|
374
376
|
border 1px solid var(--sco-card-border) !important
|
375
377
|
color var(--sco-fontcolor) !important
|
376
378
|
padding-left 8px
|
379
|
+
border-radius 12px
|
377
380
|
|
378
381
|
.page
|
379
382
|
.el-input__inner
|
380
383
|
background var(--sco-card-bg) !important
|
381
384
|
|
382
385
|
.el-input__inner:focus
|
383
|
-
border
|
386
|
+
border none
|
384
387
|
|
385
388
|
.el-textarea__inner
|
386
389
|
background var(--sco-secondbg) !important
|
@@ -9,6 +9,16 @@
|
|
9
9
|
.wl-panel
|
10
10
|
margin 0 !important
|
11
11
|
|
12
|
+
.wl-avatar
|
13
|
+
margin-right 1rem
|
14
|
+
|
15
|
+
a
|
16
|
+
img
|
17
|
+
flex-shrink 0
|
18
|
+
overflow hidden
|
19
|
+
text-align center
|
20
|
+
border-radius 65px
|
21
|
+
|
12
22
|
.wl-footer
|
13
23
|
.wl-info
|
14
24
|
button
|
@@ -39,7 +49,8 @@
|
|
39
49
|
font-weight normal
|
40
50
|
|
41
51
|
.wl-cards
|
42
|
-
font-size 16px!important
|
52
|
+
font-size 16px !important
|
53
|
+
|
43
54
|
.wl-comment-actions
|
44
55
|
button
|
45
56
|
margin-right 15px
|
@@ -47,12 +58,13 @@
|
|
47
58
|
|
48
59
|
&:hover
|
49
60
|
color var(--sco-main)
|
61
|
+
|
50
62
|
.wl-head .wl-nick
|
51
63
|
font-size 20px !important
|
52
64
|
color var(--sco-lighttext)
|
53
65
|
font-weight bolder
|
54
66
|
|
55
|
-
.wl-meta>span
|
67
|
+
.wl-meta > span
|
56
68
|
background var(--sco-gray)
|
57
69
|
border-radius 5px
|
58
70
|
color var(--sco-card-bg)
|
@@ -66,10 +78,14 @@
|
|
66
78
|
overflow hidden
|
67
79
|
text-align center
|
68
80
|
border-radius 2.5rem
|
69
|
-
border
|
81
|
+
border var(--style-border-always)
|
82
|
+
|
83
|
+
.wl-empty
|
84
|
+
font-size 16px
|
85
|
+
color var(--sco-gray)
|
70
86
|
|
71
87
|
[data-waline] a
|
72
|
-
color var(--sco-
|
88
|
+
color var(--sco-fontcolor) !important
|
73
89
|
|
74
90
|
.wl-content pre, .wl-content pre[class*=language-]
|
75
|
-
padding .5rem!important
|
91
|
+
padding .5rem !important
|