breaking changes: cover 的顯示優化 #1101

feature: default_cover 可配置顏色
fix: 修復使用本地搜索時,輸入特殊符號沒有顯示結果的 bug closed #1110
fix: 修復 頂部圖和 footer 配置帶有/的顏色參數時,無法顯示顏色的 bug
improvement: 鼠標移動到分頁時,文章分頁按鈕增加説明文字
improvement: 文章頁的頂部圖顯示次序為 top_img > cover > default_top_img
improvement: canonical 的鏈接根據配置生成 #1111
This commit is contained in:
Jerry
2022-12-13 01:23:50 +08:00
Unverified
parent 4cd26d183c
commit e2565a9f39
20 changed files with 95 additions and 62 deletions

View File

@@ -36,11 +36,11 @@
.postImgHover
&:hover
img
.cover
opacity: .8
transform: scale(1.1)
img
.cover
position: absolute
width: 100%
height: 100%

View File

@@ -33,6 +33,7 @@
--pseudo-hover: $pseudo-hover
--headline-presudo: #a0a0a0
--scrollbar-color: $scrollbar-color
--default-bg-color: $theme-color
body
position: relative

View File

@@ -115,7 +115,7 @@
width: w = 4.2em
height: w
& > img
:first-child
@extend .imgHover
.content

View File

@@ -1,6 +1,6 @@
#footer
position: relative
background: $light-blue
background-color: $light-blue
background-attachment: scroll
background-position: bottom
background-size: cover

View File

@@ -101,7 +101,7 @@
width: 80px
height: 80px
img
:first-child
@extend .imgHover
&-info

View File

@@ -15,7 +15,7 @@
height: auto
&:hover
img.post_bg
img.post-bg
transform: scale(1.1)
&.ads-wrap
@@ -31,7 +31,7 @@
width: 100%
height: 230px
img.post_bg
.post-bg
@extend .imgHover
&.right