Extension 2.10.0, study field, German "Abschnitt" for sections; rebuild
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
f047b9c7ae
commit
d74a2e90b4
88 files changed
+874
-437
No files matched your search
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
@@ -0,0 +1,39 @@
|
||||
/* history.css -- historical context: a quiet grey box with an italic heading,
|
||||
so it reads as background and not as material to study (the purple
|
||||
.further box is for optional mathematics). Colours are notes tokens only,
|
||||
so light/dark and high contrast follow by themselves. */
|
||||
|
||||
.history {
|
||||
margin: 1.1rem 0;
|
||||
padding: 0.5rem 0.9rem 0.6rem;
|
||||
border: 1px solid color-mix(in srgb, var(--calc-muted, #57606a) 30%, transparent);
|
||||
border-left: 3px double var(--calc-muted, #57606a);
|
||||
border-radius: 0.35rem;
|
||||
background: color-mix(in srgb, var(--calc-muted, #57606a) 5%, transparent);
|
||||
}
|
||||
|
||||
.history-head {
|
||||
color: var(--calc-muted, #57606a);
|
||||
font-style: italic;
|
||||
font-weight: 600;
|
||||
font-size: 0.92em;
|
||||
margin-bottom: 0.35rem;
|
||||
}
|
||||
|
||||
.history-body > p:first-child { margin-top: 0; }
|
||||
.history-body > p:last-child { margin-bottom: 0; }
|
||||
|
||||
/* keep wide content inside the box, as .further does */
|
||||
.history mjx-container[display="true"] {
|
||||
max-width: 100%;
|
||||
overflow-x: auto;
|
||||
overflow-y: hidden;
|
||||
padding-bottom: 0.35em;
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
justify-content: safe center;
|
||||
}
|
||||
.history :is(pre, table) { max-width: 100%; overflow-x: auto; }
|
||||
.history img, .history svg { max-width: 100%; }
|
||||
|
||||
html.hc .history { border-color: var(--calc-ink, #1a1a1a); }
|
||||
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
Reference in new issue
Block a user