Add width, height variables to reveal.js.

This commit is contained in:
Andrew Dunning 2015-10-14 17:31:23 -04:00
parent da139313d2
commit d104c53565

View file

@ -195,6 +195,15 @@ $endif$
$if(parallaxBackgroundVertical)$
parallaxBackgroundVertical: '$parallaxBackgroundVertical$',
$endif$
$if(width)$
// The "normal" size of the presentation, aspect ratio will be preserved
// when the presentation is scaled to fit different resolutions. Can be
// specified using percentage units.
width: $width$,
$endif$
$if(height)$
height: $height$,
$endif$
$if(margin)$
// Factor of the display size that should remain empty around the content
margin: $margin$,