mirror of
https://github.com/jerryc127/hexo-theme-butterfly.git
synced 2026-10-04 06:22:00 +08:00
feat: note 標籤優化(可自定義icon圖標/可覆蓋配置中的style)
feat: 增加部分特效 Mobile設置(activate_power_mode/fireworks/click_heart/ClickShowText) feat: aside 分類 收縮/展開 增加slide效果 improvement: 更改canvas_ribbon_piao 為 canvas_fluttering_ribbon improvement: darkmode 字體顔色加深 improvement: 優化nav的進入,應該修復一些用户在本地測試中無法顯示nav的bugs improvement: 部分css和html優化 fix: 修復鼠標點擊文字特效,文字過長導致頁面有滾動條的bugs remove: 移除anime js, 集成在fireworks的js裏 remove: 刪除特效js,改為cdn引入
This commit is contained in:
1 parent
92b39ff515
commit
554d05d576
23 files changed
+144
-856
No files matched your search
@@ -16,6 +16,8 @@ Based on [hexo-theme-melody](https://github.com/Molunerfinn/hexo-theme-melody) t
|
|||||||
|
|
||||||
### GIT
|
### GIT
|
||||||
|
|
||||||
|
> If you are in Mainland China, you can download in [Gitee](https://gitee.com/iamjerryw/hexo-theme-butterfly)
|
||||||
|
|
||||||
Stable branch [recommend]:
|
Stable branch [recommend]:
|
||||||
|
|
||||||
```
|
```
|
||||||
|
|||||||
@@ -17,6 +17,8 @@
|
|||||||
|
|
||||||
### Git 安裝
|
### Git 安裝
|
||||||
|
|
||||||
|
> 本倉庫同時上傳到 [Gitee](https://gitee.com/iamjerryw/hexo-theme-butterfly),如果你訪問 Github 緩慢,可從 Gitee 中下載。
|
||||||
|
|
||||||
在博客根目錄裡安裝穩定版【推薦】
|
在博客根目錄裡安裝穩定版【推薦】
|
||||||
|
|
||||||
```powershell
|
```powershell
|
||||||
|
|||||||
+15
-11
@@ -510,8 +510,8 @@ canvas_ribbon:
|
|||||||
click_to_change: false
|
click_to_change: false
|
||||||
mobile: false
|
mobile: false
|
||||||
|
|
||||||
# Dynamic ribbon (動態彩帶)
|
# Fluttering Ribbon (動態彩帶)
|
||||||
canvas_ribbon_piao:
|
canvas_fluttering_ribbon:
|
||||||
enable: false
|
enable: false
|
||||||
mobile: false
|
mobile: false
|
||||||
|
|
||||||
@@ -531,14 +531,18 @@ activate_power_mode:
|
|||||||
enable: false
|
enable: false
|
||||||
colorful: true # open particle animation (冒光特效)
|
colorful: true # open particle animation (冒光特效)
|
||||||
shake: true # open shake (抖動特效)
|
shake: true # open shake (抖動特效)
|
||||||
|
mobile: false
|
||||||
|
|
||||||
# Mouse click effects: fireworks (鼠標點擊效果: 煙火特效)
|
# Mouse click effects: fireworks (鼠標點擊效果: 煙火特效)
|
||||||
fireworks:
|
fireworks:
|
||||||
enable: false
|
enable: false
|
||||||
zIndex: 9999 # -1 or 9999
|
zIndex: 9999 # -1 or 9999
|
||||||
|
mobile: false
|
||||||
|
|
||||||
# Mouse click effects: Heart symbol (鼠標點擊效果: 愛心)
|
# Mouse click effects: Heart symbol (鼠標點擊效果: 愛心)
|
||||||
click_heart: false
|
click_heart:
|
||||||
|
enable: false
|
||||||
|
mobile: false
|
||||||
|
|
||||||
# Mouse click effects: words (鼠標點擊效果: 文字)
|
# Mouse click effects: words (鼠標點擊效果: 文字)
|
||||||
ClickShowText:
|
ClickShowText:
|
||||||
@@ -548,6 +552,7 @@ ClickShowText:
|
|||||||
# - LOVE
|
# - LOVE
|
||||||
# - YOU
|
# - YOU
|
||||||
fontSize: 15px
|
fontSize: 15px
|
||||||
|
mobile: false
|
||||||
|
|
||||||
# Default display mode (網站默認的顯示模式)
|
# Default display mode (網站默認的顯示模式)
|
||||||
# light (default) / dark
|
# light (default) / dark
|
||||||
@@ -862,9 +867,9 @@ CDN:
|
|||||||
busuanzi: //busuanzi.ibruce.info/busuanzi/2.3/busuanzi.pure.mini.js
|
busuanzi: //busuanzi.ibruce.info/busuanzi/2.3/busuanzi.pure.mini.js
|
||||||
|
|
||||||
# background effect
|
# background effect
|
||||||
canvas_ribbon: /js/third-party/canvas-ribbon.js
|
canvas_ribbon: https://cdn.jsdelivr.net/npm/butterfly-extsrc@1/dist/canvas-ribbon.min.js
|
||||||
canvas_ribbon_piao: /js/third-party/piao.js
|
canvas_fluttering_ribbon: https://cdn.jsdelivr.net/npm/butterfly-extsrc@1/dist/canvas-fluttering-ribbon.min.js
|
||||||
canvas_nest: /js/third-party/canvas-nest.js
|
canvas_nest: https://cdn.jsdelivr.net/npm/butterfly-extsrc@1/dist/canvas-nest.min.js
|
||||||
|
|
||||||
lazyload: https://cdn.jsdelivr.net/npm/vanilla-lazyload/dist/lazyload.iife.min.js
|
lazyload: https://cdn.jsdelivr.net/npm/vanilla-lazyload/dist/lazyload.iife.min.js
|
||||||
instantpage: https://cdn.jsdelivr.net/npm/instant.page/instantpage.min.js
|
instantpage: https://cdn.jsdelivr.net/npm/instant.page/instantpage.min.js
|
||||||
@@ -881,11 +886,10 @@ CDN:
|
|||||||
snackbar: https://cdn.jsdelivr.net/npm/node-snackbar/dist/snackbar.min.js
|
snackbar: https://cdn.jsdelivr.net/npm/node-snackbar/dist/snackbar.min.js
|
||||||
|
|
||||||
# effect
|
# effect
|
||||||
anime: https://cdn.jsdelivr.net/npm/animejs@latest/anime.min.js
|
activate_power_mode: https://cdn.jsdelivr.net/npm/butterfly-extsrc@1/dist/activate-power-mode.min.js
|
||||||
activate_power_mode: /js/third-party/activate-power-mode.js
|
fireworks: https://cdn.jsdelivr.net/npm/butterfly-extsrc@1/dist/fireworks.min.js
|
||||||
fireworks: /js/third-party/fireworks.js
|
click_heart: https://cdn.jsdelivr.net/npm/butterfly-extsrc@1/dist/click-heart.min.js
|
||||||
click_heart: /js/third-party/click_heart.js
|
ClickShowText: https://cdn.jsdelivr.net/npm/butterfly-extsrc@1/dist/click-show-text.min.js
|
||||||
ClickShowText: /js/third-party/ClickShowText.js
|
|
||||||
|
|
||||||
# fontawesome
|
# fontawesome
|
||||||
fontawesome: https://cdn.jsdelivr.net/npm/@fortawesome/fontawesome-free/css/all.min.css
|
fontawesome: https://cdn.jsdelivr.net/npm/@fortawesome/fontawesome-free/css/all.min.css
|
||||||
|
|||||||
Loaded 3 of 23 files, more files were not shown because too many files have changed in this diff.
Show more
Reference in new issue
Block a user