From d104c535659517264ff7d25e541d4caf68871765 Mon Sep 17 00:00:00 2001 From: Andrew Dunning Date: Wed, 14 Oct 2015 17:31:23 -0400 Subject: [PATCH] Add width, height variables to reveal.js. --- default.revealjs | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/default.revealjs b/default.revealjs index 695ac0328..f2439b984 100644 --- a/default.revealjs +++ b/default.revealjs @@ -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$,