mirror of
https://github.com/jerryc127/hexo-theme-butterfly.git
synced 2026-04-16 20:30:53 +08:00
breaking change: 增加 macstyle 配置,取消配置 mac / mac light 主題
feat: 可更改文章標題位置 feat: 增加代碼全屏 improvement: 當代碼塊 toolbar 其它功能設為 false 時, 仍能顯示 macstyle improvement: 優化文章標題在左邊時,不同寬度的位置顯示 improvement: 代碼優化
This commit is contained in:
@@ -99,13 +99,29 @@
|
||||
|
||||
#post-info
|
||||
position: absolute
|
||||
bottom: 30px
|
||||
padding: 0 8%
|
||||
width: 100%
|
||||
|
||||
+maxWidth768()
|
||||
bottom: 22px
|
||||
padding: 0 22px
|
||||
if hexo-config('post_meta.post.position') == 'center'
|
||||
top: calc(50% + 30px)
|
||||
padding: 0 8%
|
||||
text-align: center
|
||||
transform: translateY(-50%)
|
||||
|
||||
+maxWidth768()
|
||||
padding: 0 15px
|
||||
else
|
||||
bottom: 30px
|
||||
|
||||
& > *
|
||||
margin: 0 auto
|
||||
padding: 0 15px
|
||||
max-width: 1200px
|
||||
|
||||
@media screen and (min-width: 768px) and (max-width: 1300px)
|
||||
padding: 0 30px
|
||||
|
||||
+minWidth2000()
|
||||
max-width: 70%
|
||||
|
||||
&.not-top-img
|
||||
margin-bottom: 10px
|
||||
|
||||
Reference in New Issue
Block a user