reveal.scss 37 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447
  1. /*!
  2. * reveal.js
  3. * http://lab.hakim.se/reveal-js
  4. * MIT licensed
  5. *
  6. * Copyright (C) 2016 Hakim El Hattab, http://hakim.se
  7. */
  8. /*********************************************
  9. * RESET STYLES
  10. *********************************************/
  11. html, body, .reveal div, .reveal span, .reveal applet, .reveal object, .reveal iframe,
  12. .reveal h1, .reveal h2, .reveal h3, .reveal h4, .reveal h5, .reveal h6, .reveal p, .reveal blockquote, .reveal pre,
  13. .reveal a, .reveal abbr, .reveal acronym, .reveal address, .reveal big, .reveal cite, .reveal code,
  14. .reveal del, .reveal dfn, .reveal em, .reveal img, .reveal ins, .reveal kbd, .reveal q, .reveal s, .reveal samp,
  15. .reveal small, .reveal strike, .reveal strong, .reveal sub, .reveal sup, .reveal tt, .reveal var,
  16. .reveal b, .reveal u, .reveal center,
  17. .reveal dl, .reveal dt, .reveal dd, .reveal ol, .reveal ul, .reveal li,
  18. .reveal fieldset, .reveal form, .reveal label, .reveal legend,
  19. .reveal table, .reveal caption, .reveal tbody, .reveal tfoot, .reveal thead, .reveal tr, .reveal th, .reveal td,
  20. .reveal article, .reveal aside, .reveal canvas, .reveal details, .reveal embed,
  21. .reveal figure, .reveal figcaption, .reveal footer, .reveal header, .reveal hgroup,
  22. .reveal menu, .reveal nav, .reveal output, .reveal ruby, .reveal section, .reveal summary,
  23. .reveal time, .reveal mark, .reveal audio, .reveal video {
  24. margin: 0;
  25. padding: 0;
  26. border: 0;
  27. font-size: 100%;
  28. font: inherit;
  29. vertical-align: baseline;
  30. }
  31. .reveal article, .reveal aside, .reveal details, .reveal figcaption, .reveal figure,
  32. .reveal footer, .reveal header, .reveal hgroup, .reveal menu, .reveal nav, .reveal section {
  33. display: block;
  34. }
  35. /*********************************************
  36. * GLOBAL STYLES
  37. *********************************************/
  38. html,
  39. body {
  40. width: 100%;
  41. height: 100%;
  42. overflow: hidden;
  43. }
  44. body {
  45. position: relative;
  46. line-height: 1;
  47. background-color: #fff;
  48. color: #000;
  49. }
  50. /*********************************************
  51. * VIEW FRAGMENTS
  52. *********************************************/
  53. .reveal .slides section .fragment {
  54. opacity: 0;
  55. visibility: hidden;
  56. transition: all .2s ease;
  57. &.visible {
  58. opacity: 1;
  59. visibility: inherit;
  60. }
  61. }
  62. .reveal .slides section .fragment.grow {
  63. opacity: 1;
  64. visibility: inherit;
  65. &.visible {
  66. transform: scale( 1.3 );
  67. }
  68. }
  69. .reveal .slides section .fragment.shrink {
  70. opacity: 1;
  71. visibility: inherit;
  72. &.visible {
  73. transform: scale( 0.7 );
  74. }
  75. }
  76. .reveal .slides section .fragment.zoom-in {
  77. transform: scale( 0.1 );
  78. &.visible {
  79. transform: none;
  80. }
  81. }
  82. .reveal .slides section .fragment.fade-out {
  83. opacity: 1;
  84. visibility: inherit;
  85. &.visible {
  86. opacity: 0;
  87. visibility: hidden;
  88. }
  89. }
  90. .reveal .slides section .fragment.semi-fade-out {
  91. opacity: 1;
  92. visibility: inherit;
  93. &.visible {
  94. opacity: 0.5;
  95. visibility: inherit;
  96. }
  97. }
  98. .reveal .slides section .fragment.strike {
  99. opacity: 1;
  100. visibility: inherit;
  101. &.visible {
  102. text-decoration: line-through;
  103. }
  104. }
  105. .reveal .slides section .fragment.fade-up {
  106. transform: translate(0, 20%);
  107. &.visible {
  108. transform: translate(0, 0);
  109. }
  110. }
  111. .reveal .slides section .fragment.fade-down {
  112. transform: translate(0, -20%);
  113. &.visible {
  114. transform: translate(0, 0);
  115. }
  116. }
  117. .reveal .slides section .fragment.fade-right {
  118. transform: translate(-20%, 0);
  119. &.visible {
  120. transform: translate(0, 0);
  121. }
  122. }
  123. .reveal .slides section .fragment.fade-left {
  124. transform: translate(20%, 0);
  125. &.visible {
  126. transform: translate(0, 0);
  127. }
  128. }
  129. .reveal .slides section .fragment.current-visible {
  130. opacity: 0;
  131. visibility: hidden;
  132. &.current-fragment {
  133. opacity: 1;
  134. visibility: inherit;
  135. }
  136. }
  137. .reveal .slides section .fragment.highlight-red,
  138. .reveal .slides section .fragment.highlight-current-red,
  139. .reveal .slides section .fragment.highlight-green,
  140. .reveal .slides section .fragment.highlight-current-green,
  141. .reveal .slides section .fragment.highlight-blue,
  142. .reveal .slides section .fragment.highlight-current-blue {
  143. opacity: 1;
  144. visibility: inherit;
  145. }
  146. .reveal .slides section .fragment.highlight-red.visible {
  147. color: #ff2c2d
  148. }
  149. .reveal .slides section .fragment.highlight-green.visible {
  150. color: #17ff2e;
  151. }
  152. .reveal .slides section .fragment.highlight-blue.visible {
  153. color: #1b91ff;
  154. }
  155. .reveal .slides section .fragment.highlight-current-red.current-fragment {
  156. color: #ff2c2d
  157. }
  158. .reveal .slides section .fragment.highlight-current-green.current-fragment {
  159. color: #17ff2e;
  160. }
  161. .reveal .slides section .fragment.highlight-current-blue.current-fragment {
  162. color: #1b91ff;
  163. }
  164. /*********************************************
  165. * DEFAULT ELEMENT STYLES
  166. *********************************************/
  167. /* Fixes issue in Chrome where italic fonts did not appear when printing to PDF */
  168. .reveal:after {
  169. content: '';
  170. font-style: italic;
  171. }
  172. .reveal iframe {
  173. z-index: 1;
  174. }
  175. /** Prevents layering issues in certain browser/transition combinations */
  176. .reveal a {
  177. position: relative;
  178. }
  179. .reveal .stretch {
  180. max-width: none;
  181. max-height: none;
  182. }
  183. .reveal pre.stretch code {
  184. height: 100%;
  185. max-height: 100%;
  186. box-sizing: border-box;
  187. }
  188. /*********************************************
  189. * CONTROLS
  190. *********************************************/
  191. .reveal .controls {
  192. display: none;
  193. position: fixed;
  194. width: 110px;
  195. height: 110px;
  196. z-index: 30;
  197. right: 10px;
  198. bottom: 10px;
  199. -webkit-user-select: none;
  200. }
  201. .reveal .controls button {
  202. padding: 0;
  203. position: absolute;
  204. opacity: 0.05;
  205. width: 0;
  206. height: 0;
  207. background-color: transparent;
  208. border: 12px solid transparent;
  209. transform: scale(.9999);
  210. transition: all 0.2s ease;
  211. -webkit-appearance: none;
  212. -webkit-tap-highlight-color: rgba( 0, 0, 0, 0 );
  213. }
  214. .reveal .controls .enabled {
  215. opacity: 0.7;
  216. cursor: pointer;
  217. }
  218. .reveal .controls .enabled:active {
  219. margin-top: 1px;
  220. }
  221. .reveal .controls .navigate-left {
  222. top: 42px;
  223. border-right-width: 22px;
  224. border-right-color: #000;
  225. }
  226. .reveal .controls .navigate-left.fragmented {
  227. opacity: 0.3;
  228. }
  229. .reveal .controls .navigate-right {
  230. left: 74px;
  231. top: 42px;
  232. border-left-width: 22px;
  233. border-left-color: #000;
  234. }
  235. .reveal .controls .navigate-right.fragmented {
  236. opacity: 0.3;
  237. }
  238. .reveal .controls .navigate-up {
  239. left: 42px;
  240. border-bottom-width: 22px;
  241. border-bottom-color: #000;
  242. }
  243. .reveal .controls .navigate-up.fragmented {
  244. opacity: 0.3;
  245. }
  246. .reveal .controls .navigate-down {
  247. left: 42px;
  248. top: 74px;
  249. border-top-width: 22px;
  250. border-top-color: #000;
  251. }
  252. .reveal .controls .navigate-down.fragmented {
  253. opacity: 0.3;
  254. }
  255. /*********************************************
  256. * PROGRESS BAR
  257. *********************************************/
  258. .reveal .progress {
  259. position: fixed;
  260. display: none;
  261. height: 3px;
  262. width: 100%;
  263. bottom: 0;
  264. left: 0;
  265. z-index: 10;
  266. background-color: rgba( 0, 0, 0, 0.2 );
  267. }
  268. .reveal .progress:after {
  269. content: '';
  270. display: block;
  271. position: absolute;
  272. height: 20px;
  273. width: 100%;
  274. top: -20px;
  275. }
  276. .reveal .progress span {
  277. display: block;
  278. height: 100%;
  279. width: 0px;
  280. background-color: #000;
  281. transition: width 800ms cubic-bezier(0.260, 0.860, 0.440, 0.985);
  282. }
  283. /*********************************************
  284. * SLIDE NUMBER
  285. *********************************************/
  286. .reveal .slide-number {
  287. position: fixed;
  288. display: block;
  289. right: 8px;
  290. bottom: 8px;
  291. z-index: 31;
  292. font-family: Helvetica, sans-serif;
  293. font-size: 12px;
  294. line-height: 1;
  295. color: #fff;
  296. background-color: rgba( 0, 0, 0, 0.4 );
  297. padding: 5px;
  298. }
  299. .reveal .slide-number-delimiter {
  300. margin: 0 3px;
  301. }
  302. /*********************************************
  303. * SLIDES
  304. *********************************************/
  305. .reveal {
  306. position: relative;
  307. width: 100%;
  308. height: 100%;
  309. overflow: hidden;
  310. touch-action: none;
  311. }
  312. .reveal .slides {
  313. position: absolute;
  314. width: 100%;
  315. height: 100%;
  316. top: 0;
  317. right: 0;
  318. bottom: 0;
  319. left: 0;
  320. margin: auto;
  321. overflow: visible;
  322. z-index: 1;
  323. text-align: center;
  324. perspective: 600px;
  325. perspective-origin: 50% 40%;
  326. }
  327. .reveal .slides>section {
  328. -ms-perspective: 600px;
  329. }
  330. .reveal .slides>section,
  331. .reveal .slides>section>section {
  332. display: none;
  333. position: absolute;
  334. width: 100%;
  335. padding: 20px 0px;
  336. z-index: 10;
  337. transform-style: flat;
  338. transition: transform-origin 800ms cubic-bezier(0.260, 0.860, 0.440, 0.985),
  339. transform 800ms cubic-bezier(0.260, 0.860, 0.440, 0.985),
  340. visibility 800ms cubic-bezier(0.260, 0.860, 0.440, 0.985),
  341. opacity 800ms cubic-bezier(0.260, 0.860, 0.440, 0.985);
  342. }
  343. /* Global transition speed settings */
  344. .reveal[data-transition-speed="fast"] .slides section {
  345. transition-duration: 400ms;
  346. }
  347. .reveal[data-transition-speed="slow"] .slides section {
  348. transition-duration: 1200ms;
  349. }
  350. /* Slide-specific transition speed overrides */
  351. .reveal .slides section[data-transition-speed="fast"] {
  352. transition-duration: 400ms;
  353. }
  354. .reveal .slides section[data-transition-speed="slow"] {
  355. transition-duration: 1200ms;
  356. }
  357. .reveal .slides>section.stack {
  358. padding-top: 0;
  359. padding-bottom: 0;
  360. }
  361. .reveal .slides>section.present,
  362. .reveal .slides>section>section.present {
  363. display: block;
  364. z-index: 11;
  365. opacity: 1;
  366. }
  367. .reveal.center,
  368. .reveal.center .slides,
  369. .reveal.center .slides section {
  370. min-height: 0 !important;
  371. }
  372. /* Don't allow interaction with invisible slides */
  373. .reveal .slides>section.future,
  374. .reveal .slides>section>section.future,
  375. .reveal .slides>section.past,
  376. .reveal .slides>section>section.past {
  377. pointer-events: none;
  378. }
  379. .reveal.overview .slides>section,
  380. .reveal.overview .slides>section>section {
  381. pointer-events: auto;
  382. }
  383. .reveal .slides>section.past,
  384. .reveal .slides>section.future,
  385. .reveal .slides>section>section.past,
  386. .reveal .slides>section>section.future {
  387. opacity: 0;
  388. }
  389. /*********************************************
  390. * Mixins for readability of transitions
  391. *********************************************/
  392. @mixin transition-global($style) {
  393. .reveal .slides section[data-transition=#{$style}],
  394. .reveal.#{$style} .slides section:not([data-transition]) {
  395. @content;
  396. }
  397. }
  398. @mixin transition-stack($style) {
  399. .reveal .slides section[data-transition=#{$style}].stack,
  400. .reveal.#{$style} .slides section.stack {
  401. @content;
  402. }
  403. }
  404. @mixin transition-horizontal-past($style) {
  405. .reveal .slides>section[data-transition=#{$style}].past,
  406. .reveal .slides>section[data-transition~=#{$style}-out].past,
  407. .reveal.#{$style} .slides>section:not([data-transition]).past {
  408. @content;
  409. }
  410. }
  411. @mixin transition-horizontal-future($style) {
  412. .reveal .slides>section[data-transition=#{$style}].future,
  413. .reveal .slides>section[data-transition~=#{$style}-in].future,
  414. .reveal.#{$style} .slides>section:not([data-transition]).future {
  415. @content;
  416. }
  417. }
  418. @mixin transition-vertical-past($style) {
  419. .reveal .slides>section>section[data-transition=#{$style}].past,
  420. .reveal .slides>section>section[data-transition~=#{$style}-out].past,
  421. .reveal.#{$style} .slides>section>section:not([data-transition]).past {
  422. @content;
  423. }
  424. }
  425. @mixin transition-vertical-future($style) {
  426. .reveal .slides>section>section[data-transition=#{$style}].future,
  427. .reveal .slides>section>section[data-transition~=#{$style}-in].future,
  428. .reveal.#{$style} .slides>section>section:not([data-transition]).future {
  429. @content;
  430. }
  431. }
  432. /*********************************************
  433. * SLIDE TRANSITION
  434. * Aliased 'linear' for backwards compatibility
  435. *********************************************/
  436. @each $stylename in slide, linear {
  437. .reveal.#{$stylename} section {
  438. backface-visibility: hidden;
  439. }
  440. @include transition-horizontal-past(#{$stylename}) {
  441. transform: translate(-150%, 0);
  442. }
  443. @include transition-horizontal-future(#{$stylename}) {
  444. transform: translate(150%, 0);
  445. }
  446. @include transition-vertical-past(#{$stylename}) {
  447. transform: translate(0, -150%);
  448. }
  449. @include transition-vertical-future(#{$stylename}) {
  450. transform: translate(0, 150%);
  451. }
  452. }
  453. /*********************************************
  454. * CONVEX TRANSITION
  455. * Aliased 'default' for backwards compatibility
  456. *********************************************/
  457. @each $stylename in default, convex {
  458. @include transition-stack(#{$stylename}) {
  459. transform-style: preserve-3d;
  460. }
  461. @include transition-horizontal-past(#{$stylename}) {
  462. transform: translate3d(-100%, 0, 0) rotateY(-90deg) translate3d(-100%, 0, 0);
  463. }
  464. @include transition-horizontal-future(#{$stylename}) {
  465. transform: translate3d(100%, 0, 0) rotateY(90deg) translate3d(100%, 0, 0);
  466. }
  467. @include transition-vertical-past(#{$stylename}) {
  468. transform: translate3d(0, -300px, 0) rotateX(70deg) translate3d(0, -300px, 0);
  469. }
  470. @include transition-vertical-future(#{$stylename}) {
  471. transform: translate3d(0, 300px, 0) rotateX(-70deg) translate3d(0, 300px, 0);
  472. }
  473. }
  474. /*********************************************
  475. * CONCAVE TRANSITION
  476. *********************************************/
  477. @include transition-stack(concave) {
  478. transform-style: preserve-3d;
  479. }
  480. @include transition-horizontal-past(concave) {
  481. transform: translate3d(-100%, 0, 0) rotateY(90deg) translate3d(-100%, 0, 0);
  482. }
  483. @include transition-horizontal-future(concave) {
  484. transform: translate3d(100%, 0, 0) rotateY(-90deg) translate3d(100%, 0, 0);
  485. }
  486. @include transition-vertical-past(concave) {
  487. transform: translate3d(0, -80%, 0) rotateX(-70deg) translate3d(0, -80%, 0);
  488. }
  489. @include transition-vertical-future(concave) {
  490. transform: translate3d(0, 80%, 0) rotateX(70deg) translate3d(0, 80%, 0);
  491. }
  492. /*********************************************
  493. * ZOOM TRANSITION
  494. *********************************************/
  495. @include transition-global(zoom) {
  496. transition-timing-function: ease;
  497. }
  498. @include transition-horizontal-past(zoom) {
  499. visibility: hidden;
  500. transform: scale(16);
  501. }
  502. @include transition-horizontal-future(zoom) {
  503. visibility: hidden;
  504. transform: scale(0.2);
  505. }
  506. @include transition-vertical-past(zoom) {
  507. transform: translate(0, -150%);
  508. }
  509. @include transition-vertical-future(zoom) {
  510. transform: translate(0, 150%);
  511. }
  512. /*********************************************
  513. * CUBE TRANSITION
  514. *********************************************/
  515. .reveal.cube .slides {
  516. perspective: 1300px;
  517. }
  518. .reveal.cube .slides section {
  519. padding: 30px;
  520. min-height: 700px;
  521. backface-visibility: hidden;
  522. box-sizing: border-box;
  523. transform-style: preserve-3d;
  524. }
  525. .reveal.center.cube .slides section {
  526. min-height: 0;
  527. }
  528. .reveal.cube .slides section:not(.stack):before {
  529. content: '';
  530. position: absolute;
  531. display: block;
  532. width: 100%;
  533. height: 100%;
  534. left: 0;
  535. top: 0;
  536. background: rgba(0,0,0,0.1);
  537. border-radius: 4px;
  538. transform: translateZ( -20px );
  539. }
  540. .reveal.cube .slides section:not(.stack):after {
  541. content: '';
  542. position: absolute;
  543. display: block;
  544. width: 90%;
  545. height: 30px;
  546. left: 5%;
  547. bottom: 0;
  548. background: none;
  549. z-index: 1;
  550. border-radius: 4px;
  551. box-shadow: 0px 95px 25px rgba(0,0,0,0.2);
  552. transform: translateZ(-90px) rotateX( 65deg );
  553. }
  554. .reveal.cube .slides>section.stack {
  555. padding: 0;
  556. background: none;
  557. }
  558. .reveal.cube .slides>section.past {
  559. transform-origin: 100% 0%;
  560. transform: translate3d(-100%, 0, 0) rotateY(-90deg);
  561. }
  562. .reveal.cube .slides>section.future {
  563. transform-origin: 0% 0%;
  564. transform: translate3d(100%, 0, 0) rotateY(90deg);
  565. }
  566. .reveal.cube .slides>section>section.past {
  567. transform-origin: 0% 100%;
  568. transform: translate3d(0, -100%, 0) rotateX(90deg);
  569. }
  570. .reveal.cube .slides>section>section.future {
  571. transform-origin: 0% 0%;
  572. transform: translate3d(0, 100%, 0) rotateX(-90deg);
  573. }
  574. /*********************************************
  575. * PAGE TRANSITION
  576. *********************************************/
  577. .reveal.page .slides {
  578. perspective-origin: 0% 50%;
  579. perspective: 3000px;
  580. }
  581. .reveal.page .slides section {
  582. padding: 30px;
  583. min-height: 700px;
  584. box-sizing: border-box;
  585. transform-style: preserve-3d;
  586. }
  587. .reveal.page .slides section.past {
  588. z-index: 12;
  589. }
  590. .reveal.page .slides section:not(.stack):before {
  591. content: '';
  592. position: absolute;
  593. display: block;
  594. width: 100%;
  595. height: 100%;
  596. left: 0;
  597. top: 0;
  598. background: rgba(0,0,0,0.1);
  599. transform: translateZ( -20px );
  600. }
  601. .reveal.page .slides section:not(.stack):after {
  602. content: '';
  603. position: absolute;
  604. display: block;
  605. width: 90%;
  606. height: 30px;
  607. left: 5%;
  608. bottom: 0;
  609. background: none;
  610. z-index: 1;
  611. border-radius: 4px;
  612. box-shadow: 0px 95px 25px rgba(0,0,0,0.2);
  613. -webkit-transform: translateZ(-90px) rotateX( 65deg );
  614. }
  615. .reveal.page .slides>section.stack {
  616. padding: 0;
  617. background: none;
  618. }
  619. .reveal.page .slides>section.past {
  620. transform-origin: 0% 0%;
  621. transform: translate3d(-40%, 0, 0) rotateY(-80deg);
  622. }
  623. .reveal.page .slides>section.future {
  624. transform-origin: 100% 0%;
  625. transform: translate3d(0, 0, 0);
  626. }
  627. .reveal.page .slides>section>section.past {
  628. transform-origin: 0% 0%;
  629. transform: translate3d(0, -40%, 0) rotateX(80deg);
  630. }
  631. .reveal.page .slides>section>section.future {
  632. transform-origin: 0% 100%;
  633. transform: translate3d(0, 0, 0);
  634. }
  635. /*********************************************
  636. * FADE TRANSITION
  637. *********************************************/
  638. .reveal .slides section[data-transition=fade],
  639. .reveal.fade .slides section:not([data-transition]),
  640. .reveal.fade .slides>section>section:not([data-transition]) {
  641. transform: none;
  642. transition: opacity 0.5s;
  643. }
  644. .reveal.fade.overview .slides section,
  645. .reveal.fade.overview .slides>section>section {
  646. transition: none;
  647. }
  648. /*********************************************
  649. * NO TRANSITION
  650. *********************************************/
  651. @include transition-global(none) {
  652. transform: none;
  653. transition: none;
  654. }
  655. /*********************************************
  656. * PAUSED MODE
  657. *********************************************/
  658. .reveal .pause-overlay {
  659. position: absolute;
  660. top: 0;
  661. left: 0;
  662. width: 100%;
  663. height: 100%;
  664. background: black;
  665. visibility: hidden;
  666. opacity: 0;
  667. z-index: 100;
  668. transition: all 1s ease;
  669. }
  670. .reveal.paused .pause-overlay {
  671. visibility: visible;
  672. opacity: 1;
  673. }
  674. /*********************************************
  675. * FALLBACK
  676. *********************************************/
  677. .no-transforms {
  678. overflow-y: auto;
  679. }
  680. .no-transforms .reveal .slides {
  681. position: relative;
  682. width: 80%;
  683. height: auto !important;
  684. top: 0;
  685. left: 50%;
  686. margin: 0;
  687. text-align: center;
  688. }
  689. .no-transforms .reveal .controls,
  690. .no-transforms .reveal .progress {
  691. display: none !important;
  692. }
  693. .no-transforms .reveal .slides section {
  694. display: block !important;
  695. opacity: 1 !important;
  696. position: relative !important;
  697. height: auto;
  698. min-height: 0;
  699. top: 0;
  700. left: -50%;
  701. margin: 70px 0;
  702. transform: none;
  703. }
  704. .no-transforms .reveal .slides section section {
  705. left: 0;
  706. }
  707. .reveal .no-transition,
  708. .reveal .no-transition * {
  709. transition: none !important;
  710. }
  711. /*********************************************
  712. * PER-SLIDE BACKGROUNDS
  713. *********************************************/
  714. .reveal .backgrounds {
  715. position: absolute;
  716. width: 100%;
  717. height: 100%;
  718. top: 0;
  719. left: 0;
  720. perspective: 600px;
  721. }
  722. .reveal .slide-background {
  723. display: none;
  724. position: absolute;
  725. width: 100%;
  726. height: 100%;
  727. opacity: 0;
  728. visibility: hidden;
  729. background-color: rgba( 0, 0, 0, 0 );
  730. background-position: 50% 50%;
  731. background-repeat: no-repeat;
  732. background-size: cover;
  733. transition: all 800ms cubic-bezier(0.260, 0.860, 0.440, 0.985);
  734. }
  735. .reveal .slide-background.stack {
  736. display: block;
  737. }
  738. .reveal .slide-background.present {
  739. opacity: 1;
  740. visibility: visible;
  741. }
  742. .print-pdf .reveal .slide-background {
  743. opacity: 1 !important;
  744. visibility: visible !important;
  745. }
  746. /* Video backgrounds */
  747. .reveal .slide-background video {
  748. position: absolute;
  749. width: 100%;
  750. height: 100%;
  751. max-width: none;
  752. max-height: none;
  753. top: 0;
  754. left: 0;
  755. }
  756. /* Immediate transition style */
  757. .reveal[data-background-transition=none]>.backgrounds .slide-background,
  758. .reveal>.backgrounds .slide-background[data-background-transition=none] {
  759. transition: none;
  760. }
  761. /* Slide */
  762. .reveal[data-background-transition=slide]>.backgrounds .slide-background,
  763. .reveal>.backgrounds .slide-background[data-background-transition=slide] {
  764. opacity: 1;
  765. backface-visibility: hidden;
  766. }
  767. .reveal[data-background-transition=slide]>.backgrounds .slide-background.past,
  768. .reveal>.backgrounds .slide-background.past[data-background-transition=slide] {
  769. transform: translate(-100%, 0);
  770. }
  771. .reveal[data-background-transition=slide]>.backgrounds .slide-background.future,
  772. .reveal>.backgrounds .slide-background.future[data-background-transition=slide] {
  773. transform: translate(100%, 0);
  774. }
  775. .reveal[data-background-transition=slide]>.backgrounds .slide-background>.slide-background.past,
  776. .reveal>.backgrounds .slide-background>.slide-background.past[data-background-transition=slide] {
  777. transform: translate(0, -100%);
  778. }
  779. .reveal[data-background-transition=slide]>.backgrounds .slide-background>.slide-background.future,
  780. .reveal>.backgrounds .slide-background>.slide-background.future[data-background-transition=slide] {
  781. transform: translate(0, 100%);
  782. }
  783. /* Convex */
  784. .reveal[data-background-transition=convex]>.backgrounds .slide-background.past,
  785. .reveal>.backgrounds .slide-background.past[data-background-transition=convex] {
  786. opacity: 0;
  787. transform: translate3d(-100%, 0, 0) rotateY(-90deg) translate3d(-100%, 0, 0);
  788. }
  789. .reveal[data-background-transition=convex]>.backgrounds .slide-background.future,
  790. .reveal>.backgrounds .slide-background.future[data-background-transition=convex] {
  791. opacity: 0;
  792. transform: translate3d(100%, 0, 0) rotateY(90deg) translate3d(100%, 0, 0);
  793. }
  794. .reveal[data-background-transition=convex]>.backgrounds .slide-background>.slide-background.past,
  795. .reveal>.backgrounds .slide-background>.slide-background.past[data-background-transition=convex] {
  796. opacity: 0;
  797. transform: translate3d(0, -100%, 0) rotateX(90deg) translate3d(0, -100%, 0);
  798. }
  799. .reveal[data-background-transition=convex]>.backgrounds .slide-background>.slide-background.future,
  800. .reveal>.backgrounds .slide-background>.slide-background.future[data-background-transition=convex] {
  801. opacity: 0;
  802. transform: translate3d(0, 100%, 0) rotateX(-90deg) translate3d(0, 100%, 0);
  803. }
  804. /* Concave */
  805. .reveal[data-background-transition=concave]>.backgrounds .slide-background.past,
  806. .reveal>.backgrounds .slide-background.past[data-background-transition=concave] {
  807. opacity: 0;
  808. transform: translate3d(-100%, 0, 0) rotateY(90deg) translate3d(-100%, 0, 0);
  809. }
  810. .reveal[data-background-transition=concave]>.backgrounds .slide-background.future,
  811. .reveal>.backgrounds .slide-background.future[data-background-transition=concave] {
  812. opacity: 0;
  813. transform: translate3d(100%, 0, 0) rotateY(-90deg) translate3d(100%, 0, 0);
  814. }
  815. .reveal[data-background-transition=concave]>.backgrounds .slide-background>.slide-background.past,
  816. .reveal>.backgrounds .slide-background>.slide-background.past[data-background-transition=concave] {
  817. opacity: 0;
  818. transform: translate3d(0, -100%, 0) rotateX(-90deg) translate3d(0, -100%, 0);
  819. }
  820. .reveal[data-background-transition=concave]>.backgrounds .slide-background>.slide-background.future,
  821. .reveal>.backgrounds .slide-background>.slide-background.future[data-background-transition=concave] {
  822. opacity: 0;
  823. transform: translate3d(0, 100%, 0) rotateX(90deg) translate3d(0, 100%, 0);
  824. }
  825. /* Zoom */
  826. .reveal[data-background-transition=zoom]>.backgrounds .slide-background,
  827. .reveal>.backgrounds .slide-background[data-background-transition=zoom] {
  828. transition-timing-function: ease;
  829. }
  830. .reveal[data-background-transition=zoom]>.backgrounds .slide-background.past,
  831. .reveal>.backgrounds .slide-background.past[data-background-transition=zoom] {
  832. opacity: 0;
  833. visibility: hidden;
  834. transform: scale(16);
  835. }
  836. .reveal[data-background-transition=zoom]>.backgrounds .slide-background.future,
  837. .reveal>.backgrounds .slide-background.future[data-background-transition=zoom] {
  838. opacity: 0;
  839. visibility: hidden;
  840. transform: scale(0.2);
  841. }
  842. .reveal[data-background-transition=zoom]>.backgrounds .slide-background>.slide-background.past,
  843. .reveal>.backgrounds .slide-background>.slide-background.past[data-background-transition=zoom] {
  844. opacity: 0;
  845. visibility: hidden;
  846. transform: scale(16);
  847. }
  848. .reveal[data-background-transition=zoom]>.backgrounds .slide-background>.slide-background.future,
  849. .reveal>.backgrounds .slide-background>.slide-background.future[data-background-transition=zoom] {
  850. opacity: 0;
  851. visibility: hidden;
  852. transform: scale(0.2);
  853. }
  854. /* Global transition speed settings */
  855. .reveal[data-transition-speed="fast"]>.backgrounds .slide-background {
  856. transition-duration: 400ms;
  857. }
  858. .reveal[data-transition-speed="slow"]>.backgrounds .slide-background {
  859. transition-duration: 1200ms;
  860. }
  861. /*********************************************
  862. * OVERVIEW
  863. *********************************************/
  864. .reveal.overview {
  865. perspective-origin: 50% 50%;
  866. perspective: 700px;
  867. .slides {
  868. // Fixes overview rendering errors in FF48+, not applied to
  869. // other browsers since it degrades performance
  870. -moz-transform-style: preserve-3d;
  871. }
  872. .slides section {
  873. height: 100%;
  874. top: 0 !important;
  875. opacity: 1 !important;
  876. overflow: hidden;
  877. visibility: visible !important;
  878. cursor: pointer;
  879. box-sizing: border-box;
  880. }
  881. .slides section:hover,
  882. .slides section.present {
  883. outline: 10px solid rgba(150,150,150,0.4);
  884. outline-offset: 10px;
  885. }
  886. .slides section .fragment {
  887. opacity: 1;
  888. transition: none;
  889. }
  890. .slides section:after,
  891. .slides section:before {
  892. display: none !important;
  893. }
  894. .slides>section.stack {
  895. padding: 0;
  896. top: 0 !important;
  897. background: none;
  898. outline: none;
  899. overflow: visible;
  900. }
  901. .backgrounds {
  902. perspective: inherit;
  903. // Fixes overview rendering errors in FF48+, not applied to
  904. // other browsers since it degrades performance
  905. -moz-transform-style: preserve-3d;
  906. }
  907. .backgrounds .slide-background {
  908. opacity: 1;
  909. visibility: visible;
  910. // This can't be applied to the slide itself in Safari
  911. outline: 10px solid rgba(150,150,150,0.1);
  912. outline-offset: 10px;
  913. }
  914. }
  915. // Disable transitions transitions while we're activating
  916. // or deactivating the overview mode.
  917. .reveal.overview .slides section,
  918. .reveal.overview-deactivating .slides section {
  919. transition: none;
  920. }
  921. .reveal.overview .backgrounds .slide-background,
  922. .reveal.overview-deactivating .backgrounds .slide-background {
  923. transition: none;
  924. }
  925. .reveal.overview-animated .slides {
  926. transition: transform 0.4s ease;
  927. }
  928. /*********************************************
  929. * RTL SUPPORT
  930. *********************************************/
  931. .reveal.rtl .slides,
  932. .reveal.rtl .slides h1,
  933. .reveal.rtl .slides h2,
  934. .reveal.rtl .slides h3,
  935. .reveal.rtl .slides h4,
  936. .reveal.rtl .slides h5,
  937. .reveal.rtl .slides h6 {
  938. direction: rtl;
  939. font-family: sans-serif;
  940. }
  941. .reveal.rtl pre,
  942. .reveal.rtl code {
  943. direction: ltr;
  944. }
  945. .reveal.rtl ol,
  946. .reveal.rtl ul {
  947. text-align: right;
  948. }
  949. .reveal.rtl .progress span {
  950. float: right
  951. }
  952. /*********************************************
  953. * PARALLAX BACKGROUND
  954. *********************************************/
  955. .reveal.has-parallax-background .backgrounds {
  956. transition: all 0.8s ease;
  957. }
  958. /* Global transition speed settings */
  959. .reveal.has-parallax-background[data-transition-speed="fast"] .backgrounds {
  960. transition-duration: 400ms;
  961. }
  962. .reveal.has-parallax-background[data-transition-speed="slow"] .backgrounds {
  963. transition-duration: 1200ms;
  964. }
  965. /*********************************************
  966. * LINK PREVIEW OVERLAY
  967. *********************************************/
  968. .reveal .overlay {
  969. position: absolute;
  970. top: 0;
  971. left: 0;
  972. width: 100%;
  973. height: 100%;
  974. z-index: 1000;
  975. background: rgba( 0, 0, 0, 0.9 );
  976. opacity: 0;
  977. visibility: hidden;
  978. transition: all 0.3s ease;
  979. }
  980. .reveal .overlay.visible {
  981. opacity: 1;
  982. visibility: visible;
  983. }
  984. .reveal .overlay .spinner {
  985. position: absolute;
  986. display: block;
  987. top: 50%;
  988. left: 50%;
  989. width: 32px;
  990. height: 32px;
  991. margin: -16px 0 0 -16px;
  992. z-index: 10;
  993. background-image: url(data:image/gif;base64,R0lGODlhIAAgAPMAAJmZmf%2F%2F%2F6%2Bvr8nJybW1tcDAwOjo6Nvb26ioqKOjo7Ozs%2FLy8vz8%2FAAAAAAAAAAAACH%2FC05FVFNDQVBFMi4wAwEAAAAh%2FhpDcmVhdGVkIHdpdGggYWpheGxvYWQuaW5mbwAh%2BQQJCgAAACwAAAAAIAAgAAAE5xDISWlhperN52JLhSSdRgwVo1ICQZRUsiwHpTJT4iowNS8vyW2icCF6k8HMMBkCEDskxTBDAZwuAkkqIfxIQyhBQBFvAQSDITM5VDW6XNE4KagNh6Bgwe60smQUB3d4Rz1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1wBXeCYp1AYZ19JJOYgH1KwA4UBvQwXUBxPqVD9L3sbp2BNk2xvvFPJd%2BMFCN6HAAIKgNggY0KtEBAAh%2BQQJCgAAACwAAAAAIAAgAAAE6BDISWlSqerNpyJKhWRdlSAVoVLCWk6JKlAqAavhO9UkUHsqlE6CwO1cRdCQ8iEIfzFVTzLdRAmZX3I2SfYIDMaAFdTESJeaEDAIMxYFqrOUaNW4E4ObYcCXaiBVEgULe0NJaxxtYksjh2NLkZISgDgJhHthkpU4mW6blRiYmZOlh4JWkDqILwUGBnE6TYEbCgevr0N1gH4At7gHiRpFaLNrrq8HNgAJA70AWxQIH1%2BvsYMDAzZQPC9VCNkDWUhGkuE5PxJNwiUK4UfLzOlD4WvzAHaoG9nxPi5d%2BjYUqfAhhykOFwJWiAAAIfkECQoAAAAsAAAAACAAIAAABPAQyElpUqnqzaciSoVkXVUMFaFSwlpOCcMYlErAavhOMnNLNo8KsZsMZItJEIDIFSkLGQoQTNhIsFehRww2CQLKF0tYGKYSg%2BygsZIuNqJksKgbfgIGepNo2cIUB3V1B3IvNiBYNQaDSTtfhhx0CwVPI0UJe0%2Bbm4g5VgcGoqOcnjmjqDSdnhgEoamcsZuXO1aWQy8KAwOAuTYYGwi7w5h%2BKr0SJ8MFihpNbx%2B4Erq7BYBuzsdiH1jCAzoSfl0rVirNbRXlBBlLX%2BBP0XJLAPGzTkAuAOqb0WT5AH7OcdCm5B8TgRwSRKIHQtaLCwg1RAAAOwAAAAAAAAAAAA%3D%3D);
  994. visibility: visible;
  995. opacity: 0.6;
  996. transition: all 0.3s ease;
  997. }
  998. .reveal .overlay header {
  999. position: absolute;
  1000. left: 0;
  1001. top: 0;
  1002. width: 100%;
  1003. height: 40px;
  1004. z-index: 2;
  1005. border-bottom: 1px solid #222;
  1006. }
  1007. .reveal .overlay header a {
  1008. display: inline-block;
  1009. width: 40px;
  1010. height: 40px;
  1011. line-height: 36px;
  1012. padding: 0 10px;
  1013. float: right;
  1014. opacity: 0.6;
  1015. box-sizing: border-box;
  1016. }
  1017. .reveal .overlay header a:hover {
  1018. opacity: 1;
  1019. }
  1020. .reveal .overlay header a .icon {
  1021. display: inline-block;
  1022. width: 20px;
  1023. height: 20px;
  1024. background-position: 50% 50%;
  1025. background-size: 100%;
  1026. background-repeat: no-repeat;
  1027. }
  1028. .reveal .overlay header a.close .icon {
  1029. background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAYAAABzenr0AAABkklEQVRYR8WX4VHDMAxG6wnoJrABZQPYBCaBTWAD2g1gE5gg6OOsXuxIlr40d81dfrSJ9V4c2VLK7spHuTJ/5wpM07QXuXc5X0opX2tEJcadjHuV80li/FgxTIEK/5QBCICBD6xEhSMGHgQPgBgLiYVAB1dpSqKDawxTohFw4JSEA3clzgIBPCURwE2JucBR7rhPJJv5OpJwDX+SfDjgx1wACQeJG1aChP9K/IMmdZ8DtESV1WyP3Bt4MwM6sj4NMxMYiqUWHQu4KYA/SYkIjOsm3BXYWMKFDwU2khjCQ4ELJUJ4SmClRArOCmSXGuKma0fYD5CbzHxFpCSGAhfAVSSUGDUk2BWZaff2g6GE15BsBQ9nwmpIGDiyHQddwNTMKkbZaf9fajXQca1EX44puJZUsnY0ObGmITE3GVLCbEhQUjGVt146j6oasWN+49Vph2w1pZ5EansNZqKBm1txbU57iRRcZ86RWMDdWtBJUHBHwoQPi1GV+JCbntmvok7iTX4/Up9mgyTc/FJYDTcndgH/AA5A/CHsyEkVAAAAAElFTkSuQmCC);
  1030. }
  1031. .reveal .overlay header a.external .icon {
  1032. background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAYAAABzenr0AAAAcElEQVRYR+2WSQoAIQwEzf8f7XiOMkUQxUPlGkM3hVmiQfQR9GYnH1SsAQlI4DiBqkCMoNb9y2e90IAEJPAcgdznU9+engMaeJ7Azh5Y1U67gAho4DqBqmB1buAf0MB1AlVBek83ZPkmJMGc1wAR+AAqod/B97TRpQAAAABJRU5ErkJggg==);
  1033. }
  1034. .reveal .overlay .viewport {
  1035. position: absolute;
  1036. display: flex;
  1037. top: 40px;
  1038. right: 0;
  1039. bottom: 0;
  1040. left: 0;
  1041. }
  1042. .reveal .overlay.overlay-preview .viewport iframe {
  1043. width: 100%;
  1044. height: 100%;
  1045. max-width: 100%;
  1046. max-height: 100%;
  1047. border: 0;
  1048. opacity: 0;
  1049. visibility: hidden;
  1050. transition: all 0.3s ease;
  1051. }
  1052. .reveal .overlay.overlay-preview.loaded .viewport iframe {
  1053. opacity: 1;
  1054. visibility: visible;
  1055. }
  1056. .reveal .overlay.overlay-preview.loaded .viewport-inner {
  1057. position: absolute;
  1058. z-index: -1;
  1059. left: 0;
  1060. top: 45%;
  1061. width: 100%;
  1062. text-align: center;
  1063. letter-spacing: normal;
  1064. }
  1065. .reveal .overlay.overlay-preview .x-frame-error {
  1066. opacity: 0;
  1067. transition: opacity 0.3s ease 0.3s;
  1068. }
  1069. .reveal .overlay.overlay-preview.loaded .x-frame-error {
  1070. opacity: 1;
  1071. }
  1072. .reveal .overlay.overlay-preview.loaded .spinner {
  1073. opacity: 0;
  1074. visibility: hidden;
  1075. transform: scale(0.2);
  1076. }
  1077. .reveal .overlay.overlay-help .viewport {
  1078. overflow: auto;
  1079. color: #fff;
  1080. }
  1081. .reveal .overlay.overlay-help .viewport .viewport-inner {
  1082. width: 600px;
  1083. margin: auto;
  1084. padding: 20px 20px 80px 20px;
  1085. text-align: center;
  1086. letter-spacing: normal;
  1087. }
  1088. .reveal .overlay.overlay-help .viewport .viewport-inner .title {
  1089. font-size: 20px;
  1090. }
  1091. .reveal .overlay.overlay-help .viewport .viewport-inner table {
  1092. border: 1px solid #fff;
  1093. border-collapse: collapse;
  1094. font-size: 16px;
  1095. }
  1096. .reveal .overlay.overlay-help .viewport .viewport-inner table th,
  1097. .reveal .overlay.overlay-help .viewport .viewport-inner table td {
  1098. width: 200px;
  1099. padding: 14px;
  1100. border: 1px solid #fff;
  1101. vertical-align: middle;
  1102. }
  1103. .reveal .overlay.overlay-help .viewport .viewport-inner table th {
  1104. padding-top: 20px;
  1105. padding-bottom: 20px;
  1106. }
  1107. /*********************************************
  1108. * PLAYBACK COMPONENT
  1109. *********************************************/
  1110. .reveal .playback {
  1111. position: fixed;
  1112. left: 15px;
  1113. bottom: 20px;
  1114. z-index: 30;
  1115. cursor: pointer;
  1116. transition: all 400ms ease;
  1117. }
  1118. .reveal.overview .playback {
  1119. opacity: 0;
  1120. visibility: hidden;
  1121. }
  1122. /*********************************************
  1123. * ROLLING LINKS
  1124. *********************************************/
  1125. .reveal .roll {
  1126. display: inline-block;
  1127. line-height: 1.2;
  1128. overflow: hidden;
  1129. vertical-align: top;
  1130. perspective: 400px;
  1131. perspective-origin: 50% 50%;
  1132. }
  1133. .reveal .roll:hover {
  1134. background: none;
  1135. text-shadow: none;
  1136. }
  1137. .reveal .roll span {
  1138. display: block;
  1139. position: relative;
  1140. padding: 0 2px;
  1141. pointer-events: none;
  1142. transition: all 400ms ease;
  1143. transform-origin: 50% 0%;
  1144. transform-style: preserve-3d;
  1145. backface-visibility: hidden;
  1146. }
  1147. .reveal .roll:hover span {
  1148. background: rgba(0,0,0,0.5);
  1149. transform: translate3d( 0px, 0px, -45px ) rotateX( 90deg );
  1150. }
  1151. .reveal .roll span:after {
  1152. content: attr(data-title);
  1153. display: block;
  1154. position: absolute;
  1155. left: 0;
  1156. top: 0;
  1157. padding: 0 2px;
  1158. backface-visibility: hidden;
  1159. transform-origin: 50% 0%;
  1160. transform: translate3d( 0px, 110%, 0px ) rotateX( -90deg );
  1161. }
  1162. /*********************************************
  1163. * SPEAKER NOTES
  1164. *********************************************/
  1165. // Hide on-page notes
  1166. .reveal aside.notes {
  1167. display: none;
  1168. }
  1169. // An interface element that can optionally be used to show the
  1170. // speaker notes to all viewers, on top of the presentation
  1171. .reveal .speaker-notes {
  1172. display: none;
  1173. position: absolute;
  1174. width: 70%;
  1175. max-height: 15%;
  1176. left: 15%;
  1177. bottom: 26px;
  1178. padding: 10px;
  1179. z-index: 1;
  1180. font-size: 18px;
  1181. line-height: 1.4;
  1182. color: #fff;
  1183. background-color: rgba(0,0,0,0.5);
  1184. overflow: auto;
  1185. box-sizing: border-box;
  1186. text-align: left;
  1187. font-family: Helvetica, sans-serif;
  1188. -webkit-overflow-scrolling: touch;
  1189. }
  1190. .reveal .speaker-notes.visible:not(:empty) {
  1191. display: block;
  1192. }
  1193. @media screen and (max-width: 1024px) {
  1194. .reveal .speaker-notes {
  1195. font-size: 14px;
  1196. }
  1197. }
  1198. @media screen and (max-width: 600px) {
  1199. .reveal .speaker-notes {
  1200. width: 90%;
  1201. left: 5%;
  1202. }
  1203. }
  1204. /*********************************************
  1205. * ZOOM PLUGIN
  1206. *********************************************/
  1207. .zoomed .reveal *,
  1208. .zoomed .reveal *:before,
  1209. .zoomed .reveal *:after {
  1210. backface-visibility: visible !important;
  1211. }
  1212. .zoomed .reveal .progress,
  1213. .zoomed .reveal .controls {
  1214. opacity: 0;
  1215. }
  1216. .zoomed .reveal .roll span {
  1217. background: none;
  1218. }
  1219. .zoomed .reveal .roll span:after {
  1220. visibility: hidden;
  1221. }