Files
2026-03-27 14:50:18 -04:00

235 lines
6.1 KiB
Cheetah

{{template "base/head" .}}
<div class="page-content explore">
<style>
@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@400;600;700&family=IM+Fell+English:ital@0;1&display=swap');
.da-page * { box-sizing: border-box; margin: 0; padding: 0; }
.full.height, #navbar, .navbar, footer#footer,
.page-content { padding: 0 !important; margin: 0 !important; }
.da-bg {
position: fixed;
inset: 0;
z-index: 0;
background-image: url('https://images.unsplash.com/photo-1481627834876-b7833e8f5570?auto=format&fit=crop&w=1920&q=80');
background-size: cover;
background-position: center top;
}
.da-bg::after {
content: '';
position: absolute;
inset: 0;
background:
linear-gradient(180deg, rgba(5,3,1,0.72) 0%, rgba(8,5,2,0.68) 100%),
radial-gradient(ellipse 80% 50% at 50% 0%, rgba(196,96,28,0.15) 0%, transparent 70%);
}
.da-page {
position: fixed;
inset: 0;
z-index: 1;
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
font-family: 'IM Fell English', Georgia, serif;
color: #e8d5a3;
padding: 2rem;
gap: 1.5rem;
}
/* ── Header ──────────────────────────────────────────────── */
.da-header { text-align: center; }
.da-eyebrow {
font-family: 'Cinzel', serif;
font-size: 1.4rem;
letter-spacing: 0.5em;
text-transform: uppercase;
color: #b8905a;
margin-bottom: 0.6rem;
}
.da-title {
font-family: 'Cinzel', serif;
font-size: clamp(2.5rem, 5vw, 4.5rem);
font-weight: 700;
color: #f0d090;
letter-spacing: 0.12em;
line-height: 1;
text-shadow: 0 2px 30px rgba(212,162,40,0.5), 2px 4px 12px rgba(0,0,0,0.9);
margin-bottom: 0.5rem;
}
.da-subtitle {
font-family: 'IM Fell English', serif;
font-style: italic;
font-size: 2rem;
color: #9a7d5a;
letter-spacing: 0.06em;
}
/* ── Ornament ────────────────────────────────────────────── */
.da-ornament {
color: #8a6840;
font-size: 1.8rem;
letter-spacing: 0.5em;
display: flex;
align-items: center;
gap: 1.5rem;
width: 100%;
max-width: 600px;
}
.da-ornament::before,
.da-ornament::after {
content: '';
flex: 1;
height: 1px;
background: linear-gradient(90deg, transparent, #6a5030);
}
.da-ornament::after {
background: linear-gradient(90deg, #6a5030, transparent);
}
/* ── Inscription ─────────────────────────────────────────── */
.da-inscription {
background: rgba(11, 8, 4, 0.72);
border-top: 1px solid #3a2810;
border-bottom: 1px solid #3a2810;
padding: 1.25rem 3rem;
text-align: center;
backdrop-filter: blur(6px);
max-width: 700px;
width: 100%;
position: relative;
}
.da-inscription::before { content: '✦'; position: absolute; top: 0.5rem; left: 1rem; color: #6a5030; font-size: 1.3rem; }
.da-inscription::after { content: '✦'; position: absolute; top: 0.5rem; right: 1rem; color: #6a5030; font-size: 1.3rem; }
.da-inscription p {
font-family: 'IM Fell English', serif;
font-style: italic;
font-size: 2rem;
color: #b8905a;
line-height: 1.8;
}
/* ── Actions ─────────────────────────────────────────────── */
.da-actions {
display: flex;
justify-content: center;
gap: 1.25rem;
flex-wrap: wrap;
}
.da-btn {
font-family: 'Cinzel', serif;
font-size: 1.6rem;
font-weight: 600;
letter-spacing: 0.25em;
text-transform: uppercase;
padding: 0.85rem 2.5rem;
text-decoration: none;
border: 1px solid;
transition: all 220ms ease;
backdrop-filter: blur(4px);
display: inline-block;
}
.da-btn-primary {
background: rgba(120, 60, 15, 0.85);
color: #f0d090;
border-color: #a07020;
box-shadow: 0 4px 20px rgba(0,0,0,0.4);
}
.da-btn-primary:hover {
background: rgba(180, 90, 20, 0.92);
color: #fff8e0;
border-color: #d4a228;
box-shadow: 0 6px 28px rgba(196,96,28,0.3);
}
.da-btn-secondary {
background: rgba(11, 8, 4, 0.6);
color: #9a7d5a;
border-color: #6a5030;
}
.da-btn-secondary:hover { color: #c9b07a; border-color: #5a4020; }
/* ── Footer ──────────────────────────────────────────────── */
.da-footer {
position: fixed;
bottom: 0.75rem;
left: 50%;
transform: translateX(-50%);
}
.da-footer p {
font-family: 'IM Fell English', serif;
font-style: italic;
font-size: 1.36rem;
color: #6a5030;
letter-spacing: 0.03em;
white-space: nowrap;
}
.da-footer a { color: #5a4028; text-decoration: none; }
.da-footer a:hover { color: #c9a060; }
.da-photo-credit {
position: fixed;
bottom: 0.5rem;
left: 0.75rem;
font-family: 'Cinzel', serif;
font-size: 0.96rem;
letter-spacing: 0.08em;
color: rgba(40,25,8,0.35);
z-index: 10;
text-decoration: none;
}
.da-photo-credit:hover { color: rgba(100,70,30,0.7); }
</style>
<div class="da-bg"></div>
<div class="da-page">
<div class="da-header">
<div class="da-eyebrow">Codex &middot; Archive &middot; Repository</div>
<h1 class="da-title">{{AppName}}</h1>
<p class="da-subtitle">A curated archive of working manuscripts &amp; digital folios</p>
</div>
<div class="da-ornament">✦ ✦ ✦</div>
<div class="da-inscription">
<p>
Here are kept the working manuscripts, unfinished theories,<br>
and accumulated experiments of a restless scholar.
</p>
</div>
<div class="da-actions">
<a href="{{AppSubUrl}}/bs-sensei" class="da-btn da-btn-primary">Enter the Archive</a>
{{if .IsSigned}}
<a href="{{AppSubUrl}}/repo/create" class="da-btn da-btn-secondary">Open a New Volume</a>
{{end}}
</div>
<div class="da-footer">
<p>Powered by <a href="https://gitea.com">Gitea</a> &bull; {{AppName}}</p>
</div>
</div>
<a class="da-photo-credit"
href="https://unsplash.com/photos/gray-scale-photo-of-books-b7833e8f5570"
target="_blank" rel="noopener">Photo: Thomas Kelley / Unsplash</a>
</div>
{{template "base/footer" .}}