mirror of
https://github.com/jerryc127/hexo-theme-butterfly.git
synced 2025-09-15 12:58:48 +08:00
fix: 文章頁有toc的界面出現滾動條
fix: 在layout標簽內的元素,如是position: fixed,其相對定位會更改 #482 #483
This commit is contained in:
parent
defb1c5f31
commit
a50a63905d
@ -6,7 +6,7 @@
|
||||

|
||||

|
||||
|
||||
Demo: 👍 [Butterfly](https://butterfly.js.org/) || 🤞 [JerryC](https://jerryc.me/)
|
||||
Demo: 👍 [Butterfly](https://butterfly.js.org/) || 🤞 [MYW](https://immyw.com/)
|
||||
|
||||
Docs: 📖 [Butterfly Docs](https://butterfly.js.org/posts/21cfbf15/)
|
||||
|
||||
|
||||
@ -6,7 +6,7 @@
|
||||

|
||||

|
||||
|
||||
預覽: 👍 [Butterfly](https://butterfly.js.org/) || 🤞 [JerryC](https://jerryc.me/)
|
||||
預覽: 👍 [Butterfly](https://butterfly.js.org/) || 🤞 [MYW](https://immyw.com/)
|
||||
|
||||
文檔: 📖 [Butterfly Docs](https://butterfly.js.org/posts/21cfbf15/)
|
||||
|
||||
|
||||
@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "hexo-theme-butterfly",
|
||||
"version": "3.6.0",
|
||||
"version": "3.6.1-b1",
|
||||
"description": "A Simple and Card UI Design theme for Hexo",
|
||||
"main": "package.json",
|
||||
"scripts": {
|
||||
|
||||
@ -53,7 +53,7 @@ minWidth2000()
|
||||
if hexo-config('enter_transitions')
|
||||
#content-inner,
|
||||
#footer
|
||||
animation: main 1s
|
||||
animation: bottom-top 1s
|
||||
|
||||
#page-header
|
||||
animation: header-effect 1s
|
||||
@ -121,15 +121,14 @@ if hexo-config('avatar.effect') == true
|
||||
100%
|
||||
transform: translateY(0)
|
||||
|
||||
@keyframes main
|
||||
@keyframes bottom-top
|
||||
0%
|
||||
opacity: 0
|
||||
transform: translateY(50px)
|
||||
margin-top: 50px
|
||||
|
||||
100%
|
||||
filter: none
|
||||
opacity: 1
|
||||
transform: translateY(0)
|
||||
margin-top: 0
|
||||
|
||||
@keyframes titlescale
|
||||
0%
|
||||
|
||||
@ -8,7 +8,7 @@
|
||||
flex-direction: column
|
||||
|
||||
+maxWidth768()
|
||||
padding: 1rem 5px !important
|
||||
padding: 1rem 5px
|
||||
|
||||
+minWidth2000()
|
||||
max-width: 1500px
|
||||
@ -46,7 +46,3 @@
|
||||
|
||||
& > div
|
||||
width: 100% !important
|
||||
|
||||
// fix chrome enter animation blur
|
||||
.layout
|
||||
filter: blur(0)
|
||||
Loading…
Reference in New Issue
Block a user