73 lines
1.6 KiB
CSS
73 lines
1.6 KiB
CSS
/* ============================================================
|
|
404 PAGE — "you stumbled into the void"
|
|
Matches main.css design system (accent color, surfaces, fonts)
|
|
============================================================ */
|
|
|
|
.four-zero-four {
|
|
position: relative;
|
|
z-index: 1;
|
|
width: 100%;
|
|
max-width: 460px;
|
|
text-align: center;
|
|
padding: 2rem 1.5rem;
|
|
border-radius: 20px;
|
|
background: var(--surface-0);
|
|
border: 1px solid var(--surface-1);
|
|
box-shadow: 0 10px 40px rgba(17, 17, 27, 0.35);
|
|
}
|
|
|
|
.four-zero-four img {
|
|
display: block;
|
|
max-width: 200px;
|
|
width: 100%;
|
|
height: auto;
|
|
margin: 0 auto 1.25rem;
|
|
border-radius: 14px;
|
|
}
|
|
|
|
.four-zero-four h1 {
|
|
margin: 0 0 0.75rem;
|
|
font-size: 1.8rem;
|
|
font-weight: 700;
|
|
color: rgb(var(--accent-rgb));
|
|
transition: color 0.6s ease;
|
|
}
|
|
|
|
.four-zero-four p {
|
|
margin: 0 0 1.75rem;
|
|
color: var(--subtext-0);
|
|
font-size: 0.95rem;
|
|
line-height: 1.5;
|
|
}
|
|
|
|
.four-zero-four a {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
gap: 0.4rem;
|
|
padding: 0.55rem 1.1rem;
|
|
border-radius: 999px;
|
|
background: var(--surface-1);
|
|
border: 1px solid var(--surface-2);
|
|
color: var(--text);
|
|
font-size: 0.9rem;
|
|
text-decoration: none;
|
|
transition: transform 0.15s ease, border-color 0.15s ease,
|
|
background 0.15s ease, box-shadow 0.15s ease;
|
|
}
|
|
|
|
.four-zero-four a:hover {
|
|
transform: translateY(-2px);
|
|
background: var(--surface-2);
|
|
border-color: rgb(var(--accent-rgb));
|
|
box-shadow: 0 6px 20px rgba(var(--accent-rgb), 0.22);
|
|
}
|
|
|
|
@media (max-width: 560px) {
|
|
.four-zero-four {
|
|
padding: 1.5rem 1.25rem;
|
|
}
|
|
|
|
.four-zero-four h1 {
|
|
font-size: 1.5rem;
|
|
}
|
|
} |