瀏覽代碼

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.
Matthew Eppelsheimer 11 年之前
父節點
當前提交
9b2f62496c
共有 2 個文件被更改,包括 2 次插入1 次删除
  1. 1 0
      css/theme/template/settings.scss
  2. 1 1
      css/theme/template/theme.scss

+ 1 - 0
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;

+ 1 - 1
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;