Skip to content

Commit

Permalink
second shot
Browse files Browse the repository at this point in the history
  • Loading branch information
Johann Gyger committed Dec 26, 2020
1 parent 162490e commit a2e1e69
Show file tree
Hide file tree
Showing 12 changed files with 119 additions and 125 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
resources
49 changes: 49 additions & 0 deletions assets/custom-theme.scss
Original file line number Diff line number Diff line change
@@ -0,0 +1,49 @@
@import "reveal-js/css/theme/template/mixins";
@import "reveal-js/css/theme/template/settings";

@font-face {
font-family: "TTFirsNeue-Medium";
src: url('fonts/TTFirsNeue-Medium/font.woff2') format('woff2'), url('../fonts/TTFirsNeue-Medium/font.woff') format('woff');
}
@font-face {
font-family: "TTFirsNeue-Light";
src: url('fonts/TTFirsNeue-Light/font.woff2') format('woff2'), url('../fonts/TTFirsNeue-Light/font.woff') format('woff');
}

$backgroundColor: #fff;

$AC-Red: #7d0f4b;
$AC-Blue: #074761;
$AC-Green: #36735c;
$AC-Yellow: #d08f4c;
$dunkelgrau: #959595;


$mainColor: $AC-Red;
$headingColor: $AC-Red;

$mainFontSize: 44px;
$mainFont: "TTFirsNeue-Light", sans-serif;
$headingFont: "TTFirsNeue-Light", sans-serif;
$headingTextShadow: none;
$headingLetterSpacing: normal;
$headingTextTransform: normal;
$headingFontWeight: 600;
$linkColor: lighten( $AC-Blue, 15% );
$linkColorHover: lighten( $linkColor, 15% );
$selectionBackgroundColor: lighten( $linkColor, 25% );

$heading1Size: 2.5em;
$heading2Size: 1.6em;
$heading3Size: 1.3em;
$heading4Size: 1.0em;

section.has-dark-background {
&, h1, h2, h3, h4, h5, h6 {
color: #fff;
}
}

// Theme template ------------------------------
@import "reveal-js/css/theme/template/theme";
// ---------------------------------------------
7 changes: 6 additions & 1 deletion config.toml
Original file line number Diff line number Diff line change
Expand Up @@ -11,4 +11,9 @@ mediaType = "text/html"
isHTML = true

[params.reveal_hugo]
theme = "white"
custom_theme = "custom-theme.scss"
custom_theme_compile = true
width = 1280
height = 720
margin = 0.01

Loading

0 comments on commit a2e1e69

Please sign in to comment.