From 05403bcf16e44863e97af776cc566e75f570eef7 Mon Sep 17 00:00:00 2001 From: Hakim El Hattab Date: Wed, 10 Dec 2014 18:18:57 +0100 Subject: first revision of new default theme #1018 --- css/theme/black.css | 13 ++++++++----- css/theme/source/black.scss | 13 +++++++++---- 2 files changed, 17 insertions(+), 9 deletions(-) (limited to 'css/theme') diff --git a/css/theme/black.css b/css/theme/black.css index 6c16a37..21d17b9 100644 --- a/css/theme/black.css +++ b/css/theme/black.css @@ -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; } diff --git a/css/theme/source/black.scss b/css/theme/source/black.scss index 6c1e271..c73ca87 100644 --- a/css/theme/source/black.scss +++ b/css/theme/source/black.scss @@ -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 ------------------------------ -- cgit v1.2.3