mirror of
https://github.com/ClovertaTheTrilobita/SanYeCao-blog.git
synced 2026-04-01 17:50:13 +00:00
optimize performance
This commit is contained in:
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 |
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
|
|
@ -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;
|
||||
|
|
|
|||
|
|
@ -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) {
|
||||
|
|
|
|||
Loading…
Reference in a new issue