diff options
author | Hakim El Hattab <hakim.elhattab@gmail.com> | 2014-12-10 18:18:57 +0100 |
---|---|---|
committer | Hakim El Hattab <hakim.elhattab@gmail.com> | 2014-12-10 18:19:04 +0100 |
commit | 05403bcf16e44863e97af776cc566e75f570eef7 (patch) | |
tree | 3f7688e1cf48f78e334aaa1cbc5f5e66a6f94c17 /css/theme | |
parent | ad9e93eae5850b7cd8513b4040e0b1b144a2f275 (diff) | |
download | fosdem-2018-presentation-05403bcf16e44863e97af776cc566e75f570eef7.tar fosdem-2018-presentation-05403bcf16e44863e97af776cc566e75f570eef7.tar.gz |
first revision of new default theme #1018
Diffstat (limited to 'css/theme')
-rw-r--r-- | css/theme/black.css | 13 | ||||
-rw-r--r-- | css/theme/source/black.scss | 13 |
2 files changed, 17 insertions, 9 deletions
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 ------------------------------ |