aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthew Eppelsheimer <matthew.eppelsheimer@gmail.com>2013-07-20 21:32:51 -0700
committerMatthew Eppelsheimer <matthew.eppelsheimer@gmail.com>2013-07-20 21:32:51 -0700
commit9b2f62496c85ff91c46e8ae676b40c50884fa8a9 (patch)
tree380155b6a0a647dd6d739be03a19b7d0d469bd37
parent7d19b4f7ce2ab3fd7880d0f60b1c147d44808f0c (diff)
downloadperl-software-in-gnu-guix-9b2f62496c85ff91c46e8ae676b40c50884fa8a9.tar
perl-software-in-gnu-guix-9b2f62496c85ff91c46e8ae676b40c50884fa8a9.tar.gz
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.
-rw-r--r--css/theme/template/settings.scss1
-rw-r--r--css/theme/template/theme.scss2
2 files changed, 2 insertions, 1 deletions
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;