optimize performance

This commit is contained in:
ClovertaTheTrilobita 2026-03-30 20:12:36 +03:00
parent 8a398fbed0
commit bfa18d6e17
9 changed files with 4 additions and 4 deletions

Binary file not shown.

Before

Width:  |  Height:  |  Size: 257 KiB

After

Width:  |  Height:  |  Size: 8.1 KiB

View file

@ -19,7 +19,7 @@ const data = Astro.props;
</div>
</div>
<img src={data.img} alt={data.title} class="post-image" />
<img src={data.img} alt={data.title} class="post-image" loading="lazy" />
</a>
</li>
@ -52,7 +52,7 @@ const data = Astro.props;
}
.post-title {
font-family: "Recursive Mono", "Maple Mono CN";
font-family: "Maple Mono", "Maple Mono CN";
color: inherit;
font-weight: 700;
font-size: 1.34rem;

View file

@ -120,7 +120,7 @@ body::after {
/* 按需调整大小 */
height: 400px;
/* 按需调整大小 */
background-image: url("https://files.seeusercontent.com/2026/03/28/Zd0m/bc7e804dc2c8ecaf407c9d665414ff72.jpg");
background-image: url("https://files.seeusercontent.com/2026/03/30/4Xfr/bc7e804dc2c8ecaf407c9d665414ff72.webp");
background-repeat: no-repeat;
background-position: right bottom;
background-size: contain;
@ -130,7 +130,7 @@ body::after {
}
html.dark body::after {
background-image: url("https://files.seeusercontent.com/2026/03/28/nd1W/pasted-image-1774730083896.webp");
background-image: url("https://files.seeusercontent.com/2026/03/30/vd8W/touhou___alice_margatroid_x_kiri.webp");
}
@media (max-width: 768px) {