diff --git a/docs/images/wallhaven-o35exm.webp b/docs/images/wallhaven-o35exm.webp new file mode 100644 index 0000000..94e9ef4 Binary files /dev/null and b/docs/images/wallhaven-o35exm.webp differ diff --git a/docs/stylesheets/background.css b/docs/stylesheets/background.css index b2e5141..3f8adcb 100644 --- a/docs/stylesheets/background.css +++ b/docs/stylesheets/background.css @@ -6,7 +6,7 @@ body::before { left: 0; height: 100%; width: 100%; - background-image: url("../images/wallhaven-o35exm.jpg"); /* 替换为你的图片路径 */ + background-image: url("../images/wallhaven-o35exm.webp"); /* 替换为你的图片路径 */ background-size: cover; background-position: center; background-repeat: no-repeat; diff --git a/docs/stylesheets/preload.js b/docs/stylesheets/preload.js index f03206c..14aeb39 100644 --- a/docs/stylesheets/preload.js +++ b/docs/stylesheets/preload.js @@ -2,5 +2,5 @@ const preloadLink = document.createElement("link"); preloadLink.rel = "preload"; preloadLink.as = "image"; -preloadLink.href = "/images/wallhaven-o35exm.jpg"; // 替换为你的图片路径 +preloadLink.href = "/images/wallhaven-o35exm.webp"; // 替换为你的图片路径 document.head.appendChild(preloadLink);