From 9b2f62496c85ff91c46e8ae676b40c50884fa8a9 Mon Sep 17 00:00:00 2001 From: Matthew Eppelsheimer Date: Sat, 20 Jul 2013 21:32:51 -0700 Subject: [PATCH] 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. --- css/theme/template/settings.scss | 1 + css/theme/template/theme.scss | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) 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; -- 2.26.2