mirror of
https://github.com/jerryc127/hexo-theme-butterfly.git
synced 2026-04-12 14:07:06 +08:00
2. Feature: 文章頁增加美化(原 melody主題功能),並增加更改標題前綴圖標和顔色 3. Feature: PC端增加直達評論按鈕 4. Feature: 可以對單獨文章設置是否顯示版權信息 5. Fix: 修復閲讀模式下,調整字體大小對代碼無效的bug 6. Fix: 調整Valine字體顯示問題 7. Fix: 修正夜間模式下Valine的適配問題 8. Fix: 修復Valine設置notify和verify無效的bug (thx @VincentTV ) 9. Remove: 去掉主題"閲讀更多"按鈕
58 lines
1.0 KiB
Stylus
58 lines
1.0 KiB
Stylus
#post_bottom
|
|
position: fixed
|
|
bottom: -50px
|
|
background: alpha($white, 0.8)
|
|
width: 100%
|
|
border: none
|
|
box-shadow: 0 -5px 6px -5px alpha($grey, 0.6)
|
|
display: none
|
|
transition: all .2s
|
|
cursor: pointer
|
|
|
|
&.toc_mobile_show
|
|
bottom: 0
|
|
|
|
#mobile_to_comment,#mobile_toc
|
|
width: 50%
|
|
text-align: center
|
|
font-size: 18px
|
|
padding: 7px 0
|
|
display: inline-block
|
|
color: $light-black
|
|
|
|
a
|
|
text-decoration: none
|
|
color: $light-black
|
|
|
|
#toc_mobile
|
|
box-shadow: 0 0 4px alpha($grey, 0.6)
|
|
background: $white
|
|
width: 50%
|
|
height: 70%
|
|
position: fixed
|
|
bottom: 65px
|
|
right: 10px
|
|
overflow: scroll
|
|
padding: 15px 10px
|
|
font-size: 15px
|
|
border-radius: 10px
|
|
display: none
|
|
|
|
ol,li
|
|
list-style: none
|
|
padding: 0 0 0 5px
|
|
margin: 0
|
|
|
|
a
|
|
&:hover
|
|
color: $light-blue
|
|
|
|
.toc_mobile_headline
|
|
text-align: center
|
|
font-size: 18px
|
|
font-weight: bold
|
|
|
|
@media screen and (max-width:768px)
|
|
#post_bottom
|
|
display: block
|