Textley / website / assets / download.css
| 1 | /* Support and download, side by side on the download page (stacked on small screens, |
| 2 | support first). The download card carries the accent; the feedback button stays quiet. */ |
| 3 | .download-head { padding-bottom: clamp(20px, 3vw, 32px); } |
| 4 | .get-row { display: grid; grid-template-columns: minmax(0, 560px); justify-content: start; gap: 16px; margin-top: clamp(28px, 4vw, 40px); scroll-margin-top: 20px; } |
| 5 | .get-card { display: grid; grid-row: span 6; grid-template-rows: subgrid; row-gap: 0; justify-items: start; align-content: start; padding: 32px; border: 1px solid var(--line); border-radius: 16px; background: var(--surface); min-width: 0; } |
| 6 | .get-icon { display: block; width: 36px; height: 36px; color: var(--accent); border-radius: 9px; } |
| 7 | .get-card h2 { margin: 20px 0 12px; font-size: clamp(1.5rem, 2.4vw, 1.85rem); line-height: 1.12; letter-spacing: -.035em; } |
| 8 | .get-card p { max-width: 44ch; margin-bottom: 24px; color: var(--ink-2); text-wrap: pretty; } |
| 9 | .get-card .button { align-self: end; } |
| 10 | .get-card p.get-note { margin: 18px 0 0; font: .75rem/1.6 var(--mono); color: var(--muted); } |
| 11 | .get-card .button.secondary { min-height: 44px; padding: 9px 20px; } |
| 12 | .get-card .button.secondary span { color: var(--accent); } |
| 13 | .get-feedback { width: 100%; margin-top: 24px; padding-top: 20px; border-top: 1px solid var(--line); scroll-margin-top: 90px; } |
| 14 | .get-feedback h3 { margin: 0 0 6px; font-size: 1.125rem; } |
| 15 | .get-feedback p { margin: 0 0 14px; } |
| 16 | .get-download { |
| 17 | container-type: inline-size; |
| 18 | border-color: color-mix(in srgb, var(--accent) 42%, var(--line)); |
| 19 | background: |
| 20 | radial-gradient(90% 120% at 100% 0%, color-mix(in srgb, var(--accent-strong) 26%, transparent), transparent 62%), |
| 21 | var(--surface-2); |
| 22 | box-shadow: 0 30px 70px -40px color-mix(in srgb, var(--accent-strong) 70%, transparent); |
| 23 | } |
| 24 | .get-download p.get-note { max-width: none; white-space: nowrap; } |
| 25 | .get-note-short { display: none; } |
| 26 | @container (max-width: 31rem) { |
| 27 | .get-note-full { display: none; } |
| 28 | .get-note-short { display: inline; } |
| 29 | } |
| 30 | .button.download-primary { min-height: 54px; padding: 13px 30px; font-size: 1.05rem; font-weight: 700; } |
| 31 | .doc.download-doc { grid-template-columns: minmax(0, 1fr); } |
| 32 | .download-doc .install-preview { max-width: 620px; } |
| 33 | @media (max-width: 760px) { |
| 34 | .get-row { grid-template-columns: minmax(0, 1fr); } |
| 35 | .get-card { padding: 24px 20px; } |
| 36 | .button.download-primary { width: 100%; justify-self: stretch; } |
| 37 | } |
| 38 | |
| 39 | /* Take action: our orange-outline pill with a white icon, beside Send Feedback (2026-11-26) */ |
| 40 | :root { --ta: #f58025; --ta-hover: #ffa54a; --ta-icon: #fff; --ta-glow: drop-shadow(0 0 3px rgba(245, 128, 37, .55)); } |
| 41 | .take-action { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 44px; padding: 8px 20px; border: 1px solid color-mix(in oklab, var(--ta) 55%, transparent); border-radius: 999px; background: transparent; color: var(--ta); font-weight: 650; font-size: .92rem; line-height: 1.2; text-decoration: none; white-space: nowrap; transition: background .15s, border-color .15s, color .15s, transform .15s; } |
| 42 | .take-action svg { flex-shrink: 0; color: var(--ta-icon); filter: var(--ta-glow); } |
| 43 | .take-action:hover { background: color-mix(in oklab, var(--ta) 12%, transparent); border-color: var(--ta); color: var(--ta-hover); transform: translateY(-1px); } |
| 44 | .take-action:focus-visible { outline: 2px solid var(--ta); outline-offset: 2px; } |
| 45 | .get-actions { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 12px; align-self: end; } |
| 46 | .get-actions .take-action { min-height: 44px; } |
| 47 | .get-actions .take-action span { color: inherit; } |