Hexo修改鼠标样式

参考

[Hexo修改鼠标样式-阿里云开发者社区 (aliyun.com)](https://developer.aliyun.com/article/1143656#:~:text=打开站点主题配置文件 _config.butterfly.yml ,找到 inject ,在 head 处直接引入该文件: inject%3A,- 最后 hexo g 部署就能看见效果啦)

1.在 /themes/butterfly/source/css路径下创建一个mouse.css文件,在文件中添加如下代码:

body {
cursor:url(https://cdn.jsdelivr.net/gh/sviptzk/HexoStaticFile@latest/Hexo/img/default.cur),
default;
}
a,
img {
cursor:url(https://cdn.jsdelivr.net/gh/sviptzk/HexoStaticFile@latest/Hexo/img/pointer.cur),
default;
}

打开站点主题配置文件_config.butterfly.yml,找到inject,在head处直接引入该文件:

inject:
head:
- <link rel="stylesheet" href="/css/mouse.css">

最后 hexo g 部署就能看见效果啦