hexo-theme-solitude 1.2.6 → 1.3.1
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 +502 -297
- package/languages/en-US.yml +105 -8
- package/languages/zh-CN.yml +98 -1
- package/layout/archive.pug +4 -5
- package/layout/category.pug +4 -5
- package/layout/includes/body/mode.pug +40 -0
- 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 +36 -13
- package/layout/includes/inject/head.pug +30 -20
- package/layout/includes/layout.pug +12 -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 +204 -616
- package/source/css/_layout/index.styl +29 -271
- package/source/css/_mode/index.styl +102 -93
- 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 +306 -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 +135 -171
- 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/universe.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
@@ -0,0 +1,420 @@
|
|
1
|
+
.post
|
2
|
+
#page-header.post-bg
|
3
|
+
height 20rem
|
4
|
+
background-color var(--sco-background)
|
5
|
+
transition .6s
|
6
|
+
overflow hidden
|
7
|
+
|
8
|
+
+minWidth1300()
|
9
|
+
height: 25rem
|
10
|
+
|
11
|
+
+maxWidth768()
|
12
|
+
height 30rem
|
13
|
+
background-color var(--sco-main) !important
|
14
|
+
transition 0s
|
15
|
+
margin-bottom -12px
|
16
|
+
|
17
|
+
&::before
|
18
|
+
transition .3s
|
19
|
+
height 20rem
|
20
|
+
background-color var(--sco-main)
|
21
|
+
opacity 1
|
22
|
+
position absolute
|
23
|
+
top 0
|
24
|
+
left 0
|
25
|
+
display block
|
26
|
+
width 100%
|
27
|
+
content ""
|
28
|
+
|
29
|
+
+minWidth1300()
|
30
|
+
height 25rem
|
31
|
+
opacity 0
|
32
|
+
background-color var(--sco-main)
|
33
|
+
animation slide-in-op .6s 0s forwards
|
34
|
+
|
35
|
+
+maxWidth768()
|
36
|
+
height 15rem
|
37
|
+
|
38
|
+
/*** 顶部背景 ***/
|
39
|
+
|
40
|
+
.post-bg
|
41
|
+
.main-hero-waves-area
|
42
|
+
width 100%
|
43
|
+
position absolute
|
44
|
+
left 0
|
45
|
+
bottom -11px
|
46
|
+
z-index 5
|
47
|
+
|
48
|
+
.waves-area .waves-svg
|
49
|
+
width 100%
|
50
|
+
height 60px
|
51
|
+
|
52
|
+
.parallax > use
|
53
|
+
animation move-forever 30s cubic-bezier(.55, .5, .45, .5) infinite
|
54
|
+
|
55
|
+
.parallax > use:nth-child(1)
|
56
|
+
animation-delay -2s
|
57
|
+
animation-duration 7s
|
58
|
+
fill var(--sco-background)
|
59
|
+
opacity .5
|
60
|
+
|
61
|
+
.parallax > use:nth-child(2)
|
62
|
+
animation-delay -3s
|
63
|
+
animation-duration 10s
|
64
|
+
fill var(--sco-background)
|
65
|
+
opacity .6
|
66
|
+
|
67
|
+
.parallax > use:nth-child(3)
|
68
|
+
animation-delay -4s
|
69
|
+
animation-duration 13s
|
70
|
+
fill var(--sco-background)
|
71
|
+
opacity .7
|
72
|
+
|
73
|
+
.parallax > use:nth-child(4)
|
74
|
+
animation-delay -5s
|
75
|
+
animation-duration 20s
|
76
|
+
fill var(--sco-background)
|
77
|
+
|
78
|
+
+maxWidth768()
|
79
|
+
.main-hero-waves-area
|
80
|
+
display none
|
81
|
+
|
82
|
+
#post-cover
|
83
|
+
width 100%
|
84
|
+
height 100%
|
85
|
+
object-fit cover
|
86
|
+
min-width 50vw
|
87
|
+
min-height 20rem
|
88
|
+
opacity .8
|
89
|
+
|
90
|
+
+minWidth768()
|
91
|
+
min-height 15rem !important
|
92
|
+
height 70% !important
|
93
|
+
opacity 1 !important
|
94
|
+
|
95
|
+
.coverdiv
|
96
|
+
width 70%
|
97
|
+
height 100%
|
98
|
+
position relative
|
99
|
+
overflow hidden
|
100
|
+
margin 0 -20% 0 auto
|
101
|
+
transform rotate(10deg) translateY(-10%) scale(2)
|
102
|
+
filter blur(10px)
|
103
|
+
|
104
|
+
&:after
|
105
|
+
position absolute
|
106
|
+
content ''
|
107
|
+
width 100%
|
108
|
+
height 100%
|
109
|
+
top 0
|
110
|
+
left 0
|
111
|
+
box-shadow 110px -130px 300px 60px var(--sco-main) inset
|
112
|
+
|
113
|
+
+minWidth1300()
|
114
|
+
width 70%
|
115
|
+
height 100%
|
116
|
+
position relative
|
117
|
+
overflow hidden
|
118
|
+
margin 0 -20% 0 auto
|
119
|
+
transform rotate(10deg) translateY(-8%) scale(1.8)
|
120
|
+
filter blur(10px)
|
121
|
+
opacity 0
|
122
|
+
|
123
|
+
&.loaded
|
124
|
+
display block
|
125
|
+
opacity .5
|
126
|
+
animation showCover 1s .3s backwards
|
127
|
+
transform rotate(10deg) translateY(-10%) scale(2)
|
128
|
+
|
129
|
+
+minWidth768()
|
130
|
+
width 70%
|
131
|
+
height 100%
|
132
|
+
position relative
|
133
|
+
overflow hidden
|
134
|
+
margin 0 -20% 0 auto
|
135
|
+
transform rotate(10deg) translateY(-8%) scale(1.8)
|
136
|
+
filter blur(10px)
|
137
|
+
opacity 0
|
138
|
+
|
139
|
+
&.loaded
|
140
|
+
display block
|
141
|
+
opacity .5
|
142
|
+
animation showCover 1s .3s backwards
|
143
|
+
transform rotate(10deg) translateY(-10%) scale(2)
|
144
|
+
|
145
|
+
+maxWidth768()
|
146
|
+
margin 0 0 0 auto
|
147
|
+
transform rotate(0) translateY(0) scale(1)
|
148
|
+
filter blur(0)
|
149
|
+
width 100%
|
150
|
+
height 30rem
|
151
|
+
|
152
|
+
&:after
|
153
|
+
box-shadow 0 0 205px 59px var(--sco-main) inset
|
154
|
+
|
155
|
+
&.loaded
|
156
|
+
display block
|
157
|
+
|
158
|
+
/*** 顶部背景 end ***/
|
159
|
+
|
160
|
+
/*** 顶部信息 ***/
|
161
|
+
|
162
|
+
#post-info
|
163
|
+
top 0
|
164
|
+
position absolute
|
165
|
+
padding 0 3rem
|
166
|
+
margin 0 auto
|
167
|
+
z-index 10
|
168
|
+
color var(--sco-white)
|
169
|
+
max-width 1400px
|
170
|
+
display flex
|
171
|
+
flex-direction column
|
172
|
+
align-items flex-start
|
173
|
+
height calc(100% + 0px)
|
174
|
+
justify-content center
|
175
|
+
animation slide-in .6s 0s backwards
|
176
|
+
width 100%
|
177
|
+
text-align center
|
178
|
+
|
179
|
+
+minWidth1300()
|
180
|
+
height calc(100% + 0px)
|
181
|
+
top 0
|
182
|
+
display flex
|
183
|
+
justify-content center
|
184
|
+
|
185
|
+
+maxWidth900()
|
186
|
+
bottom 1.5rem
|
187
|
+
text-align left
|
188
|
+
|
189
|
+
+maxWidth768()
|
190
|
+
padding 0 6%
|
191
|
+
justify-content normal
|
192
|
+
padding-top 18rem
|
193
|
+
|
194
|
+
.post-title
|
195
|
+
color var(--sco-white)
|
196
|
+
font-weight 700
|
197
|
+
font-size 2.3rem
|
198
|
+
line-height 1.2
|
199
|
+
text-align left
|
200
|
+
margin 1rem 0 1rem 0
|
201
|
+
-webkit-line-clamp 2
|
202
|
+
padding 0
|
203
|
+
overflow hidden
|
204
|
+
|
205
|
+
+maxWidth768()
|
206
|
+
font-size 1.2rem
|
207
|
+
-webkit-line-clamp 3
|
208
|
+
margin .2rem auto
|
209
|
+
text-align center
|
210
|
+
z-index 1
|
211
|
+
|
212
|
+
+minWidth1300()
|
213
|
+
width 1100px
|
214
|
+
font-size 2.6rem !important
|
215
|
+
|
216
|
+
#post-meta
|
217
|
+
margin-top .4rem
|
218
|
+
transition .3s
|
219
|
+
display flex
|
220
|
+
-webkit-user-select none
|
221
|
+
z-index 1
|
222
|
+
color var(--light-grey)
|
223
|
+
font-size 95%
|
224
|
+
|
225
|
+
+maxWidth768()
|
226
|
+
font-size 90%
|
227
|
+
padding 0 2rem
|
228
|
+
|
229
|
+
a
|
230
|
+
color var(--light-grey)
|
231
|
+
transition all .3s ease-out 0s
|
232
|
+
|
233
|
+
i
|
234
|
+
font-size 16px
|
235
|
+
margin-right 4px
|
236
|
+
|
237
|
+
> div
|
238
|
+
text-align left
|
239
|
+
|
240
|
+
.meta-secondline
|
241
|
+
display flex
|
242
|
+
flex-direction row
|
243
|
+
flex-wrap wrap
|
244
|
+
justify-content flex-start
|
245
|
+
align-items center
|
246
|
+
|
247
|
+
+maxWidth768()
|
248
|
+
justify-content center
|
249
|
+
|
250
|
+
> span
|
251
|
+
display: flex
|
252
|
+
align-items center
|
253
|
+
line-height 1
|
254
|
+
|
255
|
+
+maxWidth768()
|
256
|
+
line-height 1.5
|
257
|
+
|
258
|
+
> span:first-child
|
259
|
+
margin-right .8rem
|
260
|
+
|
261
|
+
.post-meta-date
|
262
|
+
margin-right .8rem
|
263
|
+
opacity .6
|
264
|
+
|
265
|
+
.post-meta-wordcount
|
266
|
+
opacity .6
|
267
|
+
margin-right 20px
|
268
|
+
|
269
|
+
+maxWidth768()
|
270
|
+
margin-left 0
|
271
|
+
|
272
|
+
> span.word-count
|
273
|
+
font-weight 800
|
274
|
+
|
275
|
+
> span:nth-child(7)
|
276
|
+
font-weight 800
|
277
|
+
|
278
|
+
.post-meta-separator
|
279
|
+
margin 0 10px
|
280
|
+
|
281
|
+
.post-meta-position
|
282
|
+
margin-right 12px
|
283
|
+
opacity .6
|
284
|
+
|
285
|
+
.post-meta-pv
|
286
|
+
opacity .6
|
287
|
+
margin-right 8px
|
288
|
+
padding 0 8px
|
289
|
+
display flex
|
290
|
+
align-items center
|
291
|
+
border-radius 12px
|
292
|
+
|
293
|
+
&:hover
|
294
|
+
opacity 1
|
295
|
+
background var(--sco-white-op)
|
296
|
+
text-decoration none
|
297
|
+
color var(--sco-white)
|
298
|
+
|
299
|
+
.post-meta-pv-cv
|
300
|
+
margin-left .8rem
|
301
|
+
|
302
|
+
#busuanzi_value_page_pv
|
303
|
+
font-weight 800
|
304
|
+
|
305
|
+
.post-meta-commentcount
|
306
|
+
opacity .6
|
307
|
+
cursor pointer
|
308
|
+
transition .3s
|
309
|
+
border-radius 12px
|
310
|
+
padding 8px
|
311
|
+
|
312
|
+
&:hover
|
313
|
+
opacity 1
|
314
|
+
background var(--sco-white-op)
|
315
|
+
|
316
|
+
.post-meta-wechat
|
317
|
+
margin-right .8rem
|
318
|
+
opacity .6
|
319
|
+
transition .3s
|
320
|
+
cursor pointer
|
321
|
+
|
322
|
+
&:hover
|
323
|
+
opacity 1
|
324
|
+
background var(--sco-white-op)
|
325
|
+
|
326
|
+
#post-firstinfo
|
327
|
+
text-align left
|
328
|
+
display flex
|
329
|
+
white-space nowrap
|
330
|
+
-webkit-user-select none
|
331
|
+
|
332
|
+
+maxWidth768()
|
333
|
+
white-space nowrap
|
334
|
+
margin 0 auto
|
335
|
+
z-index 1
|
336
|
+
|
337
|
+
.tag_share
|
338
|
+
display none
|
339
|
+
|
340
|
+
.meta-firstline
|
341
|
+
display flex
|
342
|
+
align-items center
|
343
|
+
height 32px
|
344
|
+
|
345
|
+
+maxWidth768()
|
346
|
+
margin-bottom .4rem
|
347
|
+
|
348
|
+
.post-meta-original
|
349
|
+
background var(--sco-white-op)
|
350
|
+
color var(--sco-white)
|
351
|
+
padding 0 .5rem
|
352
|
+
font-size .7rem
|
353
|
+
margin auto
|
354
|
+
border-radius 8px
|
355
|
+
font-weight 700
|
356
|
+
line-height 32px
|
357
|
+
width 100%
|
358
|
+
height 100%
|
359
|
+
display flex
|
360
|
+
|
361
|
+
&:hover
|
362
|
+
color var(--sco-main)
|
363
|
+
background var(--sco-white)
|
364
|
+
border-radius 8px
|
365
|
+
|
366
|
+
.tag_share
|
367
|
+
margin-left .5rem
|
368
|
+
|
369
|
+
.post-meta__tag-list
|
370
|
+
display flex
|
371
|
+
flex-direction row
|
372
|
+
align-items center
|
373
|
+
|
374
|
+
+maxWidth768()
|
375
|
+
display none
|
376
|
+
|
377
|
+
&::-webkit-scrollbar
|
378
|
+
display none
|
379
|
+
|
380
|
+
.post-meta__tags
|
381
|
+
color var(--sco-white)
|
382
|
+
opacity .8
|
383
|
+
margin-right 8px
|
384
|
+
padding 0 8px
|
385
|
+
border-radius 12px
|
386
|
+
display flex
|
387
|
+
align-items center
|
388
|
+
flex-direction row
|
389
|
+
|
390
|
+
&:hover
|
391
|
+
color var(--sco-white)
|
392
|
+
opacity 1
|
393
|
+
background var(--sco-white-op)
|
394
|
+
|
395
|
+
+maxWidth768()
|
396
|
+
margin 0 .5rem 0 0
|
397
|
+
|
398
|
+
span.post-meta-categories
|
399
|
+
background-color var(--sco-white-op)
|
400
|
+
border-radius 8px
|
401
|
+
line-height 32px
|
402
|
+
height 32px
|
403
|
+
transition .3s
|
404
|
+
|
405
|
+
&:not(:first-child)
|
406
|
+
margin-left 8px
|
407
|
+
|
408
|
+
&:hover
|
409
|
+
background-color var(--sco-white)
|
410
|
+
|
411
|
+
a.post-meta-categories
|
412
|
+
color var(--sco-white)
|
413
|
+
font-size .7rem
|
414
|
+
width 100%
|
415
|
+
height 100%
|
416
|
+
display flex
|
417
|
+
padding 0 .5rem
|
418
|
+
|
419
|
+
&:hover
|
420
|
+
color var(--sco-main)
|
@@ -0,0 +1,177 @@
|
|
1
|
+
#post #pagination
|
2
|
+
overflow hidden
|
3
|
+
position inherit
|
4
|
+
border var(--style-border-always)
|
5
|
+
+minWidth1300()
|
6
|
+
position fixed
|
7
|
+
width 300px
|
8
|
+
bottom -100px
|
9
|
+
right 20px
|
10
|
+
z-index 1000
|
11
|
+
height fit-content
|
12
|
+
transition cubic-bezier(.42, 0, .3, 1.11) .3s
|
13
|
+
border var(--style-border)
|
14
|
+
border-radius 12px
|
15
|
+
overflow hidden
|
16
|
+
cursor pointer
|
17
|
+
opacity 0
|
18
|
+
+maxWidth768()
|
19
|
+
border-radius 12px
|
20
|
+
border var(--style-border-always)
|
21
|
+
box-shadow var(--sco-shadow-border)
|
22
|
+
|
23
|
+
&.pagination-post
|
24
|
+
margin-top 1.5rem
|
25
|
+
background var(--sco-card-bg)
|
26
|
+
+minWidth768()
|
27
|
+
border-radius 12px
|
28
|
+
margin-top 1rem
|
29
|
+
+minWidth1300()
|
30
|
+
margin-top 0
|
31
|
+
|
32
|
+
.next-post, .prev-post, .next-post.pull-right, .prev-post.pull-left
|
33
|
+
background var(--sco-secondbg)
|
34
|
+
+minWidth1300()
|
35
|
+
background var(--sco-maskbgdeep)
|
36
|
+
backdrop-filter blur(5px)
|
37
|
+
transform translateZ(0)
|
38
|
+
+maxWidth768()
|
39
|
+
background var(--sco-card-bg)
|
40
|
+
|
41
|
+
.next-post.pull-full, .prev-post.pull-full
|
42
|
+
+minWidth1300()
|
43
|
+
width 100%
|
44
|
+
|
45
|
+
.prev-post.pull-left
|
46
|
+
+minWidth1300()
|
47
|
+
display none
|
48
|
+
+maxWidth768()
|
49
|
+
border-bottom var(--style-border-always)
|
50
|
+
|
51
|
+
.next-post.pull-right
|
52
|
+
+minWidth1300()
|
53
|
+
width 100%
|
54
|
+
|
55
|
+
.next-post, .prev-post
|
56
|
+
width 50%
|
57
|
+
+minWidth1300()
|
58
|
+
text-align left
|
59
|
+
position relative
|
60
|
+
+maxWidth768()
|
61
|
+
width 100%
|
62
|
+
|
63
|
+
.label
|
64
|
+
color var(--sco-fontcolor)
|
65
|
+
text-transform uppercase
|
66
|
+
font-size 90%
|
67
|
+
|
68
|
+
+minWidth1300()
|
69
|
+
color var(--sco-fontcolor)
|
70
|
+
font-weight 700
|
71
|
+
font-size 12px
|
72
|
+
margin-bottom 0.5rem
|
73
|
+
border-bottom var(--style-border)
|
74
|
+
line-height 1
|
75
|
+
padding-bottom 0.5rem
|
76
|
+
|
77
|
+
+maxWidth768()
|
78
|
+
text-align left
|
79
|
+
|
80
|
+
a
|
81
|
+
position relative
|
82
|
+
display block
|
83
|
+
overflow hidden
|
84
|
+
height 150px
|
85
|
+
|
86
|
+
+minWidth768()
|
87
|
+
&:hover
|
88
|
+
background var(--sco-main)
|
89
|
+
|
90
|
+
div
|
91
|
+
color: var(--sco-white)
|
92
|
+
|
93
|
+
+maxWidth768()
|
94
|
+
&:hover
|
95
|
+
background var(--sco-none)
|
96
|
+
|
97
|
+
.prev-post
|
98
|
+
.pagination-info
|
99
|
+
text-align left
|
100
|
+
|
101
|
+
a
|
102
|
+
+minWidth768()
|
103
|
+
border-right var(--sco-main-op)
|
104
|
+
border-right-width 1px
|
105
|
+
border-right-style solid
|
106
|
+
|
107
|
+
+minWidth1300()
|
108
|
+
border none
|
109
|
+
height fit-content
|
110
|
+
padding 0.5rem 0
|
111
|
+
|
112
|
+
.next-post
|
113
|
+
.pagination-info
|
114
|
+
text-align right
|
115
|
+
|
116
|
+
+minWidth1300()
|
117
|
+
text-align left
|
118
|
+
|
119
|
+
a
|
120
|
+
+minWidth768()
|
121
|
+
border-left var(--sco-main-op)
|
122
|
+
border-left-width 1px
|
123
|
+
border-left-style solid
|
124
|
+
display flex
|
125
|
+
align-items flex-start
|
126
|
+
height 150px
|
127
|
+
|
128
|
+
+minWidth1300()
|
129
|
+
border none
|
130
|
+
height fit-content
|
131
|
+
padding 0.5rem 0
|
132
|
+
|
133
|
+
.pagination-info
|
134
|
+
position absolute
|
135
|
+
top 50%
|
136
|
+
padding 1rem 2rem
|
137
|
+
width 100%
|
138
|
+
transform translate(0, -50%)
|
139
|
+
+minWidth768()
|
140
|
+
padding 1rem 1.5rem 1rem 1.5rem
|
141
|
+
position relative
|
142
|
+
display flex
|
143
|
+
top 0
|
144
|
+
transform none
|
145
|
+
flex-direction column
|
146
|
+
justify-content center
|
147
|
+
margin auto
|
148
|
+
height 100%
|
149
|
+
|
150
|
+
+minWidth1300()
|
151
|
+
padding 0.5rem 1rem
|
152
|
+
transform none
|
153
|
+
|
154
|
+
.next_info, .prev_info
|
155
|
+
color var(--sco-fontcolor)
|
156
|
+
font-weight 700
|
157
|
+
-webkit-line-clamp 2
|
158
|
+
white-space normal
|
159
|
+
line-height 1.3
|
160
|
+
font-size .9rem
|
161
|
+
display -webkit-box
|
162
|
+
-webkit-box-orient vertical
|
163
|
+
overflow hidden
|
164
|
+
margin-bottom 10px
|
165
|
+
|
166
|
+
+minWidth1300()
|
167
|
+
font-size 14px
|
168
|
+
font-weight 400
|
169
|
+
margin-bottom 0
|
170
|
+
|
171
|
+
+maxWidth768()
|
172
|
+
text-align left
|
173
|
+
|
174
|
+
&.show-window
|
175
|
+
+minWidth1300()
|
176
|
+
bottom 20px
|
177
|
+
opacity 1
|
@@ -0,0 +1,131 @@
|
|
1
|
+
.post-ai
|
2
|
+
background var(--sco-secondbg)
|
3
|
+
border-radius 12px
|
4
|
+
padding 12px
|
5
|
+
line-height 1.3
|
6
|
+
border var(--style-border-always)
|
7
|
+
margin-top 16px;
|
8
|
+
min-height 101.22px
|
9
|
+
box-shadow var(--sco-shadow-border)
|
10
|
+
|
11
|
+
+maxWidth768()
|
12
|
+
margin-top 22px
|
13
|
+
|
14
|
+
.ai-title
|
15
|
+
display flex
|
16
|
+
color var(--sco-lighttext)
|
17
|
+
border-radius 8px
|
18
|
+
align-items center
|
19
|
+
padding 0 12px
|
20
|
+
user-select none
|
21
|
+
|
22
|
+
.ai-title-left
|
23
|
+
display flex
|
24
|
+
align-items center
|
25
|
+
color var(--sco-lighttext)
|
26
|
+
|
27
|
+
i.ai-title-icon
|
28
|
+
width 24px
|
29
|
+
height 24px
|
30
|
+
display flex
|
31
|
+
background var(--sco-lighttext)
|
32
|
+
color var(--sco-card-bg)
|
33
|
+
font-size 14px
|
34
|
+
border-radius 20px
|
35
|
+
justify-content center
|
36
|
+
align-items center
|
37
|
+
|
38
|
+
.ai-title-text
|
39
|
+
font-weight 700
|
40
|
+
margin-left 8px
|
41
|
+
line-height 1
|
42
|
+
font-size 14px
|
43
|
+
|
44
|
+
.ai-tag
|
45
|
+
font-size 12px
|
46
|
+
background-color var(--sco-lighttext)
|
47
|
+
box-shadow var(--sco-shadow-main)
|
48
|
+
color var(--sco-card-bg)
|
49
|
+
font-weight 700
|
50
|
+
border-radius 12px
|
51
|
+
margin-left auto
|
52
|
+
line-height 12px
|
53
|
+
padding 6px 8px
|
54
|
+
display flex
|
55
|
+
align-items center
|
56
|
+
justify-content center
|
57
|
+
cursor pointer
|
58
|
+
transition .3s
|
59
|
+
|
60
|
+
&.loadingAI
|
61
|
+
animation-duration 2s
|
62
|
+
animation-name AILoading
|
63
|
+
animation-iteration-count infinite
|
64
|
+
animation-direction alternate
|
65
|
+
cursor default
|
66
|
+
|
67
|
+
&:hover:not(.loadingAI)
|
68
|
+
background var(--sco-fontcolor)
|
69
|
+
color var(--sco-card-bg)
|
70
|
+
|
71
|
+
.ai-explanation
|
72
|
+
margin-top 12px
|
73
|
+
padding 8px 12px
|
74
|
+
background var(--sco-card-bg)
|
75
|
+
border-radius 8px
|
76
|
+
border var(--style-border-always)
|
77
|
+
font-size 15px
|
78
|
+
line-height 1.4
|
79
|
+
display none
|
80
|
+
text-align left
|
81
|
+
|
82
|
+
.blinking-cursor
|
83
|
+
background-color var(--sco-lighttext)
|
84
|
+
width: 14px
|
85
|
+
height 14px
|
86
|
+
border-radius 16px
|
87
|
+
display inline-block
|
88
|
+
vertical-align middle
|
89
|
+
animation blinking-cursor 2s infinite
|
90
|
+
-webkit-animation blinking-cursor 2s infinite
|
91
|
+
margin-left 4px
|
92
|
+
margin-bottom 3px
|
93
|
+
transform scale(.6)
|
94
|
+
|
95
|
+
.ai-suggestions
|
96
|
+
display flex
|
97
|
+
flex-wrap wrap
|
98
|
+
|
99
|
+
.ai-suggestions-item
|
100
|
+
margin-top 12px
|
101
|
+
padding 8px 12px
|
102
|
+
background var(--sco-card-bg)
|
103
|
+
border-radius 8px 8px 8px 0
|
104
|
+
border var(--style-border-always)
|
105
|
+
font-size 14px
|
106
|
+
line-height 1.4
|
107
|
+
display flex
|
108
|
+
width fit-content
|
109
|
+
margin-right 12px
|
110
|
+
cursor pointer
|
111
|
+
transition .3s
|
112
|
+
|
113
|
+
&:hover
|
114
|
+
background var(--sco-main)
|
115
|
+
color var(--sco-white)
|
116
|
+
|
117
|
+
.ai-bottom
|
118
|
+
width 100%
|
119
|
+
margin-top 12px
|
120
|
+
padding 0 12px
|
121
|
+
display flex
|
122
|
+
|
123
|
+
.ai-tips
|
124
|
+
font-size 12px
|
125
|
+
color var(--sco-secondtext)
|
126
|
+
margin-right auto
|
127
|
+
|
128
|
+
.ai-report
|
129
|
+
font-size 12px
|
130
|
+
color var(--sco-secondtext)
|
131
|
+
white-space nowrap
|