Files
ProcessControl/_book/de/site_libs/quarto-contrib/calc-further-2.10.0/further.css
T

35 lines
1.0 KiB
CSS

/* further — "to go further" notes: optional material, set apart in purple */
.further {
margin: 1.1rem 0;
padding: 0.5rem 0.9rem 0.6rem;
border: 1px solid color-mix(in srgb, var(--calc-furthercolor, #6B3FA0) 30%, transparent);
border-left: 3px solid var(--calc-furthercolor, #6B3FA0);
border-radius: 0.35rem;
background: color-mix(in srgb, var(--calc-furthercolor, #6B3FA0) 4%, transparent);
}
.further-head {
color: var(--calc-furthercolor, #6B3FA0);
font-weight: 600;
font-size: 0.92em;
margin-bottom: 0.35rem;
}
.further-body > p:first-child { margin-top: 0; }
.further-body > p:last-child { margin-bottom: 0; }
/* keep wide content inside the box, as .calc and .exo do */
.further mjx-container[display="true"],
.further .katex-display {
max-width: 100%;
overflow-x: auto;
overflow-y: hidden;
padding-bottom: 0.35em;
display: flex;
justify-content: center;
justify-content: safe center;
}
.further :is(pre, table) { max-width: 100%; overflow-x: auto; }
.further img, .further svg { max-width: 100%; }