auto-populate Overview/Überblick slides with a clickable TOC
Port the convention from the old Google Docs slide workflow: at
presentation time, any slide whose (only) heading is Overview or
Überblick gets its body content replaced with a hierarchical list of
the deck's h1/h2 slide headings, each entry linking to its slide.
Styled in the ids theme; slides without headings and the title slide
are left out.
Change-Id: I3bfd62d530f297a389030e431a6066b5adc99bb8
diff --git a/inst/reveal.js-5.2.1/dist/theme/ids.css b/inst/reveal.js-5.2.1/dist/theme/ids.css
index 8f95547..5ae8600 100644
--- a/inst/reveal.js-5.2.1/dist/theme/ids.css
+++ b/inst/reveal.js-5.2.1/dist/theme/ids.css
@@ -1054,4 +1054,34 @@
padding: 0;
}
+/*********************************************
+ * OVERVIEW / TOC SLIDES
+ *********************************************/
+.reveal .ids-overview-toc {
+ list-style: none;
+ margin: 0.2em 0 0 0;
+ padding: 0;
+ font-size: 0.72em;
+ line-height: 1.35;
+}
+.reveal .ids-overview-toc > li {
+ margin: 0.45em 0;
+ font-weight: bold;
+}
+.reveal .ids-overview-toc ul {
+ list-style: none;
+ margin: 0.1em 0 0.2em 0;
+ padding: 0 0 0 1.1em;
+ font-weight: normal;
+}
+.reveal .ids-overview-toc ul li {
+ margin: 0.18em 0;
+}
+.reveal .ids-overview-toc a {
+ color: inherit;
+}
+.reveal .ids-overview-toc a:hover {
+ color: var(--r-heading-color);
+}
+
/*# sourceMappingURL=ids.css.map */