hexo-theme-solitude 2.1.16 → 3.0.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/.github/workflows/npm-publish.yml +1 -1
- package/.github/workflows/release.yml +29 -0
- package/LICENSE +10 -18
- package/README.md +3 -1
- package/README_en-US.md +3 -1
- package/README_zh-Hant.md +3 -1
- package/_config.yml +28 -24
- package/languages/en.yml +0 -0
- package/languages/zh-CN.yml +0 -0
- package/languages/zh-TW.yml +0 -0
- package/layout/includes/footer.pug +10 -7
- package/layout/includes/head/config.pug +9 -9
- package/layout/includes/inject/body.pug +5 -5
- package/layout/includes/inject/head.pug +2 -2
- package/layout/includes/page/{says.pug → brevity.pug} +7 -7
- package/layout/includes/page/kit.pug +3 -0
- package/layout/includes/page/links.pug +5 -3
- package/layout/includes/widgets/aside/asideInfoCard.pug +18 -86
- package/layout/includes/widgets/home/banner.pug +8 -2
- package/layout/includes/widgets/home/bbTimeList.pug +4 -4
- package/layout/includes/widgets/page/about/contentinfo.pug +1 -1
- package/layout/includes/widgets/page/{equipment → kit}/content.pug +3 -2
- package/layout/includes/widgets/page/recentcomment/waline.pug +0 -1
- package/layout/index.pug +2 -2
- package/layout/page.pug +4 -6
- package/package.json +10 -10
- package/plugins.yml +1 -1
- package/scripts/event/cdn.js +45 -115
- package/scripts/event/merge_config.js +5 -7
- package/scripts/filter/checkThemeConfig.js +3 -3
- package/scripts/helper/stylus.js +1 -3
- package/source/css/_comments/twikoo.styl +1 -1
- package/source/css/{_layout → _components}/capsule.styl +47 -48
- package/source/css/_components/expire.styl +12 -0
- package/source/css/_components/index.styl +17 -0
- package/source/css/_components/keyboard.styl +59 -0
- package/source/css/_components/pace.styl +39 -0
- package/source/css/_components/rightside.styl +63 -0
- package/source/css/_components/universe.styl +17 -0
- package/source/css/_layout/aside.styl +162 -460
- package/source/css/_layout/footer.styl +7 -10
- package/source/css/_page/_about/contentinfo.styl +2 -2
- package/source/css/_page/_home/home.styl +1 -1
- package/source/css/_page/{says.styl → brevity.styl} +54 -53
- package/source/css/_page/error.styl +1 -1
- package/source/css/_page/index.styl +5 -8
- package/source/css/index.styl +4 -1
- package/source/css/var.styl +2 -0
- package/source/js/main.js +21 -7
- package/source/js/third_party/waterfall.min.js +1 -1
- package/.github/workflows/code-review-bot.yml +0 -28
- package/.github/workflows/issue_close_question.yml +0 -25
- package/layout/includes/page/equipment.pug +0 -2
- package/layout/includes/page/tlink.pug +0 -13
- package/scripts/tags/article.js +0 -56
- package/source/css/_layout/expire.styl +0 -13
- package/source/css/_layout/keyboard.styl +0 -60
- package/source/css/_layout/pace.styl +0 -40
- package/source/css/_layout/rightside.styl +0 -58
- package/source/css/_layout/universe.styl +0 -18
- package/source/css/_page/_gallery/index.styl +0 -38
@@ -0,0 +1,39 @@
|
|
1
|
+
.pace
|
2
|
+
pointer-events: none
|
3
|
+
user-select: none
|
4
|
+
z-index: 2000
|
5
|
+
position: fixed
|
6
|
+
margin: auto
|
7
|
+
top: 4px
|
8
|
+
left: 0
|
9
|
+
right: 0
|
10
|
+
height: 8px
|
11
|
+
border-radius: 8px
|
12
|
+
width: 4rem
|
13
|
+
background: var(--efu-secondbg)
|
14
|
+
border: var(--style-border)
|
15
|
+
overflow: hidden
|
16
|
+
|
17
|
+
&.pace-inactive
|
18
|
+
opacity: 0
|
19
|
+
transition: .3s
|
20
|
+
top: -8px
|
21
|
+
|
22
|
+
.pace-progress
|
23
|
+
opacity: 0
|
24
|
+
transition: .3s ease-in
|
25
|
+
|
26
|
+
.pace-progress
|
27
|
+
box-sizing: border-box
|
28
|
+
transform: translate3d(0, 0, 0)
|
29
|
+
max-width: 200px
|
30
|
+
z-index: 2000
|
31
|
+
display: block
|
32
|
+
position: absolute
|
33
|
+
top: 0
|
34
|
+
right: 100%
|
35
|
+
height: 100%
|
36
|
+
width: 100%
|
37
|
+
background: var(--efu-logo-color)
|
38
|
+
animation: gradient 2s ease infinite
|
39
|
+
background-size: 200%
|
@@ -0,0 +1,63 @@
|
|
1
|
+
|
2
|
+
#rightside
|
3
|
+
position: fixed
|
4
|
+
right: -2.5rem
|
5
|
+
bottom: 20px
|
6
|
+
z-index: 1000
|
7
|
+
opacity: 0
|
8
|
+
transition: all .5s
|
9
|
+
|
10
|
+
&.needEndHide
|
11
|
+
display block !important
|
12
|
+
|
13
|
+
&.hide.needEndHide
|
14
|
+
bottom 0 !important
|
15
|
+
transform: none !important
|
16
|
+
|
17
|
+
button
|
18
|
+
display: block
|
19
|
+
margin-bottom: 5px
|
20
|
+
width: 1.8rem
|
21
|
+
height: 1.8rem
|
22
|
+
border-radius: 50%
|
23
|
+
background-color: var(--btn-bg)
|
24
|
+
color: var(--btn-color)ß
|
25
|
+
text-align: center
|
26
|
+
font-size: 16px
|
27
|
+
|
28
|
+
&.pc
|
29
|
+
display: block
|
30
|
+
+maxWidth900()
|
31
|
+
display: none
|
32
|
+
|
33
|
+
&.mobile
|
34
|
+
display: none
|
35
|
+
|
36
|
+
+maxWidth900()
|
37
|
+
display: block
|
38
|
+
|
39
|
+
&.top
|
40
|
+
&:hover
|
41
|
+
#percent
|
42
|
+
display: none
|
43
|
+
|
44
|
+
i
|
45
|
+
display: block
|
46
|
+
transition: all .3s
|
47
|
+
transform: scale(1.3)
|
48
|
+
|
49
|
+
i
|
50
|
+
transition: all .3s
|
51
|
+
display: none
|
52
|
+
|
53
|
+
&.show
|
54
|
+
display: block
|
55
|
+
|
56
|
+
.rs_hide
|
57
|
+
transform: translate(45px, 0)
|
58
|
+
transition: all .4s
|
59
|
+
opacity 0
|
60
|
+
|
61
|
+
&.show
|
62
|
+
opacity .8
|
63
|
+
transform: translate(0, 0)
|