feat: 可配置文章版權模塊的作者超鏈接

feat: 歸檔頁面的側邊欄支持隱藏
improvement: 更新social-share cdn 版本
improvement: 調整分享按鈕導致的間距問題
improvement: html/css 優化
This commit is contained in:
Jerry
2022-03-08 18:00:22 +08:00
parent 4248103024
commit df678dfde2
12 changed files with 63 additions and 74 deletions

View File

@@ -131,7 +131,7 @@ if hexo-config('enter_transitions')
&.open
for i in 1 2 3 4
> :nth-child({i})
animation: sidebarItem (i / 5) s
animation: sidebarItem (i / 5)s
.scroll-down-effects
animation: scroll-down-effect 1.5s infinite

View File

@@ -38,24 +38,7 @@
margin-top: -.42em
.card-info-data
display: table
margin: 14px 0 4px
width: 100%
table-layout: fixed
& > .card-info-data-item
display: table-cell
a
.headline
@extend .limit-one-line
color: var(--font-color)
font-size: 1em
.length-num
margin-top: -.42em
color: var(--text-highlight-color)
font-size: 1.4em
.card-info-social-icons
margin: 6px 0 -6px
@@ -340,6 +323,30 @@
&:hover
transform: rotate(360deg)
.site-data
display: table
width: 100%
table-layout: fixed
& > a
display: table-cell
div
transition: all .3s
&:hover
div
color: $theme-color !important
.headline
@extend .limit-one-line
color: var(--font-color)
.length-num
margin-top: -.32em
color: var(--text-highlight-color)
font-size: 1.4em
@keyframes more-btn-move
0%,
100%

View File

@@ -152,6 +152,11 @@ beautify()
#post
.tag_share
&:after
display: block
clear: both
content: ''
.post-meta
&__tag-list
display: inline-block
@@ -174,7 +179,7 @@ beautify()
.post_share
display: inline-block
float: right
margin: 8px 0 20px
margin: 8px 0 0
width: fit-content
.social-share

View File

@@ -25,24 +25,8 @@
& > .avatar-img
margin: 20px auto
.site-data
display: table
.sidebar-site-data
padding: 0 10px
width: 100%
table-layout: fixed
.data-item
display: table-cell
& > a > div
@extend .limit-one-line
.length-num
color: var(--text-highlight-color)
font-size: 1.28em
.headline
color: var(--font-color)
hr
margin: 20px auto