add better 403 screens and start with bun dev mode. (going to rewrite to fit the bun standard in a bit).

This commit is contained in:
KingKDot
2026-07-23 13:29:32 -05:00
parent 49bf1438a8
commit a68172538d
10 changed files with 487 additions and 22 deletions
@@ -0,0 +1,201 @@
:root {
color-scheme: dark;
font-family: "Inter", system-ui, sans-serif;
background: #05070f;
color: #eef2ff;
}
* {
box-sizing: border-box;
}
body {
min-width: 320px;
min-height: 100vh;
margin: 0;
background:
radial-gradient(circle at 18% 16%, rgba(37, 99, 235, 0.22), transparent 32rem),
radial-gradient(circle at 82% 84%, rgba(124, 58, 237, 0.16), transparent 30rem),
#05070f;
}
body::before {
position: fixed;
inset: 0;
background-image:
linear-gradient(rgba(148, 163, 184, 0.025) 1px, transparent 1px),
linear-gradient(90deg, rgba(148, 163, 184, 0.025) 1px, transparent 1px);
background-size: 40px 40px;
content: "";
pointer-events: none;
mask-image: radial-gradient(circle at center, black, transparent 80%);
}
.access-shell {
position: relative;
display: grid;
min-height: 100vh;
place-content: center;
justify-items: center;
padding: 32px 20px;
}
.access-card {
width: min(100%, 590px);
padding: clamp(28px, 6vw, 48px);
overflow: hidden;
text-align: center;
background: linear-gradient(145deg, rgba(24, 32, 52, 0.96), rgba(11, 15, 27, 0.98));
border: 1px solid rgba(148, 163, 184, 0.16);
border-radius: 24px;
box-shadow: 0 28px 90px rgba(0, 0, 0, 0.48), 0 0 80px rgba(59, 130, 246, 0.08);
}
.access-status {
display: inline-flex;
padding: 7px 11px;
margin-bottom: 28px;
color: #fbbf24;
font-size: 0.72rem;
font-weight: 700;
letter-spacing: 0.1em;
text-transform: uppercase;
background: rgba(245, 158, 11, 0.09);
border: 1px solid rgba(245, 158, 11, 0.2);
border-radius: 999px;
}
.access-icon {
display: grid;
width: 76px;
height: 76px;
margin: 0 auto 22px;
place-items: center;
color: #a5b4fc;
font-size: 1.8rem;
background: linear-gradient(145deg, rgba(79, 70, 229, 0.25), rgba(37, 99, 235, 0.12));
border: 1px solid rgba(129, 140, 248, 0.24);
border-radius: 22px;
box-shadow: inset 0 1px rgba(255, 255, 255, 0.08), 0 14px 35px rgba(37, 99, 235, 0.14);
}
h1 {
margin: 0;
font-size: clamp(1.7rem, 5vw, 2.35rem);
line-height: 1.12;
letter-spacing: -0.035em;
}
.access-message {
max-width: 460px;
margin: 14px auto 0;
color: #aebbd0;
font-size: 1rem;
line-height: 1.65;
}
.access-detail {
display: flex;
gap: 12px;
align-items: center;
justify-content: space-between;
margin-top: 26px;
padding: 14px 16px;
text-align: left;
background: rgba(2, 6, 23, 0.58);
border: 1px solid rgba(100, 116, 139, 0.2);
border-radius: 12px;
}
.access-detail span {
color: #8593aa;
font-size: 0.78rem;
font-weight: 600;
}
.access-detail code {
padding: 4px 7px;
color: #c7d2fe;
font-family: ui-monospace, "Cascadia Code", monospace;
font-size: 0.78rem;
background: rgba(99, 102, 241, 0.1);
border-radius: 6px;
}
.access-help {
margin: 17px auto 0;
color: #708097;
font-size: 0.8rem;
line-height: 1.5;
}
.access-actions {
display: flex;
gap: 10px;
justify-content: center;
margin-top: 30px;
}
.access-actions a {
display: inline-flex;
gap: 9px;
align-items: center;
justify-content: center;
min-height: 44px;
padding: 0 17px;
color: #dbe7f7;
font-size: 0.86rem;
font-weight: 600;
text-decoration: none;
border-radius: 10px;
transition: transform 150ms ease, border-color 150ms ease, background 150ms ease;
}
.access-actions a:hover {
transform: translateY(-1px);
}
.access-primary {
background: linear-gradient(135deg, #4f46e5, #2563eb);
border: 1px solid rgba(165, 180, 252, 0.24);
box-shadow: 0 10px 24px rgba(37, 99, 235, 0.2);
}
.access-primary:hover {
background: linear-gradient(135deg, #5b52ee, #3472ec);
}
.access-secondary {
background: rgba(30, 41, 59, 0.6);
border: 1px solid rgba(148, 163, 184, 0.16);
}
.access-secondary:hover {
background: rgba(51, 65, 85, 0.66);
border-color: rgba(148, 163, 184, 0.3);
}
.access-footer {
margin: 22px 0 0;
color: #536077;
font-size: 0.76rem;
font-weight: 600;
letter-spacing: 0.08em;
text-transform: uppercase;
}
.access-footer i {
margin-right: 6px;
color: #6776a5;
}
@media (max-width: 520px) {
.access-actions {
flex-direction: column;
}
.access-detail {
align-items: flex-start;
flex-direction: column;
}
}