FileLink-PsiTransfer/ui/account.css

149 lines
2.2 KiB
CSS

:root {
color-scheme: light;
--bg: #f5efe5;
--paper: #fffaf2;
--ink: #1d1c1a;
--muted: #6b6257;
--accent: #b3541e;
--accent-2: #e8c9a8;
--line: #dcc9b5;
}
* {
box-sizing: border-box;
}
body {
margin: 0;
font-family: Georgia, "Times New Roman", serif;
color: var(--ink);
background:
radial-gradient(circle at top left, #f3dcc3, transparent 28%),
linear-gradient(180deg, #efe5d8 0%, var(--bg) 100%);
}
.page {
max-width: 760px;
margin: 0 auto;
padding: 32px 20px 48px;
}
.hero {
display: grid;
gap: 10px;
margin-bottom: 20px;
}
.hero-logo {
display: block;
width: 64px;
height: 64px;
}
.eyebrow {
margin: 0 0 8px;
text-transform: uppercase;
letter-spacing: 0.12em;
color: var(--accent);
font-size: 0.78rem;
}
h1 {
margin: 0 0 12px;
font-size: clamp(2rem, 5vw, 3.2rem);
line-height: 0.95;
}
.intro,
.hint,
.status {
color: var(--muted);
}
.card {
background: color-mix(in srgb, var(--paper) 92%, white);
border: 1px solid var(--line);
border-radius: 18px;
padding: 20px;
box-shadow: 0 16px 40px rgba(74, 45, 16, 0.08);
}
.meta {
display: flex;
justify-content: space-between;
gap: 12px;
margin-bottom: 18px;
padding-bottom: 12px;
border-bottom: 1px solid var(--line);
font-size: 0.95rem;
}
form {
display: grid;
gap: 14px;
}
label {
display: grid;
gap: 6px;
}
label span {
font-weight: 600;
}
input {
width: 100%;
padding: 10px 12px;
border: 1px solid var(--line);
border-radius: 10px;
background: #fffdf9;
color: var(--ink);
font: inherit;
}
input:focus {
outline: 2px solid color-mix(in srgb, var(--accent) 45%, white);
outline-offset: 1px;
}
.actions {
display: flex;
justify-content: flex-end;
margin-top: 8px;
}
button {
border: 0;
border-radius: 999px;
padding: 10px 18px;
background: var(--accent);
color: white;
font: inherit;
cursor: pointer;
}
button:hover {
background: #954515;
}
.status {
min-height: 1.5em;
margin: 14px 0 0;
}
code {
background: var(--accent-2);
padding: 2px 6px;
border-radius: 6px;
}
@media (max-width: 560px) {
.page {
padding: 20px 14px 32px;
}
.meta {
flex-direction: column;
}
}