reveal.scss 37 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439
  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: visible;
  60. }
  61. }
  62. .reveal .slides section .fragment.grow {
  63. opacity: 1;
  64. visibility: visible;
  65. &.visible {
  66. transform: scale( 1.3 );
  67. }
  68. }
  69. .reveal .slides section .fragment.shrink {
  70. opacity: 1;
  71. visibility: visible;
  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: visible;
  85. &.visible {
  86. opacity: 0;
  87. visibility: hidden;
  88. }
  89. }
  90. .reveal .slides section .fragment.semi-fade-out {
  91. opacity: 1;
  92. visibility: visible;
  93. &.visible {
  94. opacity: 0.5;
  95. visibility: visible;
  96. }
  97. }
  98. .reveal .slides section .fragment.strike {
  99. opacity: 1;
  100. visibility: visible;
  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: visible;
  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: visible;
  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%2BQQJCgAAACwAAAAAIAAgAAAE5xDISWlhperN52JLhSSdRgwVo1ICQZRUsiwHpTJT4iowNS8vyW2icCF6k8HMMBkCEDskxTBDAZwuAkkqIfxIQyhBQBFvAQSDITM5VDW6XNE4KagNh6Bgwe60smQUB3d4Rz1ZBApnFASDd0hihh12BkE9kjA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1KwA4UBvQwXUBxPqVD9L3sbp2BNk2xvvFPJd%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. padding: 0 10px;
  1012. float: right;
  1013. opacity: 0.6;
  1014. box-sizing: border-box;
  1015. }
  1016. .reveal .overlay header a:hover {
  1017. opacity: 1;
  1018. }
  1019. .reveal .overlay header a .icon {
  1020. display: inline-block;
  1021. width: 20px;
  1022. height: 20px;
  1023. background-position: 50% 50%;
  1024. background-size: 100%;
  1025. background-repeat: no-repeat;
  1026. }
  1027. .reveal .overlay header a.close .icon {
  1028. background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAYAAABzenr0AAABkklEQVRYR8WX4VHDMAxG6wnoJrABZQPYBCaBTWAD2g1gE5gg6OOsXuxIlr40d81dfrSJ9V4c2VLK7spHuTJ/5wpM07QXuXc5X0opX2tEJcadjHuV80li/FgxTIEK/5QBCICBD6xEhSMGHgQPgBgLiYVAB1dpSqKDawxTohFw4JSEA3clzgIBPCURwE2JucBR7rhPJJv5OpJwDX+SfDjgx1wACQeJG1aChP9K/IMmdZ8DtESV1WyP3Bt4MwM6sj4NMxMYiqUWHQu4KYA/SYkIjOsm3BXYWMKFDwU2khjCQ4ELJUJ4SmClRArOCmSXGuKma0fYD5CbzHxFpCSGAhfAVSSUGDUk2BWZaff2g6GE15BsBQ9nwmpIGDiyHQddwNTMKkbZaf9fajXQca1EX44puJZUsnY0ObGmITE3GVLCbEhQUjGVt146j6oasWN+49Vph2w1pZ5EansNZqKBm1txbU57iRRcZ86RWMDdWtBJUHBHwoQPi1GV+JCbntmvok7iTX4/Up9mgyTc/FJYDTcndgH/AA5A/CHsyEkVAAAAAElFTkSuQmCC);
  1029. }
  1030. .reveal .overlay header a.external .icon {
  1031. background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAYAAABzenr0AAAAcElEQVRYR+2WSQoAIQwEzf8f7XiOMkUQxUPlGkM3hVmiQfQR9GYnH1SsAQlI4DiBqkCMoNb9y2e90IAEJPAcgdznU9+engMaeJ7Azh5Y1U67gAho4DqBqmB1buAf0MB1AlVBek83ZPkmJMGc1wAR+AAqod/B97TRpQAAAABJRU5ErkJggg==);
  1032. }
  1033. .reveal .overlay .viewport {
  1034. position: absolute;
  1035. display: flex;
  1036. top: 40px;
  1037. right: 0;
  1038. bottom: 0;
  1039. left: 0;
  1040. }
  1041. .reveal .overlay.overlay-preview .viewport iframe {
  1042. width: 100%;
  1043. height: 100%;
  1044. max-width: 100%;
  1045. max-height: 100%;
  1046. border: 0;
  1047. opacity: 0;
  1048. visibility: hidden;
  1049. transition: all 0.3s ease;
  1050. }
  1051. .reveal .overlay.overlay-preview.loaded .viewport iframe {
  1052. opacity: 1;
  1053. visibility: visible;
  1054. }
  1055. .reveal .overlay.overlay-preview.loaded .viewport-inner {
  1056. position: absolute;
  1057. z-index: -1;
  1058. left: 0;
  1059. top: 60px;
  1060. width: 100%;
  1061. text-align: center;
  1062. letter-spacing: normal;
  1063. }
  1064. .reveal .overlay.overlay-preview.loaded .spinner {
  1065. opacity: 0;
  1066. visibility: hidden;
  1067. transform: scale(0.2);
  1068. }
  1069. .reveal .overlay.overlay-help .viewport {
  1070. overflow: auto;
  1071. color: #fff;
  1072. }
  1073. .reveal .overlay.overlay-help .viewport .viewport-inner {
  1074. width: 600px;
  1075. margin: auto;
  1076. padding: 20px 20px 80px 20px;
  1077. text-align: center;
  1078. letter-spacing: normal;
  1079. }
  1080. .reveal .overlay.overlay-help .viewport .viewport-inner .title {
  1081. font-size: 20px;
  1082. }
  1083. .reveal .overlay.overlay-help .viewport .viewport-inner table {
  1084. border: 1px solid #fff;
  1085. border-collapse: collapse;
  1086. font-size: 16px;
  1087. }
  1088. .reveal .overlay.overlay-help .viewport .viewport-inner table th,
  1089. .reveal .overlay.overlay-help .viewport .viewport-inner table td {
  1090. width: 200px;
  1091. padding: 14px;
  1092. border: 1px solid #fff;
  1093. vertical-align: middle;
  1094. }
  1095. .reveal .overlay.overlay-help .viewport .viewport-inner table th {
  1096. padding-top: 20px;
  1097. padding-bottom: 20px;
  1098. }
  1099. /*********************************************
  1100. * PLAYBACK COMPONENT
  1101. *********************************************/
  1102. .reveal .playback {
  1103. position: fixed;
  1104. left: 15px;
  1105. bottom: 20px;
  1106. z-index: 30;
  1107. cursor: pointer;
  1108. transition: all 400ms ease;
  1109. }
  1110. .reveal.overview .playback {
  1111. opacity: 0;
  1112. visibility: hidden;
  1113. }
  1114. /*********************************************
  1115. * ROLLING LINKS
  1116. *********************************************/
  1117. .reveal .roll {
  1118. display: inline-block;
  1119. line-height: 1.2;
  1120. overflow: hidden;
  1121. vertical-align: top;
  1122. perspective: 400px;
  1123. perspective-origin: 50% 50%;
  1124. }
  1125. .reveal .roll:hover {
  1126. background: none;
  1127. text-shadow: none;
  1128. }
  1129. .reveal .roll span {
  1130. display: block;
  1131. position: relative;
  1132. padding: 0 2px;
  1133. pointer-events: none;
  1134. transition: all 400ms ease;
  1135. transform-origin: 50% 0%;
  1136. transform-style: preserve-3d;
  1137. backface-visibility: hidden;
  1138. }
  1139. .reveal .roll:hover span {
  1140. background: rgba(0,0,0,0.5);
  1141. transform: translate3d( 0px, 0px, -45px ) rotateX( 90deg );
  1142. }
  1143. .reveal .roll span:after {
  1144. content: attr(data-title);
  1145. display: block;
  1146. position: absolute;
  1147. left: 0;
  1148. top: 0;
  1149. padding: 0 2px;
  1150. backface-visibility: hidden;
  1151. transform-origin: 50% 0%;
  1152. transform: translate3d( 0px, 110%, 0px ) rotateX( -90deg );
  1153. }
  1154. /*********************************************
  1155. * SPEAKER NOTES
  1156. *********************************************/
  1157. // Hide on-page notes
  1158. .reveal aside.notes {
  1159. display: none;
  1160. }
  1161. // An interface element that can optionally be used to show the
  1162. // speaker notes to all viewers, on top of the presentation
  1163. .reveal .speaker-notes {
  1164. display: none;
  1165. position: absolute;
  1166. width: 70%;
  1167. max-height: 15%;
  1168. left: 15%;
  1169. bottom: 26px;
  1170. padding: 10px;
  1171. z-index: 1;
  1172. font-size: 18px;
  1173. line-height: 1.4;
  1174. color: #fff;
  1175. background-color: rgba(0,0,0,0.5);
  1176. overflow: auto;
  1177. box-sizing: border-box;
  1178. text-align: left;
  1179. font-family: Helvetica, sans-serif;
  1180. -webkit-overflow-scrolling: touch;
  1181. }
  1182. .reveal .speaker-notes.visible:not(:empty) {
  1183. display: block;
  1184. }
  1185. @media screen and (max-width: 1024px) {
  1186. .reveal .speaker-notes {
  1187. font-size: 14px;
  1188. }
  1189. }
  1190. @media screen and (max-width: 600px) {
  1191. .reveal .speaker-notes {
  1192. width: 90%;
  1193. left: 5%;
  1194. }
  1195. }
  1196. /*********************************************
  1197. * ZOOM PLUGIN
  1198. *********************************************/
  1199. .zoomed .reveal *,
  1200. .zoomed .reveal *:before,
  1201. .zoomed .reveal *:after {
  1202. backface-visibility: visible !important;
  1203. }
  1204. .zoomed .reveal .progress,
  1205. .zoomed .reveal .controls {
  1206. opacity: 0;
  1207. }
  1208. .zoomed .reveal .roll span {
  1209. background: none;
  1210. }
  1211. .zoomed .reveal .roll span:after {
  1212. visibility: hidden;
  1213. }