mirror of
https://github.com/jerryc127/hexo-theme-butterfly.git
synced 2026-10-04 14:22:01 +08:00
1. 修復gitalk報path.startsWith is not a function的bug #66
2. 修復在屏幕縮放字體大小而導致menu變爲sidebar模式的bug #64 3. just-gallery增加上下邊距
This commit is contained in:
1 parent
da4a8d77d7
commit
a33e7e1d89
4 files changed
+9
-8
No files matched your search
@@ -99,7 +99,7 @@ if theme.algolia_search.enable
|
|||||||
if (theme.gitalk && theme.gitalk.enable)
|
if (theme.gitalk && theme.gitalk.enable)
|
||||||
link(rel="stylesheet" type="text/css" href=url_for(theme.CDN.gitalk_css))
|
link(rel="stylesheet" type="text/css" href=url_for(theme.CDN.gitalk_css))
|
||||||
script(src=url_for(theme.CDN.gitalk))
|
script(src=url_for(theme.CDN.gitalk))
|
||||||
script(src=url_for(theme.CDN.blueimp-md5))
|
script(src=url_for(theme.CDN.blueimp_md5))
|
||||||
|
|
||||||
if theme.baidu_analytics
|
if theme.baidu_analytics
|
||||||
link(rel="dns-prefetch" href="https://hm.baidu.com")
|
link(rel="dns-prefetch" href="https://hm.baidu.com")
|
||||||
|
|||||||
@@ -204,6 +204,8 @@ img[src=""],img:not([src])
|
|||||||
opacity: 0
|
opacity: 0
|
||||||
|
|
||||||
.justified-gallery
|
.justified-gallery
|
||||||
|
margin: 1rem 0
|
||||||
|
|
||||||
img
|
img
|
||||||
opacity 0
|
opacity 0
|
||||||
.fancybox
|
.fancybox
|
||||||
|
|||||||
@@ -11,7 +11,7 @@
|
|||||||
box-shadow: -0.25rem 0 0.25rem rgba(232, 237, 250, 0.6) inset
|
box-shadow: -0.25rem 0 0.25rem rgba(232, 237, 250, 0.6) inset
|
||||||
opacity: 0.9
|
opacity: 0.9
|
||||||
will-change: transform
|
will-change: transform
|
||||||
transition: transform .2s
|
transition: ease-in-out .2s
|
||||||
|
|
||||||
.sidebar-toc
|
.sidebar-toc
|
||||||
ol,
|
ol,
|
||||||
|
|||||||
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