more modest ux

This commit is contained in:
2026-07-18 21:00:33 +02:00
parent 399f539b4f
commit 4a5ebc726e
5 changed files with 53 additions and 20 deletions
+33 -11
View File
@@ -28,15 +28,15 @@ a { color: inherit; }
.text-link { color: var(--muted); text-decoration: none; font-size: .92rem; }
.text-link:hover { color: var(--text); }
.page-shell { width: min(1120px, calc(100% - 40px)); margin: 0 auto; padding: clamp(56px, 9vw, 112px) 0; min-height: calc(100vh - 150px); }
.page-shell { width: min(1040px, calc(100% - 40px)); margin: 0 auto; padding: clamp(44px, 7vw, 80px) 0; min-height: calc(100vh - 150px); }
footer { padding: 24px; color: #65716e; text-align: center; font-size: .8rem; }
h1, h2, p { margin-top: 0; }
h1 { margin-bottom: 18px; font: 600 clamp(2.5rem, 7vw, 5.6rem)/.96 Georgia, serif; letter-spacing: -.045em; }
h1 { margin-bottom: 18px; font: 600 clamp(2.25rem, 5vw, 4rem)/1.02 Georgia, serif; letter-spacing: -.035em; }
h2 { font: 600 1.55rem Georgia, serif; }
.eyebrow { margin-bottom: 14px; color: var(--accent); font-size: .74rem; font-weight: 700; letter-spacing: .16em; text-transform: uppercase; }
.eyebrow { margin-bottom: 10px; color: var(--muted); font-size: .82rem; font-weight: 600; letter-spacing: .01em; }
.muted, .intro p { color: var(--muted); line-height: 1.7; }
.auth-layout { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(320px, 430px); align-items: center; gap: clamp(44px, 9vw, 120px); }
.auth-layout { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(320px, 430px); align-items: center; gap: clamp(40px, 8vw, 96px); }
.intro { max-width: 620px; }
.intro p:not(.eyebrow) { max-width: 520px; font-size: 1.05rem; }
.card { background: linear-gradient(145deg, rgba(27, 39, 37, .94), rgba(16, 23, 22, .98)); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: 0 26px 80px rgba(0, 0, 0, .25); }
@@ -65,7 +65,7 @@ input::placeholder { color: #61706c; }
.notice-error { border-color: #713b36; }
.vault-header { display: flex; justify-content: space-between; align-items: end; gap: 32px; margin-bottom: 38px; }
.vault-header h1 { margin: 0; font-size: clamp(2.5rem, 6vw, 4.5rem); }
.vault-header h1 { margin: 0; font-size: clamp(2.2rem, 5vw, 3.5rem); }
.search-field { width: min(100%, 360px); }
.entry-list { display: grid; gap: 10px; }
.entry-row { margin: 0; }
@@ -83,7 +83,7 @@ input::placeholder { color: #61706c; }
.detail-card { max-width: 760px; margin: 0 auto; padding: clamp(28px, 6vw, 58px); }
.detail-heading { display: flex; align-items: center; gap: 20px; padding-bottom: 32px; border-bottom: 1px solid var(--line); }
.detail-heading h1 { margin: 0 0 5px; font-size: clamp(2rem, 5vw, 3.5rem); overflow-wrap: anywhere; }
.detail-heading h1 { margin: 0 0 5px; font-size: clamp(1.9rem, 4vw, 2.8rem); overflow-wrap: anywhere; }
.detail-heading p { margin-bottom: 6px; }
.details { margin: 0; }
.details > div { display: grid; grid-template-columns: 130px 1fr; gap: 20px; padding: 24px 0; border-bottom: 1px solid var(--line); }
@@ -96,22 +96,44 @@ input::placeholder { color: #61706c; }
.editor-layout { max-width: 760px; margin: 0 auto; }
.editor-layout > div:first-child { margin-bottom: 34px; }
.editor-layout h1 { font-size: clamp(2.6rem, 6vw, 4.5rem); }
.editor-layout h1 { font-size: clamp(2.2rem, 5vw, 3.5rem); }
.form-card.wide { padding: clamp(25px, 5vw, 44px); }
.danger-zone { display: flex; justify-content: flex-end; margin-top: 18px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }
[hidden] { display: none !important; }
@media (max-width: 760px) {
.site-header { align-items: flex-start; padding: 14px 20px; }
.nav-actions { flex-wrap: wrap; justify-content: flex-end; }
body { padding-bottom: 68px; }
.site-header { min-height: 64px; padding: 14px 16px; }
.brand { font-size: 1.15rem; }
.brand-mark { width: 32px; height: 32px; }
.nav-actions { position: fixed; z-index: 20; right: 0; bottom: 0; left: 0; min-height: 60px; padding: 8px 12px max(8px, env(safe-area-inset-bottom)); justify-content: center; gap: 6px; background: rgba(11, 16, 16, .97); border-top: 1px solid var(--line); }
.nav-actions .button { min-height: 42px; padding: 0 13px; }
.nav-actions .text-link { display: inline-flex; min-height: 42px; padding: 0 18px; align-items: center; color: var(--text); border: 1px solid var(--line); border-radius: 9px; }
.auth-layout { grid-template-columns: 1fr; }
.page-shell { padding-top: 55px; }
.intro { max-width: 34rem; }
.intro h1 { font-size: 2.35rem; }
.intro p:not(.eyebrow) { font-size: .95rem; }
.page-shell { width: min(calc(100% - 28px), 680px); padding: 38px 0; min-height: auto; }
.form-card { padding: 24px 20px; }
input { min-height: 48px; font-size: 16px; }
.notices { top: 74px; right: 14px; left: 14px; }
.notice { max-width: none; }
.vault-header { align-items: stretch; flex-direction: column; }
.vault-header h1 { font-size: 2.35rem; }
.search-field { width: 100%; }
.entry-button { grid-template-columns: 40px minmax(0, 1fr) 14px; }
.entry-button { min-height: 72px; grid-template-columns: 40px minmax(0, 1fr) 14px; gap: 12px; padding: 14px 12px; }
.entry-icon { width: 40px; height: 40px; }
.entry-button time { display: none; }
.detail-card { padding: 24px 18px; }
.detail-heading { align-items: flex-start; gap: 14px; padding-bottom: 24px; }
.entry-icon.large { width: 48px; height: 48px; border-radius: 12px; font-size: 1.2rem; }
.detail-heading h1 { font-size: 2rem; }
.details > div { grid-template-columns: 1fr; gap: 8px; }
.secret-line { flex-wrap: wrap; }
.secret-line > span { flex-basis: 100%; min-height: 28px; }
.icon-button { min-height: 42px; padding: 8px 14px; }
.detail-actions .button, .danger-zone .button { min-height: 48px; width: 100%; }
.detail-actions, .detail-actions form, .danger-zone { width: 100%; }
footer { display: none; }
}