/* Custom styles for MFIIDD course materials */

/* DataFrame tables: shrink to content width instead of stretching to fill
   the text column, which leaves a lot of whitespace for narrow tables. */
table.data-frame {
  width: auto !important;
}

/* Code output: lighter grey than code blocks with subtle border */
.cell-output-stdout pre,
.cell-output-display pre {
  background-color: #fafafa;
  border-left: 3px solid #ccc;
}

/* Dark mode */
[data-bs-theme="dark"] .cell-output-stdout pre,
[data-bs-theme="dark"] .cell-output-display pre {
  background-color: #3a3a3a;
  border-left: 3px solid #666;
}

/* Math: MathML rendered by the browser. Use locally installed math fonts only —
   never a webfont, so formulae still render with no network access. */
math {
  font-family: "STIX Two Math", "Latin Modern Math", "Cambria Math",
               "DejaVu Math TeX Gyre", "Noto Sans Math", serif;
}
