/* Typeset formulas: inline in prose, and the { math } block. Loaded after katex.min.css. */

.math-inline .katex { font-size: 1.06em; }

/* A formula and the punctuation after it, kept on one line. */
.math-nowrap { white-space: nowrap; }

.math-block {
  margin: 16px 0 0;
  padding: 10px 14px;
  border-left: 3px solid #cfdacd;
  background: #f6f8f1;
  border-radius: 0 7px 7px 0;
}

.math-display {
  overflow-x: auto;
  overflow-y: hidden;
  max-width: 100%;
  padding: 2px 0;
}

.math-display .katex-display { margin: 4px 0; }

.math-lean {
  margin: 6px 0 0;
  color: var(--muted);
  font-size: .82rem;
}

.math-caption {
  margin: 6px 0 0;
  color: var(--muted);
  font-size: .86rem;
  line-height: 1.55;
}

.is-broken { color: #9c3b2a; font-family: var(--mono); }
