107 lines
1.6 KiB
CSS
107 lines
1.6 KiB
CSS
/* 404 页面 */
|
|
|
|
body.page-404 .site-header {
|
|
background: var(--bg);
|
|
border-bottom-color: var(--line-soft);
|
|
}
|
|
|
|
.not-found-page {
|
|
padding-top: 72px;
|
|
}
|
|
|
|
.not-found {
|
|
display: flex;
|
|
flex-direction: column;
|
|
align-items: center;
|
|
gap: 20px;
|
|
padding: 120px 0 140px;
|
|
text-align: center;
|
|
}
|
|
|
|
.not-found__code {
|
|
margin: 0;
|
|
color: #ff4a7b;
|
|
font-family: Inter, var(--font);
|
|
font-size: 96px;
|
|
font-weight: 700;
|
|
line-height: 96px;
|
|
}
|
|
|
|
.not-found__title {
|
|
margin: 0;
|
|
color: var(--text);
|
|
font-size: 28px;
|
|
font-weight: 600;
|
|
line-height: 38px;
|
|
}
|
|
|
|
.not-found__desc {
|
|
margin: 0;
|
|
max-width: 520px;
|
|
color: var(--text-muted);
|
|
font-size: 15px;
|
|
line-height: 24px;
|
|
}
|
|
|
|
.not-found__actions {
|
|
padding-top: 8px;
|
|
display: flex;
|
|
flex-wrap: wrap;
|
|
justify-content: center;
|
|
gap: 12px;
|
|
}
|
|
|
|
.not-found__cta .icon {
|
|
width: 22px;
|
|
height: 22px;
|
|
}
|
|
|
|
@media (max-width: 768px) {
|
|
.not-found-page {
|
|
padding-top: 56px;
|
|
}
|
|
|
|
.not-found {
|
|
gap: 14px;
|
|
padding: 96px var(--h5-gutter);
|
|
box-sizing: border-box;
|
|
}
|
|
|
|
.not-found__code {
|
|
font-size: 64px;
|
|
line-height: 64px;
|
|
}
|
|
|
|
.not-found__title {
|
|
font-size: 20px;
|
|
line-height: 28px;
|
|
}
|
|
|
|
.not-found__desc {
|
|
max-width: none;
|
|
align-self: stretch;
|
|
font-size: 13px;
|
|
line-height: 20px;
|
|
}
|
|
|
|
.not-found__actions {
|
|
align-self: stretch;
|
|
flex-direction: column;
|
|
align-items: stretch;
|
|
gap: 10px;
|
|
}
|
|
|
|
.not-found__cta {
|
|
width: 100%;
|
|
height: 48px;
|
|
padding: 0 22px;
|
|
font-size: 15px;
|
|
line-height: 22px;
|
|
}
|
|
|
|
.not-found__cta .icon {
|
|
width: 20px;
|
|
height: 20px;
|
|
}
|
|
}
|