breaking changes: 更新 fancybox 到 4

improvement: 網站資料顯示,但標籤和分類為0時,數量顯示為 0,而不是隱藏
improvement: subtitle 代碼優化, 1.當source設為false,同時sub也沒有配置,將會讀取hexo配置文件的 subtitle,2.無須使用轉義字符
improvement: 禁止ios點擊搜索框,頁面放大的問題
This commit is contained in:
Jerry
2021-08-08 15:36:22 +08:00
Unverified
parent 45d6ced507
commit f1bf2413a0
13 changed files with 142 additions and 152 deletions

View File

@@ -199,9 +199,6 @@ if $site-name-font
transform: scaleX(1)
img
max-width: 100%
transition: all .2s
&[src=''],
&:not([src])
opacity: 0

View File

@@ -154,6 +154,7 @@ no-beautify()
img
display: block
margin: 0 auto .8rem
max-width: 100%
p
margin: 0 0 .8rem

View File

@@ -34,16 +34,15 @@
.data-item
display: table-cell
.data-item-link
& > a > div
@extend .limit-one-line
& > a > div
@extend .limit-one-line
.length-num
color: var(--text-highlight-color)
font-size: 1.28em
.length-num
color: var(--text-highlight-color)
font-size: 1.28em
.headline
color: var(--font-color)
.headline
color: var(--font-color)
hr
margin: 1rem auto

View File

@@ -27,7 +27,7 @@ figure.gallery-group
img
position: relative
margin: 0 !important
max-width: none
max-width: none !important
width: calc(100% + 20px)
height: 250px
backface-visibility: hidden