.algorithm {
  background-color: #f5f5f5;
  padding: 1em;
  border-left: 3px solid #007bff;
  font-family: monospace;
  font-size: 0.85em;
}

/* Allow math to use its normal font */
.algorithm .katex,
.algorithm .MathJax,
.algorithm mjx-container {
  font-family: inherit;
  font-size: inherit;
}
