Skip to content

Commit 8a2f146

Browse files
committed
remove experimental tileflip transition, reduce max size of media content to 95% to account for slide padding
1 parent 6b0fff3 commit 8a2f146

File tree

4 files changed

+4
-257
lines changed

4 files changed

+4
-257
lines changed

css/reveal.css

+3-51
Original file line numberDiff line numberDiff line change
@@ -181,8 +181,8 @@ body {
181181
.reveal img,
182182
.reveal video,
183183
.reveal iframe {
184-
max-width: 100%;
185-
max-height: 100%;
184+
max-width: 95%;
185+
max-height: 95%;
186186
}
187187

188188
/** Prevents layering issues in certain browser/transition combinations */
@@ -994,55 +994,6 @@ body {
994994
}
995995

996996

997-
/*********************************************
998-
* TILE-FLIP TRANSITION (CSS shader)
999-
*********************************************/
1000-
1001-
.reveal.tileflip .slides section.present {
1002-
-webkit-transform: none;
1003-
-webkit-transition-duration: 800ms;
1004-
1005-
-webkit-filter: custom( url(shaders/tile-flip.vs) mix(url(shaders/tile-flip.fs) multiply source-atop), 10 10 border-box detached, transform perspective(1000) scale(1) rotateX(0deg) rotateY(0deg) rotateZ(0deg),
1006-
amount 0, randomness 0, flipAxis 0 1 0, tileOutline 1
1007-
);
1008-
}
1009-
1010-
.reveal.tileflip .slides section.past {
1011-
-webkit-transform: none;
1012-
-webkit-transition-duration: 800ms;
1013-
1014-
-webkit-filter: custom( url(shaders/tile-flip.vs) mix(url(shaders/tile-flip.fs) multiply source-atop), 10 10 border-box detached, transform perspective(1000) scale(1) rotateX(0deg) rotateY(0deg) rotateZ(0deg),
1015-
amount 1, randomness 0, flipAxis 0 1 0, tileOutline 1
1016-
);
1017-
}
1018-
1019-
.reveal.tileflip .slides section.future {
1020-
-webkit-transform: none;
1021-
-webkit-transition-duration: 800ms;
1022-
1023-
-webkit-filter: custom( url(shaders/tile-flip.vs) mix(url(shaders/tile-flip.fs) multiply source-atop), 10 10 border-box detached, transform perspective(1000) scale(1) rotateX(0deg) rotateY(0deg) rotateZ(0deg),
1024-
amount 1, randomness 0, flipAxis 0 1 0, tileOutline 1
1025-
);
1026-
}
1027-
1028-
.reveal.tileflip .slides>section>section.present {
1029-
-webkit-filter: custom( url(shaders/tile-flip.vs) mix(url(shaders/tile-flip.fs) multiply source-atop), 10 10 border-box detached, transform perspective(1000) scale(1) rotateX(0deg) rotateY(0deg) rotateZ(0deg),
1030-
amount 0, randomness 2, flipAxis 1 0 0, tileOutline 1
1031-
);
1032-
}
1033-
1034-
.reveal.tileflip .slides>section>section.past {
1035-
-webkit-filter: custom( url(shaders/tile-flip.vs) mix(url(shaders/tile-flip.fs) multiply source-atop), 10 10 border-box detached, transform perspective(1000) scale(1) rotateX(0deg) rotateY(0deg) rotateZ(0deg),
1036-
amount 1, randomness 2, flipAxis 1 0 0, tileOutline 1
1037-
);
1038-
}
1039-
1040-
.reveal.tileflip .slides>section>section.future {
1041-
-webkit-filter: custom( url(shaders/tile-flip.vs) mix(url(shaders/tile-flip.fs) multiply source-atop), 10 10 border-box detached, transform perspective(1000) scale(1) rotateX(0deg) rotateY(0deg) rotateZ(0deg),
1042-
amount 1, randomness 2, flipAxis 1 0 0, tileOutline 1
1043-
);
1044-
}
1045-
1046997
/*********************************************
1047998
* FADE TRANSITION
1048999
*********************************************/
@@ -1074,6 +1025,7 @@ body {
10741025
transition: none;
10751026
}
10761027

1028+
10771029
/*********************************************
10781030
* NO TRANSITION
10791031
*********************************************/

0 commit comments

Comments
 (0)