/* Shrink code blocks and output in teaching slides */
.reveal pre {
  font-size: 0.65em;
  width: 100%;
}

.reveal code {
  font-size: 0.85em;
}

.reveal .sourceCode {
  font-size: 0.65em;
}

/* Shrink table output */
.reveal table {
  font-size: 0.75em;
}

.reveal .gt-table {
  font-size: 0.75em;
}

/* Shrink data frame output */
.reveal pre > code {
  font-size: 0.65em;
}

/* Position r-stack fragments to overlap at top-left */
.r-stack {
  position: relative !important;
  display: flex !important;
  align-items: flex-start !important;
  justify-content: flex-start !important;
}

.r-stack > * {
  position: absolute !important;
  top: 0 !important;
  left: 0 !important;
}
