forked from bchanot/claude
fix(explain-diff): arrow class no longer collides with edge callout; bundle fill_template.py
Eval iteration 1: the callout 'edge' variant picked up the diagram connector styles, and all three skill runs hand-wrote a template filler. fill_template.py takes values.json with @fragment files, escapes </ in the quiz; suite 21 checks.
This commit is contained in:
1 parent
b353fac2ba
commit
faedb98699
5 files changed
+112
-19
No files matched your search
@@ -200,7 +200,7 @@ details.deep[open] > summary {
|
||||
border-bottom: 1px solid var(--line);
|
||||
}
|
||||
|
||||
/* Diagrams: flow and states */
|
||||
/* Diagrams: flow and states (.arrow links two nodes) */
|
||||
.flow { display: flex; align-items: stretch; }
|
||||
.node {
|
||||
flex: 1 1 0;
|
||||
@@ -215,17 +215,17 @@ details.deep[open] > summary {
|
||||
.node.state { border-radius: 999px; text-align: center; }
|
||||
.node-title { display: block; font-weight: 650; }
|
||||
.node-sub { display: block; font-size: 0.82rem; color: var(--muted); }
|
||||
.edge {
|
||||
.arrow {
|
||||
position: relative;
|
||||
flex: 0 0 7rem;
|
||||
flex: 0 0 9rem;
|
||||
align-self: center;
|
||||
padding: 0 0.6rem 0.7rem;
|
||||
font: 0.75rem/1.3 var(--mono);
|
||||
color: var(--muted);
|
||||
text-align: center;
|
||||
overflow-wrap: anywhere;
|
||||
overflow-wrap: break-word;
|
||||
}
|
||||
.edge::before {
|
||||
.arrow::before {
|
||||
content: "";
|
||||
position: absolute;
|
||||
left: 0.3rem;
|
||||
@@ -233,7 +233,7 @@ details.deep[open] > summary {
|
||||
bottom: 0.3rem;
|
||||
border-top: 1.5px solid var(--muted);
|
||||
}
|
||||
.edge::after {
|
||||
.arrow::after {
|
||||
content: "";
|
||||
position: absolute;
|
||||
right: 0.3rem;
|
||||
@@ -360,13 +360,13 @@ table.data th { font-weight: 650; color: var(--muted); }
|
||||
h2 { margin-top: 3.5rem; }
|
||||
.compare { grid-template-columns: 1fr; }
|
||||
.flow { flex-direction: column; }
|
||||
.edge {
|
||||
.arrow {
|
||||
flex-basis: auto;
|
||||
align-self: flex-start;
|
||||
padding: 0.55rem 0 0.75rem 1.5rem;
|
||||
text-align: left;
|
||||
}
|
||||
.edge::before {
|
||||
.arrow::before {
|
||||
top: 0;
|
||||
bottom: 0.2rem;
|
||||
left: 0.65rem;
|
||||
@@ -374,7 +374,7 @@ table.data th { font-weight: 650; color: var(--muted); }
|
||||
border-top: 0;
|
||||
border-left: 1.5px solid var(--muted);
|
||||
}
|
||||
.edge::after {
|
||||
.arrow::after {
|
||||
right: auto;
|
||||
bottom: 0;
|
||||
left: calc(0.65rem - 4.25px);
|
||||
|
||||
Reference in new issue
Block a user