feat: place calls and current results beside the function

This commit is contained in:
cflmy committed 2026-11-24 13:26:52 +08:00
1 parent 07fa0d62a8
commit b6962b2b38
3 files changed
+95 -25

No files matched your search

+26
View File
@@ -1382,3 +1382,29 @@
.mq-heading-anchor { display: block; }
.mq-document math { font-family: "Noto Sans Math", math; }
}
@layer semantics {
.mq-document h2 .mq-fn-call {
margin-inline-start: .8rem;
vertical-align: middle;
border-color: var(--mq-gold);
color: var(--mq-focus);
}
.mq-result-slot:empty { display: none; }
.mq-result-slot .mq-run-panel {
border-color: var(--mq-olive);
background: var(--mq-surface);
margin-block: 1.25rem 1.75rem;
}
.mq-run-panel > summary {
cursor: pointer;
font-weight: 650;
color: var(--mq-olive);
margin-block-end: .6rem;
}
.mq-run-panel[hidden] { display: none; }
}