Simplify 404/500 page (#31409)

This commit is contained in:
wxiaoguang authored and GitHub committed 2024-06-23 17:45:21 +00:00
1 parent 6a96deb589
commit f4921b9daa
7 files changed
+39 -19

No files matched your search

+14
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;