Files
havox/404.css
T
2026-10-08 12:44:23 +01:00

135 lines
1.9 KiB
CSS

body {
display: flex;
flex-direction: column;
min-height: 100dvh;
}
.not-found {
flex: 1;
display: grid;
align-items: center;
width: 100%;
max-width: 1100px;
margin: 0 auto;
padding: 8rem 3rem 5rem;
}
.nf-layout {
display: grid;
grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr);
align-items: center;
gap: 3rem;
}
.nf-eyebrow {
margin-bottom: 1.5rem;
font-family: var(--font-mono);
font-size: 0.72rem;
letter-spacing: 0.08em;
text-transform: uppercase;
color: var(--link-accent);
}
.nf-terminal {
min-width: 0;
padding: 1.5rem;
background: var(--mantle);
border: 1px solid var(--surface0);
border-radius: 8px;
font-family: var(--font-mono);
font-size: 0.78rem;
color: var(--subtext1);
}
.nf-terminal-bar {
display: flex;
gap: 0.5rem;
}
.nf-dot {
width: 10px;
height: 10px;
border-radius: 50%;
opacity: 0.7;
}
.nf-dot--red {
background: var(--red);
}
.nf-dot--yellow {
background: var(--yellow);
}
.nf-dot--green {
background: var(--green);
}
.nf-code {
margin: 1.5rem 0;
font-size: clamp(5rem, 10vw, 8rem);
font-weight: 700;
line-height: 1;
letter-spacing: -0.06em;
color: var(--mauve);
user-select: none;
}
.nf-terminal-line {
display: flex;
gap: 0.6rem;
line-height: 1.9;
}
.nf-prompt {
color: var(--green);
}
.nf-cmd {
min-width: 0;
overflow-wrap: anywhere;
color: var(--text);
}
.nf-err {
color: var(--red);
}
.nf-comment {
color: var(--subtext0);
}
#nf-response,
#nf-hint {
transition: opacity 0.3s;
}
.nf-cursor {
width: 0.55em;
height: 1em;
margin-top: 0.45em;
background: var(--mauve);
animation: blink 1.1s step-end infinite;
}
@keyframes blink {
50% {
opacity: 0;
}
}
@media (max-width: 768px) {
.not-found {
padding: 6rem 1.5rem 3rem;
}
.nf-layout {
grid-template-columns: 1fr;
gap: 2.5rem;
}
.nf-terminal {
max-width: 440px;
}
}