breaking changes: 移除最新評論的評論服務商選擇,默認為第一個評論服務商

feat: 增加 waline avatarCDN 配置(最新評論也會更新)
feat: archives 的 標題 在 menu 配置中獲取
fix: 修復文章頁 mathjax 因字體小導致顯示重疊的 bug close #587
fix: 修復 mathjax 在列表下,導致 列表沒有樣式的 bug  close #586
improvement: 減少卡頓,apple 裝置首頁背景 background-attachment 設為 scroll
This commit is contained in:
Jerry
2021-06-09 14:33:55 +08:00
parent c214da4515
commit 829a3dbf32
18 changed files with 108 additions and 91 deletions

View File

@@ -35,15 +35,6 @@
display: none
.card-info
img
width: 110px
height: 110px
border-radius: 70px
transition: all .5s
&:hover
transform: rotate(360deg)
.author-info
&__name
font-weight: 500
@@ -331,6 +322,21 @@
&:hover
animation: more-btn-move 1s infinite
.avatar-img
overflow: hidden
margin: 0 auto
width: 110px
height: 110px
border-radius: 70px
img
height: 100%
transition: all .5s
object-fit: cover
&:hover
transform: rotate(360deg)
@keyframes more-btn-move
0%,
100%

View File

@@ -157,12 +157,9 @@
top: 70px
transition: top .5s
// css hack
// all browser in ios and safari in all apple device
_::-webkit-full-page-media,
_:future,
:root #page-header.full_page
background-attachment: scroll !important
.apple
#page-header.full_page
background-attachment: scroll !important
#page
h1.page-title

View File

@@ -22,22 +22,12 @@
&.open
transform: translate3d(-100%, 0, 0)
& > .author-avatar
padding: 1.3rem 1.5rem 0
text-align: center
img
width: 110px
height: 110px
border-radius: 70px
transition: all .5s
&:hover
transform: rotate(360deg)
& > .avatar-img
margin: 1rem auto
.site-data
display: table
padding: .6rem .5rem 0
padding: 0 .5rem
width: 100%
table-layout: fixed

View File

@@ -79,14 +79,13 @@ if hexo-config('waline.bg')
display: none
// mathjax
.mathjax-overflow
mjx-container
overflow-x: auto
overflow-y: hidden
mjx-container[jax='CHTML'][display='true']
overflow-x: auto
overflow-y: hidden
padding-bottom: .3rem
&:not([display])
display: inline-grid
max-width: 100%
.aplayer
color: $font-black