mirror of
https://github.com/jerryc127/hexo-theme-butterfly.git
synced 2026-04-16 20:30:53 +08:00
feat: 不蒜子可配置 CDN closed #1132
feat: gallery 標簽外掛增加圖片懶加載,增加 lazyload rowHeight 和 limit 屬性配置 feat: 可設置固定導航欄 closed #1150 fix: 修復開啟懶加載後,再使用 flink_url 的方式引入友鏈數據,友鏈頭像有可能不顯示的 bug closed #1146 fix: 修復閲讀模式下,代碼塊的背景顏色仍顯示彩色背景的 bug (自定義代碼塊) closed #1139 improvement: 搜索結果換行時不會拆分單詞顯示 improvement: 優化搜索結果顯示滾動條位置 improvement: css/js 優化
This commit is contained in:
@@ -137,6 +137,10 @@
|
||||
box-shadow: 0 5px 6px -5px alpha($grey, .6)
|
||||
transition: transform .2s ease-in-out, opacity .2s ease-in-out
|
||||
|
||||
&.fixed
|
||||
top: 0
|
||||
transition: all .5s
|
||||
|
||||
#blog-info
|
||||
color: var(--font-color)
|
||||
|
||||
@@ -155,7 +159,7 @@
|
||||
color: $light-blue
|
||||
|
||||
&.nav-visible
|
||||
#nav
|
||||
#nav:not(.fixed)
|
||||
transition: all .5s
|
||||
transform: translate3d(0, 100%, 0)
|
||||
|
||||
@@ -261,6 +265,9 @@
|
||||
&.show
|
||||
opacity: 1
|
||||
|
||||
&.fixed
|
||||
position: fixed
|
||||
|
||||
#blog-info
|
||||
flex: 1
|
||||
color: var(--light-grey)
|
||||
|
||||
Reference in New Issue
Block a user