1
0
Fork 0

update 404 page

This commit is contained in:
nanxiaobei 2021-08-21 00:48:17 +08:00
parent bc4695f79f
commit 8c001f7560
2 changed files with 5 additions and 5 deletions

View file

@ -168,7 +168,7 @@ img {
} }
.site-name { .site-name {
padding-bottom: 0.6rem; padding-bottom: 0.2rem;
font-size: 3.5rem; font-size: 3.5rem;
font-weight: 700; font-weight: 700;
} }
@ -648,11 +648,11 @@ img {
/* 404 /* 404
-------------------------------------------------- */ -------------------------------------------------- */
.not-found { .title-404 {
position: absolute;
inset: var(--header) 0 calc(var(--footer) * 2);
display: flex; display: flex;
align-items: center; align-items: center;
justify-content: center; justify-content: center;
height: 70vh;
font-size: 16rem; font-size: 16rem;
font-weight: 700;
} }

View file

@ -1,3 +1,3 @@
{{ partial "header.html" . }} {{ partial "header.html" . }}
<div class="not-found">404</div> <h1 class="title-404">404</h1>
{{ partial "footer.html" . }} {{ partial "footer.html" . }}