Skip to content

Commit 026a348

Browse files
committed
label 3.8.0
1 parent 829a3db commit 026a348

File tree

17 files changed

+92
-76
lines changed

17 files changed

+92
-76
lines changed

_config.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -746,7 +746,7 @@ fancybox: true
746746
# --------------------------------------
747747

748748
# mermaid
749-
# see https://github.com/knsv/mermaid
749+
# see https://github.com/mermaid-js/mermaid
750750
mermaid:
751751
enable: false
752752
# built-in themes: default/forest/dark/neutral

layout/includes/page/flink.pug

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,8 +13,9 @@
1313
each item in i.link_list
1414
.flink-list-item
1515
a(href=url_for(item.link) title=item.name target="_blank")
16-
img(src=url_for(item.avatar) onerror=`this.onerror=null;this.src='` + url_for(theme.error_img.flink) + `'` alt=item.name )
17-
span.flink-item-name= item.name
18-
span.flink-item-desc(title=item.descr)= item.descr
16+
.flink-item-icon
17+
img(src=url_for(item.avatar) onerror=`this.onerror=null;this.src='` + url_for(theme.error_img.flink) + `'` alt=item.name )
18+
.flink-item-name= item.name
19+
.flink-item-desc(title=item.descr)= item.descr
1920
!= page.content
2021

layout/includes/third-party/math/katex.pug

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ link(rel="stylesheet" type="text/css" href=theme.CDN.katex_copytex_css)
44
script.
55
(() => {
66
document.querySelectorAll('#article-container span.katex-display').forEach(item => {
7-
btf.wrap(item, 'div', '', 'katex-wrap')
7+
btf.wrap(item, 'div', { class: 'katex-wrap'})
88
})
99
})()
1010

layout/includes/third-party/pjax.pug

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,8 +28,9 @@ script.
2828

2929
document.addEventListener('pjax:send', function () {
3030

31-
// removeEventListener toc scroll
31+
// removeEventListener scroll
3232
window.removeEventListener('scroll', window.tocScrollFn)
33+
window.removeEventListener('scroll', scrollCollect)
3334

3435
typeof preloader === 'object' && preloader.initLoading()
3536

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
if theme.newest_comments.enable
22
.card-widget#card-newest-comments
33
.item-headline
4-
i.fas.fa-bolt
4+
i.fas.fa-comment-dots
55
span= _p('aside.card_newest_comments.headline')
66
.aside-list
77
span= _p('aside.card_newest_comments.loading_text')

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "hexo-theme-butterfly",
3-
"version": "3.8.0-b3",
3+
"version": "3.8.0",
44
"description": "A Simple and Card UI Design theme for Hexo",
55
"main": "package.json",
66
"scripts": {
@@ -27,6 +27,6 @@
2727
"hexo-renderer-pug": "^1.0.0"
2828
},
2929
"homepage": "https://butterfly.js.org/",
30-
"author": "Jerry <btf@immyw.com>",
30+
"author": "Jerry <i@immyw.com>",
3131
"license": "Apache-2.0"
3232
}

source/css/_global/index.styl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
--btn-hover-color: $button-hover-color
2020
--btn-color: $button-color
2121
--btn-bg: $button-bg
22-
--text-bg-hover: $text-bg-hover
22+
--text-bg-hover: rgba($text-bg-hover, .7)
2323
--light-grey: $light-grey
2424
--white: $white
2525
--text-highlight-color: $text-highlight-color

source/css/_highlight/highlight.styl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -110,7 +110,7 @@ blockquote
110110
color: var(--hltools-color)
111111
font-size: $code-font-size
112112

113-
&.closed + table
113+
&.closed ~ *
114114
display: none
115115

116116
.expand

source/css/_layout/aside.styl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,7 @@
9494
font-size: 1.2em
9595

9696
span
97-
margin-left: .5rem
97+
margin-left: .3rem
9898

9999
.sticky_layout
100100
+minWidth900()

source/css/_layout/sidebar.styl

Lines changed: 6 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -55,25 +55,21 @@
5555
@extend .limit-one-line
5656
position: relative
5757
display: block
58-
padding: .3rem 1.5rem
58+
padding: .3rem 1.5rem .3rem 1.1rem
5959
color: var(--font-color)
6060
font-size: 1.15em
61-
cursor: pointer
61+
62+
&:hover
63+
background: var(--text-bg-hover)
6264

6365
i:first-child
64-
width: 25%
66+
width: 15%
6567
text-align: left
6668

67-
span
68-
width: 75%
69-
70-
&:hover
71-
color: $light-blue
72-
7369
.expand
7470
position: absolute
7571
top: .78em
76-
right: .4rem
72+
right: .9rem
7773
transition: transform .3s
7874

7975
&.hide

0 commit comments

Comments
 (0)