diff options
Diffstat (limited to 'dist/theme/moon.css')
-rw-r--r-- | dist/theme/moon.css | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/dist/theme/moon.css b/dist/theme/moon.css index d799c99..eff9c2d 100644 --- a/dist/theme/moon.css +++ b/dist/theme/moon.css @@ -108,6 +108,15 @@ section.has-light-background, section.has-light-background h1, section.has-light margin: 20px 0; line-height: 1.3; } +/* Remove trailing margins after titles */ +.reveal h1:last-child, +.reveal h2:last-child, +.reveal h3:last-child, +.reveal h4:last-child, +.reveal h5:last-child, +.reveal h6:last-child { + margin-bottom: 0; } + /* Ensure certain elements are never larger than the slide itself */ .reveal img, .reveal video, |