mirror of
https://github.com/jerryc127/hexo-theme-butterfly.git
synced 2025-09-15 12:58:48 +08:00
2. feat: 可隱藏Mobile sidebar 子菜單 3. refactor: archives和card-post 改為flex佈局 4. feat: 當寬度小於1024時,點擊toc滾動,增加滾動效果 5. feat: 點擊滾動,如果滾動是向上時,將會偏移60px, 避免導航欄遮擋 close #317 6. feat: 可配置font-size 7. refactor: 去除字體放大、縮小按鈕 8. refactor: 部分css由'px'改為'em',適應font-size值改變而改變 9. feat: pjax增加exclude配置 10. fix: 修復canvas_nest 配置沒有生效的Bugs 11. feat: 新增 cnzz_analytics 12. feat: 騰訊分析改為騰訊移動分析,並適配pjax 13. perf: 改cookies為localstore存儲 14. feat: 設置中的theme_color可單獨配置幾個,而不需要全部開啟 close #314 15. feat: butterfly.yml 採用deepMerge, 與_config文件進行合併而不是替換 16. fix: 修復rightsize-bottom配置無效的bug 17. refactor: aside增加position sticky 18. refactor: 調整webinfo 寬度小時的顯示 19. feat: 更改addtoany item的寫法 20. refactor: aside 內容邊距調整 21. feat: 增加最後更新時間顯示
77 lines
1.6 KiB
Stylus
77 lines
1.6 KiB
Stylus
.flink#article-container
|
|
.flink-desc
|
|
margin: .2rem 0 .5rem
|
|
|
|
.flink-list
|
|
overflow: auto
|
|
padding: 10px 10px 0
|
|
text-align: center
|
|
|
|
& > .flink-list-item
|
|
position: relative
|
|
float: left
|
|
overflow: hidden
|
|
margin: 15px 7px
|
|
width: calc(100% / 3 - 15px)
|
|
height: 90px
|
|
border-radius: 8px
|
|
line-height: 17px
|
|
-webkit-transform: translateZ(0)
|
|
|
|
+maxWidth1024()
|
|
width: calc(50% - 15px) !important
|
|
|
|
+maxWidth600()
|
|
width: calc(100% - 15px) !important
|
|
|
|
&:hover
|
|
img
|
|
transform: rotate(360deg)
|
|
|
|
&:before
|
|
position: absolute
|
|
top: 0
|
|
right: 0
|
|
bottom: 0
|
|
left: 0
|
|
z-index: -1
|
|
background: var(--text-bg-hover)
|
|
content: ''
|
|
transition: transform .3s ease-out
|
|
transform: scale(0)
|
|
|
|
&:hover:before,
|
|
&:focus:before,
|
|
&:active:before
|
|
transform: scale(1)
|
|
|
|
a
|
|
color: var(--font-color)
|
|
text-decoration: none
|
|
|
|
img
|
|
float: left
|
|
margin: 15px 10px
|
|
width: 60px
|
|
height: 60px
|
|
border-radius: 35px
|
|
transition: all .3s
|
|
|
|
.img-alt
|
|
display: none
|
|
|
|
.flink-item-name
|
|
@extend .limit-one-line
|
|
display: block
|
|
padding: 16px 10px 0 0
|
|
height: 40px
|
|
font-weight: bold
|
|
font-size: 1.43em
|
|
|
|
.flink-item-desc
|
|
@extend .limit-one-line
|
|
display: block
|
|
padding: 16px 10px 16px 0
|
|
height: 50px
|
|
font-size: .93em
|