Commit 03eacd85 authored by Mario Botsch's avatar Mario Botsch
Browse files

remove bottom margin of last element on slide

parent 6a2f9ac0
......@@ -217,7 +217,20 @@ body {
.reveal ul {
display: inline-block;
text-align: left;
margin-bottom: 1em;
margin-bottom: 0.7em;
/* remove bottom margin of last list element on a slide
list element might be encapsulated in a div, e.g.
for .incremental or .colXY.
also remove bottom margin of last element on slide,
no matter what type it is. */
.reveal .slides section > *:last-child,
.reveal .slides section > ul:last-child,
.reveal .slides section > ol:last-child,
.reveal .slides section > div > ol:last-child,
.reveal .slides section > div > ul:last-child {
margin-bottom: 0;
.reveal ol li,
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment