feat: 增加配置 disable_top_img,禁用所有的top_img

fix: 修復 background-image 遇到連結有括號時會無法顯示的bug
fix: Readmode 標題邊距
fix: 修復twikoo 評論數獲取會因為地域問題報錯的bug
This commit is contained in:
Jerry
2021-01-03 00:04:09 +08:00
Unverified
parent c373b64cfb
commit 81fc48df40
6 changed files with 12 additions and 7 deletions

View File

@@ -10,10 +10,6 @@
&:hover
background: var(--btn-hover-color)
textarea
&:focus
background-image: none
.vimg
transition: all .3s
@@ -30,11 +26,17 @@ if hexo-config('valine.bg')
textarea
background: url(hexo-config('valine.bg')) 100% 100% no-repeat
&:focus
background-image: none
if hexo-config('waline.bg')
#waline-wrap
textarea
background: url(hexo-config('waline.bg')) 100% 100% no-repeat
&:focus
background-image: none
.fireworks
position: fixed
top: 0

View File

@@ -60,7 +60,6 @@ if hexo-config('readmode')
opacity: 0
& > #post-info
padding: 0
text-align: center
#post