Commit 5153a59
fix(css): outline article images with a 1px border for light-mode visibility
`.prose img` had `border-radius: 8px` but no border, so screenshots
that themselves have a near-white background lost their boundary
against the light-mode page background and read as floating text. The
issue was reported on the cookbook footnotes guide (7 typeset-page
screenshots) but the same condition exists on:
- /{en,ja}/cookbook/footnotes/ (7 PNGs each)
- /{en,ja}/themes/gallery/ (9 theme capture WebPs each)
- /{en,ja}/viewer/vivliostyle-viewer/ (UI screenshots)
Add `border: 1px solid var(--color-border)`. The token resolves to
#e5e5e5 in light mode and #404040 in dark mode, so the outline stays
subtle but visible in both schemes — no need for a media query.
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>1 parent 62c0f0d commit 5153a59
1 file changed
Lines changed: 4 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
508 | 508 | | |
509 | 509 | | |
510 | 510 | | |
511 | | - | |
| 511 | + | |
| 512 | + | |
| 513 | + | |
512 | 514 | | |
513 | 515 | | |
514 | 516 | | |
515 | 517 | | |
| 518 | + | |
516 | 519 | | |
517 | 520 | | |
518 | 521 | | |
| |||
0 commit comments