diff --git a/src/static_src/scss/_card-deck.scss b/src/static_src/scss/_card-deck.scss index 204b77d..f2eff92 100644 --- a/src/static_src/scss/_card-deck.scss +++ b/src/static_src/scss/_card-deck.scss @@ -834,11 +834,15 @@ html:has(.sig-backdrop) { // Mobile-safe: filter on raster images works fine cross-browser // (the [[feedback-mobile-svg-glow]] dead-end was specifically // SVG glow, not raster drop-shadow). + // `--img-stroke-w` is the cardinal-stroke offset (default 0.2rem). + // Framed rectangular decks (RWS) thin it via `body.deck-family-english` + // below so the stroke doesn't double the card's own printed border — + // 2026-05-29 polish, may be reverted. filter: - drop-shadow( 0.2rem 0 0 var(--img-stroke-color)) - drop-shadow(-0.2rem 0 0 var(--img-stroke-color)) - drop-shadow( 0 0.2rem 0 var(--img-stroke-color)) - drop-shadow( 0 -0.2rem 0 var(--img-stroke-color)) + drop-shadow( var(--img-stroke-w, 0.2rem) 0 0 var(--img-stroke-color)) + drop-shadow( calc(-1 * var(--img-stroke-w, 0.2rem)) 0 0 var(--img-stroke-color)) + drop-shadow( 0 var(--img-stroke-w, 0.2rem) 0 var(--img-stroke-color)) + drop-shadow( 0 calc(-1 * var(--img-stroke-w, 0.2rem)) 0 var(--img-stroke-color)) drop-shadow( 1px 1px 2px rgba(0, 0, 0, 1)); } .sig-stage-card-back-img { display: none; } // shown only when flipped @@ -855,6 +859,17 @@ html:has(.sig-backdrop) { } } +// RWS (english family) cards are clean cream rectangles that carry their own +// printed border, so the full 0.2rem contour stroke reads as a redundant +// double-frame (unlike the irregular Minchiate cut, where it cleaves to the +// shape). Thin it to a crisp edge for the equipped english deck. Custom props +// inherit, so setting it on
cascades into every image card on the page. +// (Polish 2026-05-29 — may be reverted; revert = drop this rule + the +// `--img-stroke-w` var + the base.html body class.) +body.deck-family-english { + --img-stroke-w: 0.08rem; +} + // ─── My Sign picker — sizing + state-gated reveal ──────────────────────────── // Two-phase layout: landing (DRY 1-chair hex w. SCAN SIGN center) → picker // (sig-card grid below an always-present stage frame). SAVE SIGN rides diff --git a/src/templates/core/base.html b/src/templates/core/base.html index bdb7517..c6787f3 100644 --- a/src/templates/core/base.html +++ b/src/templates/core/base.html @@ -17,7 +17,7 @@ - +