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:
Jerry committed 2019-11-08 22:25:00 +08:00
1 parent 27adaecf51
commit 082df56112
8 files changed
+48 -35

No files matched your search

+3
View File
@@ -428,6 +428,9 @@ subtitle:
#### 側邊欄 ####
#-------------------------------------
# 手機頁面( 顯示寬度 < 768px )是否顯示aside内容
aside_mobile: true
# 側邊欄顯示設置
aside:
position: right # left or right
+2 -1
View File
@@ -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
+6
View File
@@ -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