Skip to content

Commit

Permalink
update reveal.js
Browse files Browse the repository at this point in the history
  • Loading branch information
hakimel committed Jan 31, 2020
1 parent 9b03d0c commit 96eee57
Show file tree
Hide file tree
Showing 7 changed files with 175 additions and 102 deletions.
18 changes: 9 additions & 9 deletions css/reveal.css
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
* http://revealjs.com
* MIT licensed
*
* Copyright (C) 2019 Hakim El Hattab, http://hakim.se
* Copyright (C) 2020 Hakim El Hattab, http://hakim.se
*/
/*********************************************
* GLOBAL STYLES
Expand Down Expand Up @@ -77,29 +77,29 @@ body {
text-decoration: line-through; }

.reveal .slides section .fragment.fade-up {
-webkit-transform: translate(0, 20%);
transform: translate(0, 20%); }
-webkit-transform: translate(0, 40px);
transform: translate(0, 40px); }
.reveal .slides section .fragment.fade-up.visible {
-webkit-transform: translate(0, 0);
transform: translate(0, 0); }

.reveal .slides section .fragment.fade-down {
-webkit-transform: translate(0, -20%);
transform: translate(0, -20%); }
-webkit-transform: translate(0, -40px);
transform: translate(0, -40px); }
.reveal .slides section .fragment.fade-down.visible {
-webkit-transform: translate(0, 0);
transform: translate(0, 0); }

.reveal .slides section .fragment.fade-right {
-webkit-transform: translate(-20%, 0);
transform: translate(-20%, 0); }
-webkit-transform: translate(-40px, 0);
transform: translate(-40px, 0); }
.reveal .slides section .fragment.fade-right.visible {
-webkit-transform: translate(0, 0);
transform: translate(0, 0); }

.reveal .slides section .fragment.fade-left {
-webkit-transform: translate(20%, 0);
transform: translate(20%, 0); }
-webkit-transform: translate(40px, 0);
transform: translate(40px, 0); }
.reveal .slides section .fragment.fade-left.visible {
-webkit-transform: translate(0, 0);
transform: translate(0, 0); }
Expand Down
4 changes: 2 additions & 2 deletions css/reveal.min.css

Large diffs are not rendered by default.

10 changes: 5 additions & 5 deletions css/reveal.scss
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
* http://revealjs.com
* MIT licensed
*
* Copyright (C) 2019 Hakim El Hattab, http://hakim.se
* Copyright (C) 2020 Hakim El Hattab, http://hakim.se
*/


Expand Down Expand Up @@ -102,31 +102,31 @@ body {
}

.reveal .slides section .fragment.fade-up {
transform: translate(0, 20%);
transform: translate(0, 40px);

&.visible {
transform: translate(0, 0);
}
}

.reveal .slides section .fragment.fade-down {
transform: translate(0, -20%);
transform: translate(0, -40px);

&.visible {
transform: translate(0, 0);
}
}

.reveal .slides section .fragment.fade-right {
transform: translate(-20%, 0);
transform: translate(-40px, 0);

&.visible {
transform: translate(0, 0);
}
}

.reveal .slides section .fragment.fade-left {
transform: translate(20%, 0);
transform: translate(40px, 0);

&.visible {
transform: translate(0, 0);
Expand Down
2 changes: 1 addition & 1 deletion css/theme/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ Themes are written using Sass to keep things modular and reduce the need for rep

## Creating a Theme

To create your own theme, start by duplicating a ```.scss``` file in [/css/theme/source](https://github.com/hakimel/reveal.js/blob/master/css/theme/source). It will be automatically compiled by Grunt from Sass to CSS (see the [Gruntfile](https://github.com/hakimel/reveal.js/blob/master/Gruntfile.js)) when you run `npm run build -- css-themes`.
To create your own theme, start by duplicating a ```.scss``` file in [/css/theme/source](https://github.com/hakimel/reveal.js/blob/master/css/theme/source). It will be automatically compiled by Grunt from Sass to CSS (see the [Gruntfile](https://github.com/hakimel/reveal.js/blob/master/gruntfile.js)) when you run `npm run build -- css-themes`.

Each theme file does four things in the following order:

Expand Down
Loading

0 comments on commit 96eee57

Please sign in to comment.