diff --git a/static/flower.css b/static/flower.css index 57df70a..0e35f5d 100644 --- a/static/flower.css +++ b/static/flower.css @@ -31,7 +31,7 @@ a { color: inherit; } .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.25rem, 5vw, 4rem)/1.02 Georgia, serif; letter-spacing: -.035em; } +h1 { margin-bottom: 18px; font: 600 clamp(1.125rem, 2.5vw, 2rem)/1.1 Inter, "Segoe UI", Roboto, Helvetica, Arial, sans-serif; letter-spacing: -.025em; } h2 { font: 600 1.55rem Georgia, serif; } .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; } @@ -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.2rem, 5vw, 3.5rem); } +.vault-header h1 { margin: 0; font-size: clamp(1.1rem, 2.5vw, 1.75rem); } .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(1.9rem, 4vw, 2.8rem); overflow-wrap: anywhere; } +.detail-heading h1 { margin: 0 0 5px; font-size: clamp(.95rem, 2vw, 1.4rem); 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,7 +96,7 @@ 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.2rem, 5vw, 3.5rem); } +.editor-layout h1 { font-size: clamp(1.1rem, 2.5vw, 1.75rem); } .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; } @@ -112,7 +112,7 @@ input::placeholder { color: #61706c; } .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; } .intro { max-width: 34rem; } - .intro h1 { font-size: 2.35rem; } + .intro h1 { font-size: 1.175rem; } .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; } @@ -120,7 +120,7 @@ input::placeholder { color: #61706c; } .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; } + .vault-header h1 { font-size: 1.175rem; } .search-field { width: 100%; } .entry-button { min-height: 72px; grid-template-columns: 40px minmax(0, 1fr) 14px; gap: 12px; padding: 14px 12px; } .entry-icon { width: 40px; height: 40px; } @@ -128,7 +128,7 @@ input::placeholder { color: #61706c; } .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; } + .detail-heading h1 { font-size: 1rem; } .details > div { grid-template-columns: 1fr; gap: 8px; } .secret-line { flex-wrap: wrap; } .secret-line > span { flex-basis: 100%; min-height: 28px; }