mirror of
https://github.com/jerryc127/hexo-theme-butterfly.git
synced 2026-10-04 06: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
@@ -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
|
||||
|
||||
@@ -15,13 +15,11 @@
|
||||
content: ''
|
||||
width: 100%
|
||||
height: 100%
|
||||
opacity: 0.5
|
||||
background-color: #394245
|
||||
background-image: linear-gradient(234deg, #394245 0%, #000 100%)
|
||||
background-color: alpha($dark-black,0.5)
|
||||
|
||||
|
||||
#footer-wrap
|
||||
padding: 1.2rem 1rem 1rem
|
||||
padding: 2rem 1rem
|
||||
color: $light-grey
|
||||
text-align: center
|
||||
position: relative
|
||||
|
||||
@@ -319,7 +319,7 @@
|
||||
#tag,
|
||||
#category
|
||||
padding: 1.8rem 1.3rem
|
||||
margin-top: 10px
|
||||
margin: 0
|
||||
|
||||
.category-lists
|
||||
padding: 0
|
||||
@@ -344,7 +344,7 @@
|
||||
display: none
|
||||
|
||||
&:first-child
|
||||
margin-top: 10px
|
||||
margin: 0
|
||||
|
||||
@media screen and (min-width: 900px)
|
||||
if hexo-config("aside.position") == "left"
|
||||
|
||||
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