summaryrefslogtreecommitdiffhomepage
path: root/css/theme/template/theme.scss
diff options
context:
space:
mode:
authorHakim El Hattab2014-09-28 12:14:48 +0200
committerHakim El Hattab2014-09-28 12:14:48 +0200
commitbd176411ef7fa4b584af5deef538ab8f63f43746 (patch)
tree504120ad8d01bfce756ae8f7c5076dd7331d992a /css/theme/template/theme.scss
parent9ef0060024a428e2bbfa237f2632e2defe4a5ec3 (diff)
style tweaks for all themes; larger line heights, no default adjustmetn to letter-spacing
Diffstat (limited to 'css/theme/template/theme.scss')
-rw-r--r--css/theme/template/theme.scss13
1 files changed, 6 insertions, 7 deletions
diff --git a/css/theme/template/theme.scss b/css/theme/template/theme.scss
index 17cf688..f2a542e 100644
--- a/css/theme/template/theme.scss
+++ b/css/theme/template/theme.scss
@@ -13,7 +13,6 @@ body {
font-family: $mainFont;
font-size: $mainFontSize;
font-weight: normal;
- letter-spacing: -0.02em;
color: $mainColor;
}
@@ -25,7 +24,7 @@ body {
.reveal .slides>section,
.reveal .slides>section>section {
- line-height: 1.2em;
+ line-height: 1.3;
font-weight: inherit;
}
@@ -52,10 +51,10 @@ body {
word-wrap: break-word;
}
-.reveal h1 { font-size: 3.77em; }
-.reveal h2 { font-size: 2.11em; }
-.reveal h3 { font-size: 1.55em; }
-.reveal h4 { font-size: 1em; }
+.reveal h1 {font-size: $heading1Size; }
+.reveal h2 {font-size: $heading2Size; }
+.reveal h3 {font-size: $heading3Size; }
+.reveal h4 {font-size: $heading4Size; }
.reveal h1 {
text-shadow: $heading1TextShadow;
@@ -68,7 +67,7 @@ body {
.reveal p {
margin-bottom: 10px;
- line-height: 1.2em;
+ line-height: 1.3;
}
/* Ensure certain elements are never larger than the slide itself */