From b05e530f2153666a3009bd3f2db1761abe2909fd Mon Sep 17 00:00:00 2001 From: Eric Briand <1011902+ebriand@users.noreply.github.com> Date: Tue, 4 Aug 2020 10:06:20 +0200 Subject: [PATCH 1/4] Fix URL to pdf-export documentation --- css/print/pdf.scss | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/css/print/pdf.scss b/css/print/pdf.scss index ea0d417..f967845 100644 --- a/css/print/pdf.scss +++ b/css/print/pdf.scss @@ -2,7 +2,7 @@ * This stylesheet is used to print reveal.js * presentations to PDF. * - * https://revealjs.revealjs.com/pdf-export/ + * https://revealjs.com/pdf-export/ */ html.print-pdf { From a150d0c5dd80b4a07344cd73f608a2aaaf2900de Mon Sep 17 00:00:00 2001 From: Michael Mior Date: Tue, 18 Aug 2020 12:49:49 -0400 Subject: [PATCH 2/4] Start relative paths in CSS with ./ --- css/theme/source/beige.scss | 4 +-- css/theme/source/black.scss | 4 +-- css/theme/source/league.scss | 4 +-- css/theme/source/moon.scss | 2 +- css/theme/source/solarized.scss | 2 +- css/theme/source/white.scss | 4 +-- dist/theme/beige.css | 2 +- dist/theme/black.css | 2 +- .../fonts/league-gothic/league-gothic.css | 10 +++--- .../fonts/source-sans-pro/source-sans-pro.css | 34 +++++++++---------- dist/theme/league.css | 2 +- dist/theme/moon.css | 2 +- dist/theme/solarized.css | 2 +- dist/theme/white.css | 2 +- 14 files changed, 38 insertions(+), 38 deletions(-) diff --git a/css/theme/source/beige.scss b/css/theme/source/beige.scss index acdd37d..921e1c2 100644 --- a/css/theme/source/beige.scss +++ b/css/theme/source/beige.scss @@ -13,7 +13,7 @@ // 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); @@ -36,4 +36,4 @@ $heading1TextShadow: 0 1px 0 #ccc, 0 2px 0 #c9c9c9, 0 3px 0 #bbb, 0 4px 0 #b9b9b // Theme template ------------------------------ @import "../template/theme"; -// --------------------------------------------- \ No newline at end of file +// --------------------------------------------- diff --git a/css/theme/source/black.scss b/css/theme/source/black.scss index 45d2678..b93477d 100644 --- a/css/theme/source/black.scss +++ b/css/theme/source/black.scss @@ -12,7 +12,7 @@ // 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) @@ -46,4 +46,4 @@ section.has-light-background { // Theme template ------------------------------ @import "../template/theme"; -// --------------------------------------------- \ No newline at end of file +// --------------------------------------------- diff --git a/css/theme/source/league.scss b/css/theme/source/league.scss index 95bacd4..fa59590 100644 --- a/css/theme/source/league.scss +++ b/css/theme/source/league.scss @@ -15,7 +15,7 @@ // 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); // Override theme settings (see ../template/settings.scss) @@ -31,4 +31,4 @@ $heading1TextShadow: 0 1px 0 #ccc, 0 2px 0 #c9c9c9, 0 3px 0 #bbb, 0 4px 0 #b9b9b // Theme template ------------------------------ @import "../template/theme"; -// --------------------------------------------- \ No newline at end of file +// --------------------------------------------- diff --git a/css/theme/source/moon.scss b/css/theme/source/moon.scss index db1897c..c2e3890 100644 --- a/css/theme/source/moon.scss +++ b/css/theme/source/moon.scss @@ -12,7 +12,7 @@ // 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); /** diff --git a/css/theme/source/solarized.scss b/css/theme/source/solarized.scss index df3a08f..8bdf1eb 100644 --- a/css/theme/source/solarized.scss +++ b/css/theme/source/solarized.scss @@ -12,7 +12,7 @@ // 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); diff --git a/css/theme/source/white.scss b/css/theme/source/white.scss index 7b817fe..d274ece 100644 --- a/css/theme/source/white.scss +++ b/css/theme/source/white.scss @@ -12,7 +12,7 @@ // 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) @@ -46,4 +46,4 @@ section.has-dark-background { // Theme template ------------------------------ @import "../template/theme"; -// --------------------------------------------- \ No newline at end of file +// --------------------------------------------- diff --git a/dist/theme/beige.css b/dist/theme/beige.css index d3182ff..cd86d1b 100644 --- a/dist/theme/beige.css +++ b/dist/theme/beige.css @@ -3,7 +3,7 @@ * * 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); /********************************************* * GLOBAL STYLES diff --git a/dist/theme/black.css b/dist/theme/black.css index 88396e3..9870571 100644 --- a/dist/theme/black.css +++ b/dist/theme/black.css @@ -3,7 +3,7 @@ * * 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 { color: #222; } diff --git a/dist/theme/fonts/league-gothic/league-gothic.css b/dist/theme/fonts/league-gothic/league-gothic.css index 44a33a1..32862f8 100644 --- a/dist/theme/fonts/league-gothic/league-gothic.css +++ b/dist/theme/fonts/league-gothic/league-gothic.css @@ -1,10 +1,10 @@ @font-face { font-family: 'League Gothic'; - src: url('league-gothic.eot'); - src: url('league-gothic.eot?#iefix') format('embedded-opentype'), - url('league-gothic.woff') format('woff'), - url('league-gothic.ttf') format('truetype'); + src: url('./league-gothic.eot'); + src: url('./league-gothic.eot?#iefix') format('embedded-opentype'), + url('./league-gothic.woff') format('woff'), + url('./league-gothic.ttf') format('truetype'); font-weight: normal; font-style: normal; -} \ No newline at end of file +} diff --git a/dist/theme/fonts/source-sans-pro/source-sans-pro.css b/dist/theme/fonts/source-sans-pro/source-sans-pro.css index 0707a4f..99e4fb7 100644 --- a/dist/theme/fonts/source-sans-pro/source-sans-pro.css +++ b/dist/theme/fonts/source-sans-pro/source-sans-pro.css @@ -1,39 +1,39 @@ @font-face { font-family: 'Source Sans Pro'; - src: url('source-sans-pro-regular.eot'); - src: url('source-sans-pro-regular.eot?#iefix') format('embedded-opentype'), - url('source-sans-pro-regular.woff') format('woff'), - url('source-sans-pro-regular.ttf') format('truetype'); + src: url('./source-sans-pro-regular.eot'); + src: url('./source-sans-pro-regular.eot?#iefix') format('embedded-opentype'), + url('./source-sans-pro-regular.woff') format('woff'), + url('./source-sans-pro-regular.ttf') format('truetype'); font-weight: normal; font-style: normal; } @font-face { font-family: 'Source Sans Pro'; - src: url('source-sans-pro-italic.eot'); - src: url('source-sans-pro-italic.eot?#iefix') format('embedded-opentype'), - url('source-sans-pro-italic.woff') format('woff'), - url('source-sans-pro-italic.ttf') format('truetype'); + src: url('./source-sans-pro-italic.eot'); + src: url('./source-sans-pro-italic.eot?#iefix') format('embedded-opentype'), + url('./source-sans-pro-italic.woff') format('woff'), + url('./source-sans-pro-italic.ttf') format('truetype'); font-weight: normal; font-style: italic; } @font-face { font-family: 'Source Sans Pro'; - src: url('source-sans-pro-semibold.eot'); - src: url('source-sans-pro-semibold.eot?#iefix') format('embedded-opentype'), - url('source-sans-pro-semibold.woff') format('woff'), - url('source-sans-pro-semibold.ttf') format('truetype'); + src: url('./source-sans-pro-semibold.eot'); + src: url('./source-sans-pro-semibold.eot?#iefix') format('embedded-opentype'), + url('./source-sans-pro-semibold.woff') format('woff'), + url('./source-sans-pro-semibold.ttf') format('truetype'); font-weight: 600; font-style: normal; } @font-face { font-family: 'Source Sans Pro'; - src: url('source-sans-pro-semibolditalic.eot'); - src: url('source-sans-pro-semibolditalic.eot?#iefix') format('embedded-opentype'), - url('source-sans-pro-semibolditalic.woff') format('woff'), - url('source-sans-pro-semibolditalic.ttf') format('truetype'); + src: url('./source-sans-pro-semibolditalic.eot'); + src: url('./source-sans-pro-semibolditalic.eot?#iefix') format('embedded-opentype'), + url('./source-sans-pro-semibolditalic.woff') format('woff'), + url('./source-sans-pro-semibolditalic.ttf') format('truetype'); font-weight: 600; font-style: italic; -} \ No newline at end of file +} diff --git a/dist/theme/league.css b/dist/theme/league.css index 1d770eb..8148744 100644 --- a/dist/theme/league.css +++ b/dist/theme/league.css @@ -5,7 +5,7 @@ * * 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); /********************************************* * GLOBAL STYLES diff --git a/dist/theme/moon.css b/dist/theme/moon.css index 137ab87..ad29e67 100644 --- a/dist/theme/moon.css +++ b/dist/theme/moon.css @@ -2,7 +2,7 @@ * Solarized Dark theme for reveal.js. * 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); /** * Solarized colors by Ethan Schoonover diff --git a/dist/theme/solarized.css b/dist/theme/solarized.css index e555f41..6398276 100644 --- a/dist/theme/solarized.css +++ b/dist/theme/solarized.css @@ -2,7 +2,7 @@ * Solarized Light theme for reveal.js. * 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); /** * Solarized colors by Ethan Schoonover diff --git a/dist/theme/white.css b/dist/theme/white.css index db93153..eae1abf 100644 --- a/dist/theme/white.css +++ b/dist/theme/white.css @@ -3,7 +3,7 @@ * * 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 { color: #fff; } From aa62bd424befdcffb2fc7e7b1b08e25e8d53f1e7 Mon Sep 17 00:00:00 2001 From: Roland Schmehl Date: Sun, 6 Sep 2020 12:08:25 +0200 Subject: [PATCH 3/4] Update README.md Fixed broken URL --- css/theme/README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/css/theme/README.md b/css/theme/README.md index 35b5dea..30916c4 100644 --- a/css/theme/README.md +++ b/css/theme/README.md @@ -1,6 +1,6 @@ ## 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 From 2c121d22ac1439057059c4036c9d9af1ecdc5b5d Mon Sep 17 00:00:00 2001 From: Tim Gates Date: Tue, 8 Sep 2020 08:02:34 +1000 Subject: [PATCH 4/4] docs: Fix simple typo, transiition -> transition There is a small typo in js/controllers/autoanimate.js. Should read `transition` rather than `transiition`. --- js/controllers/autoanimate.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/js/controllers/autoanimate.js b/js/controllers/autoanimate.js index 22f7e7c..ff74eee 100644 --- a/js/controllers/autoanimate.js +++ b/js/controllers/autoanimate.js @@ -461,7 +461,7 @@ export default class AutoAnimate { pairs.forEach( pair => { - // Disable scale transformations on text nodes, we transiition + // Disable scale transformations on text nodes, we transition // each individual text property instead if( matches( pair.from, textNodes ) ) { pair.options = { scale: false }; @@ -616,4 +616,4 @@ export default class AutoAnimate { } -} \ No newline at end of file +}