From: Matthew Eppelsheimer Date: Sun, 21 Jul 2013 04:32:51 +0000 (-0700) Subject: Make header margin an overridable setting. X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=9b2f62496c85ff91c46e8ae676b40c50884fa8a9;p=reveal.js.git Make header margin an overridable setting. css/theme/template/settings.scss adds the $headingMargin variable, set to `0 0 20px 0`. css/theme/template/theme.scss uses $headingMargin to set margin on headers. --- diff --git a/css/theme/template/settings.scss b/css/theme/template/settings.scss index 7e9ffd8..739a609 100644 --- a/css/theme/template/settings.scss +++ b/css/theme/template/settings.scss @@ -10,6 +10,7 @@ $mainFontSize: 36px; $mainColor: #eee; // Headings +$headingMargin: 0 0 20px 0; $headingFont: 'League Gothic', Impact, sans-serif; $headingColor: #eee; $headingLineHeight: 0.9em; diff --git a/css/theme/template/theme.scss b/css/theme/template/theme.scss index 96148e3..735b765 100644 --- a/css/theme/template/theme.scss +++ b/css/theme/template/theme.scss @@ -33,7 +33,7 @@ body { .reveal h4, .reveal h5, .reveal h6 { - margin: 0 0 20px 0; + margin: $headingMargin; color: $headingColor; font-family: $headingFont;