mirror of
https://github.com/Threnklyn/reveal-hugo.git
synced 2026-05-18 21:03:29 +02:00
4e0d34413b
Now any Hugo section can be configured to generate a presentation without altering its type, and the theme is more easily copied into existing sites without conflicting with any preexisting layouts.
49 lines
1.1 KiB
SCSS
Executable File
49 lines
1.1 KiB
SCSS
Executable File
/**
|
|
* Black theme for reveal.js. This is the opposite of the 'white' theme.
|
|
*
|
|
* By Hakim El Hattab, http://hakim.se
|
|
*/
|
|
|
|
|
|
// Default mixins and settings -----------------
|
|
@import "../template/mixins";
|
|
@import "../template/settings";
|
|
// ---------------------------------------------
|
|
|
|
|
|
// Include theme-specific fonts
|
|
@import url(../../lib/font/source-sans-pro/source-sans-pro.css);
|
|
|
|
|
|
// Override theme settings (see ../template/settings.scss)
|
|
$backgroundColor: #222;
|
|
|
|
$mainColor: #fff;
|
|
$headingColor: #fff;
|
|
|
|
$mainFontSize: 42px;
|
|
$mainFont: 'Source Sans Pro', Helvetica, sans-serif;
|
|
$headingFont: 'Source Sans Pro', Helvetica, sans-serif;
|
|
$headingTextShadow: none;
|
|
$headingLetterSpacing: normal;
|
|
$headingTextTransform: uppercase;
|
|
$headingFontWeight: 600;
|
|
$linkColor: #42affa;
|
|
$linkColorHover: lighten( $linkColor, 15% );
|
|
$selectionBackgroundColor: lighten( $linkColor, 25% );
|
|
|
|
$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 ------------------------------
|
|
@import "../template/theme";
|
|
// --------------------------------------------- |