:root {
  --pst-font-family-base-system: Inter, "Lucida Grande", Verdana, system-ui,
    sans-serif;
  /* Better G */
  font-feature-settings: "cv10";
}

/* Don't have figure legends center-aligned; it looks weird to me. */
.legend {
  margin-left: auto;
  margin-right: auto;
  text-align: left;
  width: 85%;
}

/* Fix the giant table cells */
.table td,
.table th {
  padding: 0.35rem;
}

/* Fix the spacing around the superscript digit starting a footnote. */
.sidenote sup {
  padding-right: 0.8em;
}

/* Fix the paragraph spacing inside bullet points. */
.bd-article-container ol p,
.bd-article-container ul p,
ol li > p:first-child,
ul li > p:first-child {
  margin-bottom: revert;
}

/* Fix the excessive margin on code blocks */
div.highlight {
  margin-bottom: 0;
}

/* Fix horizontal scroll bars on math */
.MathJax {
  overflow: hidden;
}

/* Fix excess y-scroll on sidebar */
#rtd-footer-container {
  display: none;
}
