hexo-theme-solitude 1.1.3 → 1.2.2
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/LICENSE +674 -19
- package/_config.yml +244 -193
- package/languages/en-US.yml +1 -0
- package/languages/zh-CN.yml +8 -8
- package/layout/404.pug +24 -0
- package/layout/archive.pug +11 -0
- package/layout/category.pug +16 -0
- package/layout/includes/console.pug +42 -0
- package/layout/includes/footer.pug +71 -0
- package/layout/includes/head/config.pug +79 -0
- package/layout/includes/head/pwa.pug +59 -0
- package/layout/includes/head.pug +29 -0
- package/layout/includes/header.pug +4 -0
- package/layout/includes/inject/body.pug +68 -0
- package/layout/{partial/compoment/inject/head.ejs → includes/inject/head.pug} +61 -35
- package/layout/includes/layout.pug +35 -0
- package/layout/{partial/loading.ejs → includes/loading.pug} +19 -17
- package/layout/includes/mixins/articleSort.pug +14 -0
- package/layout/includes/mixins/pagination.pug +8 -0
- package/layout/includes/nav.pug +22 -0
- package/layout/includes/page/about.pug +10 -0
- package/layout/includes/page/categories.pug +8 -0
- package/layout/includes/page/default.pug +2 -0
- package/layout/includes/page/echarts.pug +7 -0
- package/layout/includes/page/equipment.pug +3 -0
- package/layout/includes/page/links.pug +35 -0
- package/layout/includes/page/moments.pug +5 -0
- package/layout/includes/page/rss.pug +22 -0
- package/layout/includes/page/says.pug +20 -0
- package/layout/includes/page/tags.pug +8 -0
- package/layout/includes/page/tlink.pug +9 -0
- package/layout/includes/recent-posts.pug +9 -0
- package/layout/includes/sidebar.pug +17 -0
- package/layout/includes/widgets/aside/aside.pug +18 -0
- package/layout/includes/widgets/aside/asideAllInfo.pug +8 -0
- package/layout/includes/widgets/aside/asideArchive.pug +9 -0
- package/layout/includes/widgets/aside/asideFlipCard.pug +5 -0
- package/layout/includes/widgets/aside/asideHistory.pug +8 -0
- package/layout/includes/widgets/aside/asideInfoCard.pug +22 -0
- package/layout/includes/widgets/aside/asideNewestPost.pug +16 -0
- package/layout/includes/widgets/aside/asidePower.pug +19 -0
- package/layout/includes/widgets/aside/asideSwitch.pug +26 -0
- package/layout/includes/widgets/aside/asideTag.pug +11 -0
- package/layout/includes/widgets/aside/asideToc.pug +5 -0
- package/layout/includes/widgets/aside/asideWebInfo.pug +40 -0
- package/layout/includes/widgets/aside/asideWelcome.pug +12 -0
- package/layout/includes/widgets/home/banner.pug +16 -0
- package/layout/includes/widgets/home/bbTimeList.pug +8 -0
- package/layout/includes/widgets/home/categoryBar.pug +10 -0
- package/layout/includes/widgets/home/categoryGroup.pug +9 -0
- package/layout/includes/widgets/home/hometop.pug +9 -0
- package/layout/includes/widgets/home/postList.pug +26 -0
- package/layout/includes/widgets/home/rencentPost.pug +26 -0
- package/layout/includes/widgets/home/topGroup.pug +27 -0
- package/layout/includes/widgets/nav/left.pug +10 -0
- package/layout/includes/widgets/nav/menu.pug +16 -0
- package/layout/includes/widgets/nav/right.pug +23 -0
- package/layout/includes/widgets/page/about/authorinfo.pug +12 -0
- package/layout/includes/widgets/page/about/award.pug +34 -0
- package/layout/includes/widgets/page/about/contentinfo.pug +38 -0
- package/layout/includes/widgets/page/about/hobbies.pug +33 -0
- package/layout/includes/widgets/page/about/motto.pug +19 -0
- package/layout/includes/widgets/page/about/other.pug +61 -0
- package/layout/includes/widgets/page/about/personalities.pug +16 -0
- package/layout/includes/widgets/page/about/skillsinfo.pug +41 -0
- package/layout/includes/widgets/page/banner.pug +14 -0
- package/layout/includes/widgets/page/equipment/content.pug +23 -0
- package/layout/includes/widgets/page/links/banner.pug +30 -0
- package/layout/includes/widgets/page/links/linksCard.pug +18 -0
- package/layout/includes/widgets/page/links/linksItem.pug +14 -0
- package/layout/includes/widgets/page/moments/angle.pug +24 -0
- package/layout/includes/widgets/page/moments/index.pug +18 -0
- package/layout/includes/widgets/page/says/saysBottom.pug +11 -0
- package/layout/includes/widgets/page/says/saysContent.pug +6 -0
- package/layout/includes/widgets/page/says/saysFunction.pug +10 -0
- package/layout/includes/widgets/page/says/saysMeta.pug +7 -0
- package/layout/includes/widgets/post/award.pug +48 -0
- package/layout/includes/widgets/post/copyright.pug +27 -0
- package/layout/includes/widgets/post/postMeta.pug +55 -0
- package/layout/includes/widgets/post/postNav.pug +25 -0
- package/layout/includes/widgets/post/wave.pug +9 -0
- package/layout/includes/widgets/randomlink.pug +32 -0
- package/layout/includes/widgets/rightside/index.pug +74 -0
- package/layout/includes/widgets/third-party/comments/comment.pug +14 -0
- package/layout/includes/widgets/third-party/comments/gitalk.pug +0 -0
- package/layout/{partial/compoment/third-party/comments/twikoo.ejs → includes/widgets/third-party/comments/twikoo.pug} +8 -9
- package/layout/includes/widgets/third-party/comments/valine.pug +0 -0
- package/layout/includes/widgets/third-party/music.pug +3 -0
- package/layout/includes/widgets/third-party/pjax.pug +30 -0
- package/layout/includes/widgets/third-party/search/algolia-search.pug +14 -0
- package/layout/includes/widgets/third-party/search/index.pug +7 -0
- package/layout/includes/widgets/third-party/search/local-search.pug +13 -0
- package/layout/index.pug +20 -0
- package/layout/page.pug +32 -0
- package/layout/post.pug +43 -0
- package/layout/tag.pug +19 -0
- package/package.json +4 -4
- package/scripts/event/page.js +20 -2
- package/scripts/filter/checkThemeConfig.js +0 -1
- package/scripts/filter/randomPosts.js +0 -1
- package/scripts/helper/{charts.js → echarts.js} +27 -28
- package/scripts/helper/stylus.js +23 -0
- package/scripts/tags/bvideo.js +1 -36
- package/source/css/_comment/index.styl +121 -0
- package/source/css/_comment/twikoo.styl +515 -0
- package/source/css/_extra/console.styl +354 -0
- package/source/css/_extra/rightmenu.styl +83 -0
- package/source/css/_global/animation.css +756 -0
- package/source/css/_global/function.styl +83 -0
- package/source/css/_global/index.styl +120 -0
- package/source/css/_global/var.styl +1 -0
- package/source/css/_layout/articleSort.styl +199 -0
- package/source/css/_layout/base.styl +392 -0
- package/source/css/_layout/footer.styl +359 -0
- package/source/css/_layout/header.styl +1331 -0
- package/source/css/_layout/index.styl +293 -0
- package/source/css/_layout/sidebar.styl +226 -0
- package/source/css/_mode/index.styl +52 -0
- package/source/css/_page/about.styl +835 -0
- package/source/css/_page/category.styl +141 -0
- package/source/css/_page/equipment.styl +101 -0
- package/source/css/_page/error.styl +161 -0
- package/source/css/_page/home.styl +58 -0
- package/source/css/_page/homeTop.styl +1035 -0
- package/source/css/_page/index.styl +131 -0
- package/source/css/_page/link.styl +433 -0
- package/source/css/_page/moment.styl +179 -0
- package/source/css/_page/rss.styl +87 -0
- package/source/css/_page/says.styl +347 -0
- package/source/css/_page/tag.styl +56 -0
- package/source/css/_post/commentBarrage.styl +149 -0
- package/source/css/_post/externalTags.styl +694 -0
- package/source/css/_post/highlight.styl +96 -0
- package/source/css/_post/index.styl +935 -0
- package/source/css/_post/pagination.styl +467 -0
- package/source/css/_post/postContent.styl +957 -0
- package/source/css/_post/relatedPost.styl +160 -0
- package/source/css/_post/reward.styl +217 -0
- package/source/css/_search/algolia-search.styl +154 -0
- package/source/css/_search/local-search.styl +131 -0
- package/source/css/_widgets/aside/allinfo.styl +134 -0
- package/source/css/_widgets/aside/flip.styl +68 -0
- package/source/css/_widgets/aside/history.styl +35 -0
- package/source/css/_widgets/aside/index.styl +156 -0
- package/source/css/_widgets/aside/info.styl +263 -0
- package/source/css/_widgets/aside/newPost.styl +55 -0
- package/source/css/_widgets/aside/power.styl +90 -0
- package/source/css/_widgets/aside/toc.styl +85 -0
- package/source/css/_widgets/aside/welcome.styl +14 -0
- package/source/css/_widgets/index.styl +3 -0
- package/source/css/index.styl +40 -0
- package/source/js/commentBarrage.js +8 -5
- package/source/js/extend/console/comment.js +60 -63
- package/source/js/extend/covercolor/local.js +1 -1
- package/source/js/extend/search/algolia-search.js +151 -134
- package/source/js/extend/search/local-search.js +137 -162
- package/source/js/main.js +655 -505
- package/source/js/utils.js +168 -145
- package/layout/404.ejs +0 -34
- package/layout/archive.ejs +0 -10
- package/layout/category.ejs +0 -18
- package/layout/index.ejs +0 -20
- package/layout/layout.ejs +0 -30
- package/layout/page/about.ejs +0 -15
- package/layout/page/categories.ejs +0 -12
- package/layout/page/circle.ejs +0 -5
- package/layout/page/echarts.ejs +0 -1
- package/layout/page/equipment.ejs +0 -2
- package/layout/page/links.ejs +0 -46
- package/layout/page/page.ejs +0 -3
- package/layout/page/rss.ejs +0 -39
- package/layout/page/says.ejs +0 -17
- package/layout/page/tags.ejs +0 -12
- package/layout/page/tlink.ejs +0 -11
- package/layout/page.ejs +0 -45
- package/layout/partial/body.ejs +0 -7
- package/layout/partial/compoment/about/authorinfo.ejs +0 -18
- package/layout/partial/compoment/about/award.ejs +0 -59
- package/layout/partial/compoment/about/contentinfo.ejs +0 -33
- package/layout/partial/compoment/about/hobbies.ejs +0 -53
- package/layout/partial/compoment/about/motto.ejs +0 -17
- package/layout/partial/compoment/about/other.ejs +0 -76
- package/layout/partial/compoment/about/personalities.ejs +0 -11
- package/layout/partial/compoment/about/skillsinfo.ejs +0 -62
- package/layout/partial/compoment/aside/aside.ejs +0 -28
- package/layout/partial/compoment/aside/asideAllInfo.ejs +0 -6
- package/layout/partial/compoment/aside/asideArchive.ejs +0 -11
- package/layout/partial/compoment/aside/asideFlipCard.ejs +0 -72
- package/layout/partial/compoment/aside/asideHistory.ejs +0 -49
- package/layout/partial/compoment/aside/asideInfoCard.ejs +0 -39
- package/layout/partial/compoment/aside/asideNewestPost.ejs +0 -31
- package/layout/partial/compoment/aside/asidePower.ejs +0 -31
- package/layout/partial/compoment/aside/asideSwitch.ejs +0 -41
- package/layout/partial/compoment/aside/asideTag.ejs +0 -5
- package/layout/partial/compoment/aside/asideToc.ejs +0 -11
- package/layout/partial/compoment/aside/asideWebInfo.ejs +0 -60
- package/layout/partial/compoment/aside/asideWelcome.ejs +0 -33
- package/layout/partial/compoment/circle/angle.ejs +0 -26
- package/layout/partial/compoment/circle/banner.ejs +0 -11
- package/layout/partial/compoment/circle/content.ejs +0 -19
- package/layout/partial/compoment/dorakika/rightmenu.ejs +0 -100
- package/layout/partial/compoment/equipment/list.ejs +0 -37
- package/layout/partial/compoment/home/homeCategoryBar.ejs +0 -11
- package/layout/partial/compoment/home/postList.ejs +0 -37
- package/layout/partial/compoment/hometop/bbTimeList.ejs +0 -15
- package/layout/partial/compoment/hometop/categoryGroup.ejs +0 -19
- package/layout/partial/compoment/hometop/groupTag.ejs +0 -30
- package/layout/partial/compoment/hometop/topGroup.ejs +0 -41
- package/layout/partial/compoment/inject/body.ejs +0 -70
- package/layout/partial/compoment/links/angle.ejs +0 -26
- package/layout/partial/compoment/links/banner.ejs +0 -42
- package/layout/partial/compoment/links/linksCard.ejs +0 -27
- package/layout/partial/compoment/links/linksItem.ejs +0 -21
- package/layout/partial/compoment/mixins/articleSort.ejs +0 -26
- package/layout/partial/compoment/mixins/pagination.ejs +0 -11
- package/layout/partial/compoment/nav/left.ejs +0 -22
- package/layout/partial/compoment/nav/menu.ejs +0 -25
- package/layout/partial/compoment/nav/right.ejs +0 -42
- package/layout/partial/compoment/post/award.ejs +0 -60
- package/layout/partial/compoment/post/copyright.ejs +0 -39
- package/layout/partial/compoment/post/postMeta.ejs +0 -85
- package/layout/partial/compoment/post/postNav.ejs +0 -41
- package/layout/partial/compoment/post/wave.ejs +0 -14
- package/layout/partial/compoment/says/banner.ejs +0 -10
- package/layout/partial/compoment/says/saysBottom.ejs +0 -18
- package/layout/partial/compoment/says/saysContent.ejs +0 -10
- package/layout/partial/compoment/says/saysFunction.ejs +0 -15
- package/layout/partial/compoment/third-party/comments/comment.ejs +0 -12
- package/layout/partial/compoment/third-party/comments/twikoo_k.ejs +0 -29
- package/layout/partial/compoment/third-party/music.ejs +0 -5
- package/layout/partial/compoment/third-party/pjax.ejs +0 -31
- package/layout/partial/compoment/third-party/search/algolia-search.ejs +0 -20
- package/layout/partial/compoment/third-party/search/index.ejs +0 -10
- package/layout/partial/compoment/third-party/search/local-search.ejs +0 -22
- package/layout/partial/compoment/tlink/banner.ejs +0 -10
- package/layout/partial/console.ejs +0 -68
- package/layout/partial/footer.ejs +0 -109
- package/layout/partial/head.ejs +0 -37
- package/layout/partial/header.ejs +0 -6
- package/layout/partial/hometop.ejs +0 -15
- package/layout/partial/nav.ejs +0 -34
- package/layout/partial/pwa.ejs +0 -40
- package/layout/partial/sidebar.ejs +0 -31
- package/layout/post.ejs +0 -52
- package/layout/tag.ejs +0 -19
- package/scripts/helper/randomLinks.js +0 -16
- package/scripts/helper/themeJsExport.js +0 -79
- package/source/css/commentBarrage.css +0 -174
- package/source/css/custom.css +0 -901
- package/source/css/main.css +0 -16285
- package/source/css/search/algolia-search.css +0 -141
- package/source/css/search/local-search.css +0 -138
- package/source/css/var.css +0 -189
- /package/source/js/{rightmenu.js → rightside.js} +0 -0
@@ -1,174 +0,0 @@
|
|
1
|
-
.comment-barrage {
|
2
|
-
position: fixed;
|
3
|
-
bottom: 0px;
|
4
|
-
right: 20px;
|
5
|
-
padding: 0px 0px 20px 10px;
|
6
|
-
display: flex;
|
7
|
-
flex-direction: column;
|
8
|
-
justify-content: end;
|
9
|
-
align-items: flex-end;
|
10
|
-
z-index: 999;
|
11
|
-
transition: all 0.3s ease 0s;
|
12
|
-
user-select: none;
|
13
|
-
}
|
14
|
-
|
15
|
-
@media screen and (max-width: 768px) {
|
16
|
-
.comment-barrage {
|
17
|
-
display: none !important;
|
18
|
-
}
|
19
|
-
}
|
20
|
-
|
21
|
-
.comment-barrage-item {
|
22
|
-
min-width: 300px;
|
23
|
-
max-width: 300px;
|
24
|
-
width: fit-content;
|
25
|
-
min-height: 80px;
|
26
|
-
max-height: 150px;
|
27
|
-
margin: 4px;
|
28
|
-
padding: 8px 14px;
|
29
|
-
background: var(--sco-maskbgdeep);
|
30
|
-
border-radius: 8px;
|
31
|
-
color: var(--sco-fontcolor);
|
32
|
-
animation: 0.6s cubic-bezier(0.42, 0, 0.3, 1.11) 0s 1 normal none running barrageIn;
|
33
|
-
transition: all 0.3s ease 0s;
|
34
|
-
display: flex;
|
35
|
-
flex-direction: column;
|
36
|
-
border: var(--style-border);
|
37
|
-
backdrop-filter: saturate(180%) blur(20px);
|
38
|
-
position: fixed;
|
39
|
-
box-shadow: var(--sco-shadow-border);
|
40
|
-
overflow: hidden;
|
41
|
-
}
|
42
|
-
|
43
|
-
.comment-barrage-item:hover {
|
44
|
-
border: var(--style-border-hover);
|
45
|
-
box-shadow: var(--sco-shadow-main);
|
46
|
-
}
|
47
|
-
|
48
|
-
.comment-barrage-item.out {
|
49
|
-
opacity: 0;
|
50
|
-
animation: 0.6s cubic-bezier(0.42, 0, 0.3, 1.11) 0s 1 normal none running barrageOut;
|
51
|
-
}
|
52
|
-
|
53
|
-
.comment-barrage-item.hovered {
|
54
|
-
opacity: 0;
|
55
|
-
}
|
56
|
-
|
57
|
-
.comment-barrage-item .comment-barrage-close {
|
58
|
-
color: var(--sco-secondtext);
|
59
|
-
cursor: pointer;
|
60
|
-
line-height: 1;
|
61
|
-
margin: 4px;
|
62
|
-
}
|
63
|
-
|
64
|
-
.comment-barrage-item .comment-barrage-close:hover {
|
65
|
-
color: var(--sco-main);
|
66
|
-
}
|
67
|
-
|
68
|
-
.comment-barrage-item .comment-barrage-close .heofont {
|
69
|
-
color: var(--sco-fontcolor);
|
70
|
-
font-size: 18px !important;
|
71
|
-
}
|
72
|
-
|
73
|
-
.comment-barrage-item pre {
|
74
|
-
display: none;
|
75
|
-
}
|
76
|
-
|
77
|
-
.comment-barrage-item li {
|
78
|
-
display: none;
|
79
|
-
}
|
80
|
-
|
81
|
-
.comment-barrage-item p img:not(.tk-owo-emotion) {
|
82
|
-
display: none;
|
83
|
-
}
|
84
|
-
|
85
|
-
.comment-barrage-item p img.tk-owo-emotion {
|
86
|
-
width: 16px;
|
87
|
-
padding: 0px;
|
88
|
-
margin: 0px;
|
89
|
-
transform: translateY(2px);
|
90
|
-
}
|
91
|
-
|
92
|
-
.comment-barrage-item blockquote {
|
93
|
-
display: none;
|
94
|
-
}
|
95
|
-
|
96
|
-
.comment-barrage-item br {
|
97
|
-
display: none;
|
98
|
-
}
|
99
|
-
|
100
|
-
.comment-barrage-item .barrageHead {
|
101
|
-
height: 30px;
|
102
|
-
padding: 0px 0px 6px;
|
103
|
-
line-height: 30px;
|
104
|
-
font-size: 12px;
|
105
|
-
border-bottom: var(--style-border);
|
106
|
-
display: flex;
|
107
|
-
justify-content: space-between;
|
108
|
-
align-items: center;
|
109
|
-
font-weight: 700;
|
110
|
-
}
|
111
|
-
|
112
|
-
.comment-barrage-item .barrageHead .barrageTitle {
|
113
|
-
color: var(--sco-card-bg);
|
114
|
-
margin-right: 8px;
|
115
|
-
background: var(--sco-fontcolor);
|
116
|
-
line-height: 1;
|
117
|
-
padding: 4px;
|
118
|
-
border-radius: 4px;
|
119
|
-
white-space: nowrap;
|
120
|
-
}
|
121
|
-
|
122
|
-
.comment-barrage-item .barrageHead .barrageTitle:hover {
|
123
|
-
background: var(--sco-main);
|
124
|
-
color: var(--sco-white);
|
125
|
-
}
|
126
|
-
|
127
|
-
.comment-barrage-item .barrageAvatar {
|
128
|
-
width: 16px;
|
129
|
-
height: 16px;
|
130
|
-
margin: 0px 8px 0px auto;
|
131
|
-
border-radius: 50%;
|
132
|
-
background: var(--sco-secondbg);
|
133
|
-
}
|
134
|
-
|
135
|
-
.comment-barrage-item .barrageContent {
|
136
|
-
height: calc(100% - 30px);
|
137
|
-
overflow: hidden;
|
138
|
-
width: fit-content;
|
139
|
-
max-height: 48px;
|
140
|
-
font-size: 14px !important;
|
141
|
-
font-weight: 400 !important;
|
142
|
-
}
|
143
|
-
|
144
|
-
.comment-barrage-item .barrageContent a {
|
145
|
-
pointer-events: none;
|
146
|
-
font-size: 14px !important;
|
147
|
-
}
|
148
|
-
|
149
|
-
.comment-barrage-item .barrageContent::-webkit-scrollbar {
|
150
|
-
height: 0px;
|
151
|
-
width: 4px;
|
152
|
-
}
|
153
|
-
|
154
|
-
.comment-barrage-item .barrageContent::-webkit-scrollbar-button {
|
155
|
-
display: none;
|
156
|
-
}
|
157
|
-
|
158
|
-
.comment-barrage-item p {
|
159
|
-
margin: 8px 0px;
|
160
|
-
line-height: 1.3;
|
161
|
-
overflow: hidden;
|
162
|
-
text-overflow: ellipsis;
|
163
|
-
-webkit-line-clamp: 2;
|
164
|
-
display: -webkit-box;
|
165
|
-
-webkit-box-orient: vertical;
|
166
|
-
font-size: 14px;
|
167
|
-
max-width: 270px;
|
168
|
-
}
|
169
|
-
|
170
|
-
.comment-barrage-item .barrageContent h1, .comment-barrage-item .barrageContent h2, .comment-barrage-item .barrageContent h3, .comment-barrage-item .barrageContent h4 {
|
171
|
-
font-size: 14px !important;
|
172
|
-
font-weight: 400 !important;
|
173
|
-
margin: 8px 0px !important;
|
174
|
-
}
|