Skip to content

Commit a50a639

Browse files
committed
fix: 文章頁有toc的界面出現滾動條
fix: 在layout標簽內的元素,如是position: fixed,其相對定位會更改 #482 #483
1 parent defb1c5 commit a50a639

File tree

5 files changed

+8
-13
lines changed

5 files changed

+8
-13
lines changed

README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
![hexo version](https://img.shields.io/badge/hexo-5.0+-0e83c)
77
![license](https://img.shields.io/github/license/jerryc127/hexo-theme-butterfly?color=FF5531)
88

9-
Demo: 👍 [Butterfly](https://butterfly.js.org/) || 🤞 [JerryC](https://jerryc.me/)
9+
Demo: 👍 [Butterfly](https://butterfly.js.org/) || 🤞 [MYW](https://immyw.com/)
1010

1111
Docs: 📖 [Butterfly Docs](https://butterfly.js.org/posts/21cfbf15/)
1212

README_CN.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
![hexo version](https://img.shields.io/badge/hexo-5.0+-0e83c)
77
![license](https://img.shields.io/github/license/jerryc127/hexo-theme-butterfly?color=FF5531)
88

9-
預覽: 👍 [Butterfly](https://butterfly.js.org/) || 🤞 [JerryC](https://jerryc.me/)
9+
預覽: 👍 [Butterfly](https://butterfly.js.org/) || 🤞 [MYW](https://immyw.com/)
1010

1111
文檔: 📖 [Butterfly Docs](https://butterfly.js.org/posts/21cfbf15/)
1212

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "hexo-theme-butterfly",
3-
"version": "3.6.0",
3+
"version": "3.6.1-b1",
44
"description": "A Simple and Card UI Design theme for Hexo",
55
"main": "package.json",
66
"scripts": {

source/css/_global/function.styl

+4-5
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ minWidth2000()
5353
if hexo-config('enter_transitions')
5454
#content-inner,
5555
#footer
56-
animation: main 1s
56+
animation: bottom-top 1s
5757

5858
#page-header
5959
animation: header-effect 1s
@@ -121,15 +121,14 @@ if hexo-config('avatar.effect') == true
121121
100%
122122
transform: translateY(0)
123123

124-
@keyframes main
124+
@keyframes bottom-top
125125
0%
126126
opacity: 0
127-
transform: translateY(50px)
127+
margin-top: 50px
128128

129129
100%
130-
filter: none
131130
opacity: 1
132-
transform: translateY(0)
131+
margin-top: 0
133132

134133
@keyframes titlescale
135134
0%

source/css/_page/common.styl

+1-5
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
flex-direction: column
99

1010
+maxWidth768()
11-
padding: 1rem 5px !important
11+
padding: 1rem 5px
1212

1313
+minWidth2000()
1414
max-width: 1500px
@@ -46,7 +46,3 @@
4646

4747
& > div
4848
width: 100% !important
49-
50-
// fix chrome enter animation blur
51-
.layout
52-
filter: blur(0)

0 commit comments

Comments
 (0)