pandorga 2.3.16 → 2.3.21
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CHANGELOG.md +28 -0
- data/_includes/content-runtime/43-blocks.html +12 -14
- data/assets/css/ledger/home.css +284 -51
- data/lib/pandorga/commands/new.rb +1 -1
- data/lib/pandorga/version.rb +1 -1
- data/scripts/test/render-parity/blocks/project-inventory-row.json +7 -6
- data/scripts/test/render-parity/run-absent-field-checks.mjs +3 -0
- data/scripts/test/test-css-structure.rb +63 -5
- data/scripts/test/test-hero-16x9.rb +2 -2
- data/scripts/test/test-hero-name.rb +6 -6
- data/scripts/test/test-home-desk-layout.mjs +568 -0
- data/scripts/test/test-home-desk-layout.rb +21 -0
- data/scripts/test/test-home-hero-c4.rb +79 -7
- data/scripts/test/test-home-hero-overlay-monotonic.mjs +444 -0
- data/scripts/test/test-home-hero-overlay-monotonic.rb +21 -0
- data/scripts/test/test-home-hero-overlay-split.rb +33 -13
- data/scripts/test/test-home-hero-scale.rb +5 -5
- data/scripts/test/test-regression-gate.mjs +58 -5
- data/scripts/validate.sh +2 -0
- metadata +5 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: b63a3180eb48c3a7a344374ec47fa77ade61e31bf1765d063406741ba5387049
|
|
4
|
+
data.tar.gz: c2823b9b968b6199f793c06e46da69d547a309b6dac2b4f5226f3c257222612f
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 89bedf4e95b80e91220e84ef8295ccbc70f60d1680ea54d31becbc1367fbd1f5fde102bc452142e2a048820518bd700793487d898b5ed249271b100c2692fd1c
|
|
7
|
+
data.tar.gz: 51fdd0e74f58954dedbd2af34417accaa3a2abe27e534966d2433fbdca4cc9e3b7b76a4844be3f86c1b896906f4abb232553efe5e8f68ce8546f6f1cda7c1499
|
data/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,33 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## Unreleased
|
|
4
|
+
|
|
5
|
+
## 2.3.21
|
|
6
|
+
|
|
7
|
+
- Desktop Projects (≥1024): contents page — icon + body-face name; selected row opens an 11rem 16:9 picture (and a clamped presentation blurb beside it when width allows). Selected row uses `--color-surface-high` gray wash with equal top/bottom padding; icon and name stay vertically centered. No mark bar, folio, year, or tags on the row. Specimen card hidden (PLT-AC-88/104/105/106).
|
|
8
|
+
|
|
9
|
+
## 2.3.20
|
|
10
|
+
|
|
11
|
+
- Desktop Projects (≥1024): inventory row names use the theme dropdown face (`--font-body` / `.theme-choice`: body size, weight, 0.01em tracking) instead of `--font-title` (PLT-AC-88). No-truncation list-first layout from 2.3.19 unchanged.
|
|
12
|
+
|
|
13
|
+
## 2.3.19
|
|
14
|
+
|
|
15
|
+
- Desktop Projects (≥1024): inventory row names use `--font-title` (serif, same face as band `.section-title`) instead of `--font-label`; drop label letter-spacing (PLT-AC-88).
|
|
16
|
+
- List column is `max-content` so names never truncate; specimen track `minmax(0, 1fr)` and the plate caps at +25% but shrinks to give the list room (PLT-AC-88). Ellipsis kept only as a last-resort overflow guard.
|
|
17
|
+
|
|
18
|
+
## 2.3.18
|
|
19
|
+
|
|
20
|
+
- Desktop Projects (≥1024): inventory becomes a full-column list (icon + name, ellipsis, row height = `--home-icon-btn-size`); bench and banner fill the column (~0 side gaps) (PLT-AC-88 rewrite).
|
|
21
|
+
- Specimen plate **+25%** at ≥1440 (`15.3125rem` tall, 16:9); narrow desktop 1024–1359 keeps list ≥8.5rem and scales the plate (PLT-AC-88).
|
|
22
|
+
- Hero name = band title **+4pt** at every viewport (was +2pt) (PLT-AC-98/99 rewrite); rendered gate at 390/1280/1440/1920 (`test-home-desk-layout`).
|
|
23
|
+
- Tablet 900–1023 keeps the prior centered icon-column island.
|
|
24
|
+
|
|
25
|
+
## 2.3.17
|
|
26
|
+
|
|
27
|
+
- CR-24 overlay: strength (`::after`) now paints **true black** `rgba(0,0,0,…)` so it darkens photo areas monotonically (2.3.16 charcoal shade brightened dark regions and made strength effectively dead / slightly inverted) (PLT-AC-103).
|
|
28
|
+
- Stronger linear strength scale (peak ≈ 0.55 × strength, `--home-hero-strength-cap: 0.55`); pool mid-ramp slightly raised for perceptible 0.05–0.1 steps; pool stays charcoal (PLT-AC-102/103).
|
|
29
|
+
- Rendered monotonicity gate at 390/1440: face/upper brightness falls across strength 0.2/0.4/0.6/0.8; text band across pool; independence; 0% pure-black behind text (`test-home-hero-overlay-monotonic`).
|
|
30
|
+
|
|
3
31
|
## 2.3.16
|
|
4
32
|
|
|
5
33
|
- CR-24 overlay split: `strength` (`--home-hero-vignette`) darkens the photo area via `::after` (masked off the text band); `pool` (`--home-hero-pool`) is an **absolute** text-band alpha on `::before` (not scaled by strength) (PLT-AC-102).
|
|
@@ -350,9 +350,10 @@
|
|
|
350
350
|
}
|
|
351
351
|
|
|
352
352
|
/* Rack card for the home portfolio bench.
|
|
353
|
-
* Desktop:
|
|
353
|
+
* Desktop contents (PLT-AC-88): icon glyph + name; the selected row opens
|
|
354
|
+
* the 16:9 plate and, when width allows, a clamped presentation blurb.
|
|
354
355
|
* The mobile strip shows the project glyph only. Selectable rows update
|
|
355
|
-
* the specimen. */
|
|
356
|
+
* the specimen below 1024px. */
|
|
356
357
|
function renderProjectInventoryRow(item, options) {
|
|
357
358
|
options = options || {};
|
|
358
359
|
var f = blockFields(item);
|
|
@@ -362,7 +363,6 @@
|
|
|
362
363
|
var selectable = !!options.selectable;
|
|
363
364
|
var selected = !!options.selected;
|
|
364
365
|
var slug = item.slug || f.slug || '';
|
|
365
|
-
var index = options.index;
|
|
366
366
|
|
|
367
367
|
// A selectable row is a real button. role=button on an article is
|
|
368
368
|
// what the audit flags, and the button already handles Enter and Space.
|
|
@@ -388,19 +388,13 @@
|
|
|
388
388
|
escapeHtml(initial) + '</div>';
|
|
389
389
|
}
|
|
390
390
|
|
|
391
|
-
var
|
|
391
|
+
var poster = renderPosterMedia(fm.thumbnail, name, {
|
|
392
|
+
srcset: fm.thumbnail_srcset,
|
|
393
|
+
sizes: '11rem'
|
|
394
|
+
});
|
|
395
|
+
var html = '<div class="home-project-inventory-media">' + poster + media + '</div>';
|
|
392
396
|
html += '<div class="home-project-inventory-body">';
|
|
393
397
|
|
|
394
|
-
var code = renderMetaStrip([
|
|
395
|
-
index != null && index !== ''
|
|
396
|
-
? '<span class="code-technical home-project-inventory-index">' + escapeHtml(twoDigits(index)) + '</span>'
|
|
397
|
-
: '',
|
|
398
|
-
fm.label ? escapeHtml(fm.label) : ''
|
|
399
|
-
]);
|
|
400
|
-
if (code) {
|
|
401
|
-
html += '<div class="home-project-inventory-code">' + code + '</div>';
|
|
402
|
-
}
|
|
403
|
-
|
|
404
398
|
if (selectable) {
|
|
405
399
|
html += '<h3 class="home-project-inventory-title card-title">' +
|
|
406
400
|
escapeHtml(name) + '</h3>';
|
|
@@ -409,6 +403,10 @@
|
|
|
409
403
|
'<a class="ledger-card-stretch" href="' + escapeAttr(href) + '">' +
|
|
410
404
|
escapeHtml(name) + '</a></h3>';
|
|
411
405
|
}
|
|
406
|
+
var blurb = String(fm.tagline || f.preview || '').trim();
|
|
407
|
+
if (blurb) {
|
|
408
|
+
html += '<p class="home-project-inventory-excerpt">' + escapeHtml(blurb) + '</p>';
|
|
409
|
+
}
|
|
412
410
|
html += '</div>';
|
|
413
411
|
if (fm.icon) {
|
|
414
412
|
html += '<span class="home-project-inventory-glyph material-symbols-outlined" aria-hidden="true">' +
|
data/assets/css/ledger/home.css
CHANGED
|
@@ -151,12 +151,12 @@
|
|
|
151
151
|
min-height: calc(var(--type-body) * 1.35);
|
|
152
152
|
}
|
|
153
153
|
|
|
154
|
-
/* PLT-AC-98: hero name tracks home band titles (+
|
|
154
|
+
/* PLT-AC-98: hero name tracks home band titles (+4pt), not photo/cqi width.
|
|
155
155
|
Band `.section-title` uses --type-section, then --type-section-lg from 768px. */
|
|
156
156
|
.home-hero-title {
|
|
157
157
|
font-family: var(--font-title);
|
|
158
158
|
font-weight: 400;
|
|
159
|
-
font-size: calc(var(--type-section) +
|
|
159
|
+
font-size: calc(var(--type-section) + 4pt);
|
|
160
160
|
line-height: 1.05;
|
|
161
161
|
letter-spacing: -0.02em;
|
|
162
162
|
color: var(--color-on-surface);
|
|
@@ -199,7 +199,7 @@
|
|
|
199
199
|
@media (min-width: 768px) {
|
|
200
200
|
.home-hero-title {
|
|
201
201
|
/* Same token step as .home-band .ledger-section-banner .section-title */
|
|
202
|
-
font-size: calc(var(--type-section-lg) +
|
|
202
|
+
font-size: calc(var(--type-section-lg) + 4pt);
|
|
203
203
|
white-space: nowrap;
|
|
204
204
|
}
|
|
205
205
|
}
|
|
@@ -531,6 +531,9 @@ html[data-theme="light"] .home-hero-plate {
|
|
|
531
531
|
}
|
|
532
532
|
}
|
|
533
533
|
|
|
534
|
+
|
|
535
|
+
/* Desktop from 1024px is the contents page (PLT-AC-88). */
|
|
536
|
+
|
|
534
537
|
@media (min-width: 1280px) {
|
|
535
538
|
.home-featured.home-featured--illustrated {
|
|
536
539
|
grid-template-columns: minmax(0, 1fr) 15rem;
|
|
@@ -1297,7 +1300,7 @@ button.home-project-inventory-row {
|
|
|
1297
1300
|
/* Inventory left of specimen, flush to card (gap ≤ 2× button gap);
|
|
1298
1301
|
column width = button width; plate 16:9 at ~215.6×383.3 (+25% CR-21e);
|
|
1299
1302
|
card hugs plate + padding; visible Explore label removed (CR-21d). */
|
|
1300
|
-
/*
|
|
1303
|
+
/* Tablet 900–1023: keep icon-column island centered (desktop ≥1024 is PLT-AC-88). */
|
|
1301
1304
|
.home-band[data-home-kind="portfolio"] .home-band-inner,
|
|
1302
1305
|
#home-projects .home-band-inner {
|
|
1303
1306
|
display: flex;
|
|
@@ -1859,24 +1862,25 @@ html[data-theme="light"] .home-featured .ledger-poster {
|
|
|
1859
1862
|
}
|
|
1860
1863
|
|
|
1861
1864
|
/* ═══════════════════════════════════════════════════════════════════════════
|
|
1862
|
-
CR-22…22.4 — Home hero B3 + C4 (PLT-AC-81…94) + overlay strength/pool (PLT-AC-100…
|
|
1865
|
+
CR-22…22.4 — Home hero B3 + C4 (PLT-AC-81…94) + overlay strength/pool (PLT-AC-100…103)
|
|
1863
1866
|
Photo as hero background + 50/50 masthead with Projects from 1024px.
|
|
1864
1867
|
Config (pandorga.home.hero_overlay):
|
|
1865
1868
|
strength | vignette → --home-hero-vignette (0–1): photo-area darkness
|
|
1866
|
-
|
|
1867
|
-
|
|
1868
|
-
|
|
1869
|
-
pool → --home-hero-pool (0–1): absolute
|
|
1870
|
-
(
|
|
1871
|
-
|
|
1869
|
+
via ::after as true black rgba(0,0,0,…). Linear in [0,1]; peak stop
|
|
1870
|
+
≈ strength × 0.55, capped by --home-hero-strength-cap (~0.55). Charcoal
|
|
1871
|
+
must NOT be used here — it brightens dark photo regions (2.3.16 bug).
|
|
1872
|
+
pool → --home-hero-pool (0–1): absolute text-band alpha on ::before
|
|
1873
|
+
(charcoal --home-hero-shade). Not scaled by strength.
|
|
1874
|
+
Caps < 1; pool shade keeps text-band composites off pure-black RGB.
|
|
1872
1875
|
═══════════════════════════════════════════════════════════════════════════ */
|
|
1873
1876
|
|
|
1874
1877
|
:root {
|
|
1875
1878
|
--home-hero-vignette: 0.60;
|
|
1876
1879
|
--home-hero-pool: 0.70;
|
|
1877
|
-
|
|
1880
|
+
/* Strength peak alpha at vignette=1.0; <1 so overlay never paints opaque black. */
|
|
1881
|
+
--home-hero-strength-cap: 0.55;
|
|
1878
1882
|
--home-hero-pool-cap: 0.90;
|
|
1879
|
-
/*
|
|
1883
|
+
/* Pool charcoal (not #000): text-band composites stay RGB sum ≥ 3 over black clothing. */
|
|
1880
1884
|
--home-hero-shade: 18, 20, 26;
|
|
1881
1885
|
--home-masthead-gutter: clamp(1.25rem, 2.2vw, 2rem);
|
|
1882
1886
|
}
|
|
@@ -1891,9 +1895,9 @@ html[data-theme="light"] .home-featured .ledger-poster {
|
|
|
1891
1895
|
object-position: center;
|
|
1892
1896
|
}
|
|
1893
1897
|
|
|
1894
|
-
/* Soft edgeless photo overlay (C4 / PLT-AC-89 / PLT-AC-100…
|
|
1898
|
+
/* Soft edgeless photo overlay (C4 / PLT-AC-89 / PLT-AC-100…103).
|
|
1895
1899
|
::after = strength (photo area). ::before = pool (text-band absolute alpha).
|
|
1896
|
-
Independent;
|
|
1900
|
+
Independent; strength = true black; pool = charcoal; caps < 1 → no pure-black from the overlay behind text. */
|
|
1897
1901
|
.home-hero-portrait::before,
|
|
1898
1902
|
.home-hero-portrait::after {
|
|
1899
1903
|
content: "";
|
|
@@ -1904,45 +1908,46 @@ html[data-theme="light"] .home-featured .ledger-poster {
|
|
|
1904
1908
|
border-radius: 0;
|
|
1905
1909
|
}
|
|
1906
1910
|
|
|
1907
|
-
/* Text band: absolute pool alpha
|
|
1908
|
-
Ramp
|
|
1911
|
+
/* Text band: absolute pool alpha (charcoal); not scaled by strength.
|
|
1912
|
+
Ramp covers title + summary; alpha tracks pool ~linearly for perceptible steps. */
|
|
1909
1913
|
.home-hero-portrait::before {
|
|
1910
1914
|
background: linear-gradient(
|
|
1911
1915
|
180deg,
|
|
1912
1916
|
transparent 34%,
|
|
1913
|
-
rgba(var(--home-hero-shade), min(var(--home-hero-pool-cap), calc(var(--home-hero-pool) * 0.
|
|
1914
|
-
rgba(var(--home-hero-shade), min(var(--home-hero-pool-cap), calc(var(--home-hero-pool) * 0.
|
|
1917
|
+
rgba(var(--home-hero-shade), min(var(--home-hero-pool-cap), calc(var(--home-hero-pool) * 0.50))) 46%,
|
|
1918
|
+
rgba(var(--home-hero-shade), min(var(--home-hero-pool-cap), calc(var(--home-hero-pool) * 0.82))) 56%,
|
|
1915
1919
|
rgba(var(--home-hero-shade), min(var(--home-hero-pool-cap), var(--home-hero-pool))) 66%,
|
|
1916
1920
|
rgba(var(--home-hero-shade), min(var(--home-hero-pool-cap), var(--home-hero-pool))) 100%
|
|
1917
1921
|
);
|
|
1918
1922
|
}
|
|
1919
1923
|
|
|
1920
|
-
/* Photo area: strength only
|
|
1924
|
+
/* Photo area: strength only (true black — charcoal brightened dark photos in 2.3.16).
|
|
1925
|
+
Masked off the text band so pool stays independent. Peak ≈ 0.55 × strength. */
|
|
1921
1926
|
.home-hero-portrait::after {
|
|
1922
|
-
-webkit-mask-image: linear-gradient(180deg, #000 0%, #000
|
|
1923
|
-
mask-image: linear-gradient(180deg, #000 0%, #000
|
|
1927
|
+
-webkit-mask-image: linear-gradient(180deg, #000 0%, #000 36%, transparent 50%);
|
|
1928
|
+
mask-image: linear-gradient(180deg, #000 0%, #000 36%, transparent 50%);
|
|
1924
1929
|
background:
|
|
1925
1930
|
radial-gradient(
|
|
1926
|
-
ellipse
|
|
1927
|
-
rgba(
|
|
1928
|
-
rgba(
|
|
1929
|
-
rgba(
|
|
1931
|
+
ellipse 85% 55% at 52% 28%,
|
|
1932
|
+
rgba(0, 0, 0, min(var(--home-hero-strength-cap), calc(0.22 * var(--home-hero-vignette)))) 0%,
|
|
1933
|
+
rgba(0, 0, 0, min(var(--home-hero-strength-cap), calc(0.40 * var(--home-hero-vignette)))) 45%,
|
|
1934
|
+
rgba(0, 0, 0, min(var(--home-hero-strength-cap), calc(0.55 * var(--home-hero-vignette)))) 78%,
|
|
1930
1935
|
transparent 100%
|
|
1931
1936
|
),
|
|
1932
1937
|
linear-gradient(
|
|
1933
1938
|
90deg,
|
|
1934
|
-
rgba(
|
|
1935
|
-
rgba(
|
|
1936
|
-
rgba(
|
|
1937
|
-
rgba(
|
|
1938
|
-
transparent
|
|
1939
|
+
rgba(0, 0, 0, min(var(--home-hero-strength-cap), calc(0.50 * var(--home-hero-vignette)))) 0%,
|
|
1940
|
+
rgba(0, 0, 0, min(var(--home-hero-strength-cap), calc(0.38 * var(--home-hero-vignette)))) 16%,
|
|
1941
|
+
rgba(0, 0, 0, min(var(--home-hero-strength-cap), calc(0.22 * var(--home-hero-vignette)))) 36%,
|
|
1942
|
+
rgba(0, 0, 0, min(var(--home-hero-strength-cap), calc(0.08 * var(--home-hero-vignette)))) 55%,
|
|
1943
|
+
transparent 72%
|
|
1939
1944
|
),
|
|
1940
1945
|
linear-gradient(
|
|
1941
1946
|
180deg,
|
|
1942
|
-
rgba(
|
|
1943
|
-
rgba(
|
|
1944
|
-
rgba(
|
|
1945
|
-
transparent
|
|
1947
|
+
rgba(0, 0, 0, min(var(--home-hero-strength-cap), calc(0.32 * var(--home-hero-vignette)))) 0%,
|
|
1948
|
+
rgba(0, 0, 0, min(var(--home-hero-strength-cap), calc(0.18 * var(--home-hero-vignette)))) 14%,
|
|
1949
|
+
rgba(0, 0, 0, min(var(--home-hero-strength-cap), calc(0.20 * var(--home-hero-vignette)))) 28%,
|
|
1950
|
+
transparent 52%
|
|
1946
1951
|
);
|
|
1947
1952
|
}
|
|
1948
1953
|
|
|
@@ -2031,13 +2036,13 @@ html[data-theme="light"] .home-featured .ledger-poster {
|
|
|
2031
2036
|
filter: saturate(0.95) contrast(1.06) brightness(0.98);
|
|
2032
2037
|
}
|
|
2033
2038
|
|
|
2034
|
-
/* PLT-AC-100…
|
|
2039
|
+
/* PLT-AC-100…103: stack — ::after strength (upper); ::before pool (copy band) */
|
|
2035
2040
|
.home-hero-portrait::before {
|
|
2036
2041
|
background: linear-gradient(
|
|
2037
2042
|
180deg,
|
|
2038
2043
|
transparent 22%,
|
|
2039
|
-
rgba(var(--home-hero-shade), min(var(--home-hero-pool-cap), calc(var(--home-hero-pool) * 0.
|
|
2040
|
-
rgba(var(--home-hero-shade), min(var(--home-hero-pool-cap), calc(var(--home-hero-pool) * 0.
|
|
2044
|
+
rgba(var(--home-hero-shade), min(var(--home-hero-pool-cap), calc(var(--home-hero-pool) * 0.50))) 34%,
|
|
2045
|
+
rgba(var(--home-hero-shade), min(var(--home-hero-pool-cap), calc(var(--home-hero-pool) * 0.82))) 46%,
|
|
2041
2046
|
rgba(var(--home-hero-shade), min(var(--home-hero-pool-cap), var(--home-hero-pool))) 56%,
|
|
2042
2047
|
rgba(var(--home-hero-shade), min(var(--home-hero-pool-cap), var(--home-hero-pool))) 78%,
|
|
2043
2048
|
rgba(var(--home-hero-shade), min(var(--home-hero-pool-cap), calc(var(--home-hero-pool) * 0.92))) 100%
|
|
@@ -2045,22 +2050,22 @@ html[data-theme="light"] .home-featured .ledger-poster {
|
|
|
2045
2050
|
}
|
|
2046
2051
|
.home-hero-portrait::after {
|
|
2047
2052
|
border-radius: 0;
|
|
2048
|
-
-webkit-mask-image: linear-gradient(180deg, #000 0%, #000
|
|
2049
|
-
mask-image: linear-gradient(180deg, #000 0%, #000
|
|
2053
|
+
-webkit-mask-image: linear-gradient(180deg, #000 0%, #000 30%, transparent 44%);
|
|
2054
|
+
mask-image: linear-gradient(180deg, #000 0%, #000 30%, transparent 44%);
|
|
2050
2055
|
background:
|
|
2051
2056
|
radial-gradient(
|
|
2052
|
-
ellipse
|
|
2053
|
-
rgba(
|
|
2054
|
-
rgba(
|
|
2055
|
-
rgba(
|
|
2057
|
+
ellipse 92% 48% at 50% 14%,
|
|
2058
|
+
rgba(0, 0, 0, min(var(--home-hero-strength-cap), calc(0.20 * var(--home-hero-vignette)))) 0%,
|
|
2059
|
+
rgba(0, 0, 0, min(var(--home-hero-strength-cap), calc(0.38 * var(--home-hero-vignette)))) 50%,
|
|
2060
|
+
rgba(0, 0, 0, min(var(--home-hero-strength-cap), calc(0.55 * var(--home-hero-vignette)))) 80%,
|
|
2056
2061
|
transparent 100%
|
|
2057
2062
|
),
|
|
2058
2063
|
linear-gradient(
|
|
2059
2064
|
180deg,
|
|
2060
|
-
rgba(
|
|
2061
|
-
rgba(
|
|
2062
|
-
rgba(
|
|
2063
|
-
transparent
|
|
2065
|
+
rgba(0, 0, 0, min(var(--home-hero-strength-cap), calc(0.30 * var(--home-hero-vignette)))) 0%,
|
|
2066
|
+
rgba(0, 0, 0, min(var(--home-hero-strength-cap), calc(0.22 * var(--home-hero-vignette)))) 10%,
|
|
2067
|
+
rgba(0, 0, 0, min(var(--home-hero-strength-cap), calc(0.28 * var(--home-hero-vignette)))) 22%,
|
|
2068
|
+
transparent 40%
|
|
2064
2069
|
);
|
|
2065
2070
|
}
|
|
2066
2071
|
|
|
@@ -2083,7 +2088,7 @@ html[data-theme="light"] .home-featured .ledger-poster {
|
|
|
2083
2088
|
background: transparent;
|
|
2084
2089
|
}
|
|
2085
2090
|
|
|
2086
|
-
/* PLT-AC-98: stack inherits token+
|
|
2091
|
+
/* PLT-AC-98: stack inherits token+4pt; keep photo ink/shadow */
|
|
2087
2092
|
.home-ledger .home-hero-title,
|
|
2088
2093
|
.home-hero-title {
|
|
2089
2094
|
line-height: 1.08;
|
|
@@ -2175,6 +2180,7 @@ html[data-theme="light"] .home-featured .ledger-poster {
|
|
|
2175
2180
|
text-shadow: none;
|
|
2176
2181
|
background: rgba(255, 255, 255, 0.92);
|
|
2177
2182
|
}
|
|
2183
|
+
|
|
2178
2184
|
}
|
|
2179
2185
|
|
|
2180
2186
|
/* ── Desktop masthead (>= 1024): 50/50 hero | projects ── */
|
|
@@ -2246,7 +2252,7 @@ html[data-theme="light"] .home-featured .ledger-poster {
|
|
|
2246
2252
|
padding-inline: 0;
|
|
2247
2253
|
display: flex;
|
|
2248
2254
|
flex-direction: column;
|
|
2249
|
-
align-items:
|
|
2255
|
+
align-items: stretch;
|
|
2250
2256
|
justify-content: flex-start;
|
|
2251
2257
|
min-height: 0;
|
|
2252
2258
|
box-sizing: border-box;
|
|
@@ -2334,7 +2340,7 @@ html[data-theme="light"] .home-featured .ledger-poster {
|
|
|
2334
2340
|
background: transparent;
|
|
2335
2341
|
}
|
|
2336
2342
|
|
|
2337
|
-
/* PLT-AC-98: desk uses type-section-lg +
|
|
2343
|
+
/* PLT-AC-98: desk uses type-section-lg + 4pt (set ≥768); keep photo ink */
|
|
2338
2344
|
.home-ledger .home-hero-title,
|
|
2339
2345
|
.home-hero-title {
|
|
2340
2346
|
white-space: nowrap;
|
|
@@ -2425,6 +2431,233 @@ html[data-theme="light"] .home-featured .ledger-poster {
|
|
|
2425
2431
|
text-shadow: none;
|
|
2426
2432
|
background: rgba(255, 255, 255, 0.92);
|
|
2427
2433
|
}
|
|
2434
|
+
|
|
2435
|
+
/* PLT-AC-88 contents: icon + name; the selected row opens a small picture
|
|
2436
|
+
and, when width allows, a clamped presentation blurb beside it. */
|
|
2437
|
+
.home-band[data-home-kind="portfolio"] {
|
|
2438
|
+
--home-projects-block-width: 100%;
|
|
2439
|
+
}
|
|
2440
|
+
|
|
2441
|
+
.home-band[data-home-kind="portfolio"] .home-section-note {
|
|
2442
|
+
max-width: 100%;
|
|
2443
|
+
align-self: stretch;
|
|
2444
|
+
}
|
|
2445
|
+
|
|
2446
|
+
.home-band[data-home-kind="portfolio"] .ledger-section-banner,
|
|
2447
|
+
#home-projects .ledger-section-banner {
|
|
2448
|
+
width: 100%;
|
|
2449
|
+
max-width: 100%;
|
|
2450
|
+
align-self: stretch;
|
|
2451
|
+
margin-inline: 0;
|
|
2452
|
+
}
|
|
2453
|
+
|
|
2454
|
+
.home-projects-bench {
|
|
2455
|
+
display: block;
|
|
2456
|
+
width: 100%;
|
|
2457
|
+
max-width: 100%;
|
|
2458
|
+
margin-inline: 0;
|
|
2459
|
+
min-width: 0;
|
|
2460
|
+
}
|
|
2461
|
+
|
|
2462
|
+
.home-project-specimen,
|
|
2463
|
+
.home-project-specimen-slot {
|
|
2464
|
+
display: none;
|
|
2465
|
+
}
|
|
2466
|
+
|
|
2467
|
+
.home-projects-inventory-wrap,
|
|
2468
|
+
.home-project-inventory {
|
|
2469
|
+
display: flex;
|
|
2470
|
+
flex-direction: column;
|
|
2471
|
+
align-items: stretch;
|
|
2472
|
+
width: 100%;
|
|
2473
|
+
max-width: none;
|
|
2474
|
+
min-width: 0;
|
|
2475
|
+
gap: 0;
|
|
2476
|
+
}
|
|
2477
|
+
|
|
2478
|
+
.home-projects-inventory-wrap {
|
|
2479
|
+
container-type: inline-size;
|
|
2480
|
+
container-name: projects-inventory;
|
|
2481
|
+
}
|
|
2482
|
+
|
|
2483
|
+
/* PLT-AC-88 / PLT-AC-104: icon shares only the name row so centers align.
|
|
2484
|
+
PLT-AC-105/106: selected row = --color-surface-high wash; equal top/bottom pad. */
|
|
2485
|
+
button.home-project-inventory-row,
|
|
2486
|
+
.home-project-inventory-row {
|
|
2487
|
+
display: grid;
|
|
2488
|
+
grid-template-columns: 2.5rem minmax(0, 1fr);
|
|
2489
|
+
grid-template-areas:
|
|
2490
|
+
"icon name"
|
|
2491
|
+
". plate";
|
|
2492
|
+
column-gap: var(--space-md);
|
|
2493
|
+
row-gap: var(--space-xs);
|
|
2494
|
+
align-items: center;
|
|
2495
|
+
width: 100%;
|
|
2496
|
+
height: auto;
|
|
2497
|
+
min-height: 0;
|
|
2498
|
+
justify-content: stretch;
|
|
2499
|
+
/* Equal outer pad: wash top→name == picture bottom→wash bottom (PLT-AC-106). */
|
|
2500
|
+
padding: 0.65rem 0.5rem;
|
|
2501
|
+
border: 0;
|
|
2502
|
+
border-bottom: 1px solid var(--border-gentle);
|
|
2503
|
+
border-radius: 0;
|
|
2504
|
+
background: transparent;
|
|
2505
|
+
outline: none;
|
|
2506
|
+
box-sizing: border-box;
|
|
2507
|
+
position: relative;
|
|
2508
|
+
}
|
|
2509
|
+
|
|
2510
|
+
.home-project-inventory-row:hover,
|
|
2511
|
+
.home-project-inventory-row:focus-visible {
|
|
2512
|
+
background: transparent;
|
|
2513
|
+
outline: none;
|
|
2514
|
+
}
|
|
2515
|
+
|
|
2516
|
+
.home-project-inventory-row.is-selected {
|
|
2517
|
+
background: var(--color-surface-high);
|
|
2518
|
+
outline: none;
|
|
2519
|
+
}
|
|
2520
|
+
|
|
2521
|
+
.home-project-inventory-row:focus-visible {
|
|
2522
|
+
outline: 2px solid var(--color-primary);
|
|
2523
|
+
outline-offset: 2px;
|
|
2524
|
+
}
|
|
2525
|
+
|
|
2526
|
+
.home-project-inventory-body {
|
|
2527
|
+
display: contents;
|
|
2528
|
+
}
|
|
2529
|
+
|
|
2530
|
+
.home-project-inventory-code,
|
|
2531
|
+
.home-project-inventory-year,
|
|
2532
|
+
.home-project-inventory-tags {
|
|
2533
|
+
display: none;
|
|
2534
|
+
}
|
|
2535
|
+
|
|
2536
|
+
.home-project-inventory-row > .home-project-inventory-glyph,
|
|
2537
|
+
.home-project-inventory-glyph {
|
|
2538
|
+
grid-area: icon;
|
|
2539
|
+
display: inline-flex;
|
|
2540
|
+
align-items: center;
|
|
2541
|
+
justify-content: center;
|
|
2542
|
+
align-self: center;
|
|
2543
|
+
justify-self: center;
|
|
2544
|
+
width: 2.5rem;
|
|
2545
|
+
height: 2.5rem;
|
|
2546
|
+
margin: 0;
|
|
2547
|
+
padding: 0;
|
|
2548
|
+
overflow: hidden;
|
|
2549
|
+
border: 0;
|
|
2550
|
+
border-radius: 0;
|
|
2551
|
+
background: transparent;
|
|
2552
|
+
box-sizing: border-box;
|
|
2553
|
+
font-size: calc(1.375rem + 2pt);
|
|
2554
|
+
line-height: 1;
|
|
2555
|
+
color: var(--color-on-surface-variant);
|
|
2556
|
+
}
|
|
2557
|
+
|
|
2558
|
+
.home-project-inventory-row > .home-project-inventory-glyph.material-symbols-outlined,
|
|
2559
|
+
.home-project-inventory-row .home-project-inventory-glyph.material-symbols-outlined {
|
|
2560
|
+
font-size: calc(1.375rem + 2pt);
|
|
2561
|
+
}
|
|
2562
|
+
|
|
2563
|
+
.home-project-inventory-row.is-selected > .home-project-inventory-glyph,
|
|
2564
|
+
.home-project-inventory-row:hover > .home-project-inventory-glyph,
|
|
2565
|
+
.home-project-inventory-row:focus-visible > .home-project-inventory-glyph {
|
|
2566
|
+
color: var(--color-primary);
|
|
2567
|
+
}
|
|
2568
|
+
|
|
2569
|
+
.home-project-inventory-media {
|
|
2570
|
+
display: none;
|
|
2571
|
+
grid-area: plate;
|
|
2572
|
+
width: 11rem;
|
|
2573
|
+
max-width: 11rem;
|
|
2574
|
+
aspect-ratio: 16 / 9;
|
|
2575
|
+
overflow: hidden;
|
|
2576
|
+
margin: 0;
|
|
2577
|
+
justify-self: start;
|
|
2578
|
+
align-self: start;
|
|
2579
|
+
}
|
|
2580
|
+
|
|
2581
|
+
.home-project-inventory-row.is-selected .home-project-inventory-media {
|
|
2582
|
+
display: block;
|
|
2583
|
+
}
|
|
2584
|
+
|
|
2585
|
+
.home-project-inventory-media > .ledger-poster,
|
|
2586
|
+
.home-project-inventory-media > .projects-plate {
|
|
2587
|
+
width: 100%;
|
|
2588
|
+
height: 100%;
|
|
2589
|
+
aspect-ratio: 16 / 9;
|
|
2590
|
+
}
|
|
2591
|
+
|
|
2592
|
+
.home-project-inventory-media:has(.ledger-poster) .home-project-inventory-mark {
|
|
2593
|
+
display: none;
|
|
2594
|
+
}
|
|
2595
|
+
|
|
2596
|
+
.home-project-inventory-excerpt {
|
|
2597
|
+
display: none;
|
|
2598
|
+
grid-area: excerpt;
|
|
2599
|
+
margin: 0;
|
|
2600
|
+
min-width: 0;
|
|
2601
|
+
max-width: 100%;
|
|
2602
|
+
overflow: hidden;
|
|
2603
|
+
font-family: var(--font-body);
|
|
2604
|
+
font-size: var(--type-body);
|
|
2605
|
+
font-weight: var(--weight-body);
|
|
2606
|
+
line-height: var(--leading-body);
|
|
2607
|
+
color: var(--color-on-surface-variant);
|
|
2608
|
+
text-align: start;
|
|
2609
|
+
overflow-wrap: break-word;
|
|
2610
|
+
word-break: normal;
|
|
2611
|
+
-webkit-box-orient: vertical;
|
|
2612
|
+
-webkit-line-clamp: 4;
|
|
2613
|
+
text-overflow: ellipsis;
|
|
2614
|
+
align-self: start;
|
|
2615
|
+
}
|
|
2616
|
+
|
|
2617
|
+
/* Beside the picture when the inventory can hold plate + blurb; otherwise picture only.
|
|
2618
|
+
Icon stays on the name row only (PLT-AC-104). Excerpt top-aligns with the plate. */
|
|
2619
|
+
@container projects-inventory (min-width: 28rem) {
|
|
2620
|
+
.home-project-inventory-row.is-selected {
|
|
2621
|
+
grid-template-columns: 2.5rem 11rem minmax(0, 1fr);
|
|
2622
|
+
grid-template-areas:
|
|
2623
|
+
"icon name name"
|
|
2624
|
+
". plate excerpt";
|
|
2625
|
+
align-items: start;
|
|
2626
|
+
}
|
|
2627
|
+
|
|
2628
|
+
.home-project-inventory-row.is-selected > .home-project-inventory-glyph,
|
|
2629
|
+
.home-project-inventory-row.is-selected .home-project-inventory-title {
|
|
2630
|
+
align-self: center;
|
|
2631
|
+
}
|
|
2632
|
+
|
|
2633
|
+
.home-project-inventory-row.is-selected .home-project-inventory-excerpt {
|
|
2634
|
+
display: -webkit-box;
|
|
2635
|
+
margin: 0;
|
|
2636
|
+
align-self: start;
|
|
2637
|
+
}
|
|
2638
|
+
}
|
|
2639
|
+
|
|
2640
|
+
.home-project-inventory-title {
|
|
2641
|
+
grid-area: name;
|
|
2642
|
+
display: block;
|
|
2643
|
+
margin: 0;
|
|
2644
|
+
min-width: 0;
|
|
2645
|
+
max-width: 100%;
|
|
2646
|
+
overflow: visible;
|
|
2647
|
+
text-overflow: clip;
|
|
2648
|
+
white-space: normal;
|
|
2649
|
+
font-family: var(--font-body);
|
|
2650
|
+
font-size: clamp(1.45rem, 2.2vw, 2.05rem);
|
|
2651
|
+
font-weight: var(--weight-body);
|
|
2652
|
+
letter-spacing: 0;
|
|
2653
|
+
text-transform: none;
|
|
2654
|
+
line-height: 1.15;
|
|
2655
|
+
color: var(--color-on-surface);
|
|
2656
|
+
background: none;
|
|
2657
|
+
align-self: center;
|
|
2658
|
+
}
|
|
2659
|
+
|
|
2660
|
+
|
|
2428
2661
|
}
|
|
2429
2662
|
|
|
2430
2663
|
/* Wider desktop: B3 @1440 ≈ 637×693 (w/h ≈ 0.92) */
|
|
@@ -24,7 +24,7 @@ module Pandorga
|
|
|
24
24
|
|
|
25
25
|
gem "pandorga", "~> 2.0"
|
|
26
26
|
# Local checkout: gem "pandorga", path: "../pandorga"
|
|
27
|
-
# GitHub tag: gem "pandorga", github: "alexandrelheinen/pandorga", tag: "v2.3.
|
|
27
|
+
# GitHub tag: gem "pandorga", github: "alexandrelheinen/pandorga", tag: "v2.3.21"
|
|
28
28
|
gem "csv"
|
|
29
29
|
gem "base64"
|
|
30
30
|
RUBY
|
data/lib/pandorga/version.rb
CHANGED
|
@@ -25,25 +25,26 @@
|
|
|
25
25
|
"selectors": [
|
|
26
26
|
"button.home-project-inventory-row",
|
|
27
27
|
"div.home-project-inventory-media",
|
|
28
|
+
"div.ledger-poster",
|
|
28
29
|
"div.home-project-inventory-mark",
|
|
29
|
-
"div.home-project-inventory-code",
|
|
30
|
-
"span.home-project-inventory-index",
|
|
31
30
|
"h3.home-project-inventory-title",
|
|
31
|
+
"p.home-project-inventory-excerpt",
|
|
32
32
|
"span.home-project-inventory-glyph"
|
|
33
33
|
],
|
|
34
34
|
"forbidden": [
|
|
35
35
|
"ledger-card-stretch",
|
|
36
36
|
"role=\"button\"",
|
|
37
|
-
"ledger-poster",
|
|
38
37
|
"home-project-inventory-copy",
|
|
39
38
|
"home-project-inventory-resources",
|
|
40
|
-
"home-project-inventory-resource"
|
|
39
|
+
"home-project-inventory-resource",
|
|
40
|
+
"home-project-inventory-code",
|
|
41
|
+
"home-project-inventory-year",
|
|
42
|
+
"home-project-inventory-tags"
|
|
41
43
|
],
|
|
42
44
|
"contains": [
|
|
43
|
-
">02<",
|
|
44
|
-
">Simulation<",
|
|
45
45
|
">ARCO<",
|
|
46
46
|
">route<",
|
|
47
|
+
"A city-scale race replayed from telemetry.",
|
|
47
48
|
"aria-pressed=\"false\"",
|
|
48
49
|
"title=\"ARCO\"",
|
|
49
50
|
"data-slug=\"arco\""
|
|
@@ -248,6 +248,9 @@ omits(
|
|
|
248
248
|
[
|
|
249
249
|
'home-project-inventory-code',
|
|
250
250
|
'home-project-inventory-index',
|
|
251
|
+
'home-project-inventory-year',
|
|
252
|
+
'home-project-inventory-tags',
|
|
253
|
+
'home-project-inventory-excerpt',
|
|
251
254
|
'ledger-status',
|
|
252
255
|
'home-project-inventory-copy',
|
|
253
256
|
'ledger-poster',
|