0003.Hexo Fluid添加自定义js和css
下载对应文件,去除 .min
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
| custom_js: - //cdn.jsdelivr.net/gh/EmoryHuang/BlogBeautify@1.1/DynamicRibbon.min.js - //cdn.jsdelivr.net/gh/EmoryHuang/BlogBeautify@1.1/runtime.min.js - //cdn.jsdelivr.net/gh/EmoryHuang/BlogBeautify@1.1/Ribbon.min.js - //cdn.jsdelivr.net/gh/EmoryHuang/BlogBeautify@1.1/DynamicLine.min.js - //cdn.jsdelivr.net/gh/EmoryHuang/BlogBeautify@1.1/snowflake.min.js - //cdn.jsdelivr.net/gh/EmoryHuang/BlogBeautify@1.1/Cherry.min.js - //cdn.jsdelivr.net/gh/EmoryHuang/BlogBeautify@1.1/star.min.js - //cdn.jsdelivr.net/gh/EmoryHuang/BlogBeautify@1.1/containsWord.min.js - //cdn.jsdelivr.net/gh/EmoryHuang/BlogBeautify@1.1/love.min.js
custom_css: - //cdn.jsdelivr.net/gh/EmoryHuang/BlogBeautify@1.1/shubiao.css - //cdn.jsdelivr.net/gh/EmoryHuang/BlogBeautify@1.1/scroll.css - //cdn.jsdelivr.net/gh/EmoryHuang/BlogBeautify@1.1/gradient.css
|
位置放在 /source/js/或/source/css/
在主题配置 _config.fluid.yml 中找到 custom_js 或者 custom_css,修改如下:
1 2 3 4 5
| custom_js: - /js/DynamicLine.js #动态黑色线条
custom_css: - /css/shubiao.css #鼠标指针
|
下载地址
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39
| 添加动态彩带
//cdn.jsdelivr.net/gh/EmoryHuang/BlogBeautify@1.1/DynamicRibbon.min.js
添加静态彩带
//cdn.jsdelivr.net/gh/EmoryHuang/BlogBeautify@1.1/Ribbon.min.js
添加小雪花飘落效果
//cdn.jsdelivr.net/gh/EmoryHuang/BlogBeautify@1.1/snowflake.min.js
添加樱花飘落效果
//cdn.jsdelivr.net/gh/EmoryHuang/BlogBeautify@1.1/Cherry.min.js
鼠标跟随小星星
//cdn.jsdelivr.net/gh/EmoryHuang/BlogBeautify@1.1/star.min.js
鼠标点击出字
//cdn.jsdelivr.net/gh/EmoryHuang/BlogBeautify@1.1/containsWord.min.js
鼠标点击出爱心
//cdn.jsdelivr.net/gh/EmoryHuang/BlogBeautify@1.1/love.min.js
滚动条颜色
//cdn.jsdelivr.net/gh/EmoryHuang/BlogBeautify@1.1/scroll.css
头部打字机颜色效果渐变
//cdn.jsdelivr.net/gh/EmoryHuang/BlogBeautify@1.1/gradient.css
更换鼠标指针样式
//cdn.jsdelivr.net/gh/EmoryHuang/BlogBeautify@1.1/shubiao.css
|