mirror of
https://github.com/jerryc127/hexo-theme-butterfly.git
synced 2026-04-10 21:17:07 +08:00
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:
@@ -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%
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user