feat: 404界面、微调ui
This commit is contained in:
@@ -3,5 +3,16 @@ import Layout from "@/layouts/Layout.astro";
|
|||||||
---
|
---
|
||||||
|
|
||||||
<Layout title="404" description="这里什么也没有发现~">
|
<Layout title="404" description="这里什么也没有发现~">
|
||||||
|
<div class="not-found">
|
||||||
|
<h1>404 NOT FOUND</h1>
|
||||||
|
</div>
|
||||||
</Layout>
|
</Layout>
|
||||||
|
|
||||||
|
<style>
|
||||||
|
.not-found{
|
||||||
|
height: 100%;
|
||||||
|
display: flex;
|
||||||
|
justify-content: center;
|
||||||
|
align-items: center;
|
||||||
|
}
|
||||||
|
</style>
|
||||||
|
|||||||
@@ -123,5 +123,10 @@ const {data} = await http.get<ApiResponse<Archive>>("posts/archives");
|
|||||||
.year-title{
|
.year-title{
|
||||||
font-size: 24px;
|
font-size: 24px;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.post-title{
|
||||||
|
font-size: 15px;
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
</style>
|
</style>
|
||||||
|
|||||||
@@ -102,6 +102,7 @@ const published_at = formatDatetime(data.published_at, "YYYY.MM.DD");
|
|||||||
font-size: 14px;
|
font-size: 14px;
|
||||||
margin-bottom: 20px;
|
margin-bottom: 20px;
|
||||||
color: var(--text-meta);
|
color: var(--text-meta);
|
||||||
|
line-height: 1.4;
|
||||||
}
|
}
|
||||||
|
|
||||||
.divider {
|
.divider {
|
||||||
|
|||||||
Reference in New Issue
Block a user