/* Reserve a band down the right of every slide, for handwriting notes on a
   printed or projected copy. Applied per deck via `css:` in the deck's front
   matter; nothing here changes the shared site theme.

   border-box is required: reveal sizes a slide with content-box, so padding
   alone would widen the slide past its own frame instead of narrowing the
   text inside it. */
.reveal .slides section {
  box-sizing: border-box;
  padding-right: 18%;
}

/* PDF export (`?print-pdf`) is a separate layout. reveal's print stylesheet
   sets `padding: 0 !important` on every slide, so the rule above is discarded
   there and the exported PDF comes out with no margin. Restating it under the
   print-mode selector, with !important, is what carries the band into the PDF. */
html.reveal-print .reveal .slides section {
  padding-right: 18% !important;
}
