Files
Emberfall/public/404.html
2026-10-21 10:21:11 +11:00

96 lines
2.1 KiB
HTML

<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Emberfall — Page Not Found</title>
<link rel="stylesheet" href="/css/main.css">
<style>
.error-page {
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
min-height: 60vh;
text-align: center;
padding: 2rem;
}
.error-code {
font-size: 6rem;
font-weight: bold;
color: var(--accent, #e2822b);
line-height: 1;
margin-bottom: 0.5rem;
}
.error-title {
font-size: 1.5rem;
color: var(--text, #eadfce);
margin-bottom: 1rem;
}
.error-message {
font-size: 1rem;
color: var(--muted, #a59a8a);
margin-bottom: 2rem;
max-width: 400px;
}
.error-actions {
display: flex;
gap: 1rem;
flex-wrap: wrap;
justify-content: center;
}
.error-actions a {
display: inline-block;
padding: 0.5rem 1.25rem;
border-radius: 4px;
text-decoration: none;
font-size: 0.875rem;
font-weight: 600;
transition: opacity 0.2s;
}
.error-actions a:hover {
opacity: 0.85;
}
.btn-home {
background: var(--accent, #e2822b);
color: #fff;
}
.btn-back {
background: transparent;
color: var(--accent, #e2822b);
border: 1px solid var(--accent, #e2822b);
}
/* Server-only error (500) */
.error-code.server {
color: var(--danger, #c0392b);
}
.error-message.server {
color: var(--muted, #a59a8a);
}
</style>
</head>
<body>
<div class="error-page">
<div class="error-code" id="error-code">404</div>
<h1 class="error-title" id="error-title">Page Not Found</h1>
<p class="error-message" id="error-message">
The page you're looking for has gone dark. Perhaps it was never here, or has been consumed by the shadows.
</p>
<div class="error-actions">
<a href="/" class="btn-home">Return to Emberfall</a>
<a href="javascript:history.back()" class="btn-back">Go Back</a>
</div>
</div>
</body>
</html>