224 lines
4.8 KiB
CSS
224 lines
4.8 KiB
CSS
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
|
|
|
|
:root {
|
|
--ink: #1a1714;
|
|
--paper: #f5f0e8;
|
|
--accent: #c4622d;
|
|
--muted: #8c8070;
|
|
--border: #d6cfc3;
|
|
--field-bg: #ece7dd;
|
|
}
|
|
|
|
html, body {
|
|
height: 100%;
|
|
background: var(--paper);
|
|
color: var(--ink);
|
|
font-family: 'Space Mono', monospace;
|
|
font-size: 13px;
|
|
}
|
|
|
|
body {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
min-height: 100vh;
|
|
padding: 24px;
|
|
}
|
|
|
|
/* Grain overlay */
|
|
body::before {
|
|
content: '';
|
|
position: fixed;
|
|
inset: 0;
|
|
background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.04'/%3E%3C/svg%3E");
|
|
pointer-events: none;
|
|
z-index: 0;
|
|
opacity: 0.5;
|
|
}
|
|
|
|
.container {
|
|
position: relative;
|
|
z-index: 1;
|
|
width: 100%;
|
|
max-width: 420px;
|
|
animation: rise 0.6s cubic-bezier(0.22, 1, 0.36, 1) both;
|
|
}
|
|
|
|
@keyframes rise {
|
|
from { opacity: 0; transform: translateY(18px); }
|
|
to { opacity: 1; transform: translateY(0); }
|
|
}
|
|
|
|
header {
|
|
margin-bottom: 40px;
|
|
}
|
|
|
|
.back {
|
|
display: inline-block;
|
|
font-family: 'Space Mono', monospace;
|
|
font-size: 11px;
|
|
color: var(--muted);
|
|
text-decoration: none;
|
|
letter-spacing: 0.04em;
|
|
margin-bottom: 28px;
|
|
transition: color 0.2s;
|
|
}
|
|
.back:hover { color: var(--ink); }
|
|
|
|
.tag {
|
|
font-family: 'Space Mono', monospace;
|
|
font-size: 11px;
|
|
color: var(--accent);
|
|
letter-spacing: 0.08em;
|
|
margin-bottom: 10px;
|
|
}
|
|
|
|
h1 {
|
|
font-family: 'Fraunces', serif;
|
|
font-weight: 300;
|
|
font-size: clamp(36px, 8vw, 52px);
|
|
line-height: 1.05;
|
|
letter-spacing: -0.02em;
|
|
color: var(--ink);
|
|
}
|
|
|
|
h1 span {
|
|
font-style: italic;
|
|
color: var(--accent);
|
|
}
|
|
|
|
.header-sub {
|
|
margin-top: 10px;
|
|
font-size: 11px;
|
|
color: var(--muted);
|
|
letter-spacing: 0.06em;
|
|
}
|
|
|
|
/* Rule */
|
|
.rule {
|
|
width: 100%;
|
|
height: 1px;
|
|
background: var(--border);
|
|
margin: 32px 0;
|
|
}
|
|
|
|
/* Form */
|
|
.form-group {
|
|
margin-bottom: 20px;
|
|
}
|
|
|
|
label {
|
|
display: block;
|
|
font-size: 10px;
|
|
letter-spacing: 0.1em;
|
|
text-transform: uppercase;
|
|
color: var(--muted);
|
|
margin-bottom: 7px;
|
|
}
|
|
|
|
input[type="text"],
|
|
input[type="password"] {
|
|
width: 100%;
|
|
padding: 11px 14px;
|
|
background: var(--field-bg);
|
|
border: 1px solid var(--border);
|
|
border-radius: 2px;
|
|
font-family: 'Space Mono', monospace;
|
|
font-size: 13px;
|
|
color: var(--ink);
|
|
outline: none;
|
|
transition: border-color 0.2s, background 0.2s;
|
|
-webkit-appearance: none;
|
|
}
|
|
|
|
input[type="text"]:focus,
|
|
input[type="password"]:focus {
|
|
border-color: var(--accent);
|
|
background: var(--paper);
|
|
}
|
|
|
|
input::placeholder { color: var(--muted); opacity: 0.7; }
|
|
|
|
.form-footer {
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: space-between;
|
|
margin-top: 28px;
|
|
gap: 16px;
|
|
}
|
|
|
|
.btn-login {
|
|
display: inline-flex;
|
|
align-items: center;
|
|
gap: 8px;
|
|
background: var(--ink);
|
|
color: var(--paper);
|
|
font-family: 'Space Mono', monospace;
|
|
font-size: 11px;
|
|
letter-spacing: 0.08em;
|
|
text-transform: uppercase;
|
|
border: none;
|
|
padding: 12px 24px;
|
|
cursor: pointer;
|
|
border-radius: 2px;
|
|
transition: background 0.2s, transform 0.15s;
|
|
}
|
|
|
|
.btn-login:hover {
|
|
background: var(--accent);
|
|
transform: translateY(-1px);
|
|
}
|
|
.btn-login:active { transform: translateY(0); }
|
|
|
|
.btn-login svg {
|
|
transition: transform 0.2s;
|
|
}
|
|
.btn-login:hover svg { transform: translateX(3px); }
|
|
|
|
.forgot {
|
|
font-size: 11px;
|
|
color: var(--muted);
|
|
text-decoration: none;
|
|
letter-spacing: 0.03em;
|
|
border-bottom: 1px solid transparent;
|
|
transition: color 0.2s, border-color 0.2s;
|
|
}
|
|
.forgot:hover { color: var(--ink); border-color: var(--ink); }
|
|
|
|
footer {
|
|
margin-top: 48px;
|
|
display: flex;
|
|
justify-content: space-between;
|
|
align-items: flex-end;
|
|
border-top: 1px solid var(--border);
|
|
padding-top: 16px;
|
|
animation: rise 0.6s 0.15s cubic-bezier(0.22, 1, 0.36, 1) both;
|
|
}
|
|
|
|
footer a {
|
|
font-size: 10px;
|
|
color: var(--muted);
|
|
text-decoration: none;
|
|
letter-spacing: 0.04em;
|
|
transition: color 0.2s;
|
|
}
|
|
footer a:hover { color: var(--accent); }
|
|
|
|
.footer-copy {
|
|
font-size: 10px;
|
|
color: var(--border);
|
|
letter-spacing: 0.04em;
|
|
}
|
|
|
|
/* Decorative corner mark */
|
|
.corner-mark {
|
|
position: fixed;
|
|
bottom: 24px;
|
|
right: 28px;
|
|
font-family: 'Fraunces', serif;
|
|
font-style: italic;
|
|
font-size: 11px;
|
|
color: var(--border);
|
|
letter-spacing: 0.06em;
|
|
z-index: 1;
|
|
} |