aboutsummaryrefslogtreecommitdiff
path: root/css/theme/template
diff options
context:
space:
mode:
authorHakim El Hattab <hakim.elhattab@gmail.com>2014-11-05 11:52:32 +0100
committerHakim El Hattab <hakim.elhattab@gmail.com>2014-11-05 11:52:32 +0100
commitb09923551a0ba95fac3631f992793e44d71f474f (patch)
treee8ab2393e3bde4d082e78cb4d5a2accc61def855 /css/theme/template
parenta170ee898289d3d6218b247b9bff2cc584946ca8 (diff)
downloadfosdem-2018-presentation-b09923551a0ba95fac3631f992793e44d71f474f.tar
fosdem-2018-presentation-b09923551a0ba95fac3631f992793e44d71f474f.tar.gz
theme updates, normalized spacing between block-level elements
Diffstat (limited to 'css/theme/template')
-rw-r--r--css/theme/template/settings.scss5
-rw-r--r--css/theme/template/theme.scss6
2 files changed, 7 insertions, 4 deletions
diff --git a/css/theme/template/settings.scss b/css/theme/template/settings.scss
index 88f7d75..7e484f8 100644
--- a/css/theme/template/settings.scss
+++ b/css/theme/template/settings.scss
@@ -9,8 +9,11 @@ $mainFont: 'Lato', sans-serif;
$mainFontSize: 36px;
$mainColor: #eee;
+// Vertical spacing between blocks of text
+$blockMargin: 20px;
+
// Headings
-$headingMargin: 0 0 20px 0;
+$headingMargin: 0 0 $blockMargin 0;
$headingFont: 'League Gothic', Impact, sans-serif;
$headingColor: #eee;
$headingLineHeight: 1.2;
diff --git a/css/theme/template/theme.scss b/css/theme/template/theme.scss
index f2a542e..da907f5 100644
--- a/css/theme/template/theme.scss
+++ b/css/theme/template/theme.scss
@@ -66,7 +66,7 @@ body {
*********************************************/
.reveal p {
- margin-bottom: 10px;
+ margin: $blockMargin 0;
line-height: 1.3;
}
@@ -136,7 +136,7 @@ body {
display: block;
position: relative;
width: 70%;
- margin: 5px auto;
+ margin: $blockMargin auto;
padding: 5px;
font-style: italic;
@@ -156,7 +156,7 @@ body {
display: block;
position: relative;
width: 90%;
- margin: 15px auto;
+ margin: $blockMargin auto;
text-align: left;
font-size: 0.55em;