mirror of
https://github.com/jerryc127/hexo-theme-butterfly.git
synced 2026-04-16 20:30:53 +08:00
feat: twikoo 增加 option 配置
feat: aside widget 增加排序(只對page頁和sticky內的有效) feat: aside 增加自定義 widget improvement: readmode 優化 improvement: html結構優化
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
#aside_content
|
||||
#aside-content
|
||||
width: 25%
|
||||
|
||||
+minWidth900()
|
||||
@@ -20,6 +20,7 @@
|
||||
position: relative
|
||||
overflow: hidden
|
||||
margin-top: 1rem
|
||||
padding: 1rem 1.2rem
|
||||
border-radius: 8px
|
||||
background: var(--card-bg)
|
||||
box-shadow: 0 4px 8px 6px rgba(7, 17, 27, .06)
|
||||
@@ -96,9 +97,6 @@
|
||||
span
|
||||
padding-left: .5rem
|
||||
|
||||
.card-content
|
||||
padding: 1rem 1.2rem
|
||||
|
||||
.item-headline
|
||||
padding-bottom: .3rem
|
||||
font-size: 1.2em
|
||||
@@ -353,8 +351,37 @@
|
||||
.layout
|
||||
justify-content: center
|
||||
|
||||
> .aside_content
|
||||
> .aside-content
|
||||
display: none
|
||||
|
||||
> div:first-child
|
||||
width: 80%
|
||||
width: 80%
|
||||
|
||||
.page
|
||||
.sticky_layout
|
||||
display: flex
|
||||
flex-direction: column
|
||||
|
||||
if hexo-config('aside.card_recent_post.sort_order')
|
||||
.card-recent-post
|
||||
order: hexo-config('aside.card_recent_post.sort_order')
|
||||
|
||||
if hexo-config('newest_comments.sort_order')
|
||||
#card-newest-comments
|
||||
order: hexo-config('newest_comments.sort_order')
|
||||
|
||||
if hexo-config('aside.card_categories.sort_order')
|
||||
.card-categories
|
||||
order: hexo-config('aside.card_categories.sort_order')
|
||||
|
||||
if hexo-config('aside.card_tags.sort_order')
|
||||
.card-tags
|
||||
order: hexo-config('aside.card_tags.sort_order')
|
||||
|
||||
if hexo-config('aside.card_archives.sort_order')
|
||||
.card-archives
|
||||
order: hexo-config('aside.card-archives.sort_order')
|
||||
|
||||
if hexo-config('aside.card_webinfo.sort_order')
|
||||
.card-webinfo
|
||||
order: hexo-config('aside.card_webinfo.sort_order')
|
||||
|
||||
Reference in New Issue
Block a user