Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
7 changes: 5 additions & 2 deletions src/pages/contribute.astro
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@ import Field from '../components/Field.astro';
.claim-form { max-width: 520px; display: flex; flex-direction: column; gap: 20px; }
.field-group { display: flex; flex-direction: column; gap: 6px; }
.field-label {
font: 600 11px/1 "JetBrains Mono", ui-monospace, monospace;
font: 600 12px/1.2 "JetBrains Mono", ui-monospace, monospace;
letter-spacing: .08em; text-transform: uppercase; color: var(--sub);
}
.field-input {
Expand All @@ -112,8 +112,10 @@ import Field from '../components/Field.astro';
padding: 10px 14px;
font: 400 14px/1.4 "JetBrains Mono", ui-monospace, monospace;
transition: border-color 0.15s;
width: 100%;
width: 100%; min-height: 48px;
}
/* 16px or more: iOS Safari zooms the whole page when a smaller field takes focus, and does not zoom back. */
@media (max-width: 900px) { .field-input { font-size: 16px; } }
.field-input:focus { border-color: var(--signal); }
.field-input[aria-invalid="true"] { border-color: var(--error); border-width: 2px; }
.form-note { font-size: 14px; color: var(--sub); margin: 0 0 20px; }
Expand All @@ -128,6 +130,7 @@ import Field from '../components/Field.astro';
.form-status:empty { display: none; }
.form-status.is-error { color: var(--error); }
.field-textarea { resize: vertical; min-height: 120px; }
@media (max-width: 900px) { .claim-form { max-width: none; } }
.form-status {
font: 400 13px/1.4 "JetBrains Mono", ui-monospace, monospace;
color: var(--sub);
Expand Down
4 changes: 2 additions & 2 deletions src/pages/order.astro
Original file line number Diff line number Diff line change
Expand Up @@ -132,9 +132,9 @@ const DESCRIPTION = CHECKOUT_OPEN
.wl-h { font: 700 clamp(24px, 3.4vw, 36px)/1.1 "Helvetica Neue", Helvetica, Arial, sans-serif; letter-spacing: -.03em; margin: 8px 0 20px; color: var(--ink); }
.wl-form { display: grid; gap: 16px; max-width: 460px; }
.wl-form[hidden] { display: none; }
.wl-field label { display: block; font: 500 13px/1.3 "JetBrains Mono", ui-monospace, monospace; margin-bottom: 6px; color: var(--ink); }
.wl-field label { display: block; font: 500 14px/1.3 "JetBrains Mono", ui-monospace, monospace; margin-bottom: 6px; color: var(--ink); }
.wl-field input {
width: 100%; box-sizing: border-box; padding: 12px; font: 400 16px/1.3 "JetBrains Mono", ui-monospace, monospace;
width: 100%; box-sizing: border-box; padding: 12px; min-height: 48px; font: 400 16px/1.3 "JetBrains Mono", ui-monospace, monospace;
color: var(--ink); background: transparent; border: 1px solid var(--rule-strong); border-radius: 0;
}
.wl-field input:focus-visible { outline: 2px solid var(--focus); outline-offset: 2px; }
Expand Down
4 changes: 3 additions & 1 deletion src/styles/kw.css
Original file line number Diff line number Diff line change
Expand Up @@ -334,7 +334,7 @@ article[data-kw-read] {
============================================================ */
.kw-btn {
display: inline-flex; align-items: center; gap: 6px;
padding: 12px 22px;
padding: 12px 22px; min-height: 44px; /* 41px before: under the 44px target */
font: 500 13px/1 "JetBrains Mono", ui-monospace, monospace;
letter-spacing: -0.01em;
border: 2px solid var(--ink);
Expand All @@ -347,6 +347,8 @@ article[data-kw-read] {
background: var(--signal); border-color: var(--signal); color: #EDEEE4;
}
.kw-btn--filled:hover { background: #1e3fc0; border-color: #1e3fc0; color: #EDEEE4; }
/* While a text field has focus the on-screen keyboard is up: a fixed bar would sit on the field being typed in. */
body:has(input:not([type="checkbox"], [type="radio"]):focus, textarea:focus, select:focus) #kw-dock { display: none; }

/* ============================================================
Disclosure band
Expand Down
Loading