hexo-theme-solitude 3.0.0 → 3.0.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/.github/FUNDING.yml +3 -4
- package/.github/ISSUE_TEMPLATE/config.yml +3 -3
- package/.github/workflows/npm-publish.yml +1 -1
- package/.github/workflows/release.yml +29 -0
- package/LICENSE +202 -21
- package/README.md +3 -1
- package/README_en-US.md +3 -1
- package/README_zh-Hant.md +3 -1
- package/_config.yml +19 -18
- 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 +4 -4
- package/layout/includes/inject/head.pug +2 -2
- package/layout/includes/page/brevity.pug +7 -7
- package/layout/includes/widgets/aside/asideInfoCard.pug +18 -86
- package/layout/includes/widgets/home/banner.pug +0 -1
- package/layout/includes/widgets/home/bbTimeList.pug +4 -4
- package/layout/includes/widgets/page/about/contentinfo.pug +1 -1
- package/layout/includes/widgets/page/recentcomment/waline.pug +0 -1
- package/layout/index.pug +2 -2
- package/package.json +10 -10
- package/scripts/event/merge_config.js +4 -6
- package/scripts/filter/checkThemeConfig.js +3 -3
- package/scripts/helper/stylus.js +1 -1
- package/source/css/_components/capsule.styl +228 -0
- 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 +6 -9
- package/source/css/_page/_about/contentinfo.styl +1 -1
- package/source/css/_page/_home/home.styl +1 -1
- package/source/css/_page/{says.styl → brevity.styl} +54 -53
- package/source/css/_page/index.styl +2 -2
- package/source/css/index.styl +4 -1
- package/source/css/var.styl +2 -0
- package/source/js/main.js +7 -7
- package/.github/PULL_REQUEST_TEMPLATE.md +0 -28
- package/.github/workflows/issue_invalid.yml +0 -18
- package/.github/workflows/issue_question.yml +0 -30
- package/.github/workflows/issue_wontfix.yml +0 -29
- package/source/css/_layout/capsule.styl +0 -229
- 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
@@ -1,58 +0,0 @@
|
|
1
|
-
if hexo-config('rightside.enable')
|
2
|
-
#rightside
|
3
|
-
position: fixed
|
4
|
-
right: -2.5rem
|
5
|
-
bottom: 20px
|
6
|
-
z-index: 1000
|
7
|
-
opacity: 0
|
8
|
-
transition: all .5s
|
9
|
-
&.needEndHide
|
10
|
-
display block!important
|
11
|
-
&.hide.needEndHide
|
12
|
-
bottom 0!important
|
13
|
-
transform: none !important
|
14
|
-
|
15
|
-
button
|
16
|
-
display: block
|
17
|
-
margin-bottom: 5px
|
18
|
-
width: 1.8rem
|
19
|
-
height: 1.8rem
|
20
|
-
border-radius: 50%
|
21
|
-
background-color: var(--btn-bg)
|
22
|
-
color: var(--btn-color)
|
23
|
-
text-align: center
|
24
|
-
font-size: 16px
|
25
|
-
|
26
|
-
&.pc
|
27
|
-
display: block
|
28
|
-
+maxWidth900()
|
29
|
-
display: none
|
30
|
-
|
31
|
-
&.mobile
|
32
|
-
display: none
|
33
|
-
|
34
|
-
+maxWidth900()
|
35
|
-
display: block
|
36
|
-
|
37
|
-
&.top
|
38
|
-
&:hover
|
39
|
-
#percent
|
40
|
-
display: none
|
41
|
-
i
|
42
|
-
display: block
|
43
|
-
transition: all .3s
|
44
|
-
transform: scale(1.3)
|
45
|
-
i
|
46
|
-
transition: all .3s
|
47
|
-
display: none
|
48
|
-
&.show
|
49
|
-
display: block
|
50
|
-
|
51
|
-
.rs_hide
|
52
|
-
transform: translate(45px, 0)
|
53
|
-
transition: all .4s
|
54
|
-
opacity 0
|
55
|
-
|
56
|
-
&.show
|
57
|
-
opacity .8
|
58
|
-
transform: translate(0, 0)
|
@@ -1,18 +0,0 @@
|
|
1
|
-
// universe
|
2
|
-
if hexo-config('display_mode.universe')
|
3
|
-
#universe
|
4
|
-
display block
|
5
|
-
position fixed
|
6
|
-
margin 0
|
7
|
-
padding 0
|
8
|
-
border 0
|
9
|
-
outline 0
|
10
|
-
left 0
|
11
|
-
top 0
|
12
|
-
width 100%
|
13
|
-
height 100%
|
14
|
-
pointer-events none
|
15
|
-
z-index 1
|
16
|
-
[data-theme=light]
|
17
|
-
#universe
|
18
|
-
display none
|