perf: 背景图转换为 webp 格式优化加载,删除原 jpg 文件

This commit is contained in:
Coldin04 2026-01-23 12:26:32 +08:00
parent 38c538cfb1
commit f35de394fc
4 changed files with 3 additions and 1 deletions

2
.gitignore vendored Normal file
View file

@ -0,0 +1,2 @@
task.md
/.wrangler

Binary file not shown.

After

Width:  |  Height:  |  Size: 721 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.2 MiB

View file

@ -1,7 +1,7 @@
html, body { height: 100%; }
body {
/* 使用 Bing 图片作为背景 */
background-image: url('src/wallpaper/big_sure.jpg');
background-image: url('src/wallpaper/big_sure.webp');
background-size: cover;
background-position: center;
background-repeat: no-repeat;