mirror of
https://github.com/jerryc127/hexo-theme-butterfly.git
synced 2026-10-03 22:22:00 +08:00
1. 完善gitalk 在 dark mode下的顯示
2. 完善footer 有背景和無背景下,在dark mode下的顯示 3. 界面微調 4. 增加選項可關閉aside在手機上的顯示 5. 修復關閉夜間模式情況下,console報Uncaught ReferenceError: autoChangeMode is not defined 的bug
This commit is contained in:
1 parent
27adaecf51
commit
082df56112
8 files changed
+68
-55
No files matched your search
@@ -428,6 +428,9 @@ subtitle:
|
||||
|
||||
#### 側邊欄 ####
|
||||
#-------------------------------------
|
||||
# 手機頁面( 顯示寬度 < 768px )是否顯示aside内容
|
||||
aside_mobile: true
|
||||
|
||||
# 側邊欄顯示設置
|
||||
aside:
|
||||
position: right # left or right
|
||||
|
||||
@@ -70,7 +70,8 @@ html(lang=config.language data-theme=theme.display_mode)
|
||||
block content
|
||||
|
||||
- var footer_bg = theme.footer_bg == false ? '' : bg_img
|
||||
footer#footer(style=footer_bg)
|
||||
- var is_bg = theme.footer_bg == false ? 'color' : 'photo'
|
||||
footer#footer(style=footer_bg data-type=is_bg)
|
||||
include ./footer.pug
|
||||
include ./rightside.pug
|
||||
each item in theme.CDN_USE.js
|
||||
|
||||
@@ -273,3 +273,9 @@
|
||||
margin-left: 15px
|
||||
else
|
||||
margin-right: 15px
|
||||
|
||||
if hexo-config('aside_mobile') == false
|
||||
@media screen and (max-width: $sm)
|
||||
#aside_content
|
||||
display: none
|
||||
|
||||
Loaded 3 of 8 files, more files were not shown because too many files have changed in this diff.
Show more
Reference in new issue
Block a user