hexo-theme-solitude 1.3.0 → 1.4.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/.github/FUNDING.yml +13 -0
- package/.github/ISSUE_TEMPLATE/bug_report.yml +107 -0
- package/.github/ISSUE_TEMPLATE/config.yml +13 -0
- package/.github/ISSUE_TEMPLATE/feature_request.yml +14 -0
- package/.github/workflows/npm-publish.yml +21 -0
- package/CONTRIBUTING.md +0 -0
- package/LICENSE +0 -0
- package/README.md +60 -43
- package/README_EN.md +60 -42
- package/_config.yml +606 -444
- package/languages/en-US.yml +3 -23
- package/languages/zh-CN.yml +3 -23
- package/layout/404.pug +0 -0
- package/layout/archive.pug +2 -3
- package/layout/category.pug +0 -0
- package/layout/includes/body/mode.pug +35 -0
- package/layout/includes/console.pug +3 -3
- package/layout/includes/footer.pug +16 -15
- package/layout/includes/head/config.pug +38 -30
- package/layout/includes/head/opengraph.pug +0 -0
- package/layout/includes/head/pwa.pug +5 -44
- package/layout/includes/head.pug +3 -1
- package/layout/includes/header.pug +0 -0
- package/layout/includes/inject/body.pug +115 -63
- package/layout/includes/inject/head.pug +11 -46
- package/layout/includes/layout.pug +1 -1
- package/layout/includes/loading.pug +0 -0
- package/layout/includes/mixins/articleSort.pug +0 -0
- package/layout/includes/mixins/pagination.pug +0 -0
- package/layout/includes/nav.pug +1 -1
- package/layout/includes/page/about.pug +1 -1
- package/layout/includes/page/categories.pug +0 -0
- package/layout/includes/page/default.pug +0 -0
- package/layout/includes/page/equipment.pug +0 -0
- package/layout/includes/page/links.pug +2 -2
- package/layout/includes/page/music.pug +0 -0
- package/layout/includes/page/not_configured.pug +0 -0
- package/layout/includes/page/rss.pug +3 -3
- package/layout/includes/page/says.pug +15 -15
- package/layout/includes/page/tags.pug +0 -0
- package/layout/includes/page/tlink.pug +1 -0
- package/layout/includes/recent-posts.pug +0 -0
- package/layout/includes/sidebar.pug +0 -0
- package/layout/includes/widgets/aside/aside.pug +6 -6
- package/layout/includes/widgets/aside/asideAllInfo.pug +0 -0
- package/layout/includes/widgets/aside/asideArchive.pug +0 -0
- package/layout/includes/widgets/aside/asideCustom.pug +1 -1
- package/layout/includes/widgets/aside/asideFlipCard.pug +0 -0
- package/layout/includes/widgets/aside/asideInfoCard.pug +3 -3
- package/layout/includes/widgets/aside/asideNewestPost.pug +0 -0
- package/layout/includes/widgets/aside/asideSwitch.pug +0 -4
- package/layout/includes/widgets/aside/asideTag.pug +1 -1
- package/layout/includes/widgets/aside/asideToc.pug +0 -0
- package/layout/includes/widgets/aside/asideWebInfo.pug +2 -2
- package/layout/includes/widgets/home/banner.pug +0 -0
- package/layout/includes/widgets/home/bb/json.pug +22 -0
- package/layout/includes/widgets/home/bb/local.pug +17 -0
- package/layout/includes/widgets/home/bb/memos.pug +25 -0
- package/layout/includes/widgets/home/bbTimeList.pug +11 -7
- package/layout/includes/widgets/home/categoryBar.pug +0 -0
- package/layout/includes/widgets/home/categoryGroup.pug +1 -1
- package/layout/includes/widgets/home/hometop.pug +0 -0
- package/layout/includes/widgets/home/postList.pug +0 -0
- package/layout/includes/widgets/home/topGroup.pug +0 -0
- package/layout/includes/widgets/nav/left.pug +0 -0
- package/layout/includes/widgets/nav/menu.pug +1 -1
- package/layout/includes/widgets/nav/right.pug +6 -5
- package/layout/includes/widgets/page/about/authorinfo.pug +10 -9
- package/layout/includes/widgets/page/about/award.pug +0 -0
- package/layout/includes/widgets/page/about/contentinfo.pug +35 -34
- package/layout/includes/widgets/page/about/hobbies.pug +21 -17
- package/layout/includes/widgets/page/about/motto.pug +17 -16
- package/layout/includes/widgets/page/about/other.pug +16 -16
- package/layout/includes/widgets/page/about/personalities.pug +15 -14
- package/layout/includes/widgets/page/about/skillsinfo.pug +37 -36
- package/layout/includes/widgets/page/about/tenyear.pug +0 -0
- package/layout/includes/widgets/page/banner.pug +9 -3
- package/layout/includes/widgets/page/equipment/content.pug +0 -0
- package/layout/includes/widgets/page/links/banner.pug +14 -12
- package/layout/includes/widgets/page/links/linksCard.pug +4 -6
- package/layout/includes/widgets/page/links/linksDiscn.pug +8 -0
- package/layout/includes/widgets/page/links/linksItem.pug +4 -6
- package/layout/includes/widgets/page/says/json.pug +80 -0
- package/layout/includes/widgets/page/says/local.pug +48 -0
- package/layout/includes/widgets/page/says/memos.pug +109 -0
- package/layout/includes/widgets/post/award.pug +0 -0
- package/layout/includes/widgets/post/copyright.pug +2 -2
- package/layout/includes/widgets/post/post-ai.pug +12 -0
- package/layout/includes/widgets/post/postMeta.pug +2 -2
- package/layout/includes/widgets/post/postNav.pug +0 -0
- package/layout/includes/widgets/post/wave.pug +0 -0
- package/layout/includes/widgets/randomlink.pug +1 -1
- package/layout/includes/widgets/rightside/index.pug +6 -5
- package/layout/includes/widgets/third-party/comments/comment.pug +1 -5
- package/layout/includes/widgets/third-party/comments/twikoo.pug +1 -1
- package/layout/includes/widgets/third-party/comments/waline.pug +9 -11
- package/layout/includes/widgets/third-party/music.pug +1 -1
- package/layout/includes/widgets/third-party/news-comment/newest-comment.pug +6 -0
- package/layout/includes/widgets/third-party/news-comment/twikoo.pug +70 -0
- package/layout/includes/widgets/third-party/news-comment/waline.pug +64 -0
- package/layout/includes/widgets/third-party/pjax.pug +0 -0
- package/layout/includes/widgets/third-party/search/algolia-search.pug +0 -0
- package/layout/includes/widgets/third-party/search/index.pug +8 -7
- package/layout/includes/widgets/third-party/search/local-search.pug +0 -0
- package/layout/index.pug +3 -3
- package/layout/page.pug +0 -4
- package/layout/post.pug +2 -2
- package/layout/tag.pug +0 -0
- package/package.json +18 -9
- package/plugins.yml +109 -0
- package/scripts/event/cdn.js +129 -0
- package/scripts/event/init.js +0 -0
- package/scripts/event/page.js +1 -21
- package/scripts/event/welcome.js +1 -1
- package/scripts/filter/checkThemeConfig.js +0 -0
- package/scripts/filter/default.js +0 -0
- package/scripts/filter/lazyload.js +1 -1
- package/scripts/filter/randomPosts.js +0 -0
- package/scripts/helper/cdn.js +0 -0
- package/scripts/helper/getArchiveLength.js +0 -0
- package/scripts/helper/page.js +0 -0
- package/scripts/helper/related_post.js +0 -0
- package/scripts/helper/stylus.js +0 -0
- package/scripts/tags/button.js +0 -0
- package/scripts/tags/bvideo.js +0 -0
- package/scripts/tags/card.js +0 -0
- package/scripts/tags/checkbox.js +0 -0
- package/scripts/tags/fold.js +0 -0
- package/scripts/tags/image.js +0 -0
- package/scripts/tags/inline-image.js +0 -0
- package/scripts/tags/label.js +0 -0
- package/scripts/tags/link.js +0 -0
- package/scripts/tags/media.js +0 -0
- package/scripts/tags/note.js +0 -0
- package/scripts/tags/span.js +0 -0
- package/scripts/tags/tabs.js +0 -0
- package/scripts/tags/timeline.js +0 -0
- package/scripts/tags/u.js +0 -0
- package/source/css/_global/animation.css +0 -0
- package/source/css/_global/function.styl +42 -42
- package/source/css/_global/index.styl +1 -1
- package/source/css/_global/var.styl +0 -0
- package/source/css/_layout/basic.styl +10 -12
- package/source/css/_layout/header.styl +8 -3
- package/source/css/_layout/index.styl +59 -5
- package/source/css/_mode/index.styl +0 -0
- package/source/css/_page/_home/category-bar.styl +0 -0
- package/source/css/_page/_home/home-top.styl +10 -31
- package/source/css/_page/_home/index.styl +0 -0
- package/source/css/_page/_home/pagination.styl +3 -0
- package/source/css/_page/_home/recent-post.styl +10 -3
- package/source/css/_page/about/index.styl +0 -0
- package/source/css/_page/about/tenyear.styl +0 -0
- package/source/css/_page/about.styl +9 -0
- package/source/css/_page/category.styl +0 -0
- package/source/css/_page/douban.styl +0 -1
- package/source/css/_page/equipment.styl +0 -0
- package/source/css/_page/error.styl +0 -0
- package/source/css/_page/home.styl +0 -0
- package/source/css/_page/index.styl +2 -3
- package/source/css/_page/links.styl +85 -49
- package/source/css/_page/moment.styl +0 -0
- package/source/css/_page/music.styl +1 -1
- package/source/css/_page/rss.styl +0 -0
- package/source/css/_page/says.styl +10 -0
- package/source/css/_page/tag.styl +0 -0
- package/source/css/_widgets/_aside/allinfo.styl +34 -0
- package/source/css/_widgets/_aside/flip.styl +0 -0
- package/source/css/_widgets/_aside/index.styl +1 -7
- package/source/css/_widgets/_aside/info.styl +0 -0
- package/source/css/_widgets/_aside/newPost.styl +0 -0
- package/source/css/_widgets/_aside/toc.styl +0 -0
- package/source/css/_widgets/_aside/welcome.styl +0 -0
- package/source/css/_widgets/_comment/index.styl +0 -0
- package/source/css/_widgets/_comment/twikoo.styl +0 -2
- package/source/css/_widgets/_comment/waline.styl +0 -0
- package/source/css/_widgets/_extra/console.styl +0 -0
- package/source/css/_widgets/_extra/fullpage.styl +0 -0
- package/source/css/_widgets/_extra/music.styl +1 -1
- package/source/css/_widgets/_extra/pace.styl +0 -0
- package/source/css/_widgets/_extra/rightmenu.styl +0 -0
- package/source/css/_widgets/_mixins/article-sort.styl +0 -0
- package/source/css/_widgets/_mixins/footer.styl +1 -2
- package/source/css/_widgets/_mixins/other.styl +0 -4
- package/source/css/_widgets/_mixins/sidebar.styl +0 -0
- package/source/css/_widgets/_post/_highlight/diff.styl +0 -0
- package/source/css/_widgets/_post/_highlight/index.styl +0 -1
- package/source/css/_widgets/_post/_highlight/theme/default.styl +0 -0
- package/source/css/_widgets/_post/_highlight/theme/mac.styl +0 -0
- package/source/css/_widgets/_post/_highlight/theme.styl +0 -0
- package/source/css/_widgets/_post/commentBarrage.styl +0 -0
- package/source/css/_widgets/_post/content.styl +42 -11
- package/source/css/_widgets/_post/copyright.styl +0 -0
- package/source/css/_widgets/_post/index.styl +1 -1
- package/source/css/_widgets/_post/meta.styl +0 -3
- package/source/css/_widgets/_post/pagination.styl +1 -1
- package/source/css/_widgets/_post/postAI.styl +0 -0
- package/source/css/_widgets/_post/relatedPost.styl +0 -0
- package/source/css/_widgets/_post/tools.styl +0 -0
- package/source/css/_widgets/_search/algolia-search.styl +0 -0
- package/source/css/_widgets/_search/local-search.styl +0 -0
- package/source/css/_widgets/_tags/button.styl +0 -0
- package/source/css/_widgets/_tags/bvideo.styl +0 -0
- package/source/css/_widgets/_tags/card.styl +0 -0
- package/source/css/_widgets/_tags/checkbox.styl +0 -0
- package/source/css/_widgets/_tags/fold.styl +0 -0
- package/source/css/_widgets/_tags/image.styl +0 -0
- package/source/css/_widgets/_tags/index.styl +0 -0
- package/source/css/_widgets/_tags/inline-image.styl +0 -0
- package/source/css/_widgets/_tags/label.styl +0 -0
- package/source/css/_widgets/_tags/link.styl +4 -2
- package/source/css/_widgets/_tags/note.styl +0 -0
- package/source/css/_widgets/_tags/span.styl +0 -0
- package/source/css/_widgets/_tags/tabs.styl +0 -0
- package/source/css/_widgets/_tags/timeline.styl +0 -1
- package/source/css/_widgets/index.styl +4 -4
- package/source/css/index.styl +0 -0
- package/source/img/avatar.png +0 -0
- package/source/img/default.png +0 -0
- package/source/img/error_load.png +0 -0
- package/source/js/{extend/comment/twikoo/commentBarrage.js → comment/twikoo_commentBarrage.js} +0 -0
- package/source/js/{extend/comment/waline/commentBarrage.js → comment/waline_commentBarrage.js} +0 -0
- package/source/js/covercolor/api.js +95 -0
- package/source/js/covercolor/local.js +154 -0
- package/source/js/main.js +28 -252
- package/source/js/music.js +0 -0
- package/source/js/rightside.js +404 -0
- package/source/js/{extend/search/algolia-search.js → search/algolia.js} +10 -0
- package/source/js/{extend/search/local-search.js → search/local.js} +24 -2
- package/source/js/utils.js +75 -1
- package/layout/includes/head/fest.pug +0 -22
- package/layout/includes/page/echarts.pug +0 -7
- package/layout/includes/page/moments.pug +0 -4
- package/layout/includes/widgets/aside/asideHistory.pug +0 -8
- package/layout/includes/widgets/aside/asideWelcome.pug +0 -12
- package/layout/includes/widgets/page/moments/angle.pug +0 -19
- package/layout/includes/widgets/page/moments/index.pug +0 -23
- package/layout/includes/widgets/page/says/saysBottom.pug +0 -11
- package/layout/includes/widgets/page/says/saysContent.pug +0 -6
- package/layout/includes/widgets/page/says/saysFunction.pug +0 -10
- package/layout/includes/widgets/page/says/saysMeta.pug +0 -7
- package/layout/includes/widgets/third-party/ai/index.pug +0 -12
- package/layout/includes/widgets/third-party/comments/gitalk.pug +0 -0
- package/layout/includes/widgets/third-party/comments/valine.pug +0 -0
- package/scripts/helper/echarts.js +0 -407
- package/source/css/_widgets/_aside/history.styl +0 -42
- package/source/js/extend/comment/twikoo/twikoo.js +0 -67
- package/source/js/extend/comment/waline/waline.js +0 -60
- package/source/lib/bundle.min.js +0 -27
- package/source/lib/circle.min.js +0 -1
- package/source/lib/cover-color.min.js +0 -7
- package/source/lib/friends_post.js +0 -4
- package/source/lib/lazyload.min.js +0 -1
- package/source/lib/rightside.min.js +0 -1
- package/source/lib/snackbar.min.css +0 -1
- package/source/lib/snackbar.min.js +0 -9
- package/source/lib/txmap.min.js +0 -1
- package/source/lib/view-image.min.js +0 -6
- package/source/lib/waterfall.min.js +0 -1
- /package/source/{lib → js}/sco-ai.min.js +0 -0
@@ -56,10 +56,11 @@
|
|
56
56
|
color var(--sco-theme)
|
57
57
|
|
58
58
|
.post_cover
|
59
|
+
position relative
|
59
60
|
transition 1s
|
60
61
|
width 100%
|
61
|
-
overflow
|
62
|
-
height
|
62
|
+
overflow hidden
|
63
|
+
height 100%
|
63
64
|
|
64
65
|
+minWidth1300()
|
65
66
|
height 225px
|
@@ -102,6 +103,12 @@
|
|
102
103
|
display inline-block
|
103
104
|
overflow hidden
|
104
105
|
|
106
|
+
span.tags-punctuation
|
107
|
+
transition .3s
|
108
|
+
|
109
|
+
&:hover
|
110
|
+
color var(--sco-main)
|
111
|
+
|
105
112
|
.recent-post-info-top
|
106
113
|
position relative
|
107
114
|
transition .3s
|
@@ -154,7 +161,7 @@
|
|
154
161
|
&:visited
|
155
162
|
color var(--sco-card-bg)
|
156
163
|
|
157
|
-
|
164
|
+
/.article-meta-wrap
|
158
165
|
position absolute
|
159
166
|
bottom 16px
|
160
167
|
transition .3s
|
File without changes
|
File without changes
|
@@ -65,6 +65,10 @@
|
|
65
65
|
position relative
|
66
66
|
background var(--sco-secondbg)
|
67
67
|
user-select none
|
68
|
+
transition .3s
|
69
|
+
|
70
|
+
&:hover
|
71
|
+
transform scale(1.1)
|
68
72
|
|
69
73
|
+maxWidth768()
|
70
74
|
width 120px
|
@@ -467,6 +471,10 @@
|
|
467
471
|
top 0
|
468
472
|
left 0
|
469
473
|
|
474
|
+
.author-content-item
|
475
|
+
.card-content
|
476
|
+
z-index 2
|
477
|
+
|
470
478
|
.about-statistic
|
471
479
|
min-height 380px
|
472
480
|
width 39%
|
@@ -534,6 +542,7 @@
|
|
534
542
|
.author-content-item
|
535
543
|
+minWidth1300()
|
536
544
|
animation slide-in .6s 0s backwards
|
545
|
+
|
537
546
|
&.map
|
538
547
|
background var(--site-about-oneself-map--light) no-repeat center
|
539
548
|
min-height 160px
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
@@ -21,7 +21,7 @@ if hexo-config('says.enable')
|
|
21
21
|
|
22
22
|
@import "links.styl"
|
23
23
|
|
24
|
-
if hexo-config('about
|
24
|
+
if hexo-config('about')
|
25
25
|
@import "about.styl"
|
26
26
|
@import "about/index.styl"
|
27
27
|
|
@@ -84,7 +84,6 @@ if hexo-config('music.enable')
|
|
84
84
|
height 100%
|
85
85
|
top 0
|
86
86
|
left 0
|
87
|
-
z-index 2
|
88
87
|
display flex
|
89
88
|
flex-direction column
|
90
89
|
padding 1rem 2rem
|
@@ -156,8 +155,8 @@ if hexo-config('music.enable')
|
|
156
155
|
font-weight 700
|
157
156
|
padding 0 4px
|
158
157
|
border-radius 4px 4px 0 0
|
158
|
+
|
159
159
|
&:hover
|
160
160
|
color var(--sco-white)
|
161
|
-
border-width 0
|
162
161
|
border-radius 4px
|
163
162
|
background var(--sco-main)
|
@@ -3,6 +3,7 @@
|
|
3
3
|
|
4
4
|
.flink#article-container
|
5
5
|
margin-top 1rem
|
6
|
+
|
6
7
|
#friendlink_checkboxs input
|
7
8
|
margin-right 4px
|
8
9
|
|
@@ -14,6 +15,35 @@
|
|
14
15
|
margin 0
|
15
16
|
color var(--sco-secondtext)
|
16
17
|
|
18
|
+
.site-card-tag
|
19
|
+
position absolute
|
20
|
+
top 0
|
21
|
+
left 0
|
22
|
+
padding 4px 8px
|
23
|
+
background-color var(--sco-blue)
|
24
|
+
box-shadow var(--sco-shadow-blue)
|
25
|
+
color var(--sco-white)
|
26
|
+
z-index 1
|
27
|
+
border-radius 12px 0 12px 0
|
28
|
+
transition .3s
|
29
|
+
font-size .6rem
|
30
|
+
overflow hidden
|
31
|
+
|
32
|
+
.light
|
33
|
+
cursor pointer
|
34
|
+
position absolute
|
35
|
+
top 0
|
36
|
+
width 100px
|
37
|
+
height 50px
|
38
|
+
background-image -webkit-linear-gradient(0deg, rgba(255, 255, 255, 0), rgba(255, 255, 255, .5), rgba(255, 255, 255, 0))
|
39
|
+
animation light_tag 4s both infinite
|
40
|
+
|
41
|
+
&.vip
|
42
|
+
background-color var(--sco-vip)
|
43
|
+
|
44
|
+
&.speed
|
45
|
+
background-color var(--sco-speed)
|
46
|
+
|
17
47
|
.site-card-group
|
18
48
|
padding 20px 0
|
19
49
|
display flex
|
@@ -51,25 +81,6 @@
|
|
51
81
|
+maxWidth600()
|
52
82
|
width calc(50% - 16px)
|
53
83
|
|
54
|
-
.site-card-tag
|
55
|
-
position absolute
|
56
|
-
top 0
|
57
|
-
left 0
|
58
|
-
padding 4px 8px
|
59
|
-
background-color var(--sco-blue)
|
60
|
-
box-shadow var(--sco-shadow-blue)
|
61
|
-
color var(--sco-white)
|
62
|
-
z-index 1
|
63
|
-
border-radius 12px 0 12px 0
|
64
|
-
transition .3s
|
65
|
-
font-size .6rem
|
66
|
-
|
67
|
-
&.vip
|
68
|
-
background-color var(--sco-vip)
|
69
|
-
|
70
|
-
&.life
|
71
|
-
background-color var(--sco-life)
|
72
|
-
|
73
84
|
.img
|
74
85
|
-webkit-mask-image -webkit-radial-gradient(center, #fff, #000)
|
75
86
|
border-radius 0
|
@@ -145,6 +156,7 @@
|
|
145
156
|
&:hover
|
146
157
|
border var(--style-border-hover)
|
147
158
|
box-shadow var(--sco-shadow-main)
|
159
|
+
|
148
160
|
.site-card-tag
|
149
161
|
left: -80px
|
150
162
|
|
@@ -154,6 +166,7 @@
|
|
154
166
|
img
|
155
167
|
transform scale(1.1)
|
156
168
|
filter brightness(.3)
|
169
|
+
cursor pointer
|
157
170
|
|
158
171
|
a
|
159
172
|
border-bottom 2px solid var(--sco-none)
|
@@ -188,6 +201,20 @@
|
|
188
201
|
overflow auto
|
189
202
|
text-align center
|
190
203
|
|
204
|
+
&.mini
|
205
|
+
> .flink-list-item
|
206
|
+
height 60px
|
207
|
+
|
208
|
+
a
|
209
|
+
img
|
210
|
+
width 30px
|
211
|
+
height 30px
|
212
|
+
min-width 30px
|
213
|
+
min-height 30px
|
214
|
+
|
215
|
+
.flink-item-desc
|
216
|
+
display none
|
217
|
+
|
191
218
|
> .flink-list-item
|
192
219
|
margin 6px 6px
|
193
220
|
transition .3s
|
@@ -217,13 +244,11 @@
|
|
217
244
|
+maxWidth600()
|
218
245
|
width calc(100% - 12px)
|
219
246
|
|
220
|
-
.site-card-tag
|
221
|
-
display none
|
222
|
-
|
223
247
|
a
|
224
248
|
display flex
|
225
249
|
width 100%
|
226
250
|
height 100%
|
251
|
+
border none
|
227
252
|
align-items center
|
228
253
|
|
229
254
|
.img-alt
|
@@ -251,36 +276,39 @@
|
|
251
276
|
span
|
252
277
|
transition .3s
|
253
278
|
|
254
|
-
|
255
|
-
|
256
|
-
|
257
|
-
|
258
|
-
|
259
|
-
|
260
|
-
|
261
|
-
|
262
|
-
|
263
|
-
|
264
|
-
|
265
|
-
|
266
|
-
|
267
|
-
|
268
|
-
|
269
|
-
|
270
|
-
|
271
|
-
|
272
|
-
|
273
|
-
|
274
|
-
|
275
|
-
|
276
|
-
|
277
|
-
|
278
|
-
|
279
|
-
|
279
|
+
.flink-item-name
|
280
|
+
text-align left
|
281
|
+
font-size 19px
|
282
|
+
line-height 20px
|
283
|
+
color var(--sco-fontcolor)
|
284
|
+
display block
|
285
|
+
padding 0 10px 0 0
|
286
|
+
font-weight 700
|
287
|
+
max-width calc(100% - 12px)
|
288
|
+
overflow hidden
|
289
|
+
text-overflow ellipsis
|
290
|
+
white-space nowrap
|
291
|
+
|
292
|
+
.flink-item-desc
|
293
|
+
white-space normal
|
294
|
+
padding 5px 10px 16px 0
|
295
|
+
color var(--sco-fontcolor)
|
296
|
+
text-align left
|
297
|
+
height 40px
|
298
|
+
text-overflow ellipsis
|
299
|
+
opacity .7
|
300
|
+
display -webkit-box
|
301
|
+
overflow hidden
|
302
|
+
-webkit-box-orient vertical
|
303
|
+
-webkit-line-clamp 2
|
304
|
+
font-size .93em
|
280
305
|
|
281
306
|
&:hover
|
282
307
|
background var(--sco-theme)
|
283
308
|
|
309
|
+
.site-card-tag
|
310
|
+
left: -50px
|
311
|
+
|
284
312
|
a
|
285
313
|
background 0 0
|
286
314
|
|
@@ -302,4 +330,12 @@
|
|
302
330
|
.flink-item-desc
|
303
331
|
color var(--sco-card-bg)
|
304
332
|
overflow hidden
|
305
|
-
width 100%
|
333
|
+
width 100%
|
334
|
+
|
335
|
+
@keyframes light_tag
|
336
|
+
0%
|
337
|
+
transform skewx(0)
|
338
|
+
left -150px
|
339
|
+
99%
|
340
|
+
transform skewx(-25deg)
|
341
|
+
left 50px
|
File without changes
|
File without changes
|
@@ -15,6 +15,9 @@ if hexo-config('says.home_mini')
|
|
15
15
|
align-items center
|
16
16
|
padding .5rem 1rem
|
17
17
|
|
18
|
+
&.more-page
|
19
|
+
margin-bottom 0
|
20
|
+
|
18
21
|
+maxWidth1300()
|
19
22
|
margin-bottom 1rem
|
20
23
|
animation slide-in .6s 0s backwards
|
@@ -360,11 +363,18 @@ if hexo-config('says.enable')
|
|
360
363
|
overflow hidden
|
361
364
|
text-overflow ellipsis
|
362
365
|
transition .3s
|
366
|
+
display flex
|
367
|
+
justify-content center
|
368
|
+
align-items center
|
363
369
|
font-weight 700
|
364
370
|
margin auto
|
365
371
|
cursor pointer
|
366
372
|
white-space nowrap
|
367
373
|
|
374
|
+
.scoicon
|
375
|
+
font-size 1rem
|
376
|
+
margin-left .5rem
|
377
|
+
|
368
378
|
#bbtalk
|
369
379
|
overflow hidden
|
370
380
|
width 100%
|
File without changes
|
@@ -37,6 +37,26 @@
|
|
37
37
|
display none
|
38
38
|
|
39
39
|
.card-tag-cloud
|
40
|
+
max-height 500px
|
41
|
+
overflow hidden
|
42
|
+
position relative
|
43
|
+
|
44
|
+
&.all-tags
|
45
|
+
max-height none
|
46
|
+
|
47
|
+
&:after
|
48
|
+
display none
|
49
|
+
|
50
|
+
&:after
|
51
|
+
content ""
|
52
|
+
position absolute
|
53
|
+
bottom 0
|
54
|
+
left 0
|
55
|
+
right 0
|
56
|
+
height 150px
|
57
|
+
background-image linear-gradient(to top, var(--sco-card-bg), transparent)
|
58
|
+
pointer-events none
|
59
|
+
|
40
60
|
a
|
41
61
|
display inline-block
|
42
62
|
padding 0 0.3rem
|
@@ -62,6 +82,20 @@
|
|
62
82
|
margin-top 8px
|
63
83
|
font-size 16px !important
|
64
84
|
|
85
|
+
a#more-tags-btn
|
86
|
+
width 100%
|
87
|
+
text-align center
|
88
|
+
background var(--sco-secondbg)
|
89
|
+
color var(--sco-fontcolor)
|
90
|
+
border-radius 8px
|
91
|
+
display flex
|
92
|
+
justify-content center
|
93
|
+
font-size 14px
|
94
|
+
user-select none
|
95
|
+
padding 4px 0
|
96
|
+
border var(--style-border-always)
|
97
|
+
box-shadow var(--heo-shadow-border)
|
98
|
+
|
65
99
|
.card-archives
|
66
100
|
ul.card-archive-list
|
67
101
|
margin 0
|
File without changes
|
@@ -18,11 +18,8 @@
|
|
18
18
|
padding-left 1rem
|
19
19
|
animation slide-in .6s .3s backwards
|
20
20
|
|
21
|
-
.card-widget.card-power, .card-widget.card-history, .card-widget.card-welcome
|
22
|
-
padding: .4rem .6rem !important
|
23
|
-
|
24
21
|
.item-headline
|
25
|
-
padding-bottom
|
22
|
+
padding-bottom 0
|
26
23
|
margin-left 8px
|
27
24
|
font-size 1em
|
28
25
|
font-weight 700
|
@@ -86,9 +83,6 @@ if "allInfo" in aside
|
|
86
83
|
if "wlcome" in aside
|
87
84
|
@import "welcome.styl"
|
88
85
|
|
89
|
-
if "history" in aside
|
90
|
-
@import "history.styl"
|
91
|
-
|
92
86
|
if "newestPost" in aside
|
93
87
|
@import "newPost.styl"
|
94
88
|
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
@@ -6,7 +6,6 @@
|
|
6
6
|
margin-top .5rem
|
7
7
|
|
8
8
|
+maxWidth768()
|
9
|
-
background linear-gradient(180deg, var(--sco-background) 0, var(--sco-card-bg) 25%)
|
10
9
|
margin-top 0
|
11
10
|
|
12
11
|
&:before
|
@@ -238,7 +237,7 @@
|
|
238
237
|
position fixed
|
239
238
|
border-radius 12px
|
240
239
|
transition .3s
|
241
|
-
z-index
|
240
|
+
z-index 8
|
242
241
|
user-select none
|
243
242
|
backdrop-filter saturate(180%) blur(20px)
|
244
243
|
transform translateZ(0)
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
@@ -16,6 +16,9 @@
|
|
16
16
|
line-height 1
|
17
17
|
font-size .8rem
|
18
18
|
|
19
|
+
#page &
|
20
|
+
display none
|
21
|
+
|
19
22
|
&::before
|
20
23
|
content "\e082"
|
21
24
|
font-family scoicon
|
@@ -56,17 +59,26 @@
|
|
56
59
|
max-width 90%
|
57
60
|
max-height 450px
|
58
61
|
|
59
|
-
a
|
62
|
+
a
|
60
63
|
border-bottom 2px dotted var(--sco-lighttext)
|
61
64
|
color var(--sco-fontcolor)
|
62
65
|
font-weight 700
|
63
66
|
padding 0 4px
|
64
67
|
border-radius 4px 4px 0 0
|
65
68
|
|
66
|
-
|
69
|
+
if hexo-config('fancybox')
|
70
|
+
&.fancybox
|
71
|
+
border-bottom 0
|
72
|
+
padding 0
|
73
|
+
margin auto
|
74
|
+
display contents
|
75
|
+
width fit-content
|
76
|
+
-webkit-user-select none
|
77
|
+
|
78
|
+
&:not(.headerlink):hover
|
79
|
+
border 0
|
67
80
|
text-decoration none
|
68
81
|
background var(--sco-main)
|
69
|
-
border-width 0
|
70
82
|
color var(--sco-white)
|
71
83
|
border-radius 4px
|
72
84
|
|
@@ -95,6 +107,7 @@
|
|
95
107
|
padding 0.2em 0.2em 0.2em 1.4em
|
96
108
|
|
97
109
|
&:before
|
110
|
+
margin 0
|
98
111
|
top 0.78em
|
99
112
|
width 0.42em
|
100
113
|
height 0.42em
|
@@ -106,22 +119,40 @@
|
|
106
119
|
background var(--sco-lighttext)
|
107
120
|
|
108
121
|
ol
|
122
|
+
> li:before
|
123
|
+
margin-top .65em
|
124
|
+
width 1.45em
|
125
|
+
height 1.45em
|
126
|
+
border-radius .725em
|
127
|
+
text-align center
|
128
|
+
font-size .85em
|
129
|
+
color var(--sco-white)
|
130
|
+
line-height 1.45em
|
131
|
+
|
132
|
+
ul li
|
133
|
+
line-height 1.7
|
134
|
+
|
109
135
|
> li
|
110
136
|
|
111
137
|
&:not(.tab)
|
112
138
|
padding .2em .2em .2em 1.8em
|
113
139
|
|
114
140
|
&:before
|
115
|
-
margin-top .65em
|
116
|
-
width 1.45em
|
117
|
-
height 1.45em
|
118
|
-
border-radius .725em
|
119
141
|
content counter(li)
|
120
142
|
counter-increment li 1
|
121
|
-
|
122
|
-
|
123
|
-
|
124
|
-
|
143
|
+
|
144
|
+
> ol
|
145
|
+
> li
|
146
|
+
&:before
|
147
|
+
content counter(li, lower-alpha)
|
148
|
+
counter-increment li
|
149
|
+
|
150
|
+
> ol
|
151
|
+
> li
|
152
|
+
&:before
|
153
|
+
content counter(li, lower-roman)
|
154
|
+
counter-increment li
|
155
|
+
|
125
156
|
|
126
157
|
// 文章内容样式
|
127
158
|
|
File without changes
|
@@ -43,7 +43,6 @@
|
|
43
43
|
position absolute
|
44
44
|
left 0
|
45
45
|
bottom -11px
|
46
|
-
z-index 5
|
47
46
|
|
48
47
|
.waves-area .waves-svg
|
49
48
|
width 100%
|
@@ -164,7 +163,6 @@
|
|
164
163
|
position absolute
|
165
164
|
padding 0 3rem
|
166
165
|
margin 0 auto
|
167
|
-
z-index 10
|
168
166
|
color var(--sco-white)
|
169
167
|
max-width 1400px
|
170
168
|
display flex
|
@@ -218,7 +216,6 @@
|
|
218
216
|
transition .3s
|
219
217
|
display flex
|
220
218
|
-webkit-user-select none
|
221
|
-
z-index 1
|
222
219
|
color var(--light-grey)
|
223
220
|
font-size 95%
|
224
221
|
|