aboutsummaryrefslogtreecommitdiff
path: root/css
diff options
context:
space:
mode:
authorHakim El Hattab <hakim.elhattab@gmail.com>2020-06-05 13:17:43 +0200
committerHakim El Hattab <hakim.elhattab@gmail.com>2020-06-05 13:17:43 +0200
commit1b6a3b1e6f38a65cc5330b2856275cd8a39ae6d7 (patch)
tree2c1273d83c10dbfaac402fb7130c5618efa68708 /css
parent66cbd66fb6ae6a31e1478d47722805f7bedad7ee (diff)
downloadfosdem-2021-minimalism-presentation-1b6a3b1e6f38a65cc5330b2856275cd8a39ae6d7.tar
fosdem-2021-minimalism-presentation-1b6a3b1e6f38a65cc5330b2856275cd8a39ae6d7.tar.gz
add support for auto-sized big text via r-fit-text
Diffstat (limited to 'css')
-rw-r--r--css/theme/template/theme.scss10
1 files changed, 10 insertions, 0 deletions
diff --git a/css/theme/template/theme.scss b/css/theme/template/theme.scss
index c3e6474..9cf0511 100644
--- a/css/theme/template/theme.scss
+++ b/css/theme/template/theme.scss
@@ -79,6 +79,16 @@
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,