0%

hexo-next上使用的一些美化

嵌入Bilibili视频

1
2
3
4
5
6
7
8
9
<div style="position: relative; width: 100%; height: 0; padding-bottom: 75%;">
<iframe src="//player.bilibili.com/player.html?aid=73171228&cid=125154822&page=1"
scrolling="no"
border="0"
frameborder="no"
framespacing="0"
allowfullscreen="true"
style="position: absolute; width: 100%; height: 100%; left: 0; top: 0;"> </iframe>
</div>

图片点击放大

使用了fancybox
next/_config.yml中将fancybox的选项设为true

1
git clone https://github.com/theme-next/theme-next-fancybox3 fancybox

欢迎在Weibo和Twitter关注我