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,294 +1,52 @@
|
|
1
|
-
// 文章列表
|
2
|
-
#recent-posts
|
3
|
-
position relative
|
4
|
-
|
5
|
-
> .recent-post-item
|
6
|
-
box-shadow var(--sco-shadow-light2black)
|
7
|
-
display flex
|
8
|
-
-webkit-box-orient horizontal
|
9
|
-
-webkit-box-align center
|
10
|
-
align-items center
|
11
|
-
animation slide-in .6s .4s backwards
|
12
|
-
transition all .3s ease 0s
|
13
|
-
overflow hidden
|
14
|
-
height fit-content
|
15
|
-
background var(--sco-card-bg)
|
16
|
-
border-radius 12px
|
17
|
-
cursor pointer
|
18
|
-
border var(--style-border)
|
19
|
-
margin 1rem 0 1rem
|
20
|
-
|
21
|
-
&:hover
|
22
|
-
box-shadow var(--card-hover-box-shadow)
|
23
|
-
border var(--style-border-hover)
|
24
|
-
|
25
|
-
.post_cover img.post_bg
|
26
|
-
transform scale(1.03)
|
27
|
-
transition .3s ease-in-out
|
28
|
-
filter brightness(.85)
|
29
|
-
|
30
|
-
&.ads-wrap
|
31
|
-
display block !important
|
32
|
-
height auto !important
|
33
|
-
|
34
|
-
.post_cover
|
35
|
-
overflow hidden
|
36
|
-
width 45%
|
37
|
-
height 100%
|
38
|
-
-webkit-mask-image -webkit-radial-gradient(center, #fff, #000)
|
39
|
-
|
40
|
-
img.post_bg
|
41
|
-
width 100%
|
42
|
-
height 100%
|
43
|
-
transition all .6s ease 0s
|
44
|
-
object-fit cover
|
45
|
-
|
46
|
-
&:hover
|
47
|
-
transform scale(1.1)
|
48
|
-
|
49
|
-
> .recent-post-info
|
50
|
-
height 174px
|
51
|
-
width 100%
|
52
|
-
cursor pointer
|
53
|
-
position relative
|
54
|
-
padding 0
|
55
|
-
display inline-block
|
56
|
-
overflow hidden
|
57
|
-
|
58
|
-
.recent-post-info-top-tips
|
59
|
-
display: flex
|
60
|
-
margin-top: 20px
|
61
|
-
user-select none
|
62
|
-
|
63
|
-
&.no-cover
|
64
|
-
width 100%
|
65
|
-
|
66
|
-
> .article-title
|
67
|
-
line-height 1.4
|
68
|
-
margin-top 0
|
69
|
-
font-weight 700
|
70
|
-
color var(--sco-fontcolor)
|
71
|
-
margin-bottom 0
|
72
|
-
position absolute
|
73
|
-
width 100%
|
74
|
-
left 0
|
75
|
-
padding 0 40px
|
76
|
-
transition .3s
|
77
|
-
|
78
|
-
&:hover
|
79
|
-
color var(--sco-fontcolor)
|
80
|
-
|
81
|
-
> .article-meta-wrap
|
82
|
-
position absolute
|
83
|
-
bottom 16px
|
84
|
-
transition .3s
|
85
|
-
display flex
|
86
|
-
flex-direction row
|
87
|
-
flex-wrap nowrap
|
88
|
-
justify-content space-between
|
89
|
-
width 100%
|
90
|
-
left 0
|
91
|
-
padding 0 32px
|
92
|
-
white-space nowrap
|
93
|
-
color var(--sco-fontcolor)
|
94
|
-
font-size .7rem
|
95
|
-
|
96
|
-
> .article-meta
|
97
|
-
margin 0 8px 0 0
|
98
|
-
white-space nowrap
|
99
|
-
overflow hidden
|
100
|
-
text-overflow ellipsis
|
101
|
-
display flex
|
102
|
-
|
103
|
-
> .article-meta__tags
|
104
|
-
margin-right 8px
|
105
|
-
padding 0 0.2rem
|
106
|
-
padding-left 0
|
107
|
-
color var(--sco-fontcolor)
|
108
|
-
|
109
|
-
> .post-meta-date
|
110
|
-
right 0
|
111
|
-
text-align right
|
112
|
-
|
113
|
-
i
|
114
|
-
display none
|
115
|
-
|
116
|
-
.article-meta__separator
|
117
|
-
display none
|
118
|
-
|
119
|
-
a:hover
|
120
|
-
background-color var(--sco-none)
|
121
|
-
color var(--sco-lighttext)
|
122
|
-
cursor pointer
|
123
|
-
border-radius 4px
|
124
|
-
|
125
|
-
i
|
126
|
-
margin 0 .4rem 0 0
|
127
|
-
|
128
|
-
.sticky
|
129
|
-
color var(--sco-fontcolor)
|
130
|
-
|
131
|
-
> .content
|
132
|
-
line-height 1.4
|
133
|
-
color var(--sco-secondtext)
|
134
|
-
margin-top 0
|
135
|
-
cursor pointer
|
136
|
-
transition .3s
|
137
|
-
opacity 1
|
138
|
-
position absolute
|
139
|
-
width 100%
|
140
|
-
left 0
|
141
|
-
padding 0 40px
|
142
|
-
-webkit-line-clamp 2
|
143
|
-
|
144
|
-
> div > i .post_cover
|
145
|
-
display none
|
146
|
-
|
147
|
-
.recent-post-item
|
148
|
-
.left_radius a, .right_radius a
|
149
|
-
min-height 100%
|
150
|
-
min-width 100%
|
151
|
-
|
152
|
-
+maxWidth768()
|
153
|
-
#recent-posts > .recent-post-item
|
154
|
-
border-radius 12px 12px 8px 8px
|
155
|
-
|
156
|
-
// 分页按钮
|
157
|
-
.toPageGroup
|
158
|
-
display flex
|
159
|
-
position relative
|
160
|
-
margin 0 .3rem
|
161
|
-
|
162
|
-
a#toPageButton
|
163
|
-
display flex
|
164
|
-
position absolute
|
165
|
-
width 40px
|
166
|
-
height 40px
|
167
|
-
right 0
|
168
|
-
top 0
|
169
|
-
border-radius 8px
|
170
|
-
justify-content center
|
171
|
-
align-items center
|
172
|
-
transition .3s
|
173
|
-
background var(--sco-card-bg)
|
174
|
-
border var(--style-border-always)
|
175
|
-
cursor text
|
176
|
-
pointer-events none
|
177
|
-
|
178
|
-
&:focus-within a#toPageButton, &:hover a#toPageButton
|
179
|
-
width 30px
|
180
|
-
height 30px
|
181
|
-
right 4px
|
182
|
-
top 5px
|
183
|
-
background var(--sco-card-bg)
|
184
|
-
border 1px solid var(--sco-none)
|
185
|
-
border-radius 4px
|
186
|
-
opacity .2
|
187
|
-
|
188
|
-
&:focus-within a#toPageButton.haveValue, &:hover a#toPageButton.haveValue
|
189
|
-
opacity 1
|
190
|
-
cursor pointer
|
191
|
-
|
192
|
-
a#toPageButton.haveValue
|
193
|
-
opacity 1 !important
|
194
|
-
cursor pointer !important
|
195
|
-
pointer-events all
|
196
|
-
|
197
|
-
a#toPageButton.haveValue:hover
|
198
|
-
background var(--sco-theme)
|
199
|
-
color var(--sco-white)
|
200
|
-
|
201
|
-
+maxWidth768()
|
202
|
-
.toPageGroup
|
203
|
-
display none
|
204
|
-
|
205
|
-
+minWidth768()
|
206
|
-
.needEndHide.hide
|
207
|
-
bottom: -200px !important
|
208
|
-
opacity: 0
|
209
|
-
|
210
1
|
.layout
|
211
|
-
display flex
|
212
|
-
margin 0 auto
|
213
|
-
padding 1rem 1.5rem
|
214
|
-
max-width 1200px
|
2
|
+
display: flex
|
3
|
+
margin: 0 auto
|
4
|
+
padding: 1rem 1.5rem
|
5
|
+
max-width: 1200px
|
6
|
+
+maxWidth768()
|
7
|
+
padding 0
|
215
8
|
|
216
9
|
&#content-inner
|
217
|
-
max-width 1400px
|
10
|
+
max-width: 1400px
|
218
11
|
|
219
|
-
|
220
|
-
max-width 1400px
|
12
|
+
/.hide-aside.layout
|
13
|
+
max-width: 1400px
|
221
14
|
|
222
15
|
> div
|
223
|
-
width 100% !important
|
16
|
+
width: 100% !important
|
224
17
|
|
225
18
|
> div:first-child
|
226
19
|
width calc(100% - 300px)
|
227
20
|
|
21
|
+
+maxWidth1200()
|
22
|
+
width 100% !important
|
23
|
+
|
228
24
|
> div:first-child:not(.recent-posts)
|
229
25
|
box-shadow var(--sco-shadow-border)
|
230
26
|
padding 1rem 2rem
|
231
27
|
border-radius 12px
|
232
28
|
width calc(100% - 300px)
|
233
|
-
background
|
234
|
-
border
|
29
|
+
background var(--sco-card-bg);
|
30
|
+
border var(--style-border);
|
235
31
|
align-self flex-start
|
236
32
|
animation slide-in .6s .1s backwards
|
237
33
|
position relative
|
238
34
|
overflow hidden
|
239
35
|
|
240
|
-
|
241
|
-
|
242
|
-
|
243
|
-
align-self: flex-start;
|
244
|
-
animation: slide-in 0.6s 0.1s backwards;
|
245
|
-
position: relative;
|
246
|
-
overflow: hidden;
|
247
|
-
|
248
|
-
+maxWidth768()
|
249
|
-
padding: 0
|
250
|
-
|
251
|
-
> div:first-child:not(.recent-posts)
|
252
|
-
border-radius: 0;
|
253
|
-
padding: 0 1rem !important;
|
254
|
-
box-shadow: none !important;
|
255
|
-
background: var(--sco-background)
|
256
|
-
z-index: 10
|
257
|
-
|
258
|
-
+maxWidth900()
|
259
|
-
flex-direction: column
|
260
|
-
|
261
|
-
+maxWidth1200()
|
262
|
-
> div:first-child
|
263
|
-
width 100% !important
|
264
|
-
|
265
|
-
+minWidth1300()
|
266
|
-
justify-content space-between
|
267
|
-
|
268
|
-
+minWidth2000()
|
269
|
-
max-width 1500px
|
270
|
-
|
271
|
-
&.hide-aside
|
272
|
-
max-width 1300px
|
273
|
-
|
274
|
-
+maxWidth768()
|
275
|
-
.post
|
276
|
-
.layout
|
277
|
-
> #post, #page
|
278
|
-
border-radius 12px 12px 0 0
|
279
|
-
|
280
|
-
&#content-inner
|
281
|
-
background: var(--sco-main)
|
282
|
-
|
283
|
-
.page
|
284
|
-
.layout
|
285
|
-
> #post, #page
|
286
|
-
border-radius: 12px 12px 0 0
|
36
|
+
+maxWidth768()
|
37
|
+
padding 0 1rem
|
38
|
+
background var(--sco-background)
|
287
39
|
|
288
|
-
|
289
|
-
|
40
|
+
span.tags-punctuation::before
|
41
|
+
content: "\e071"
|
42
|
+
font-family: scoicon, serif !important
|
43
|
+
font-size: 12px
|
44
|
+
margin-right: 2px
|
45
|
+
opacity: .4
|
290
46
|
|
291
|
-
|
47
|
+
.hide-aside #page &
|
48
|
+
font-size 16px
|
292
49
|
|
293
|
-
|
294
|
-
|
50
|
+
#post-info &
|
51
|
+
font-size 14px
|
52
|
+
line-height 32px
|
@@ -1,96 +1,89 @@
|
|
1
|
-
[data-theme=dark]
|
2
|
-
|
3
|
-
|
4
|
-
|
5
|
-
|
6
|
-
|
7
|
-
|
8
|
-
|
9
|
-
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
|
26
|
-
|
27
|
-
|
28
|
-
|
29
|
-
|
30
|
-
|
31
|
-
|
32
|
-
|
33
|
-
|
34
|
-
|
35
|
-
|
36
|
-
|
37
|
-
|
38
|
-
|
39
|
-
|
40
|
-
|
41
|
-
|
42
|
-
|
43
|
-
|
44
|
-
&.not-top-img
|
45
|
-
#nav
|
46
|
-
.darkmode_switchbutton
|
47
|
-
color var(--sco-yellow)
|
48
|
-
|
49
|
-
a
|
50
|
-
&.darkmode_switchbutton
|
51
|
-
background var(--sco-orange) !important
|
52
|
-
color var(--sco-white) !important
|
1
|
+
[data-theme=dark]
|
2
|
+
--sco-theme $dark_theme
|
3
|
+
--sco-theme-op $dark_theme_op
|
4
|
+
--sco-theme-op-deep $dark_theme_op_deep
|
5
|
+
--sco-theme-none $dark_theme_none
|
6
|
+
--sco-blue #0084ff
|
7
|
+
--sco-red #ff3842
|
8
|
+
--sco-pink #d44040
|
9
|
+
--sco-green #3e9f50
|
10
|
+
--sco-purple #7a60d2
|
11
|
+
--sco-yellow #ffc93e
|
12
|
+
--sco-yellow-op #ffc93e30
|
13
|
+
--sco-orange #ff953e
|
14
|
+
--sco-fontcolor #f7f7fa
|
15
|
+
--sco-background #18171d
|
16
|
+
--sco-reverse #fff
|
17
|
+
--sco-maskbg rgba(0, 0, 0, 0.6)
|
18
|
+
--sco-maskbgdeep rgba(0, 0, 0, 0.85)
|
19
|
+
--sco-hovertext #0a84ff
|
20
|
+
--sco-ahoverbg #fff
|
21
|
+
--sco-lighttext var(--sco-theme)
|
22
|
+
--sco-secondtext #a1a2b8
|
23
|
+
--sco-scrollbar rgba(200, 200, 223, 0.4)
|
24
|
+
--sco-card-btn-bg #30343f
|
25
|
+
--sco-post-blockquote-bg #000
|
26
|
+
--sco-post-tabs-bg #121212
|
27
|
+
--sco-secondbg #30343f
|
28
|
+
--sco-shadow-nav 0 5px 20px 0px rgba(28, 28, 28, 0.4)
|
29
|
+
--sco-card-bg #1b1c20
|
30
|
+
--sco-card-bg-op var(--sco-white-op)
|
31
|
+
--sco-card-bg-none #1d1b2600
|
32
|
+
--sco-shadow-lightblack 0 5px 12px -5px rgba(102, 68, 68, 0.0)
|
33
|
+
--sco-shadow-light2black 0 5px 12px -5px rgba(102, 68, 68, 0.0)
|
34
|
+
--sco-card-border #3d3d3f
|
35
|
+
--sco-shadow-border 0 8px 16px -4px #00000050
|
36
|
+
--style-border 1px solid var(--sco-card-border)
|
37
|
+
--style-border-always 1px solid var(--sco-card-border)
|
38
|
+
--style-border-hover 1px solid var(--sco-theme)
|
39
|
+
--style-border-hover-always 1px solid var(--sco-theme)
|
40
|
+
--style-border-dashed 1px dashed var(--sco-theme-op)
|
41
|
+
--style-border-forever 2px solid var(--sco-lighttext)
|
42
|
+
--sco-hl-bg $hl_bg_dark
|
43
|
+
--sco-hltools-bg $hltools_bg_dark
|
53
44
|
|
54
45
|
[data-theme=light]
|
55
|
-
|
56
|
-
|
57
|
-
|
58
|
-
|
59
|
-
|
60
|
-
|
61
|
-
|
62
|
-
|
63
|
-
|
64
|
-
|
65
|
-
|
66
|
-
|
67
|
-
|
68
|
-
|
69
|
-
|
70
|
-
|
71
|
-
|
72
|
-
|
73
|
-
|
74
|
-
|
75
|
-
|
76
|
-
|
77
|
-
|
78
|
-
|
79
|
-
|
80
|
-
|
81
|
-
|
82
|
-
|
83
|
-
|
84
|
-
|
85
|
-
|
86
|
-
|
87
|
-
|
88
|
-
|
89
|
-
|
90
|
-
|
91
|
-
|
92
|
-
|
93
|
-
|
94
|
-
|
95
|
-
|
96
|
-
|
46
|
+
--sco-theme $light_theme
|
47
|
+
--sco-theme-op $light_theme_op
|
48
|
+
--sco-theme-op-deep $light_theme_op_deep
|
49
|
+
--sco-theme-op-light #4259ef0d
|
50
|
+
--sco-theme-none $light_theme_none
|
51
|
+
--sco-blue #425aef
|
52
|
+
--sco-red #f04a63
|
53
|
+
--sco-pink #ff7c7c
|
54
|
+
--sco-green #57bd6a
|
55
|
+
--sco-yellow #c28b00
|
56
|
+
--sco-yellow-op #d99c001a
|
57
|
+
--sco-orange #e38100
|
58
|
+
--sco-purple #7a60d2
|
59
|
+
--sco-fontcolor #363636
|
60
|
+
--sco-background #f7f9fe
|
61
|
+
--sco-reverse #000
|
62
|
+
--sco-maskbg rgba(255, 255, 255, 0.6)
|
63
|
+
--sco-maskbgdeep rgba(255, 255, 255, 0.85)
|
64
|
+
--sco-hovertext var(--sco-main)
|
65
|
+
--sco-ahoverbg #f7f7fa
|
66
|
+
--sco-lighttext var(--sco-main)
|
67
|
+
--sco-secondtext rgba(60, 60, 67, 0.8)
|
68
|
+
--sco-scrollbar rgba(60, 60, 67, 0.4)
|
69
|
+
--sco-card-btn-bg #edf0f7
|
70
|
+
--sco-post-blockquote-bg #fafcff
|
71
|
+
--sco-post-tabs-bg #f2f5f8
|
72
|
+
--sco-secondbg #f7f7f9
|
73
|
+
--sco-shadow-nav 0 5px 12px -5px rgba(102, 68, 68, 0.05)
|
74
|
+
--sco-card-bg #fff
|
75
|
+
--sco-card-bg-op var(--sco-black-op)
|
76
|
+
--sco-card-bg-none rgba(255, 255, 255, 0)
|
77
|
+
--sco-shadow-lightblack 0 5px 12px -5px rgba(102, 68, 68, 0.00)
|
78
|
+
--sco-shadow-light2black 0 5px 12px -5px rgba(102, 68, 68, 0.00)
|
79
|
+
--sco-card-border #e3e8f7
|
80
|
+
--sco-shadow-border 0 8px 16px -4px #2c2d300c
|
81
|
+
--style-border 1px solid var(--sco-card-border)
|
82
|
+
--style-border-always 1px solid var(--sco-card-border)
|
83
|
+
--style-border-hover 1px solid var(--sco-main)
|
84
|
+
--style-border-hover-always 1px solid var(--sco-main)
|
85
|
+
--style-border-dashed 1px dashed var(--sco-theme-op)
|
86
|
+
--style-border-forever 2px solid var(--sco-main)
|
87
|
+
--sco-navbg var(--sco-theme-op)
|
88
|
+
--sco-hl-bg $hl_bg_light
|
89
|
+
--sco-hltools-bg $hltools_bg_light
|
@@ -0,0 +1,74 @@
|
|
1
|
+
#category-bar
|
2
|
+
padding: 0.4rem 1rem 0.4rem 0.7rem;
|
3
|
+
background: var(--sco-card-bg);
|
4
|
+
border-radius: 12px;
|
5
|
+
display: flex;
|
6
|
+
white-space: nowrap;
|
7
|
+
overflow: hidden;
|
8
|
+
margin-bottom: 1rem;
|
9
|
+
border: var(--style-border);
|
10
|
+
transition: 0.3s;
|
11
|
+
height: 50px;
|
12
|
+
width: 100%;
|
13
|
+
justify-content: space-between;
|
14
|
+
-webkit-user-select: none;
|
15
|
+
align-items: center;
|
16
|
+
|
17
|
+
+maxWidth1300()
|
18
|
+
margin-bottom 1rem
|
19
|
+
animation slide-in .6s 0s backwards
|
20
|
+
|
21
|
+
+minWidth1300()
|
22
|
+
margin-bottom .75rem
|
23
|
+
&:hover
|
24
|
+
border var(--style-border-hover)
|
25
|
+
box-shadow var(--sco-shadow-main)
|
26
|
+
|
27
|
+
+maxWidth768()
|
28
|
+
margin-bottom 0
|
29
|
+
margin-top 0
|
30
|
+
border-radius 0
|
31
|
+
background var(--sco-background)
|
32
|
+
padding 0.5rem 0
|
33
|
+
border none
|
34
|
+
|
35
|
+
.category-bar-more
|
36
|
+
margin-left 14px
|
37
|
+
font-weight 700
|
38
|
+
|
39
|
+
&:hover
|
40
|
+
color var(--sco-lighttext)
|
41
|
+
|
42
|
+
.category-bar-items
|
43
|
+
white-space nowrap
|
44
|
+
overflow-x scroll
|
45
|
+
overflow-y hidden
|
46
|
+
display flex
|
47
|
+
border-radius 8px
|
48
|
+
align-items center
|
49
|
+
height 30px
|
50
|
+
|
51
|
+
&::-webkit-scrollbar
|
52
|
+
display: none
|
53
|
+
|
54
|
+
.category-bar-item
|
55
|
+
&:hover
|
56
|
+
a
|
57
|
+
background var(--sco-theme)
|
58
|
+
color var(--sco-white)
|
59
|
+
|
60
|
+
a
|
61
|
+
padding .1rem .5rem
|
62
|
+
margin-right 6px
|
63
|
+
font-weight 700
|
64
|
+
border-radius 8px
|
65
|
+
display flex
|
66
|
+
align-items center
|
67
|
+
height 30px
|
68
|
+
|
69
|
+
&.select
|
70
|
+
order -1
|
71
|
+
|
72
|
+
a
|
73
|
+
background var(--sco-theme)
|
74
|
+
color var(--sco-white)
|