🐛 修復POST-META關閉閲讀分鐘和訪問量後,評論量前有分割線的bug

🐛 修復canvas_ribbon透明度變為1再變回預設值bug
🐛 修復當default_cover沒設置時,會出現無圖片的bug
🎨 部分js調整
This commit is contained in:
Jerry
2020-04-02 22:16:01 +08:00
parent 5e37ab641a
commit eb11e4afeb
18 changed files with 433 additions and 315 deletions

View File

@@ -244,12 +244,10 @@ img:not([src])
.post-ad
margin: 2rem 0
overflow-x: scroll
.ad_height
display: block !important
height: auto !important
overflow-x: scroll !important
#content-inner,
#footer
@@ -262,10 +260,13 @@ img:not([src])
#site_subtitle
animation: titlescale 1s
canvas,
canvas:not(#ribbon-canvas),
#web_bg
animation: to_show 4s
#ribbon-canvas
animation: ribbon_to_show 4s
.card-announcement-animation
color: #FF0000
animation: announ_animation .8s linear infinite
@@ -363,6 +364,13 @@ if hexo-config('avatar.effect') == true
100%
opacity: 1
@keyframes ribbon_to_show
0%
opacity: 0
100%
opacity: hexo-config('canvas_ribbon.alpha')
@keyframes avatar_turn_around
from
transform: rotate(0)