jerryc127 / hexo-theme-butterfly

🦋 A Hexo Theme: Butterfly
https://butterfly.js.org
Apache License 2.0
6.82k stars 1.24k forks source link

[Bug]: 设置网站背景图像后无法显示 #1422

Closed crazy-zxx closed 6 months ago

crazy-zxx commented 6 months ago

使用的 Butterfly 版本? | What version of Butterfly are you use?

4.11.0

是否修改过主题文件? || Has the theme files been modified?

是 (Yes)

使用的瀏覽器? || What browse are you using?

Edge

使用的系統? || What operating system are you using?

Windows

依賴插件 | Package dependencies Information

hexo-site@0.0.0 D:\SourceCode\BlogGitPages\blog
├── hexo-generator-archive@2.0.0
├── hexo-generator-category@2.0.0
├── hexo-generator-index@3.0.0
├── hexo-generator-search@2.4.3
├── hexo-generator-tag@2.0.0
├── hexo-renderer-ejs@2.0.0
├── hexo-renderer-marked@6.2.0
├── hexo-renderer-pug@3.0.0
├── hexo-renderer-stylus@3.0.0
├── hexo-server@3.0.0
├── hexo-theme-landscape@1.0.0
└── hexo@7.0.0

問題描述 | Describe the bug

主题配置: image

浏览器请求正常: image

css文件加载正常: image

background: url(https://s2.loli.net/2023/12/28/iWovFX9QbTz3M5U.jpg)
# background: url(https://i.loli.net/2019/09/09/5oDRkWVKctx2b6A.png)
# background: '#49B202'

网络请求正常,css文件也没问题,控制台也没有输出错误,但是背景就是没有渲染。 背景图片链接时有效的。 我尝试了文档给出的背景图片也是不行。 而且即使是设置背景颜色也是无效的。

出現問題網站 | Website

https://crazy-zxx.github.io/

jerryc127 commented 6 months ago

image

crazy-zxx commented 6 months ago

image

确实,是我的电脑问题,十分感谢。

crazy-zxx commented 6 months ago

是浏览器插件darkreader导致的。