first revision of new default theme #1018

This commit is contained in:
Hakim El Hattab
2014-12-10 18:18:57 +01:00
parent ad9e93eae5
commit 05403bcf16
4 changed files with 34 additions and 28 deletions

View File

@ -5,12 +5,15 @@
*
* Copyright (C) 2014 Hakim El Hattab, http://hakim.se
*/
section.has-light-background, section.has-light-background h1, section.has-light-background h2, section.has-light-background h3, section.has-light-background h4, section.has-light-background h5, section.has-light-background h6 {
color: #222; }
/*********************************************
* GLOBAL STYLES
*********************************************/
body {
background: #111;
background-color: #111; }
background: #222;
background-color: #222; }
.reveal {
font-family: 'Open Sans', Helvetica, sans-serif;
@ -41,13 +44,13 @@ body {
word-wrap: break-word; }
.reveal h1 {
font-size: 2.8em; }
font-size: 2.5em; }
.reveal h2 {
font-size: 1.8em; }
font-size: 1.6em; }
.reveal h3 {
font-size: 1.5em; }
font-size: 1.3em; }
.reveal h4 {
font-size: 1em; }

View File

@ -17,7 +17,7 @@
// Override theme settings (see ../template/settings.scss)
$backgroundColor: #111;
$backgroundColor: #222;
$mainColor: #fff;
$headingColor: #fff;
@ -32,11 +32,16 @@ $linkColor: #3992fb;
$linkColorHover: lighten( $linkColor, 15% );
$selectionBackgroundColor: lighten( $linkColor, 25% );
$heading1Size: 2.8em;
$heading2Size: 1.8em;
$heading3Size: 1.5em;
$heading1Size: 2.5em;
$heading2Size: 1.6em;
$heading3Size: 1.3em;
$heading4Size: 1.0em;
section.has-light-background {
&, h1, h2, h3, h4, h5, h6 {
color: #222;
}
}
// Theme template ------------------------------