148 lines
3.2 KiB
HTML
148 lines
3.2 KiB
HTML
{% extends "base.html" %}
|
|
|
|
{% block title %}Lost in the Void - Code of Conquest{% endblock %}
|
|
|
|
{% block content %}
|
|
<div class="error-container">
|
|
<div class="error-content">
|
|
<!-- Error Code -->
|
|
<div class="error-code">404</div>
|
|
|
|
<!-- Error Title -->
|
|
<h1 class="error-title">Lost in the Void</h1>
|
|
|
|
<!-- Flavor Text -->
|
|
<div class="error-description">
|
|
<p class="lead">The path you seek has vanished into the mists...</p>
|
|
<p>This page has either been consumed by ancient magic, moved to another realm, or never existed in the first place.</p>
|
|
</div>
|
|
|
|
<!-- Decorative Divider -->
|
|
<div class="error-divider">⚔️</div>
|
|
|
|
<!-- Navigation Options -->
|
|
<div class="error-actions">
|
|
<a href="/" class="btn btn-primary">
|
|
Return to the Realm
|
|
</a>
|
|
<a href="{{ url_for('character_views.list_characters') }}" class="btn btn-secondary">
|
|
View Your Characters
|
|
</a>
|
|
</div>
|
|
|
|
<!-- Additional Help -->
|
|
<div class="error-help">
|
|
<p class="help-text">
|
|
If you believe this path should exist, consult the ancient scrolls (check your URL) or
|
|
<a href="/" class="text-link">return home</a> to begin your journey anew.
|
|
</p>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
<style>
|
|
.error-container {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
min-height: calc(100vh - 200px);
|
|
padding: 2rem;
|
|
}
|
|
|
|
.error-content {
|
|
max-width: 600px;
|
|
text-align: center;
|
|
background: var(--bg-secondary);
|
|
padding: 3rem 2rem;
|
|
border-radius: 8px;
|
|
border: 2px solid var(--border-ornate);
|
|
box-shadow: var(--shadow-lg);
|
|
}
|
|
|
|
.error-code {
|
|
font-family: var(--font-heading);
|
|
font-size: 8rem;
|
|
font-weight: 700;
|
|
color: var(--accent-gold);
|
|
text-shadow: 0 0 30px rgba(243, 156, 18, 0.5);
|
|
line-height: 1;
|
|
margin-bottom: 1rem;
|
|
}
|
|
|
|
.error-title {
|
|
font-family: var(--font-heading);
|
|
font-size: var(--text-4xl);
|
|
color: var(--text-primary);
|
|
margin-bottom: 1.5rem;
|
|
text-transform: uppercase;
|
|
letter-spacing: 2px;
|
|
}
|
|
|
|
.error-description {
|
|
margin-bottom: 2rem;
|
|
}
|
|
|
|
.error-description .lead {
|
|
font-size: var(--text-xl);
|
|
color: var(--accent-gold);
|
|
font-style: italic;
|
|
margin-bottom: 1rem;
|
|
}
|
|
|
|
.error-description p {
|
|
color: var(--text-secondary);
|
|
line-height: 1.8;
|
|
}
|
|
|
|
.error-divider {
|
|
font-size: var(--text-2xl);
|
|
color: var(--border-ornate);
|
|
margin: 2rem 0;
|
|
}
|
|
|
|
.error-actions {
|
|
display: flex;
|
|
flex-direction: column;
|
|
gap: 1rem;
|
|
margin-bottom: 2rem;
|
|
}
|
|
|
|
.error-actions .btn {
|
|
width: 100%;
|
|
}
|
|
|
|
.error-help {
|
|
padding-top: 2rem;
|
|
border-top: 1px solid var(--border-primary);
|
|
}
|
|
|
|
.help-text {
|
|
font-size: var(--text-sm);
|
|
color: var(--text-muted);
|
|
line-height: 1.6;
|
|
}
|
|
|
|
.text-link {
|
|
color: var(--accent-gold);
|
|
text-decoration: none;
|
|
transition: color 0.2s;
|
|
}
|
|
|
|
.text-link:hover {
|
|
color: var(--accent-gold-hover);
|
|
text-decoration: underline;
|
|
}
|
|
|
|
@media (min-width: 640px) {
|
|
.error-actions {
|
|
flex-direction: row;
|
|
justify-content: center;
|
|
}
|
|
|
|
.error-actions .btn {
|
|
width: auto;
|
|
}
|
|
}
|
|
</style>
|
|
{% endblock %}
|