style tweaks for all themes; larger line heights, no default adjustmetn to letter-spacing

This commit is contained in:
Hakim El Hattab
2014-09-28 12:14:48 +02:00
parent 9ef0060024
commit bd176411ef
14 changed files with 78 additions and 73 deletions

View File

@ -13,12 +13,17 @@ $mainColor: #eee;
$headingMargin: 0 0 20px 0;
$headingFont: 'League Gothic', Impact, sans-serif;
$headingColor: #eee;
$headingLineHeight: 1em;
$headingLetterSpacing: 0.02em;
$headingLineHeight: 1.2;
$headingLetterSpacing: normal;
$headingTextTransform: uppercase;
$headingTextShadow: 0px 0px 6px rgba(0,0,0,0.2);
$headingTextShadow: none;
$heading1TextShadow: $headingTextShadow;
$heading1Size: 3.77em;
$heading2Size: 2.11em;
$heading3Size: 1.55em;
$heading4Size: 1.00em;
// Links and actions
$linkColor: #13DAEC;
$linkColorHover: lighten( $linkColor, 20% );

View File

@ -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 */