fix(reading): repair image, table, and link styling per critique
Address critique #2 findings in reading.css: replace the hover-expand image sliver with a resting framed thumbnail and visible captions (P0), honor align attributes on table cells instead of forcing left (P1), and surface href + edit cue on link hover so plain-click-into-edit has a visual contract (P1). Also records both critique rulings under .impeccable/critique/ and notes the single-size 1024px App icon convention in Museion/AGENTS.md.
This commit is contained in:
1 parent
dc38c2717d
commit
c7a6a82283
4 files changed
+78
-5
No files matched your search
@@ -16,6 +16,7 @@ Owned by the root AGENTS.md contract. The `.xcodeproj` uses **filesystem-synchro
|
||||
- App Sandbox is OFF (ADR-0009) — the engine gate spawns the user-installed `hermes` binary and provisioning writes outside any container; hardened runtime stays ON for Developer ID notarization. No `.entitlements` file.
|
||||
- No persistence layer yet — the SwiftData template was stripped; vault-vs-database gets an ADR when the need is real. Exception: the engine gate's `state.json` (see below).
|
||||
- Tabs for indentation; SwiftFormat + SwiftLint must both stay clean.
|
||||
- App icon: `Assets.xcassets/AppIcon.appiconset` — single-size 1024×1024 PNG (`Museion-Logo_1024.png`); Xcode derives all sizes. The built icns tops out at 256 px entries — that matches Apple's own apps on this macOS; larger sizes come from the catalog.
|
||||
|
||||
## Workspace shell (M1, #17 + #18 / S1.1)
|
||||
|
||||
|
||||
@@ -58,19 +58,21 @@ blockquote {
|
||||
blockquote p { margin: 0; }
|
||||
blockquote blockquote { border-left-width: 1.5px; border-left-color: var(--hairline); padding-left: 16px; }
|
||||
hr { border: none; border-top: 1px solid var(--hairline); margin: calc(var(--head-space-before) * 0.75) 0 0; }
|
||||
a { color: var(--ink); text-decoration: underline; text-decoration-color: var(--rule); text-underline-offset: 3px; }
|
||||
a { color: var(--ink); text-decoration: underline; text-decoration-color: var(--muted); text-underline-offset: 3px; }
|
||||
a:hover { text-decoration-color: var(--ink); }
|
||||
a:hover::after { content: " ✎ " attr(href); font-family: var(--code-face); font-size: 0.72em; color: var(--muted); text-decoration: none; }
|
||||
table {
|
||||
border-collapse: collapse; margin: calc(var(--para-space) * 1.25) 0 0; width: 100%;
|
||||
border-top: 1.5px solid var(--rule); border-bottom: 1.5px solid var(--rule);
|
||||
}
|
||||
th, td { border: none; border-bottom: 1px solid var(--hairline); padding: 7px 12px; text-align: left; }
|
||||
th { font-weight: 600; border-bottom: 1.5px solid var(--rule); }
|
||||
th[align="center"], td[align="center"] { text-align: center; }
|
||||
th[align="right"], td[align="right"] { text-align: right; }
|
||||
tr:last-child td { border-bottom: none; }
|
||||
figure { margin: var(--para-space) 0 0; }
|
||||
figure img { max-height: 1.6em; transition: max-height .25s ease; vertical-align: middle; }
|
||||
figure:hover img { max-height: 420px; }
|
||||
figcaption { display: none; }
|
||||
figure { margin: calc(var(--para-space) * 1.5) 0 0; }
|
||||
figure img { display: block; margin: 0 auto; max-height: 340px; max-width: 100%; border: 1px solid var(--hairline); border-radius: 8px; }
|
||||
figcaption { color: var(--muted); font-size: 0.85em; text-align: center; margin-top: 8px; }
|
||||
section.footnotes { color: var(--muted); }
|
||||
section.footnotes li p { margin: 0; }
|
||||
[data-source-line]:hover { background: rgba(0,122,255,.05); }
|
||||
|
||||
Reference in new issue
Block a user