Night-mode styling, French cross-references, and the log through Part VI
- theme.scss and figures draw with the extension's --calc-… tokens; light/dark pair plus the high-contrast button; a11y highlight style for html - figure labels split so none leaves its viewBox in any language - _quarto-fr.yml: French cross-reference prefixes - notes extension synced to 2.8.18 - conv/: Parts IV, V and VI logged, pasted terminal output redacted Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
This commit is contained in:
1 parent
afb816f459
commit
f7fa60ba81
62 files changed
+3552
-852
No files matched your search
+18
-16
@@ -11,17 +11,24 @@
|
||||
already the whole picture. Here the image is fetched, inlined, and given
|
||||
a play bar that walks a message through the mailboxes, one hop per
|
||||
[data-flow] edge of the svg, highlighting the [data-flow-node] each hop
|
||||
ends at. Colours are diagram.css's, so the two stay in step. -->
|
||||
ends at. Colours are the extension's --calc-… tokens, the same ones
|
||||
diagram.css uses, so the figure, the token and the bar stay in step in
|
||||
light mode, in night mode and in high contrast. Nothing here keys off
|
||||
prefers-color-scheme: the page's own toggle decides. -->
|
||||
|
||||
<style>
|
||||
.flow-wrap { margin: 0; }
|
||||
.flow-wrap svg { width: 100%; height: auto; display: block; }
|
||||
|
||||
.flow-token { fill: #8a5a08; stroke: #fbfcfd; stroke-width: 1.2; }
|
||||
.flow-token {
|
||||
fill: var(--calc-accent-b, #D1541F);
|
||||
stroke: var(--calc-surface, #fbfcfd);
|
||||
stroke-width: 1.2;
|
||||
}
|
||||
.flow-wrap .flow-on .box,
|
||||
.flow-wrap .flow-on .box-plain,
|
||||
.flow-wrap .flow-on .box-accent { stroke-width: 3; }
|
||||
.flow-wrap .flow-done { stroke: #8a5a08; }
|
||||
.flow-wrap .flow-done { stroke: var(--calc-accent-b, #D1541F); }
|
||||
|
||||
.flow-bar {
|
||||
display: flex; align-items: center; gap: .5rem; flex-wrap: wrap;
|
||||
@@ -29,21 +36,16 @@
|
||||
}
|
||||
.flow-bar button {
|
||||
font: inherit; font-size: .82rem; padding: .18rem .7rem; cursor: pointer;
|
||||
border: 1px solid #dae0e8; border-radius: 999px;
|
||||
background: #fbfcfd; color: #5a6879;
|
||||
border: 1px solid var(--calc-grid, #dae0e8); border-radius: 999px;
|
||||
background: var(--calc-surface, #fbfcfd); color: var(--calc-muted, #5a6879);
|
||||
}
|
||||
.flow-bar button:hover {
|
||||
border-color: var(--calc-notecolor, #20666f);
|
||||
color: var(--calc-notecolor, #20666f);
|
||||
}
|
||||
.flow-bar button:hover { border-color: #20666f; color: #20666f; }
|
||||
.flow-bar button[disabled] { opacity: .45; cursor: default; }
|
||||
.flow-status { font-size: .8rem; color: #5a6879; }
|
||||
.flow-status b { color: #20666f; font-weight: 600; }
|
||||
|
||||
@media (prefers-color-scheme: dark) {
|
||||
.flow-token { fill: #c99a3a; stroke: #161b22; }
|
||||
.flow-bar button { background: #161b22; border-color: #30363d; color: #8b98a8; }
|
||||
.flow-bar button:hover { border-color: #4c9aa5; color: #7fc4cf; }
|
||||
.flow-status { color: #8b98a8; }
|
||||
.flow-status b { color: #7fc4cf; }
|
||||
}
|
||||
.flow-status { font-size: .8rem; color: var(--calc-muted, #5a6879); }
|
||||
.flow-status b { color: var(--calc-notecolor, #20666f); font-weight: 600; }
|
||||
</style>
|
||||
|
||||
<script>
|
||||
|
||||
Reference in new issue
Block a user