/*-- scss:rules --*/
code {
  font-size: 0.9em;
}

pre code {
  font-size: 0.98em;
}

.printedClojure .sourceCode pre {
  background-color: $code-bg;
}

.navbar a:hover,
.navbar .active {
  color: $tertiary;
  text-decoration: underline;
}

div.quarto-post h3 a {
  color: $primary;
}

.quarto-listing .quarto-post {
    border-bottom: none;
}

figcaption {
  margin: auto;
  text-align: center;
}

body.quarto-dark .js-plotly-plot,
body.quarto-dark .mermaid {
  filter: invert(100%) hue-rotate(180deg);
}

/* Add more breathing room throughout the site */

/* More space around sub-headings, except in listings */
h2:not(.listing-title), h3:not(.listing-title) {
  margin-top: 1.5em !important;
  margin-bottom: 0.8em !important;
}

/* Increase paragraph spacing */
p {
  margin-bottom: 1.2em;
  line-height: 1.6;
}

/* More space around code blocks */
pre {
  margin: 1.5em 0;
}

/* Special handling for code blocks followed by output */
/* Keep code and output connected but add space around the pair */
.sourceCode + .cell-output,
pre + .cell-output {
  margin-top: 0.5em;
  margin-bottom: 1.5em;
}

/* More space around horizontal rules */
hr {
  margin: 2em 0;
}

/* Add breathing room to list items */
li {
  margin-bottom: 0.5em;
}

/* Add space around blockquotes */
blockquote {
  margin: 1.5em 0;
  padding: 1em 1.5em;
}

/* Add space around tables */
table {
  margin: 1.5em 0;
}

/* Add space between main headings and descriptions */
#title-block-header.quarto-title-block.default .quarto-title .title {
  margin-bottom: 0.5em;
}
