ids theme: balance title/subtitle margins in bar, keep layout invariant
Change-Id: I49672cdefdb9a91b2ab7738aebe9e169fa8b7e85
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 bd99e14..bc3301d 100644
--- a/inst/reveal.js-5.2.1/dist/theme/ids.css
+++ b/inst/reveal.js-5.2.1/dist/theme/ids.css
@@ -473,6 +473,12 @@
height: calc(100% + (8px + 45.36px) / 2) !important;
}
+.reveal .slides section:not(.title-frame) > h1:first-child:has(+ h3),
+.reveal .slides section:not(.title-frame) > h2:first-child:has(+ h3) {
+ padding-top: 8px !important;
+ margin-bottom: 0 !important;
+}
+
.reveal .slides section:not(.title-frame) > h2:first-child + h3 {
position: relative !important;
text-align: left !important;