docs(quick): record 261128-jv1 neutral vue-journal-layer post-body styles
This commit is contained in:
@@ -0,0 +1,29 @@
|
||||
---
|
||||
quick_id: 261128-jv1
|
||||
slug: vue-journal-layer-body-figure-details-table-styles
|
||||
date: 2026-11-28
|
||||
g15office: dlyckn6l
|
||||
repos:
|
||||
- ../vue-journal-layer
|
||||
status: in_progress
|
||||
---
|
||||
|
||||
# Quick Task: Neutral Post-Body Styles (`figure`, `figcaption`, `details`, `table th`, `.journal-wide`)
|
||||
|
||||
## Goal
|
||||
|
||||
Add neutral, `--journal-*` token-driven base styles to `vue-journal-layer/app/assets/css/journal-base.css` for rich article body elements used by pillar articles and visualizations:
|
||||
- `.journal-post-body figure` and `figcaption`
|
||||
- `.journal-post-body figure.journal-wide` (wide breakout up to `--journal-wide-width` without `transform` or mobile overflow)
|
||||
- `.journal-post-body details` and `summary` (bordered surface box, keyboard focus ring, open spacing)
|
||||
- `.journal-post-body th` (surface header background + semibold) and `caption`
|
||||
- `.journal-post-body blockquote footer` (muted citation styling)
|
||||
|
||||
Keep `vue-journal-layer` 100% neutral (no site-specific `.gf-*` or `.info-box--*` classes; those remain in consuming app CSS).
|
||||
|
||||
## Tasks
|
||||
|
||||
1. Update `../vue-journal-layer/app/assets/css/journal-base.css` with the neutral `.journal-post-body` rules using only existing `--journal-*` tokens.
|
||||
2. Document `.journal-wide` and the base body element styling in `../vue-journal-layer/README.md`.
|
||||
3. Run `pnpm test`, `pnpm build:playground`, and `pnpm smoke:ssr` in `../vue-journal-layer`.
|
||||
4. Commit the `vue-journal-layer` change, write `SUMMARY.md`, and post a concise note on g15office `dlyckn6l` (including confirmation that `htmlGate.ts` already preserves `id` on `<h2>`).
|
||||
@@ -0,0 +1,25 @@
|
||||
---
|
||||
quick_id: 261128-jv1
|
||||
slug: vue-journal-layer-body-figure-details-table-styles
|
||||
date: 2026-11-28
|
||||
g15office: dlyckn6l
|
||||
status: complete
|
||||
repos:
|
||||
- ../vue-journal-layer
|
||||
---
|
||||
|
||||
# Quick Task Summary: Neutral Post-Body Styles (`vue-journal-layer`)
|
||||
|
||||
Added neutral, `--journal-*` token-driven base styles to `../vue-journal-layer/app/assets/css/journal-base.css` and documented them in `../vue-journal-layer/README.md`:
|
||||
|
||||
- `.journal-post-body figure` / `figcaption`: vertical margin, block images, muted caption typography.
|
||||
- `.journal-post-body figure.journal-wide`: wide breakout up to `--journal-wide-width` (`72rem`) on wide viewports via negative inline margins (no `transform` containing block, no mobile overflow).
|
||||
- `.journal-post-body details` / `summary`: bordered surface box, padding, radius, keyboard `:focus-visible` ring, open spacing.
|
||||
- `.journal-post-body th` / `caption`: surface header background, semibold weight, muted table caption.
|
||||
- `.journal-post-body blockquote footer`: muted citation footer spacing and color.
|
||||
|
||||
Site-specific classes (`.info-box--*`, `.gf-*`, `blockquote.expert-quote`) remain strictly in consuming app CSS per `CLAUDE.md`.
|
||||
|
||||
## Verification
|
||||
|
||||
- `bash scripts/check-phase38.sh` — ALL 5 STAGES PASSED (`pnpm test`, `pnpm build:playground`, `pnpm smoke:ssr` 97/97 checks).
|
||||
Reference in New Issue
Block a user