mirror of
https://github.com/jerryc127/hexo-theme-butterfly.git
synced 2025-09-15 12:58:48 +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. 修復英文語言下,書簽英文顯示不完整的問題
64 lines
1.1 KiB
Stylus
64 lines
1.1 KiB
Stylus
.category-content
|
|
ol,
|
|
ul
|
|
margin-top: 0.4rem
|
|
padding: 0 0 0 0.8rem
|
|
list-style: none
|
|
counter-reset: li
|
|
|
|
p
|
|
margin: 0
|
|
|
|
ol,
|
|
ul
|
|
padding-left: 0.5rem
|
|
|
|
li
|
|
position: relative
|
|
margin: 0.3rem 0
|
|
padding: 0.1rem 0.5rem 0.1rem 1.5rem !important
|
|
|
|
&:hover
|
|
&:before
|
|
transform: rotate(360deg)
|
|
|
|
&:before
|
|
position: absolute
|
|
top: 0
|
|
left: 0
|
|
background: $light-blue
|
|
color: $white
|
|
cursor: pointer
|
|
transition: all 0.3s ease-out
|
|
|
|
ol
|
|
li
|
|
&:before
|
|
margin-top: 0.2rem
|
|
width: w = 1.2rem
|
|
height: h = w
|
|
border-radius: 0.5 * w
|
|
content: counter(li)
|
|
counter-increment: li
|
|
text-align: center
|
|
font-size: 0.6rem
|
|
line-height: h
|
|
|
|
ul
|
|
li
|
|
&:hover
|
|
&:before
|
|
border-color: $ruby
|
|
|
|
&:before
|
|
$w = 0.3rem
|
|
top: 10px
|
|
margin-left: 0.45rem
|
|
width: w = $w
|
|
height: h = w
|
|
border: 0.5 * w solid $light-blue
|
|
border-radius: w
|
|
background: $white
|
|
content: ""
|
|
line-height: h
|