96 lines
9.1 KiB
CSS
96 lines
9.1 KiB
CSS
.page { height: 100dvh; overflow: hidden; background: var(--surface); color: var(--foreground); }
|
|
.page > main { height: 100%; min-height: 0; }
|
|
.header { position: absolute; z-index: 2; top: 28px; right: 36px; }
|
|
.header > div { display: flex; align-items: center; gap: 20px; font-size: 13px; color: var(--muted-foreground); }
|
|
.header a:hover { color: var(--foreground-strong); }
|
|
.layout { display: grid; grid-template-columns: 46% minmax(0, 1fr); height: 100%; min-height: 0; }
|
|
.intro { position: relative; isolation: isolate; display: flex; flex-direction: column; min-width: 0; padding: 38px clamp(32px, 5vw, 80px) 30px; overflow: hidden; background: var(--background); color: var(--foreground); }
|
|
.intro::before { content: ''; position: absolute; z-index: -1; inset: 0; background: radial-gradient(ellipse at 0% 35%, color-mix(in srgb, var(--el-deep-mocha) 85%, transparent), transparent 60%), radial-gradient(ellipse at 100% 92%, color-mix(in srgb, var(--primary) 45%, transparent), transparent 65%); }
|
|
.brand { align-self: flex-start; }
|
|
.story { margin: auto 0; padding-top: clamp(16px, 4dvh, 40px); }
|
|
.eyebrow { margin: 0 0 20px; font-size: 10px; letter-spacing: .18em; color: var(--muted-foreground); line-height: 1.7; }
|
|
.story h1 { margin: 0 0 22px; font-size: clamp(32px, 3.3vw, 50px); font-weight: 600; line-height: 1.3; letter-spacing: -.035em; color: var(--foreground-strong); }
|
|
.description { margin: 0; max-width: 340px; font-size: 15px; line-height: 1.9; color: var(--foreground); }
|
|
.signature { display: flex; flex-wrap: wrap; gap: 8px 16px; margin: 32px 0 0; font-size: 11px; line-height: 1.7; color: var(--muted-foreground); }
|
|
.signature span { opacity: .8; }
|
|
.art { position: relative; height: clamp(180px, 28dvh, 280px); margin: 28px -12px 0; pointer-events: none; }
|
|
.orbit { position: absolute; width: 245px; height: 245px; left: 15%; top: 5%; border: 1px solid color-mix(in srgb, var(--foreground) 18%, transparent); border-radius: 50%; }
|
|
.orbit::after { content: ''; position: absolute; inset: 25px -35px; border: inherit; border-radius: 50%; transform: rotate(-38deg); }
|
|
.idea, .work { position: absolute; display: flex; flex-direction: column; border: 1px solid color-mix(in srgb, var(--foreground) 24%, transparent); border-radius: 14px; box-shadow: 0 20px 50px var(--shadow); }
|
|
.idea { left: 0; top: 42px; width: 48%; min-height: 196px; padding: 22px 18px; transform: rotate(-8deg); background: color-mix(in srgb, var(--surface) 78%, transparent); backdrop-filter: blur(16px); }
|
|
.idea span, .work > span { font-size: 8px; letter-spacing: .12em; line-height: 1.6; }
|
|
.idea strong { margin: 24px 0 18px; font-size: clamp(18px, 1.8vw, 26px); font-weight: 500; line-height: 1.5; }
|
|
.idea i, .work i { font-size: 9px; font-style: normal; line-height: 1.7; opacity: .72; }
|
|
.work { right: 0; top: 15px; width: 51%; padding: 18px; transform: rotate(8deg); background: var(--el-cream); color: var(--el-espresso); }
|
|
.artwork { height: 110px; margin: 16px 0 14px; overflow: hidden; border-radius: 100px 100px 8px 8px; background: radial-gradient(ellipse at 75% 20%, var(--el-cream), transparent 60%), linear-gradient(135deg, var(--el-deep-mocha), var(--el-espresso)); }
|
|
.work strong { margin-bottom: 6px; font-size: 19px; font-weight: 500; }
|
|
.artCaption { position: absolute; bottom: 0; left: 0; right: 0; text-align: center; font-size: 8px; letter-spacing: .2em; color: var(--muted-foreground); }
|
|
|
|
.form { align-self: center; justify-self: center; width: min(400px, calc(100% - 80px)); min-width: 0; padding: 0; }
|
|
.frame { height: 560px; display: flex; flex-direction: column; justify-content: center; }
|
|
.frame h2 { margin: 0; font-size: 28px; font-weight: 600; line-height: 1.3; text-align: center; letter-spacing: -.04em; animation: mode-in 180ms ease-out; }
|
|
.formDescription { height: 42px; flex-shrink: 0; margin: 10px 0 20px; font-size: 14px; line-height: 1.5; text-align: center; color: var(--muted-foreground); }
|
|
.tabSlot { height: 44px; flex-shrink: 0; margin-bottom: 24px; }
|
|
.tabs { position: relative; display: grid; grid-template-columns: 1fr 1fr; height: 44px; padding: 4px; border: 1px solid var(--border); border-radius: 9px; background: var(--surface-muted); isolation: isolate; }
|
|
.tabs::before { content: ''; position: absolute; z-index: -1; top: 4px; bottom: 4px; left: 4px; width: calc(50% - 4px); border-radius: 5px; background: var(--surface); box-shadow: 0 1px 3px var(--shadow); transition: transform 180ms ease; }
|
|
.tabs[data-active='register']::before { transform: translateX(100%); }
|
|
.tabs button { border: 0; background: transparent; font-size: 13px; color: var(--muted-foreground); }
|
|
.tabs button[aria-pressed='true'] { color: var(--foreground-strong); font-weight: 600; }
|
|
.fieldset { margin: 0; padding: 0; min-width: 0; border: 0; }
|
|
.fields { height: 168px; display: flex; flex-direction: column; gap: 16px; animation: mode-in 180ms ease-out; }
|
|
.field { min-width: 0; }
|
|
.field label { display: block; margin-bottom: 7px; font-size: 13px; line-height: 20px; font-weight: 500; }
|
|
.labelRow { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; }
|
|
.labelRow button { font-size: 12px; color: var(--muted-foreground); }
|
|
.labelRow button:hover { color: var(--foreground-strong); }
|
|
.page .form input { width: 100%; height: 44px; min-height: 44px; padding: 0 12px; font-size: 14px; background: var(--surface); border: 1px solid var(--input); border-radius: 8px; box-shadow: 0 1px 2px var(--shadow); }
|
|
.page .form input[name='password'] { padding-right: 44px; }
|
|
.page .submit { width: 100%; min-height: 44px; margin-top: 8px; font-size: 14px; border-radius: 8px; }
|
|
.secondarySlot { min-height: 38px; display: grid; place-items: center; margin-top: 14px; }
|
|
.secondary { display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-height: 32px; padding: 0; font-size: 12px; color: var(--muted-foreground); text-decoration: underline; text-underline-offset: 4px; }
|
|
.footnote { height: 60px; flex-shrink: 0; margin: 18px 0 0; padding-top: 16px; border-top: 1px solid var(--border); font-size: 12px; line-height: 1.7; text-align: center; color: var(--muted-foreground); }
|
|
.verifyInfo, .accountDetails { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; height: 168px; text-align: center; color: var(--muted-foreground); }
|
|
.accountDetails strong { color: var(--foreground-strong); overflow-wrap: anywhere; }
|
|
.accountDetails span, .verifyInfo p { font-size: 13px; line-height: 1.8; }
|
|
.loading { height: 320px; display: grid; place-items: center; font-size: 13px; color: var(--muted-foreground); }
|
|
.toast { position: fixed; z-index: 50; right: 20px; bottom: 20px; width: min(420px, calc(100% - 40px)); display: flex; align-items: flex-start; gap: 10px; padding: 14px 16px; border: 1px solid var(--border); border-radius: 12px; background: var(--surface); color: var(--foreground); box-shadow: 0 8px 32px var(--shadow); animation: mode-in 180ms ease-out; }
|
|
.toast > span { flex: 0 0 20px; height: 20px; text-align: center; border-radius: 50%; background: var(--success-background); color: var(--success); font-size: 13px; font-weight: 600; }
|
|
.toast[data-tone='error'] > span { color: var(--danger); background: var(--danger-background); }
|
|
.toast p { flex: 1; min-width: 0; margin: 0; font-size: 13px; line-height: 1.6; overflow-wrap: anywhere; }
|
|
.toast button { flex: 0 0 24px; min-height: 24px; color: var(--muted-foreground); }
|
|
@keyframes mode-in { from { opacity: 0; transform: translateY(5px); } to { opacity: 1; transform: translateY(0); } }
|
|
@media (min-width: 1500px) { .story { max-width: 480px; width: 100%; margin-left: auto; margin-right: auto; } }
|
|
@media (max-width: 1000px) { .intro { padding-left: 28px; padding-right: 28px; } .story h1 { font-size: 34px; } .description { font-size: 14px; } .form { width: min(380px, calc(100% - 64px)); } .header { right: 28px; } }
|
|
@media (max-width: 760px) {
|
|
.header { top: 20px; right: 20px; }
|
|
.layout { grid-template-columns: minmax(0, 1fr); }
|
|
.intro { position: absolute; top: 20px; left: 24px; padding: 0; background: transparent; overflow: visible; }
|
|
.intro::before, .story, .signature { display: none; }
|
|
.brand { padding: 5px; border-radius: 8px; background: var(--background); }
|
|
.form { width: min(400px, calc(100% - 48px)); padding-top: 40px; }
|
|
.frame h2 { font-size: 25px; }
|
|
}
|
|
@media (max-height: 760px) {
|
|
.art, .signature { display: none; }
|
|
.intro { padding-top: 24px; padding-bottom: 24px; }
|
|
.formDescription { height: 34px; font-size: 13px; margin: 8px 0 14px; }
|
|
.frame { height: 460px; }
|
|
.frame h2 { font-size: 25px; }
|
|
.tabSlot { margin-bottom: 18px; }
|
|
.fields { height: 158px; gap: 12px; }
|
|
.footnote { display: none; }
|
|
.secondarySlot { margin-top: 10px; }
|
|
}
|
|
@media (max-height: 560px) {
|
|
.header a { display: none; }
|
|
.formDescription { display: none; }
|
|
.frame { height: 340px; }
|
|
.frame h2 { font-size: 22px; margin-bottom: 14px; }
|
|
.tabSlot { height: 36px; margin-bottom: 14px; }
|
|
.tabs { height: 36px; }
|
|
.story h1 { font-size: 28px; }
|
|
.eyebrow { display: none; }
|
|
}
|
|
@media (max-width: 760px) and (max-height: 760px) { .intro { padding: 0; } }
|
|
@media (prefers-reduced-motion: reduce) { .frame h2, .fields, .toast { animation: none; } .tabs::before { transition: none; } }
|