Merge branch 'master' of github.com:hakimel/reveal.js into dev
This commit is contained in:
commit
4d62dcc674
17 changed files with 42 additions and 42 deletions
|
@ -2,7 +2,7 @@
|
||||||
* This stylesheet is used to print reveal.js
|
* This stylesheet is used to print reveal.js
|
||||||
* presentations to PDF.
|
* presentations to PDF.
|
||||||
*
|
*
|
||||||
* https://revealjs.revealjs.com/pdf-export/
|
* https://revealjs.com/pdf-export/
|
||||||
*/
|
*/
|
||||||
|
|
||||||
html.print-pdf {
|
html.print-pdf {
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
## Dependencies
|
## Dependencies
|
||||||
|
|
||||||
Themes are written using Sass to keep things modular and reduce the need for repeated selectors across files. Make sure that you have the reveal.js development environment installed before proceeding: https://revealjs.revealjs.com/installation/#full-setup
|
Themes are written using Sass to keep things modular and reduce the need for repeated selectors across files. Make sure that you have the reveal.js development environment installed before proceeding: https://revealjs.com/installation/#full-setup
|
||||||
|
|
||||||
## Creating a Theme
|
## Creating a Theme
|
||||||
|
|
||||||
|
|
|
@ -13,7 +13,7 @@
|
||||||
|
|
||||||
|
|
||||||
// Include theme-specific fonts
|
// Include theme-specific fonts
|
||||||
@import url(fonts/league-gothic/league-gothic.css);
|
@import url(./fonts/league-gothic/league-gothic.css);
|
||||||
@import url(https://fonts.googleapis.com/css?family=Lato:400,700,400italic,700italic);
|
@import url(https://fonts.googleapis.com/css?family=Lato:400,700,400italic,700italic);
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -12,7 +12,7 @@
|
||||||
|
|
||||||
|
|
||||||
// Include theme-specific fonts
|
// Include theme-specific fonts
|
||||||
@import url(fonts/source-sans-pro/source-sans-pro.css);
|
@import url(./fonts/source-sans-pro/source-sans-pro.css);
|
||||||
|
|
||||||
|
|
||||||
// Override theme settings (see ../template/settings.scss)
|
// Override theme settings (see ../template/settings.scss)
|
||||||
|
|
|
@ -15,7 +15,7 @@
|
||||||
|
|
||||||
|
|
||||||
// Include theme-specific fonts
|
// Include theme-specific fonts
|
||||||
@import url(fonts/league-gothic/league-gothic.css);
|
@import url(./fonts/league-gothic/league-gothic.css);
|
||||||
@import url(https://fonts.googleapis.com/css?family=Lato:400,700,400italic,700italic);
|
@import url(https://fonts.googleapis.com/css?family=Lato:400,700,400italic,700italic);
|
||||||
|
|
||||||
// Override theme settings (see ../template/settings.scss)
|
// Override theme settings (see ../template/settings.scss)
|
||||||
|
|
|
@ -12,7 +12,7 @@
|
||||||
|
|
||||||
|
|
||||||
// Include theme-specific fonts
|
// Include theme-specific fonts
|
||||||
@import url(fonts/league-gothic/league-gothic.css);
|
@import url(./fonts/league-gothic/league-gothic.css);
|
||||||
@import url(https://fonts.googleapis.com/css?family=Lato:400,700,400italic,700italic);
|
@import url(https://fonts.googleapis.com/css?family=Lato:400,700,400italic,700italic);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
|
@ -12,7 +12,7 @@
|
||||||
|
|
||||||
|
|
||||||
// Include theme-specific fonts
|
// Include theme-specific fonts
|
||||||
@import url(fonts/league-gothic/league-gothic.css);
|
@import url(./fonts/league-gothic/league-gothic.css);
|
||||||
@import url(https://fonts.googleapis.com/css?family=Lato:400,700,400italic,700italic);
|
@import url(https://fonts.googleapis.com/css?family=Lato:400,700,400italic,700italic);
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -12,7 +12,7 @@
|
||||||
|
|
||||||
|
|
||||||
// Include theme-specific fonts
|
// Include theme-specific fonts
|
||||||
@import url(fonts/source-sans-pro/source-sans-pro.css);
|
@import url(./fonts/source-sans-pro/source-sans-pro.css);
|
||||||
|
|
||||||
|
|
||||||
// Override theme settings (see ../template/settings.scss)
|
// Override theme settings (see ../template/settings.scss)
|
||||||
|
|
2
dist/theme/beige.css
vendored
2
dist/theme/beige.css
vendored
|
@ -3,7 +3,7 @@
|
||||||
*
|
*
|
||||||
* Copyright (C) 2011-2012 Hakim El Hattab, http://hakim.se
|
* Copyright (C) 2011-2012 Hakim El Hattab, http://hakim.se
|
||||||
*/
|
*/
|
||||||
@import url(fonts/league-gothic/league-gothic.css);
|
@import url(./fonts/league-gothic/league-gothic.css);
|
||||||
@import url(https://fonts.googleapis.com/css?family=Lato:400,700,400italic,700italic);
|
@import url(https://fonts.googleapis.com/css?family=Lato:400,700,400italic,700italic);
|
||||||
section.has-dark-background, section.has-dark-background h1, section.has-dark-background h2, section.has-dark-background h3, section.has-dark-background h4, section.has-dark-background h5, section.has-dark-background h6 {
|
section.has-dark-background, section.has-dark-background h1, section.has-dark-background h2, section.has-dark-background h3, section.has-dark-background h4, section.has-dark-background h5, section.has-dark-background h6 {
|
||||||
color: #fff; }
|
color: #fff; }
|
||||||
|
|
2
dist/theme/black.css
vendored
2
dist/theme/black.css
vendored
|
@ -3,7 +3,7 @@
|
||||||
*
|
*
|
||||||
* By Hakim El Hattab, http://hakim.se
|
* By Hakim El Hattab, http://hakim.se
|
||||||
*/
|
*/
|
||||||
@import url(fonts/source-sans-pro/source-sans-pro.css);
|
@import url(./fonts/source-sans-pro/source-sans-pro.css);
|
||||||
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; }
|
||||||
|
|
||||||
|
|
|
@ -1,9 +1,9 @@
|
||||||
@font-face {
|
@font-face {
|
||||||
font-family: 'League Gothic';
|
font-family: 'League Gothic';
|
||||||
src: url('league-gothic.eot');
|
src: url('./league-gothic.eot');
|
||||||
src: url('league-gothic.eot?#iefix') format('embedded-opentype'),
|
src: url('./league-gothic.eot?#iefix') format('embedded-opentype'),
|
||||||
url('league-gothic.woff') format('woff'),
|
url('./league-gothic.woff') format('woff'),
|
||||||
url('league-gothic.ttf') format('truetype');
|
url('./league-gothic.ttf') format('truetype');
|
||||||
|
|
||||||
font-weight: normal;
|
font-weight: normal;
|
||||||
font-style: normal;
|
font-style: normal;
|
||||||
|
|
|
@ -1,39 +1,39 @@
|
||||||
@font-face {
|
@font-face {
|
||||||
font-family: 'Source Sans Pro';
|
font-family: 'Source Sans Pro';
|
||||||
src: url('source-sans-pro-regular.eot');
|
src: url('./source-sans-pro-regular.eot');
|
||||||
src: url('source-sans-pro-regular.eot?#iefix') format('embedded-opentype'),
|
src: url('./source-sans-pro-regular.eot?#iefix') format('embedded-opentype'),
|
||||||
url('source-sans-pro-regular.woff') format('woff'),
|
url('./source-sans-pro-regular.woff') format('woff'),
|
||||||
url('source-sans-pro-regular.ttf') format('truetype');
|
url('./source-sans-pro-regular.ttf') format('truetype');
|
||||||
font-weight: normal;
|
font-weight: normal;
|
||||||
font-style: normal;
|
font-style: normal;
|
||||||
}
|
}
|
||||||
|
|
||||||
@font-face {
|
@font-face {
|
||||||
font-family: 'Source Sans Pro';
|
font-family: 'Source Sans Pro';
|
||||||
src: url('source-sans-pro-italic.eot');
|
src: url('./source-sans-pro-italic.eot');
|
||||||
src: url('source-sans-pro-italic.eot?#iefix') format('embedded-opentype'),
|
src: url('./source-sans-pro-italic.eot?#iefix') format('embedded-opentype'),
|
||||||
url('source-sans-pro-italic.woff') format('woff'),
|
url('./source-sans-pro-italic.woff') format('woff'),
|
||||||
url('source-sans-pro-italic.ttf') format('truetype');
|
url('./source-sans-pro-italic.ttf') format('truetype');
|
||||||
font-weight: normal;
|
font-weight: normal;
|
||||||
font-style: italic;
|
font-style: italic;
|
||||||
}
|
}
|
||||||
|
|
||||||
@font-face {
|
@font-face {
|
||||||
font-family: 'Source Sans Pro';
|
font-family: 'Source Sans Pro';
|
||||||
src: url('source-sans-pro-semibold.eot');
|
src: url('./source-sans-pro-semibold.eot');
|
||||||
src: url('source-sans-pro-semibold.eot?#iefix') format('embedded-opentype'),
|
src: url('./source-sans-pro-semibold.eot?#iefix') format('embedded-opentype'),
|
||||||
url('source-sans-pro-semibold.woff') format('woff'),
|
url('./source-sans-pro-semibold.woff') format('woff'),
|
||||||
url('source-sans-pro-semibold.ttf') format('truetype');
|
url('./source-sans-pro-semibold.ttf') format('truetype');
|
||||||
font-weight: 600;
|
font-weight: 600;
|
||||||
font-style: normal;
|
font-style: normal;
|
||||||
}
|
}
|
||||||
|
|
||||||
@font-face {
|
@font-face {
|
||||||
font-family: 'Source Sans Pro';
|
font-family: 'Source Sans Pro';
|
||||||
src: url('source-sans-pro-semibolditalic.eot');
|
src: url('./source-sans-pro-semibolditalic.eot');
|
||||||
src: url('source-sans-pro-semibolditalic.eot?#iefix') format('embedded-opentype'),
|
src: url('./source-sans-pro-semibolditalic.eot?#iefix') format('embedded-opentype'),
|
||||||
url('source-sans-pro-semibolditalic.woff') format('woff'),
|
url('./source-sans-pro-semibolditalic.woff') format('woff'),
|
||||||
url('source-sans-pro-semibolditalic.ttf') format('truetype');
|
url('./source-sans-pro-semibolditalic.ttf') format('truetype');
|
||||||
font-weight: 600;
|
font-weight: 600;
|
||||||
font-style: italic;
|
font-style: italic;
|
||||||
}
|
}
|
2
dist/theme/league.css
vendored
2
dist/theme/league.css
vendored
|
@ -5,7 +5,7 @@
|
||||||
*
|
*
|
||||||
* Copyright (C) 2011-2012 Hakim El Hattab, http://hakim.se
|
* Copyright (C) 2011-2012 Hakim El Hattab, http://hakim.se
|
||||||
*/
|
*/
|
||||||
@import url(fonts/league-gothic/league-gothic.css);
|
@import url(./fonts/league-gothic/league-gothic.css);
|
||||||
@import url(https://fonts.googleapis.com/css?family=Lato:400,700,400italic,700italic);
|
@import url(https://fonts.googleapis.com/css?family=Lato:400,700,400italic,700italic);
|
||||||
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; }
|
||||||
|
|
2
dist/theme/moon.css
vendored
2
dist/theme/moon.css
vendored
|
@ -2,7 +2,7 @@
|
||||||
* Solarized Dark theme for reveal.js.
|
* Solarized Dark theme for reveal.js.
|
||||||
* Author: Achim Staebler
|
* Author: Achim Staebler
|
||||||
*/
|
*/
|
||||||
@import url(fonts/league-gothic/league-gothic.css);
|
@import url(./fonts/league-gothic/league-gothic.css);
|
||||||
@import url(https://fonts.googleapis.com/css?family=Lato:400,700,400italic,700italic);
|
@import url(https://fonts.googleapis.com/css?family=Lato:400,700,400italic,700italic);
|
||||||
/**
|
/**
|
||||||
* Solarized colors by Ethan Schoonover
|
* Solarized colors by Ethan Schoonover
|
||||||
|
|
2
dist/theme/solarized.css
vendored
2
dist/theme/solarized.css
vendored
|
@ -2,7 +2,7 @@
|
||||||
* Solarized Light theme for reveal.js.
|
* Solarized Light theme for reveal.js.
|
||||||
* Author: Achim Staebler
|
* Author: Achim Staebler
|
||||||
*/
|
*/
|
||||||
@import url(fonts/league-gothic/league-gothic.css);
|
@import url(./fonts/league-gothic/league-gothic.css);
|
||||||
@import url(https://fonts.googleapis.com/css?family=Lato:400,700,400italic,700italic);
|
@import url(https://fonts.googleapis.com/css?family=Lato:400,700,400italic,700italic);
|
||||||
/**
|
/**
|
||||||
* Solarized colors by Ethan Schoonover
|
* Solarized colors by Ethan Schoonover
|
||||||
|
|
2
dist/theme/white.css
vendored
2
dist/theme/white.css
vendored
|
@ -3,7 +3,7 @@
|
||||||
*
|
*
|
||||||
* By Hakim El Hattab, http://hakim.se
|
* By Hakim El Hattab, http://hakim.se
|
||||||
*/
|
*/
|
||||||
@import url(fonts/source-sans-pro/source-sans-pro.css);
|
@import url(./fonts/source-sans-pro/source-sans-pro.css);
|
||||||
section.has-dark-background, section.has-dark-background h1, section.has-dark-background h2, section.has-dark-background h3, section.has-dark-background h4, section.has-dark-background h5, section.has-dark-background h6 {
|
section.has-dark-background, section.has-dark-background h1, section.has-dark-background h2, section.has-dark-background h3, section.has-dark-background h4, section.has-dark-background h5, section.has-dark-background h6 {
|
||||||
color: #fff; }
|
color: #fff; }
|
||||||
|
|
||||||
|
|
|
@ -461,7 +461,7 @@ export default class AutoAnimate {
|
||||||
|
|
||||||
pairs.forEach( pair => {
|
pairs.forEach( pair => {
|
||||||
|
|
||||||
// Disable scale transformations on text nodes, we transiition
|
// Disable scale transformations on text nodes, we transition
|
||||||
// each individual text property instead
|
// each individual text property instead
|
||||||
if( matches( pair.from, textNodes ) ) {
|
if( matches( pair.from, textNodes ) ) {
|
||||||
pair.options = { scale: false };
|
pair.options = { scale: false };
|
||||||
|
|
Loading…
Reference in a new issue