breaking changes: 精簡各評論的配置

fix: 修復footer 在部分瀏覽器沒有顯示在底部的 bug
improvement: 修改配置文件註釋
This commit is contained in:
Jerry
2021-07-20 23:56:40 +08:00
parent bbb9beb8f9
commit 43790dec07
9 changed files with 15 additions and 50 deletions

View File

@@ -27,8 +27,8 @@
--blockquote-bg: $blockquote-background-color
--reward-pop: $reward-pop-up-bg
--toc-link-color: $toc-link-color
--card-box-shadow: 0 3px 8px 6px rgba(7, 17, 27, .06)
--card-hover-box-shadow: 0 3px 8px 6px rgba(7, 17, 27, .15)
--card-box-shadow: 0 3px 8px 6px rgba(7, 17, 27, .05)
--card-hover-box-shadow: 0 3px 8px 6px rgba(7, 17, 27, .09)
html
height: 100%

View File

@@ -9,7 +9,7 @@
// index
&.full_page
min-height: $index_top_img_height
height: $index_top_img_height
background-attachment: fixed
#site-info
@@ -70,7 +70,7 @@
// page
&.not-home-page
min-height: 20rem
height: 20rem
+maxWidth768()
height: 14rem
@@ -86,7 +86,7 @@
// post
&.post-bg
min-height: 20rem
height: 20rem
+maxWidth768()
height: 18rem
@@ -118,7 +118,7 @@
&.not-top-img
margin-bottom: .5rem
min-height: 60px
height: 60px
background: 0
#nav

View File

@@ -1,7 +1,7 @@
#body-wrap
display: flex
flex-direction: column
height: 100vh
min-height: 100vh
.layout
display: flex

View File

@@ -33,7 +33,7 @@ $font-color = #1F2D3D
$rem = 20px
$text-line-height = 2
$web-bg = hexo-config('background') && unquote(hexo-config('background'))
$index_top_img_height = hexo-config('index_top_img_height') ? convert(hexo-config('index_top_img_height')) : 100%
$index_top_img_height = hexo-config('index_top_img_height') ? convert(hexo-config('index_top_img_height')) : 100vh
$index_site_info_top = hexo-config('index_site_info_top') ? convert(hexo-config('index_site_info_top')) : 43%
// Global color & SVG
$light-blue = $theme-color