Simplify 404/500 page (#31409)

This commit is contained in:
wxiaoguang 2024-06-24 01:45:21 +08:00 committed by GitHub
parent 6a96deb589
commit f4921b9daa
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
7 changed files with 39 additions and 19 deletions

View file

@ -477,6 +477,20 @@ img.ui.avatar,
padding-bottom: 80px;
}
.status-page-error {
margin-top: max(45vh - 90px, 80px);
margin-bottom: 80px;
}
.status-page-error-title {
font-size: 48px;
margin-bottom: 14px; /* some elements below may use tw-my-4 or tw-my-8, so use 14px as a minimal margin */
line-height: initial;
text-align: center;
font-weight: var(--font-weight-bold);
color: var(--color-text-light-2);
}
/* add margin below .secondary nav when it is the first child */
.page-content > :first-child.secondary-nav {
margin-bottom: 14px;