1
0
Fork 0

new font & type settings for default theme

This commit is contained in:
Hakim El Hattab 2015-01-06 11:42:23 +01:00
parent 21d034bffe
commit 25a674a3c2
15 changed files with 65 additions and 54 deletions

View File

@ -46,6 +46,7 @@ body {
margin: 0 0 20px 0; margin: 0 0 20px 0;
color: #333; color: #333;
font-family: 'League Gothic', Impact, sans-serif; font-family: 'League Gothic', Impact, sans-serif;
font-weight: normal;
line-height: 1.2; line-height: 1.2;
letter-spacing: normal; letter-spacing: normal;
text-transform: uppercase; text-transform: uppercase;

View File

@ -1,9 +1,8 @@
@import url(https://fonts.googleapis.com/css?family=Montserrat:400); @import url(http://fonts.googleapis.com/css?family=Source+Sans+Pro:400,600,400italic,600italic&subset=latin,latin-ext);
@import url(https://fonts.googleapis.com/css?family=Open+Sans:400,700,400italic,700italic);
/** /**
* Black theme for reveal.js. * Black theme for reveal.js.
* *
* Copyright (C) 2014 Hakim El Hattab, http://hakim.se * Copyright (C) 2015 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 { 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; } color: #222; }
@ -16,14 +15,14 @@ body {
background-color: #222; } background-color: #222; }
.reveal { .reveal {
font-family: 'Open Sans', Helvetica, sans-serif; font-family: 'Source Sans Pro', Helvetica, sans-serif;
font-size: 34px; font-size: 38px;
font-weight: normal; font-weight: normal;
color: #fff; } color: #fff; }
::selection { ::selection {
color: #fff; color: #fff;
background: #b6d7fe; background: #bee4fd;
text-shadow: none; } text-shadow: none; }
.reveal .slides > section, .reveal .slides > section > section { .reveal .slides > section, .reveal .slides > section > section {
@ -36,7 +35,8 @@ body {
.reveal h1, .reveal h2, .reveal h3, .reveal h4, .reveal h5, .reveal h6 { .reveal h1, .reveal h2, .reveal h3, .reveal h4, .reveal h5, .reveal h6 {
margin: 0 0 20px 0; margin: 0 0 20px 0;
color: #fff; color: #fff;
font-family: 'Montserrat', Helvetica, sans-serif; font-family: 'Source Sans Pro', Helvetica, sans-serif;
font-weight: 600;
line-height: 1.2; line-height: 1.2;
letter-spacing: normal; letter-spacing: normal;
text-transform: uppercase; text-transform: uppercase;
@ -181,20 +181,20 @@ body {
* LINKS * LINKS
*********************************************/ *********************************************/
.reveal a { .reveal a {
color: #3992fb; color: #42affa;
text-decoration: none; text-decoration: none;
-webkit-transition: color 0.15s ease; -webkit-transition: color 0.15s ease;
-moz-transition: color 0.15s ease; -moz-transition: color 0.15s ease;
transition: color 0.15s ease; } transition: color 0.15s ease; }
.reveal a:hover { .reveal a:hover {
color: #84bcfd; color: #8dcffc;
text-shadow: none; text-shadow: none;
border: none; } border: none; }
.reveal .roll span:after { .reveal .roll span:after {
color: #fff; color: #fff;
background: #056ce3; } background: #068ee9; }
/********************************************* /*********************************************
* IMAGES * IMAGES
@ -212,35 +212,35 @@ body {
.reveal a:hover img { .reveal a:hover img {
background: rgba(255, 255, 255, 0.2); background: rgba(255, 255, 255, 0.2);
border-color: #3992fb; border-color: #42affa;
box-shadow: 0 0 20px rgba(0, 0, 0, 0.55); } box-shadow: 0 0 20px rgba(0, 0, 0, 0.55); }
/********************************************* /*********************************************
* NAVIGATION CONTROLS * NAVIGATION CONTROLS
*********************************************/ *********************************************/
.reveal .controls div.navigate-left, .reveal .controls div.navigate-left.enabled { .reveal .controls div.navigate-left, .reveal .controls div.navigate-left.enabled {
border-right-color: #3992fb; } border-right-color: #42affa; }
.reveal .controls div.navigate-right, .reveal .controls div.navigate-right.enabled { .reveal .controls div.navigate-right, .reveal .controls div.navigate-right.enabled {
border-left-color: #3992fb; } border-left-color: #42affa; }
.reveal .controls div.navigate-up, .reveal .controls div.navigate-up.enabled { .reveal .controls div.navigate-up, .reveal .controls div.navigate-up.enabled {
border-bottom-color: #3992fb; } border-bottom-color: #42affa; }
.reveal .controls div.navigate-down, .reveal .controls div.navigate-down.enabled { .reveal .controls div.navigate-down, .reveal .controls div.navigate-down.enabled {
border-top-color: #3992fb; } border-top-color: #42affa; }
.reveal .controls div.navigate-left.enabled:hover { .reveal .controls div.navigate-left.enabled:hover {
border-right-color: #84bcfd; } border-right-color: #8dcffc; }
.reveal .controls div.navigate-right.enabled:hover { .reveal .controls div.navigate-right.enabled:hover {
border-left-color: #84bcfd; } border-left-color: #8dcffc; }
.reveal .controls div.navigate-up.enabled:hover { .reveal .controls div.navigate-up.enabled:hover {
border-bottom-color: #84bcfd; } border-bottom-color: #8dcffc; }
.reveal .controls div.navigate-down.enabled:hover { .reveal .controls div.navigate-down.enabled:hover {
border-top-color: #84bcfd; } border-top-color: #8dcffc; }
/********************************************* /*********************************************
* PROGRESS BAR * PROGRESS BAR
@ -249,7 +249,7 @@ body {
background: rgba(0, 0, 0, 0.2); } background: rgba(0, 0, 0, 0.2); }
.reveal .progress span { .reveal .progress span {
background: #3992fb; background: #42affa;
-webkit-transition: width 800ms cubic-bezier(0.26, 0.86, 0.44, 0.985); -webkit-transition: width 800ms cubic-bezier(0.26, 0.86, 0.44, 0.985);
-moz-transition: width 800ms cubic-bezier(0.26, 0.86, 0.44, 0.985); -moz-transition: width 800ms cubic-bezier(0.26, 0.86, 0.44, 0.985);
transition: width 800ms cubic-bezier(0.26, 0.86, 0.44, 0.985); } transition: width 800ms cubic-bezier(0.26, 0.86, 0.44, 0.985); }
@ -258,4 +258,4 @@ body {
* SLIDE NUMBER * SLIDE NUMBER
*********************************************/ *********************************************/
.reveal .slide-number { .reveal .slide-number {
color: #3992fb; } color: #42affa; }

View File

@ -45,6 +45,7 @@ body {
margin: 0 0 20px 0; margin: 0 0 20px 0;
color: #eee; color: #eee;
font-family: Ubuntu, 'sans-serif'; font-family: Ubuntu, 'sans-serif';
font-weight: normal;
line-height: 1.2; line-height: 1.2;
letter-spacing: normal; letter-spacing: normal;
text-transform: uppercase; text-transform: uppercase;

View File

@ -48,6 +48,7 @@ body {
margin: 0 0 20px 0; margin: 0 0 20px 0;
color: #eee; color: #eee;
font-family: 'League Gothic', Impact, sans-serif; font-family: 'League Gothic', Impact, sans-serif;
font-weight: normal;
line-height: 1.2; line-height: 1.2;
letter-spacing: normal; letter-spacing: normal;
text-transform: uppercase; text-transform: uppercase;

View File

@ -46,6 +46,7 @@ body {
margin: 0 0 20px 0; margin: 0 0 20px 0;
color: #eee8d5; color: #eee8d5;
font-family: 'League Gothic', Impact, sans-serif; font-family: 'League Gothic', Impact, sans-serif;
font-weight: normal;
line-height: 1.2; line-height: 1.2;
letter-spacing: normal; letter-spacing: normal;
text-transform: uppercase; text-transform: uppercase;

View File

@ -34,6 +34,7 @@ body {
margin: 0 0 20px 0; margin: 0 0 20px 0;
color: #eee; color: #eee;
font-family: 'Montserrat', Impact, sans-serif; font-family: 'Montserrat', Impact, sans-serif;
font-weight: normal;
line-height: 1.2; line-height: 1.2;
letter-spacing: -0.03em; letter-spacing: -0.03em;
text-transform: none; text-transform: none;

View File

@ -36,6 +36,7 @@ body {
margin: 0 0 20px 0; margin: 0 0 20px 0;
color: #383D3D; color: #383D3D;
font-family: 'Palatino Linotype', 'Book Antiqua', Palatino, FreeSerif, serif; font-family: 'Palatino Linotype', 'Book Antiqua', Palatino, FreeSerif, serif;
font-weight: normal;
line-height: 1.2; line-height: 1.2;
letter-spacing: normal; letter-spacing: normal;
text-transform: none; text-transform: none;

View File

@ -36,6 +36,7 @@ body {
margin: 0 0 20px 0; margin: 0 0 20px 0;
color: #000; color: #000;
font-family: 'News Cycle', Impact, sans-serif; font-family: 'News Cycle', Impact, sans-serif;
font-weight: normal;
line-height: 1.2; line-height: 1.2;
letter-spacing: normal; letter-spacing: normal;
text-transform: none; text-transform: none;

View File

@ -43,6 +43,7 @@ body {
margin: 0 0 20px 0; margin: 0 0 20px 0;
color: #333; color: #333;
font-family: 'Quicksand', sans-serif; font-family: 'Quicksand', sans-serif;
font-weight: normal;
line-height: 1.2; line-height: 1.2;
letter-spacing: -0.08em; letter-spacing: -0.08em;
text-transform: uppercase; text-transform: uppercase;

View File

@ -46,6 +46,7 @@ body {
margin: 0 0 20px 0; margin: 0 0 20px 0;
color: #586e75; color: #586e75;
font-family: 'League Gothic', Impact, sans-serif; font-family: 'League Gothic', Impact, sans-serif;
font-weight: normal;
line-height: 1.2; line-height: 1.2;
letter-spacing: normal; letter-spacing: normal;
text-transform: uppercase; text-transform: uppercase;

View File

@ -1,7 +1,7 @@
/** /**
* Black theme for reveal.js. * Black theme for reveal.js.
* *
* Copyright (C) 2014 Hakim El Hattab, http://hakim.se * Copyright (C) 2015 Hakim El Hattab, http://hakim.se
*/ */
@ -12,8 +12,7 @@
// Include theme-specific fonts // Include theme-specific fonts
@import url(https://fonts.googleapis.com/css?family=Montserrat:400); @import url(http://fonts.googleapis.com/css?family=Source+Sans+Pro:400,600,400italic,600italic&subset=latin,latin-ext);
@import url(https://fonts.googleapis.com/css?family=Open+Sans:400,700,400italic,700italic);
// Override theme settings (see ../template/settings.scss) // Override theme settings (see ../template/settings.scss)
@ -22,13 +21,14 @@ $backgroundColor: #222;
$mainColor: #fff; $mainColor: #fff;
$headingColor: #fff; $headingColor: #fff;
$mainFont: 'Open Sans', Helvetica, sans-serif; $mainFontSize: 38px;
$mainFontSize: 34px; $mainFont: 'Source Sans Pro', Helvetica, sans-serif;
$headingFont: 'Montserrat', Helvetica, sans-serif; $headingFont: 'Source Sans Pro', Helvetica, sans-serif;
$headingTextShadow: none; $headingTextShadow: none;
$headingLetterSpacing: normal; $headingLetterSpacing: normal;
$headingTextTransform: uppercase; $headingTextTransform: uppercase;
$linkColor: #3992fb; $headingFontWeight: 600;
$linkColor: #42affa;
$linkColorHover: lighten( $linkColor, 15% ); $linkColorHover: lighten( $linkColor, 15% );
$selectionBackgroundColor: lighten( $linkColor, 25% ); $selectionBackgroundColor: lighten( $linkColor, 25% );

View File

@ -12,8 +12,7 @@
// Include theme-specific fonts // Include theme-specific fonts
@import url(https://fonts.googleapis.com/css?family=Montserrat:400); @import url(http://fonts.googleapis.com/css?family=Source+Sans+Pro:400,600,400italic,600italic&subset=latin,latin-ext);
@import url(https://fonts.googleapis.com/css?family=Open+Sans:400,700,400italic,700italic);
// Override theme settings (see ../template/settings.scss) // Override theme settings (see ../template/settings.scss)
@ -22,13 +21,14 @@ $backgroundColor: #fff;
$mainColor: #222; $mainColor: #222;
$headingColor: #222; $headingColor: #222;
$mainFont: 'Open Sans', Helvetica, sans-serif; $mainFontSize: 38px;
$mainFontSize: 34px; $mainFont: 'Source Sans Pro', Helvetica, sans-serif;
$headingFont: 'Montserrat', Helvetica, sans-serif; $headingFont: 'Source Sans Pro', Helvetica, sans-serif;
$headingTextShadow: none; $headingTextShadow: none;
$headingLetterSpacing: normal; $headingLetterSpacing: normal;
$headingTextTransform: uppercase; $headingTextTransform: uppercase;
$linkColor: #3992fb; $headingFontWeight: 600;
$linkColor: #2a76dd;
$linkColorHover: lighten( $linkColor, 15% ); $linkColorHover: lighten( $linkColor, 15% );
$selectionBackgroundColor: lighten( $linkColor, 25% ); $selectionBackgroundColor: lighten( $linkColor, 25% );

View File

@ -20,6 +20,7 @@ $headingLineHeight: 1.2;
$headingLetterSpacing: normal; $headingLetterSpacing: normal;
$headingTextTransform: uppercase; $headingTextTransform: uppercase;
$headingTextShadow: none; $headingTextShadow: none;
$headingFontWeight: normal;
$heading1TextShadow: $headingTextShadow; $heading1TextShadow: $headingTextShadow;
$heading1Size: 3.77em; $heading1Size: 3.77em;

View File

@ -42,6 +42,7 @@ body {
color: $headingColor; color: $headingColor;
font-family: $headingFont; font-family: $headingFont;
font-weight: $headingFontWeight;
line-height: $headingLineHeight; line-height: $headingLineHeight;
letter-spacing: $headingLetterSpacing; letter-spacing: $headingLetterSpacing;

View File

@ -1,5 +1,4 @@
@import url(https://fonts.googleapis.com/css?family=Montserrat:400); @import url(http://fonts.googleapis.com/css?family=Source+Sans+Pro:400,600,400italic,600italic&subset=latin,latin-ext);
@import url(https://fonts.googleapis.com/css?family=Open+Sans:400,700,400italic,700italic);
/** /**
* White theme for reveal.js. * White theme for reveal.js.
* *
@ -16,14 +15,14 @@ body {
background-color: #fff; } background-color: #fff; }
.reveal { .reveal {
font-family: 'Open Sans', Helvetica, sans-serif; font-family: 'Source Sans Pro', Helvetica, sans-serif;
font-size: 34px; font-size: 38px;
font-weight: normal; font-weight: normal;
color: #222; } color: #222; }
::selection { ::selection {
color: #fff; color: #fff;
background: #b6d7fe; background: #98bdef;
text-shadow: none; } text-shadow: none; }
.reveal .slides > section, .reveal .slides > section > section { .reveal .slides > section, .reveal .slides > section > section {
@ -36,7 +35,8 @@ body {
.reveal h1, .reveal h2, .reveal h3, .reveal h4, .reveal h5, .reveal h6 { .reveal h1, .reveal h2, .reveal h3, .reveal h4, .reveal h5, .reveal h6 {
margin: 0 0 20px 0; margin: 0 0 20px 0;
color: #222; color: #222;
font-family: 'Montserrat', Helvetica, sans-serif; font-family: 'Source Sans Pro', Helvetica, sans-serif;
font-weight: 600;
line-height: 1.2; line-height: 1.2;
letter-spacing: normal; letter-spacing: normal;
text-transform: uppercase; text-transform: uppercase;
@ -181,20 +181,20 @@ body {
* LINKS * LINKS
*********************************************/ *********************************************/
.reveal a { .reveal a {
color: #3992fb; color: #2a76dd;
text-decoration: none; text-decoration: none;
-webkit-transition: color 0.15s ease; -webkit-transition: color 0.15s ease;
-moz-transition: color 0.15s ease; -moz-transition: color 0.15s ease;
transition: color 0.15s ease; } transition: color 0.15s ease; }
.reveal a:hover { .reveal a:hover {
color: #84bcfd; color: #6ca2e8;
text-shadow: none; text-shadow: none;
border: none; } border: none; }
.reveal .roll span:after { .reveal .roll span:after {
color: #fff; color: #fff;
background: #056ce3; } background: #1a54a1; }
/********************************************* /*********************************************
* IMAGES * IMAGES
@ -212,35 +212,35 @@ body {
.reveal a:hover img { .reveal a:hover img {
background: rgba(255, 255, 255, 0.2); background: rgba(255, 255, 255, 0.2);
border-color: #3992fb; border-color: #2a76dd;
box-shadow: 0 0 20px rgba(0, 0, 0, 0.55); } box-shadow: 0 0 20px rgba(0, 0, 0, 0.55); }
/********************************************* /*********************************************
* NAVIGATION CONTROLS * NAVIGATION CONTROLS
*********************************************/ *********************************************/
.reveal .controls div.navigate-left, .reveal .controls div.navigate-left.enabled { .reveal .controls div.navigate-left, .reveal .controls div.navigate-left.enabled {
border-right-color: #3992fb; } border-right-color: #2a76dd; }
.reveal .controls div.navigate-right, .reveal .controls div.navigate-right.enabled { .reveal .controls div.navigate-right, .reveal .controls div.navigate-right.enabled {
border-left-color: #3992fb; } border-left-color: #2a76dd; }
.reveal .controls div.navigate-up, .reveal .controls div.navigate-up.enabled { .reveal .controls div.navigate-up, .reveal .controls div.navigate-up.enabled {
border-bottom-color: #3992fb; } border-bottom-color: #2a76dd; }
.reveal .controls div.navigate-down, .reveal .controls div.navigate-down.enabled { .reveal .controls div.navigate-down, .reveal .controls div.navigate-down.enabled {
border-top-color: #3992fb; } border-top-color: #2a76dd; }
.reveal .controls div.navigate-left.enabled:hover { .reveal .controls div.navigate-left.enabled:hover {
border-right-color: #84bcfd; } border-right-color: #6ca2e8; }
.reveal .controls div.navigate-right.enabled:hover { .reveal .controls div.navigate-right.enabled:hover {
border-left-color: #84bcfd; } border-left-color: #6ca2e8; }
.reveal .controls div.navigate-up.enabled:hover { .reveal .controls div.navigate-up.enabled:hover {
border-bottom-color: #84bcfd; } border-bottom-color: #6ca2e8; }
.reveal .controls div.navigate-down.enabled:hover { .reveal .controls div.navigate-down.enabled:hover {
border-top-color: #84bcfd; } border-top-color: #6ca2e8; }
/********************************************* /*********************************************
* PROGRESS BAR * PROGRESS BAR
@ -249,7 +249,7 @@ body {
background: rgba(0, 0, 0, 0.2); } background: rgba(0, 0, 0, 0.2); }
.reveal .progress span { .reveal .progress span {
background: #3992fb; background: #2a76dd;
-webkit-transition: width 800ms cubic-bezier(0.26, 0.86, 0.44, 0.985); -webkit-transition: width 800ms cubic-bezier(0.26, 0.86, 0.44, 0.985);
-moz-transition: width 800ms cubic-bezier(0.26, 0.86, 0.44, 0.985); -moz-transition: width 800ms cubic-bezier(0.26, 0.86, 0.44, 0.985);
transition: width 800ms cubic-bezier(0.26, 0.86, 0.44, 0.985); } transition: width 800ms cubic-bezier(0.26, 0.86, 0.44, 0.985); }
@ -258,4 +258,4 @@ body {
* SLIDE NUMBER * SLIDE NUMBER
*********************************************/ *********************************************/
.reveal .slide-number { .reveal .slide-number {
color: #3992fb; } color: #2a76dd; }