mirror of
https://github.com/jerryc127/hexo-theme-butterfly.git
synced 2026-04-16 20:30:53 +08:00
1. 更改手機頁面的menu和toc的顯示方式和顯示特效(ipad也能看TOC) 3. 可設置複製時,内容自動加上版權信息 4. 可修改tag的top_img 5. 可修改category的top_img 6. 可修改valine的背景 7. archives頁UI優化 8. ICP增加icon #37 9. 可設置主頁top_img的高度 10. 可設置主頁site-info的位置 11. category頁和tag頁的UI可以設置與主頁UI一樣 #31 12. 主頁subtitle可設置多個句子(不再限制2個) #37 13. 設置menu時,頭尾添加空格不受影響 14. 調整post頁的佈局 15. 书签添加icon 16. 公告icon效果 17. 首頁歸檔模塊,可設置數量限制,會顯示'查看更多'按鈕 18. 右下角按鈕調整。 19. 修复文章cover隨機图片生成,同一篇文章,不同地方的cover顯示不一样的bug 20. 修復gitalk語言設置無效的bug #35 21. 修復post頁面,當沒有設置word count時,閲讀量前有'|" 22. 修复sub-menu在safari的显示问题 23. 修复tags页评论居中问题 24. 修复header a hover 白色问题 25. 修復夜間模式下footer的顔色bug 26. 修復英文語言下,書簽英文顯示不完整的問題
117 lines
2.1 KiB
Stylus
117 lines
2.1 KiB
Stylus
if hexo-config("readmode") && hexo-config("readmode.enable")
|
|
.read-mode
|
|
background: $pale-yellow
|
|
padding: 0 !important
|
|
|
|
#sidebar,
|
|
#toggle-sidebar
|
|
display: none
|
|
|
|
#page-header
|
|
#site-name,
|
|
.site-page,
|
|
.toggle-menu
|
|
text-shadow: none
|
|
color: $font-black
|
|
|
|
.menus_item_child
|
|
background-color: darken($pale-yellow,5) !important
|
|
|
|
&:before
|
|
border-color: transparent transparent darken($pale-yellow,5) !important
|
|
|
|
#top-container
|
|
background-image: none !important
|
|
height: 14rem
|
|
background-color: $pale-yellow
|
|
|
|
a
|
|
color: $font-black
|
|
|
|
&:before
|
|
opacity: 0
|
|
|
|
#post-info
|
|
text-align: center
|
|
padding: 0
|
|
color: $font-black
|
|
|
|
#post-title,
|
|
#post-meta
|
|
text-shadow: none
|
|
|
|
#page-header
|
|
&.fixed
|
|
background: alpha(darken($pale-yellow,5),0.5)
|
|
box-shadow: none
|
|
|
|
&.open-sidebar
|
|
.site-page
|
|
display: inline-block
|
|
opacity: 1
|
|
|
|
|
|
.layout_post
|
|
box-shadow: none
|
|
background: $pale-yellow
|
|
|
|
&:hover
|
|
box-shadow: none
|
|
|
|
.article-container
|
|
pre,
|
|
.highlight
|
|
background: darken($pale-yellow,5);
|
|
|
|
.highlight
|
|
&:after
|
|
background: darken($pale-yellow,10);
|
|
table
|
|
&:after
|
|
background: darken($pale-yellow,10);
|
|
|
|
|
|
blockquote
|
|
border-left: 0.2rem solid #d6dbdf
|
|
background-color: rgba(102,128,153,.05)
|
|
|
|
#rightside
|
|
#nightshift
|
|
display: none
|
|
|
|
canvas
|
|
display: none !important
|
|
|
|
footer,
|
|
#post-comment,
|
|
hr,
|
|
.relatedPosts,
|
|
#pagination,
|
|
.post-reward,
|
|
.tag_share,
|
|
.post-copyright
|
|
display: none
|
|
|
|
&::-webkit-scrollbar-thumb
|
|
background: darken($pale-yellow,15)
|
|
|
|
*::-webkit-scrollbar-thumb
|
|
background: darken($pale-yellow,15)
|
|
|
|
.copy-notice
|
|
background: darken($pale-yellow,10)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|