Some checks failed
CI / UI (push) Successful in 43s
Release / Test backend (push) Successful in 45s
CI / Backend (push) Successful in 48s
Release / Check ui (push) Successful in 36s
CI / Backend (pull_request) Successful in 47s
CI / UI (pull_request) Successful in 36s
Release / Docker / caddy (push) Failing after 1m50s
Release / Docker / runner (push) Successful in 1m57s
Release / Docker / backend (push) Successful in 3m13s
Release / Docker / ui (push) Successful in 2m42s
Release / Gitea Release (push) Has been skipped
Add header/footer, LibNovel wordmark, pulsing status indicator, faint watermark code, and auto-refresh countdown (20s for 502/504, 30s for 503). Fix two-tone background by setting background on html+body. 404 is static with no auto-refresh. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
166 lines
3.6 KiB
HTML
166 lines
3.6 KiB
HTML
<!DOCTYPE html>
|
|
<html lang="en">
|
|
<head>
|
|
<meta charset="UTF-8" />
|
|
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
|
<title>Under Maintenance — LibNovel</title>
|
|
<style>
|
|
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
|
|
|
|
html, body {
|
|
height: 100%;
|
|
background: #09090b;
|
|
}
|
|
|
|
body {
|
|
min-height: 100svh;
|
|
display: flex;
|
|
flex-direction: column;
|
|
font-family: ui-sans-serif, system-ui, sans-serif;
|
|
color: #a1a1aa;
|
|
}
|
|
|
|
/* ── Header ── */
|
|
header {
|
|
padding: 1.5rem 2rem;
|
|
border-bottom: 1px solid #27272a;
|
|
}
|
|
.logo {
|
|
font-size: 1.125rem;
|
|
font-weight: 700;
|
|
color: #e4e4e7;
|
|
letter-spacing: -0.02em;
|
|
text-decoration: none;
|
|
}
|
|
.logo span { color: #f59e0b; }
|
|
|
|
/* ── Main ── */
|
|
main {
|
|
flex: 1;
|
|
display: flex;
|
|
flex-direction: column;
|
|
align-items: center;
|
|
justify-content: center;
|
|
padding: 3rem 2rem;
|
|
text-align: center;
|
|
gap: 0;
|
|
}
|
|
|
|
.watermark {
|
|
font-size: clamp(5rem, 22vw, 9rem);
|
|
font-weight: 800;
|
|
color: #18181b;
|
|
line-height: 1;
|
|
letter-spacing: -0.04em;
|
|
user-select: none;
|
|
margin-bottom: 2rem;
|
|
}
|
|
|
|
.status-row {
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 0.5rem;
|
|
margin-bottom: 1.25rem;
|
|
}
|
|
.dot {
|
|
width: 8px;
|
|
height: 8px;
|
|
border-radius: 50%;
|
|
background: #f59e0b;
|
|
animation: pulse 2s ease-in-out infinite;
|
|
}
|
|
@keyframes pulse {
|
|
0%, 100% { opacity: 1; transform: scale(1); }
|
|
50% { opacity: 0.4; transform: scale(0.75); }
|
|
}
|
|
.status-label {
|
|
font-size: 0.75rem;
|
|
font-weight: 600;
|
|
text-transform: uppercase;
|
|
letter-spacing: 0.08em;
|
|
color: #f59e0b;
|
|
}
|
|
|
|
h1 {
|
|
font-size: 1.5rem;
|
|
font-weight: 700;
|
|
color: #e4e4e7;
|
|
letter-spacing: -0.02em;
|
|
margin-bottom: 0.75rem;
|
|
}
|
|
|
|
p {
|
|
font-size: 0.9375rem;
|
|
max-width: 38ch;
|
|
line-height: 1.65;
|
|
margin-bottom: 2rem;
|
|
}
|
|
|
|
.btn {
|
|
display: inline-block;
|
|
padding: 0.625rem 1.5rem;
|
|
border-radius: 0.5rem;
|
|
background: #f59e0b;
|
|
color: #000;
|
|
font-weight: 600;
|
|
font-size: 0.875rem;
|
|
text-decoration: none;
|
|
transition: background 0.15s;
|
|
}
|
|
.btn:hover { background: #d97706; }
|
|
|
|
.refresh-note {
|
|
margin-top: 1.25rem;
|
|
font-size: 0.8rem;
|
|
color: #52525b;
|
|
}
|
|
#countdown { color: #71717a; }
|
|
|
|
/* ── Footer ── */
|
|
footer {
|
|
padding: 1.5rem 2rem;
|
|
border-top: 1px solid #27272a;
|
|
text-align: center;
|
|
font-size: 0.8rem;
|
|
color: #3f3f46;
|
|
}
|
|
</style>
|
|
</head>
|
|
<body>
|
|
|
|
<header>
|
|
<a class="logo" href="/">Lib<span>Novel</span></a>
|
|
</header>
|
|
|
|
<main>
|
|
<div class="watermark">503</div>
|
|
|
|
<div class="status-row">
|
|
<div class="dot"></div>
|
|
<span class="status-label">Maintenance in progress</span>
|
|
</div>
|
|
|
|
<h1>We'll be right back</h1>
|
|
<p>LibNovel is briefly offline for scheduled maintenance. No data is being changed — hang tight.</p>
|
|
|
|
<a class="btn" href="/">Try again</a>
|
|
<p class="refresh-note">Page refreshes automatically in <span id="countdown">30</span>s</p>
|
|
</main>
|
|
|
|
<footer>
|
|
© LibNovel
|
|
</footer>
|
|
|
|
<script>
|
|
var s = 30;
|
|
var el = document.getElementById('countdown');
|
|
var t = setInterval(function () {
|
|
s--;
|
|
el.textContent = s;
|
|
if (s <= 0) { clearInterval(t); location.reload(); }
|
|
}, 1000);
|
|
</script>
|
|
|
|
</body>
|
|
</html>
|