mirror of
https://github.com/jerryc127/hexo-theme-butterfly.git
synced 2026-10-03 22:22:00 +08:00
fix: 修復在modern樣式下,note 標簽外掛沒有使用tags名時,沒有背景色和夜間模式文字顯示不清楚的bugs
fix: 修復主頁文章cover在深色模式下,邊角有小白邊的bugs close #278 fix: 修復note標簽外掛下,代碼塊顯示背景色的bugs close #339
This commit is contained in:
1 parent
40fd319cb2
commit
ee6f62f4bc
4 files changed
+12
-9
No files matched your search
@@ -70,7 +70,7 @@ hexo.extend.helper.register('related_posts', function (currentPost, allPosts) {
|
|||||||
'<img class="relatedPosts_cover" ' +
|
'<img class="relatedPosts_cover" ' +
|
||||||
lazySrc +
|
lazySrc +
|
||||||
'="' +
|
'="' +
|
||||||
cover +
|
this.url_for(cover) +
|
||||||
'">'
|
'">'
|
||||||
if (dateType === 'created') {
|
if (dateType === 'created') {
|
||||||
result +=
|
result +=
|
||||||
|
|||||||
@@ -51,6 +51,10 @@ if hexo-config('darkmode.enable') || hexo-config('display_mode') == 'dark'
|
|||||||
pre > code
|
pre > code
|
||||||
background: 0
|
background: 0
|
||||||
|
|
||||||
|
.note
|
||||||
|
code
|
||||||
|
background: $code-background
|
||||||
|
|
||||||
// 頭部
|
// 頭部
|
||||||
#page-header
|
#page-header
|
||||||
&:before
|
&:before
|
||||||
|
|||||||
@@ -7,11 +7,14 @@
|
|||||||
flex-direction: row
|
flex-direction: row
|
||||||
align-items: center
|
align-items: center
|
||||||
height: 20em
|
height: 20em
|
||||||
border-radius: 8px
|
border-radius: 12px 8px 8px 12px
|
||||||
background: var(--card-bg)
|
background: var(--card-bg)
|
||||||
box-shadow: 0 4px 8px 6px rgba(7, 17, 27, .06)
|
box-shadow: 0 4px 8px 6px rgba(7, 17, 27, .06)
|
||||||
transition: all .3s
|
transition: all .3s
|
||||||
|
|
||||||
|
+maxWidth768()
|
||||||
|
border-radius: 12px 12px 8px 8px
|
||||||
|
|
||||||
&:hover
|
&:hover
|
||||||
box-shadow: 0 4px 12px 12px rgba(7, 17, 27, .15)
|
box-shadow: 0 4px 12px 12px rgba(7, 17, 27, .15)
|
||||||
|
|
||||||
|
|||||||
Loaded 3 of 4 files, more files were not shown because too many files have changed in this diff.
Show more
Reference in new issue
Block a user