Hexo NexT pc和移动端双壁纸的设置

blog/source/_data/styles.styl

1
2
3
4
5
6
7
8
9
body {
background-image: url(/images/background-desktop.webp);
}

@media screen and (max-width: 767px) {
body {
background-image: url(/images/background-mobile.webp);
}
}