reveal.scss 42 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649165016511652165316541655165616571658165916601661166216631664166516661667
  1. /*!
  2. * reveal.js
  3. * http://lab.hakim.se/reveal-js
  4. * MIT licensed
  5. *
  6. * Copyright (C) 2017 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. @keyframes bounce-right {
  192. 0%, 10%, 25%, 40%, 50% {transform: translateX(0);}
  193. 20% {transform: translateX(10px);}
  194. 30% {transform: translateX(-5px);}
  195. }
  196. @keyframes bounce-down {
  197. 0%, 10%, 25%, 40%, 50% {transform: translateY(0);}
  198. 20% {transform: translateY(10px);}
  199. 30% {transform: translateY(-5px);}
  200. }
  201. $controlArrowSize: 3.6em;
  202. $controlArrowSpacing: 1.4em;
  203. $controlArrowLength: 2.6em;
  204. $controlArrowThickness: 0.5em;
  205. .reveal .controls {
  206. $angle: 45deg;
  207. $angleHover: 40deg;
  208. $angleActive: 36deg;
  209. $spacing: 12px;
  210. @mixin arrowTransform( $angle ) {
  211. &:before {
  212. transform: translateX(($controlArrowSize - $controlArrowLength)/2) translateY(($controlArrowSize - $controlArrowThickness)/2) rotate( $angle );
  213. }
  214. &:after {
  215. transform: translateX(($controlArrowSize - $controlArrowLength)/2) translateY(($controlArrowSize - $controlArrowThickness)/2) rotate( -$angle );
  216. }
  217. }
  218. display: none;
  219. position: absolute;
  220. top: auto;
  221. bottom: $spacing;
  222. right: $spacing;
  223. left: auto;
  224. z-index: 1;
  225. color: #fff;
  226. pointer-events: none;
  227. font-size: 10px;
  228. button {
  229. position: absolute;
  230. padding: 0;
  231. background-color: transparent;
  232. border: 0;
  233. outline: 0;
  234. cursor: pointer;
  235. color: currentColor;
  236. transform: scale(.9999);
  237. transition: color 0.2s ease,
  238. opacity 0.2s ease,
  239. transform 0.2s ease;
  240. z-index: 2; // above slides
  241. pointer-events: auto;
  242. font-size: inherit;
  243. visibility: hidden;
  244. opacity: 0;
  245. -webkit-appearance: none;
  246. -webkit-tap-highlight-color: rgba( 0, 0, 0, 0 );
  247. }
  248. .pagination-arrow:before,
  249. .pagination-arrow:after {
  250. content: '';
  251. position: absolute;
  252. top: 0;
  253. left: 0;
  254. width: $controlArrowLength;
  255. height: $controlArrowThickness;
  256. border-radius: $controlArrowThickness/2;
  257. background-color: currentColor;
  258. transition: all 0.15s ease, background-color 0.8s ease;
  259. transform-origin: $controlArrowThickness/2 50%;
  260. will-change: transform;
  261. }
  262. .pagination-arrow {
  263. position: relative;
  264. width: $controlArrowSize;
  265. height: $controlArrowSize;
  266. @include arrowTransform( $angle );
  267. &:hover {
  268. @include arrowTransform( $angleHover );
  269. }
  270. &:active {
  271. @include arrowTransform( $angleActive );
  272. }
  273. }
  274. .navigate-left {
  275. right: $controlArrowSize + $controlArrowSpacing*2;
  276. bottom: $controlArrowSpacing + $controlArrowSize/2;
  277. transform: translateX( -10px );
  278. }
  279. .navigate-right {
  280. right: 0;
  281. bottom: $controlArrowSpacing + $controlArrowSize/2;
  282. transform: translateX( 10px );
  283. .pagination-arrow {
  284. transform: rotate( 180deg );
  285. }
  286. &.highlight {
  287. animation: bounce-right 2s 50 both ease-out;
  288. }
  289. }
  290. .navigate-up {
  291. right: $controlArrowSpacing + $controlArrowSize/2;
  292. bottom: $controlArrowSpacing*2 + $controlArrowSize;
  293. transform: translateY( -10px );
  294. .pagination-arrow {
  295. transform: rotate( 90deg );
  296. }
  297. }
  298. .navigate-down {
  299. right: $controlArrowSpacing + $controlArrowSize/2;
  300. bottom: 0;
  301. transform: translateY( 10px );
  302. .pagination-arrow {
  303. transform: rotate( -90deg );
  304. }
  305. &.highlight {
  306. animation: bounce-down 2s 50 both ease-out;
  307. }
  308. }
  309. // Back arrow style: "faded":
  310. // Deemphasize backwards navigation arrows in favor of drawing
  311. // attention to forwards navigation
  312. &[data-controls-back-arrows="faded"] .navigate-left.enabled,
  313. &[data-controls-back-arrows="faded"] .navigate-up.enabled {
  314. opacity: 0.3;
  315. &:hover {
  316. opacity: 1;
  317. }
  318. }
  319. // Back arrow style: "hidden":
  320. // Never show arrows for backwards navigation
  321. &[data-controls-back-arrows="hidden"] .navigate-left.enabled,
  322. &[data-controls-back-arrows="hidden"] .navigate-up.enabled {
  323. opacity: 0;
  324. visibility: hidden;
  325. }
  326. // Any control button that can be clicked is "enabled"
  327. .enabled {
  328. visibility: visible;
  329. opacity: 0.9;
  330. cursor: pointer;
  331. transform: none;
  332. }
  333. // Any control button that leads to showing or hiding
  334. // a fragment
  335. .enabled.fragmented {
  336. opacity: 0.5;
  337. }
  338. .enabled:hover,
  339. .enabled.fragmented:hover {
  340. opacity: 1;
  341. }
  342. }
  343. // Adjust the layout when there are no vertical slides
  344. .reveal:not(.has-vertical-slides) .controls .navigate-left {
  345. bottom: 1.2em;
  346. right: 2.2em + $controlArrowSize;
  347. }
  348. .reveal:not(.has-vertical-slides) .controls .navigate-right {
  349. bottom: 1.2em;
  350. right: 1.2em;
  351. }
  352. .reveal:not(.has-horizontal-slides) .controls .navigate-up {
  353. right: 1.2em;
  354. bottom: 2.2em + $controlArrowSize;
  355. }
  356. .reveal:not(.has-horizontal-slides) .controls .navigate-down {
  357. right: 1.2em;
  358. bottom: 1.2em;
  359. }
  360. .reveal.has-dark-background .controls {
  361. color: #fff;
  362. }
  363. .reveal.has-light-background .controls {
  364. color: #000;
  365. }
  366. // Edge aligned controls layout
  367. @media screen and (min-width: 500px) {
  368. $spacing: 8px;
  369. .reveal .controls[data-controls-layout="edges"] {
  370. & {
  371. top: 0;
  372. right: 0;
  373. bottom: 0;
  374. left: 0;
  375. }
  376. .navigate-left,
  377. .navigate-right,
  378. .navigate-up,
  379. .navigate-down {
  380. bottom: auto;
  381. right: auto;
  382. }
  383. .navigate-left {
  384. top: 50%;
  385. left: $spacing;
  386. }
  387. .navigate-right {
  388. top: 50%;
  389. right: $spacing;
  390. }
  391. .navigate-up {
  392. top: $spacing;
  393. left: 50%;
  394. }
  395. .navigate-down {
  396. bottom: $spacing;
  397. left: 50%;
  398. }
  399. }
  400. }
  401. /*********************************************
  402. * PROGRESS BAR
  403. *********************************************/
  404. .reveal .progress {
  405. position: fixed;
  406. display: none;
  407. height: 3px;
  408. width: 100%;
  409. bottom: 0;
  410. left: 0;
  411. z-index: 10;
  412. background-color: rgba( 0, 0, 0, 0.2 );
  413. }
  414. .reveal .progress:after {
  415. content: '';
  416. display: block;
  417. position: absolute;
  418. height: 10px;
  419. width: 100%;
  420. top: -10px;
  421. }
  422. .reveal .progress span {
  423. display: block;
  424. height: 100%;
  425. width: 0px;
  426. background-color: #000;
  427. transition: width 800ms cubic-bezier(0.260, 0.860, 0.440, 0.985);
  428. }
  429. /*********************************************
  430. * SLIDE NUMBER
  431. *********************************************/
  432. .reveal .slide-number {
  433. position: fixed;
  434. display: block;
  435. right: 8px;
  436. bottom: 8px;
  437. z-index: 31;
  438. font-family: Helvetica, sans-serif;
  439. font-size: 12px;
  440. line-height: 1;
  441. color: #fff;
  442. background-color: rgba( 0, 0, 0, 0.4 );
  443. padding: 5px;
  444. }
  445. .reveal .slide-number-delimiter {
  446. margin: 0 3px;
  447. }
  448. /*********************************************
  449. * SLIDES
  450. *********************************************/
  451. .reveal {
  452. position: relative;
  453. width: 100%;
  454. height: 100%;
  455. overflow: hidden;
  456. touch-action: none;
  457. }
  458. .reveal .slides {
  459. position: absolute;
  460. width: 100%;
  461. height: 100%;
  462. top: 0;
  463. right: 0;
  464. bottom: 0;
  465. left: 0;
  466. margin: auto;
  467. pointer-events: none;
  468. overflow: visible;
  469. z-index: 1;
  470. text-align: center;
  471. perspective: 600px;
  472. perspective-origin: 50% 40%;
  473. }
  474. .reveal .slides>section {
  475. -ms-perspective: 600px;
  476. }
  477. .reveal .slides>section,
  478. .reveal .slides>section>section {
  479. display: none;
  480. position: absolute;
  481. width: 100%;
  482. padding: 20px 0px;
  483. pointer-events: auto;
  484. z-index: 10;
  485. transform-style: flat;
  486. transition: transform-origin 800ms cubic-bezier(0.260, 0.860, 0.440, 0.985),
  487. transform 800ms cubic-bezier(0.260, 0.860, 0.440, 0.985),
  488. visibility 800ms cubic-bezier(0.260, 0.860, 0.440, 0.985),
  489. opacity 800ms cubic-bezier(0.260, 0.860, 0.440, 0.985);
  490. }
  491. /* Global transition speed settings */
  492. .reveal[data-transition-speed="fast"] .slides section {
  493. transition-duration: 400ms;
  494. }
  495. .reveal[data-transition-speed="slow"] .slides section {
  496. transition-duration: 1200ms;
  497. }
  498. /* Slide-specific transition speed overrides */
  499. .reveal .slides section[data-transition-speed="fast"] {
  500. transition-duration: 400ms;
  501. }
  502. .reveal .slides section[data-transition-speed="slow"] {
  503. transition-duration: 1200ms;
  504. }
  505. .reveal .slides>section.stack {
  506. padding-top: 0;
  507. padding-bottom: 0;
  508. }
  509. .reveal .slides>section.present,
  510. .reveal .slides>section>section.present {
  511. display: block;
  512. z-index: 11;
  513. opacity: 1;
  514. }
  515. .reveal .slides>section:empty,
  516. .reveal .slides>section>section:empty,
  517. .reveal .slides>section[data-background-interactive],
  518. .reveal .slides>section>section[data-background-interactive] {
  519. pointer-events: none;
  520. }
  521. .reveal.center,
  522. .reveal.center .slides,
  523. .reveal.center .slides section {
  524. min-height: 0 !important;
  525. }
  526. /* Don't allow interaction with invisible slides */
  527. .reveal .slides>section.future,
  528. .reveal .slides>section>section.future,
  529. .reveal .slides>section.past,
  530. .reveal .slides>section>section.past {
  531. pointer-events: none;
  532. }
  533. .reveal.overview .slides>section,
  534. .reveal.overview .slides>section>section {
  535. pointer-events: auto;
  536. }
  537. .reveal .slides>section.past,
  538. .reveal .slides>section.future,
  539. .reveal .slides>section>section.past,
  540. .reveal .slides>section>section.future {
  541. opacity: 0;
  542. }
  543. /*********************************************
  544. * Mixins for readability of transitions
  545. *********************************************/
  546. @mixin transition-global($style) {
  547. .reveal .slides section[data-transition=#{$style}],
  548. .reveal.#{$style} .slides section:not([data-transition]) {
  549. @content;
  550. }
  551. }
  552. @mixin transition-stack($style) {
  553. .reveal .slides section[data-transition=#{$style}].stack,
  554. .reveal.#{$style} .slides section.stack {
  555. @content;
  556. }
  557. }
  558. @mixin transition-horizontal-past($style) {
  559. .reveal .slides>section[data-transition=#{$style}].past,
  560. .reveal .slides>section[data-transition~=#{$style}-out].past,
  561. .reveal.#{$style} .slides>section:not([data-transition]).past {
  562. @content;
  563. }
  564. }
  565. @mixin transition-horizontal-future($style) {
  566. .reveal .slides>section[data-transition=#{$style}].future,
  567. .reveal .slides>section[data-transition~=#{$style}-in].future,
  568. .reveal.#{$style} .slides>section:not([data-transition]).future {
  569. @content;
  570. }
  571. }
  572. @mixin transition-vertical-past($style) {
  573. .reveal .slides>section>section[data-transition=#{$style}].past,
  574. .reveal .slides>section>section[data-transition~=#{$style}-out].past,
  575. .reveal.#{$style} .slides>section>section:not([data-transition]).past {
  576. @content;
  577. }
  578. }
  579. @mixin transition-vertical-future($style) {
  580. .reveal .slides>section>section[data-transition=#{$style}].future,
  581. .reveal .slides>section>section[data-transition~=#{$style}-in].future,
  582. .reveal.#{$style} .slides>section>section:not([data-transition]).future {
  583. @content;
  584. }
  585. }
  586. /*********************************************
  587. * SLIDE TRANSITION
  588. * Aliased 'linear' for backwards compatibility
  589. *********************************************/
  590. @each $stylename in slide, linear {
  591. .reveal.#{$stylename} section {
  592. backface-visibility: hidden;
  593. }
  594. @include transition-horizontal-past(#{$stylename}) {
  595. transform: translate(-150%, 0);
  596. }
  597. @include transition-horizontal-future(#{$stylename}) {
  598. transform: translate(150%, 0);
  599. }
  600. @include transition-vertical-past(#{$stylename}) {
  601. transform: translate(0, -150%);
  602. }
  603. @include transition-vertical-future(#{$stylename}) {
  604. transform: translate(0, 150%);
  605. }
  606. }
  607. /*********************************************
  608. * CONVEX TRANSITION
  609. * Aliased 'default' for backwards compatibility
  610. *********************************************/
  611. @each $stylename in default, convex {
  612. @include transition-stack(#{$stylename}) {
  613. transform-style: preserve-3d;
  614. }
  615. @include transition-horizontal-past(#{$stylename}) {
  616. transform: translate3d(-100%, 0, 0) rotateY(-90deg) translate3d(-100%, 0, 0);
  617. }
  618. @include transition-horizontal-future(#{$stylename}) {
  619. transform: translate3d(100%, 0, 0) rotateY(90deg) translate3d(100%, 0, 0);
  620. }
  621. @include transition-vertical-past(#{$stylename}) {
  622. transform: translate3d(0, -300px, 0) rotateX(70deg) translate3d(0, -300px, 0);
  623. }
  624. @include transition-vertical-future(#{$stylename}) {
  625. transform: translate3d(0, 300px, 0) rotateX(-70deg) translate3d(0, 300px, 0);
  626. }
  627. }
  628. /*********************************************
  629. * CONCAVE TRANSITION
  630. *********************************************/
  631. @include transition-stack(concave) {
  632. transform-style: preserve-3d;
  633. }
  634. @include transition-horizontal-past(concave) {
  635. transform: translate3d(-100%, 0, 0) rotateY(90deg) translate3d(-100%, 0, 0);
  636. }
  637. @include transition-horizontal-future(concave) {
  638. transform: translate3d(100%, 0, 0) rotateY(-90deg) translate3d(100%, 0, 0);
  639. }
  640. @include transition-vertical-past(concave) {
  641. transform: translate3d(0, -80%, 0) rotateX(-70deg) translate3d(0, -80%, 0);
  642. }
  643. @include transition-vertical-future(concave) {
  644. transform: translate3d(0, 80%, 0) rotateX(70deg) translate3d(0, 80%, 0);
  645. }
  646. /*********************************************
  647. * ZOOM TRANSITION
  648. *********************************************/
  649. @include transition-global(zoom) {
  650. transition-timing-function: ease;
  651. }
  652. @include transition-horizontal-past(zoom) {
  653. visibility: hidden;
  654. transform: scale(16);
  655. }
  656. @include transition-horizontal-future(zoom) {
  657. visibility: hidden;
  658. transform: scale(0.2);
  659. }
  660. @include transition-vertical-past(zoom) {
  661. transform: translate(0, -150%);
  662. }
  663. @include transition-vertical-future(zoom) {
  664. transform: translate(0, 150%);
  665. }
  666. /*********************************************
  667. * CUBE TRANSITION
  668. *
  669. * WARNING:
  670. * this is deprecated and will be removed in a
  671. * future version.
  672. *********************************************/
  673. .reveal.cube .slides {
  674. perspective: 1300px;
  675. }
  676. .reveal.cube .slides section {
  677. padding: 30px;
  678. min-height: 700px;
  679. backface-visibility: hidden;
  680. box-sizing: border-box;
  681. transform-style: preserve-3d;
  682. }
  683. .reveal.center.cube .slides section {
  684. min-height: 0;
  685. }
  686. .reveal.cube .slides section:not(.stack):before {
  687. content: '';
  688. position: absolute;
  689. display: block;
  690. width: 100%;
  691. height: 100%;
  692. left: 0;
  693. top: 0;
  694. background: rgba(0,0,0,0.1);
  695. border-radius: 4px;
  696. transform: translateZ( -20px );
  697. }
  698. .reveal.cube .slides section:not(.stack):after {
  699. content: '';
  700. position: absolute;
  701. display: block;
  702. width: 90%;
  703. height: 30px;
  704. left: 5%;
  705. bottom: 0;
  706. background: none;
  707. z-index: 1;
  708. border-radius: 4px;
  709. box-shadow: 0px 95px 25px rgba(0,0,0,0.2);
  710. transform: translateZ(-90px) rotateX( 65deg );
  711. }
  712. .reveal.cube .slides>section.stack {
  713. padding: 0;
  714. background: none;
  715. }
  716. .reveal.cube .slides>section.past {
  717. transform-origin: 100% 0%;
  718. transform: translate3d(-100%, 0, 0) rotateY(-90deg);
  719. }
  720. .reveal.cube .slides>section.future {
  721. transform-origin: 0% 0%;
  722. transform: translate3d(100%, 0, 0) rotateY(90deg);
  723. }
  724. .reveal.cube .slides>section>section.past {
  725. transform-origin: 0% 100%;
  726. transform: translate3d(0, -100%, 0) rotateX(90deg);
  727. }
  728. .reveal.cube .slides>section>section.future {
  729. transform-origin: 0% 0%;
  730. transform: translate3d(0, 100%, 0) rotateX(-90deg);
  731. }
  732. /*********************************************
  733. * PAGE TRANSITION
  734. *
  735. * WARNING:
  736. * this is deprecated and will be removed in a
  737. * future version.
  738. *********************************************/
  739. .reveal.page .slides {
  740. perspective-origin: 0% 50%;
  741. perspective: 3000px;
  742. }
  743. .reveal.page .slides section {
  744. padding: 30px;
  745. min-height: 700px;
  746. box-sizing: border-box;
  747. transform-style: preserve-3d;
  748. }
  749. .reveal.page .slides section.past {
  750. z-index: 12;
  751. }
  752. .reveal.page .slides section:not(.stack):before {
  753. content: '';
  754. position: absolute;
  755. display: block;
  756. width: 100%;
  757. height: 100%;
  758. left: 0;
  759. top: 0;
  760. background: rgba(0,0,0,0.1);
  761. transform: translateZ( -20px );
  762. }
  763. .reveal.page .slides section:not(.stack):after {
  764. content: '';
  765. position: absolute;
  766. display: block;
  767. width: 90%;
  768. height: 30px;
  769. left: 5%;
  770. bottom: 0;
  771. background: none;
  772. z-index: 1;
  773. border-radius: 4px;
  774. box-shadow: 0px 95px 25px rgba(0,0,0,0.2);
  775. -webkit-transform: translateZ(-90px) rotateX( 65deg );
  776. }
  777. .reveal.page .slides>section.stack {
  778. padding: 0;
  779. background: none;
  780. }
  781. .reveal.page .slides>section.past {
  782. transform-origin: 0% 0%;
  783. transform: translate3d(-40%, 0, 0) rotateY(-80deg);
  784. }
  785. .reveal.page .slides>section.future {
  786. transform-origin: 100% 0%;
  787. transform: translate3d(0, 0, 0);
  788. }
  789. .reveal.page .slides>section>section.past {
  790. transform-origin: 0% 0%;
  791. transform: translate3d(0, -40%, 0) rotateX(80deg);
  792. }
  793. .reveal.page .slides>section>section.future {
  794. transform-origin: 0% 100%;
  795. transform: translate3d(0, 0, 0);
  796. }
  797. /*********************************************
  798. * FADE TRANSITION
  799. *********************************************/
  800. .reveal .slides section[data-transition=fade],
  801. .reveal.fade .slides section:not([data-transition]),
  802. .reveal.fade .slides>section>section:not([data-transition]) {
  803. transform: none;
  804. transition: opacity 0.5s;
  805. }
  806. .reveal.fade.overview .slides section,
  807. .reveal.fade.overview .slides>section>section {
  808. transition: none;
  809. }
  810. /*********************************************
  811. * NO TRANSITION
  812. *********************************************/
  813. @include transition-global(none) {
  814. transform: none;
  815. transition: none;
  816. }
  817. /*********************************************
  818. * PAUSED MODE
  819. *********************************************/
  820. .reveal .pause-overlay {
  821. position: absolute;
  822. top: 0;
  823. left: 0;
  824. width: 100%;
  825. height: 100%;
  826. background: black;
  827. visibility: hidden;
  828. opacity: 0;
  829. z-index: 100;
  830. transition: all 1s ease;
  831. }
  832. .reveal.paused .pause-overlay {
  833. visibility: visible;
  834. opacity: 1;
  835. }
  836. /*********************************************
  837. * FALLBACK
  838. *********************************************/
  839. .no-transforms {
  840. overflow-y: auto;
  841. }
  842. .no-transforms .reveal .slides {
  843. position: relative;
  844. width: 80%;
  845. height: auto !important;
  846. top: 0;
  847. left: 50%;
  848. margin: 0;
  849. text-align: center;
  850. }
  851. .no-transforms .reveal .controls,
  852. .no-transforms .reveal .progress {
  853. display: none !important;
  854. }
  855. .no-transforms .reveal .slides section {
  856. display: block !important;
  857. opacity: 1 !important;
  858. position: relative !important;
  859. height: auto;
  860. min-height: 0;
  861. top: 0;
  862. left: -50%;
  863. margin: 70px 0;
  864. transform: none;
  865. }
  866. .no-transforms .reveal .slides section section {
  867. left: 0;
  868. }
  869. .reveal .no-transition,
  870. .reveal .no-transition * {
  871. transition: none !important;
  872. }
  873. /*********************************************
  874. * PER-SLIDE BACKGROUNDS
  875. *********************************************/
  876. .reveal .backgrounds {
  877. position: absolute;
  878. width: 100%;
  879. height: 100%;
  880. top: 0;
  881. left: 0;
  882. perspective: 600px;
  883. }
  884. .reveal .slide-background {
  885. display: none;
  886. position: absolute;
  887. width: 100%;
  888. height: 100%;
  889. opacity: 0;
  890. visibility: hidden;
  891. overflow: hidden;
  892. background-color: rgba( 0, 0, 0, 0 );
  893. background-position: 50% 50%;
  894. background-repeat: no-repeat;
  895. background-size: cover;
  896. transition: all 800ms cubic-bezier(0.260, 0.860, 0.440, 0.985);
  897. }
  898. .reveal .slide-background.stack {
  899. display: block;
  900. }
  901. .reveal .slide-background.present {
  902. opacity: 1;
  903. visibility: visible;
  904. z-index: 2;
  905. }
  906. .print-pdf .reveal .slide-background {
  907. opacity: 1 !important;
  908. visibility: visible !important;
  909. }
  910. /* Video backgrounds */
  911. .reveal .slide-background video {
  912. position: absolute;
  913. width: 100%;
  914. height: 100%;
  915. max-width: none;
  916. max-height: none;
  917. top: 0;
  918. left: 0;
  919. object-fit: cover;
  920. }
  921. .reveal .slide-background[data-background-size="contain"] video {
  922. object-fit: contain;
  923. }
  924. /* Immediate transition style */
  925. .reveal[data-background-transition=none]>.backgrounds .slide-background,
  926. .reveal>.backgrounds .slide-background[data-background-transition=none] {
  927. transition: none;
  928. }
  929. /* Slide */
  930. .reveal[data-background-transition=slide]>.backgrounds .slide-background,
  931. .reveal>.backgrounds .slide-background[data-background-transition=slide] {
  932. opacity: 1;
  933. backface-visibility: hidden;
  934. }
  935. .reveal[data-background-transition=slide]>.backgrounds .slide-background.past,
  936. .reveal>.backgrounds .slide-background.past[data-background-transition=slide] {
  937. transform: translate(-100%, 0);
  938. }
  939. .reveal[data-background-transition=slide]>.backgrounds .slide-background.future,
  940. .reveal>.backgrounds .slide-background.future[data-background-transition=slide] {
  941. transform: translate(100%, 0);
  942. }
  943. .reveal[data-background-transition=slide]>.backgrounds .slide-background>.slide-background.past,
  944. .reveal>.backgrounds .slide-background>.slide-background.past[data-background-transition=slide] {
  945. transform: translate(0, -100%);
  946. }
  947. .reveal[data-background-transition=slide]>.backgrounds .slide-background>.slide-background.future,
  948. .reveal>.backgrounds .slide-background>.slide-background.future[data-background-transition=slide] {
  949. transform: translate(0, 100%);
  950. }
  951. /* Convex */
  952. .reveal[data-background-transition=convex]>.backgrounds .slide-background.past,
  953. .reveal>.backgrounds .slide-background.past[data-background-transition=convex] {
  954. opacity: 0;
  955. transform: translate3d(-100%, 0, 0) rotateY(-90deg) translate3d(-100%, 0, 0);
  956. }
  957. .reveal[data-background-transition=convex]>.backgrounds .slide-background.future,
  958. .reveal>.backgrounds .slide-background.future[data-background-transition=convex] {
  959. opacity: 0;
  960. transform: translate3d(100%, 0, 0) rotateY(90deg) translate3d(100%, 0, 0);
  961. }
  962. .reveal[data-background-transition=convex]>.backgrounds .slide-background>.slide-background.past,
  963. .reveal>.backgrounds .slide-background>.slide-background.past[data-background-transition=convex] {
  964. opacity: 0;
  965. transform: translate3d(0, -100%, 0) rotateX(90deg) translate3d(0, -100%, 0);
  966. }
  967. .reveal[data-background-transition=convex]>.backgrounds .slide-background>.slide-background.future,
  968. .reveal>.backgrounds .slide-background>.slide-background.future[data-background-transition=convex] {
  969. opacity: 0;
  970. transform: translate3d(0, 100%, 0) rotateX(-90deg) translate3d(0, 100%, 0);
  971. }
  972. /* Concave */
  973. .reveal[data-background-transition=concave]>.backgrounds .slide-background.past,
  974. .reveal>.backgrounds .slide-background.past[data-background-transition=concave] {
  975. opacity: 0;
  976. transform: translate3d(-100%, 0, 0) rotateY(90deg) translate3d(-100%, 0, 0);
  977. }
  978. .reveal[data-background-transition=concave]>.backgrounds .slide-background.future,
  979. .reveal>.backgrounds .slide-background.future[data-background-transition=concave] {
  980. opacity: 0;
  981. transform: translate3d(100%, 0, 0) rotateY(-90deg) translate3d(100%, 0, 0);
  982. }
  983. .reveal[data-background-transition=concave]>.backgrounds .slide-background>.slide-background.past,
  984. .reveal>.backgrounds .slide-background>.slide-background.past[data-background-transition=concave] {
  985. opacity: 0;
  986. transform: translate3d(0, -100%, 0) rotateX(-90deg) translate3d(0, -100%, 0);
  987. }
  988. .reveal[data-background-transition=concave]>.backgrounds .slide-background>.slide-background.future,
  989. .reveal>.backgrounds .slide-background>.slide-background.future[data-background-transition=concave] {
  990. opacity: 0;
  991. transform: translate3d(0, 100%, 0) rotateX(90deg) translate3d(0, 100%, 0);
  992. }
  993. /* Zoom */
  994. .reveal[data-background-transition=zoom]>.backgrounds .slide-background,
  995. .reveal>.backgrounds .slide-background[data-background-transition=zoom] {
  996. transition-timing-function: ease;
  997. }
  998. .reveal[data-background-transition=zoom]>.backgrounds .slide-background.past,
  999. .reveal>.backgrounds .slide-background.past[data-background-transition=zoom] {
  1000. opacity: 0;
  1001. visibility: hidden;
  1002. transform: scale(16);
  1003. }
  1004. .reveal[data-background-transition=zoom]>.backgrounds .slide-background.future,
  1005. .reveal>.backgrounds .slide-background.future[data-background-transition=zoom] {
  1006. opacity: 0;
  1007. visibility: hidden;
  1008. transform: scale(0.2);
  1009. }
  1010. .reveal[data-background-transition=zoom]>.backgrounds .slide-background>.slide-background.past,
  1011. .reveal>.backgrounds .slide-background>.slide-background.past[data-background-transition=zoom] {
  1012. opacity: 0;
  1013. visibility: hidden;
  1014. transform: scale(16);
  1015. }
  1016. .reveal[data-background-transition=zoom]>.backgrounds .slide-background>.slide-background.future,
  1017. .reveal>.backgrounds .slide-background>.slide-background.future[data-background-transition=zoom] {
  1018. opacity: 0;
  1019. visibility: hidden;
  1020. transform: scale(0.2);
  1021. }
  1022. /* Global transition speed settings */
  1023. .reveal[data-transition-speed="fast"]>.backgrounds .slide-background {
  1024. transition-duration: 400ms;
  1025. }
  1026. .reveal[data-transition-speed="slow"]>.backgrounds .slide-background {
  1027. transition-duration: 1200ms;
  1028. }
  1029. /*********************************************
  1030. * OVERVIEW
  1031. *********************************************/
  1032. .reveal.overview {
  1033. perspective-origin: 50% 50%;
  1034. perspective: 700px;
  1035. .slides {
  1036. // Fixes overview rendering errors in FF48+, not applied to
  1037. // other browsers since it degrades performance
  1038. -moz-transform-style: preserve-3d;
  1039. }
  1040. .slides section {
  1041. height: 100%;
  1042. top: 0 !important;
  1043. opacity: 1 !important;
  1044. overflow: hidden;
  1045. visibility: visible !important;
  1046. cursor: pointer;
  1047. box-sizing: border-box;
  1048. }
  1049. .slides section:hover,
  1050. .slides section.present {
  1051. outline: 10px solid rgba(150,150,150,0.4);
  1052. outline-offset: 10px;
  1053. }
  1054. .slides section .fragment {
  1055. opacity: 1;
  1056. transition: none;
  1057. }
  1058. .slides section:after,
  1059. .slides section:before {
  1060. display: none !important;
  1061. }
  1062. .slides>section.stack {
  1063. padding: 0;
  1064. top: 0 !important;
  1065. background: none;
  1066. outline: none;
  1067. overflow: visible;
  1068. }
  1069. .backgrounds {
  1070. perspective: inherit;
  1071. // Fixes overview rendering errors in FF48+, not applied to
  1072. // other browsers since it degrades performance
  1073. -moz-transform-style: preserve-3d;
  1074. }
  1075. .backgrounds .slide-background {
  1076. opacity: 1;
  1077. visibility: visible;
  1078. // This can't be applied to the slide itself in Safari
  1079. outline: 10px solid rgba(150,150,150,0.1);
  1080. outline-offset: 10px;
  1081. }
  1082. .backgrounds .slide-background.stack {
  1083. overflow: visible;
  1084. }
  1085. }
  1086. // Disable transitions transitions while we're activating
  1087. // or deactivating the overview mode.
  1088. .reveal.overview .slides section,
  1089. .reveal.overview-deactivating .slides section {
  1090. transition: none;
  1091. }
  1092. .reveal.overview .backgrounds .slide-background,
  1093. .reveal.overview-deactivating .backgrounds .slide-background {
  1094. transition: none;
  1095. }
  1096. /*********************************************
  1097. * RTL SUPPORT
  1098. *********************************************/
  1099. .reveal.rtl .slides,
  1100. .reveal.rtl .slides h1,
  1101. .reveal.rtl .slides h2,
  1102. .reveal.rtl .slides h3,
  1103. .reveal.rtl .slides h4,
  1104. .reveal.rtl .slides h5,
  1105. .reveal.rtl .slides h6 {
  1106. direction: rtl;
  1107. font-family: sans-serif;
  1108. }
  1109. .reveal.rtl pre,
  1110. .reveal.rtl code {
  1111. direction: ltr;
  1112. }
  1113. .reveal.rtl ol,
  1114. .reveal.rtl ul {
  1115. text-align: right;
  1116. }
  1117. .reveal.rtl .progress span {
  1118. float: right
  1119. }
  1120. /*********************************************
  1121. * PARALLAX BACKGROUND
  1122. *********************************************/
  1123. .reveal.has-parallax-background .backgrounds {
  1124. transition: all 0.8s ease;
  1125. }
  1126. /* Global transition speed settings */
  1127. .reveal.has-parallax-background[data-transition-speed="fast"] .backgrounds {
  1128. transition-duration: 400ms;
  1129. }
  1130. .reveal.has-parallax-background[data-transition-speed="slow"] .backgrounds {
  1131. transition-duration: 1200ms;
  1132. }
  1133. /*********************************************
  1134. * LINK PREVIEW OVERLAY
  1135. *********************************************/
  1136. .reveal .overlay {
  1137. position: absolute;
  1138. top: 0;
  1139. left: 0;
  1140. width: 100%;
  1141. height: 100%;
  1142. z-index: 1000;
  1143. background: rgba( 0, 0, 0, 0.9 );
  1144. opacity: 0;
  1145. visibility: hidden;
  1146. transition: all 0.3s ease;
  1147. }
  1148. .reveal .overlay.visible {
  1149. opacity: 1;
  1150. visibility: visible;
  1151. }
  1152. .reveal .overlay .spinner {
  1153. position: absolute;
  1154. display: block;
  1155. top: 50%;
  1156. left: 50%;
  1157. width: 32px;
  1158. height: 32px;
  1159. margin: -16px 0 0 -16px;
  1160. z-index: 10;
  1161. background-image: url(data:image/gif;base64,R0lGODlhIAAgAPMAAJmZmf%2F%2F%2F6%2Bvr8nJybW1tcDAwOjo6Nvb26ioqKOjo7Ozs%2FLy8vz8%2FAAAAAAAAAAAACH%2FC05FVFNDQVBFMi4wAwEAAAAh%2FhpDcmVhdGVkIHdpdGggYWpheGxvYWQuaW5mbwAh%2BQQJCgAAACwAAAAAIAAgAAAE5xDISWlhperN52JLhSSdRgwVo1ICQZRUsiwHpTJT4iowNS8vyW2icCF6k8HMMBkCEDskxTBDAZwuAkkqIfxIQyhBQBFvAQSDITM5VDW6XNE4KagNh6Bgwe60smQUB3d4Rz1ZBApnFASDd0hihh12BkE9kjAJVlycXIg7CQIFA6SlnJ87paqbSKiKoqusnbMdmDC2tXQlkUhziYtyWTxIfy6BE8WJt5YJvpJivxNaGmLHT0VnOgSYf0dZXS7APdpB309RnHOG5gDqXGLDaC457D1zZ%2FV%2FnmOM82XiHRLYKhKP1oZmADdEAAAh%2BQQJCgAAACwAAAAAIAAgAAAE6hDISWlZpOrNp1lGNRSdRpDUolIG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CXaiBVEgULe0NJaxxtYksjh2NLkZISgDgJhHthkpU4mW6blRiYmZOlh4JWkDqILwUGBnE6TYEbCgevr0N1gH4At7gHiRpFaLNrrq8HNgAJA70AWxQIH1%2BvsYMDAzZQPC9VCNkDWUhGkuE5PxJNwiUK4UfLzOlD4WvzAHaoG9nxPi5d%2BjYUqfAhhykOFwJWiAAAIfkECQoAAAAsAAAAACAAIAAABPAQyElpUqnqzaciSoVkXVUMFaFSwlpOCcMYlErAavhOMnNLNo8KsZsMZItJEIDIFSkLGQoQTNhIsFehRww2CQLKF0tYGKYSg%2BygsZIuNqJksKgbfgIGepNo2cIUB3V1B3IvNiBYNQaDSTtfhhx0CwVPI0UJe0%2Bbm4g5VgcGoqOcnjmjqDSdnhgEoamcsZuXO1aWQy8KAwOAuTYYGwi7w5h%2BKr0SJ8MFihpNbx%2B4Erq7BYBuzsdiH1jCAzoSfl0rVirNbRXlBBlLX%2BBP0XJLAPGzTkAuAOqb0WT5AH7OcdCm5B8TgRwSRKIHQtaLCwg1RAAAOwAAAAAAAAAAAA%3D%3D);
  1162. visibility: visible;
  1163. opacity: 0.6;
  1164. transition: all 0.3s ease;
  1165. }
  1166. .reveal .overlay header {
  1167. position: absolute;
  1168. left: 0;
  1169. top: 0;
  1170. width: 100%;
  1171. height: 40px;
  1172. z-index: 2;
  1173. border-bottom: 1px solid #222;
  1174. }
  1175. .reveal .overlay header a {
  1176. display: inline-block;
  1177. width: 40px;
  1178. height: 40px;
  1179. line-height: 36px;
  1180. padding: 0 10px;
  1181. float: right;
  1182. opacity: 0.6;
  1183. box-sizing: border-box;
  1184. }
  1185. .reveal .overlay header a:hover {
  1186. opacity: 1;
  1187. }
  1188. .reveal .overlay header a .icon {
  1189. display: inline-block;
  1190. width: 20px;
  1191. height: 20px;
  1192. background-position: 50% 50%;
  1193. background-size: 100%;
  1194. background-repeat: no-repeat;
  1195. }
  1196. .reveal .overlay header a.close .icon {
  1197. background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAYAAABzenr0AAABkklEQVRYR8WX4VHDMAxG6wnoJrABZQPYBCaBTWAD2g1gE5gg6OOsXuxIlr40d81dfrSJ9V4c2VLK7spHuTJ/5wpM07QXuXc5X0opX2tEJcadjHuV80li/FgxTIEK/5QBCICBD6xEhSMGHgQPgBgLiYVAB1dpSqKDawxTohFw4JSEA3clzgIBPCURwE2JucBR7rhPJJv5OpJwDX+SfDjgx1wACQeJG1aChP9K/IMmdZ8DtESV1WyP3Bt4MwM6sj4NMxMYiqUWHQu4KYA/SYkIjOsm3BXYWMKFDwU2khjCQ4ELJUJ4SmClRArOCmSXGuKma0fYD5CbzHxFpCSGAhfAVSSUGDUk2BWZaff2g6GE15BsBQ9nwmpIGDiyHQddwNTMKkbZaf9fajXQca1EX44puJZUsnY0ObGmITE3GVLCbEhQUjGVt146j6oasWN+49Vph2w1pZ5EansNZqKBm1txbU57iRRcZ86RWMDdWtBJUHBHwoQPi1GV+JCbntmvok7iTX4/Up9mgyTc/FJYDTcndgH/AA5A/CHsyEkVAAAAAElFTkSuQmCC);
  1198. }
  1199. .reveal .overlay header a.external .icon {
  1200. background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAYAAABzenr0AAAAcElEQVRYR+2WSQoAIQwEzf8f7XiOMkUQxUPlGkM3hVmiQfQR9GYnH1SsAQlI4DiBqkCMoNb9y2e90IAEJPAcgdznU9+engMaeJ7Azh5Y1U67gAho4DqBqmB1buAf0MB1AlVBek83ZPkmJMGc1wAR+AAqod/B97TRpQAAAABJRU5ErkJggg==);
  1201. }
  1202. .reveal .overlay .viewport {
  1203. position: absolute;
  1204. display: flex;
  1205. top: 40px;
  1206. right: 0;
  1207. bottom: 0;
  1208. left: 0;
  1209. }
  1210. .reveal .overlay.overlay-preview .viewport iframe {
  1211. width: 100%;
  1212. height: 100%;
  1213. max-width: 100%;
  1214. max-height: 100%;
  1215. border: 0;
  1216. opacity: 0;
  1217. visibility: hidden;
  1218. transition: all 0.3s ease;
  1219. }
  1220. .reveal .overlay.overlay-preview.loaded .viewport iframe {
  1221. opacity: 1;
  1222. visibility: visible;
  1223. }
  1224. .reveal .overlay.overlay-preview.loaded .viewport-inner {
  1225. position: absolute;
  1226. z-index: -1;
  1227. left: 0;
  1228. top: 45%;
  1229. width: 100%;
  1230. text-align: center;
  1231. letter-spacing: normal;
  1232. }
  1233. .reveal .overlay.overlay-preview .x-frame-error {
  1234. opacity: 0;
  1235. transition: opacity 0.3s ease 0.3s;
  1236. }
  1237. .reveal .overlay.overlay-preview.loaded .x-frame-error {
  1238. opacity: 1;
  1239. }
  1240. .reveal .overlay.overlay-preview.loaded .spinner {
  1241. opacity: 0;
  1242. visibility: hidden;
  1243. transform: scale(0.2);
  1244. }
  1245. .reveal .overlay.overlay-help .viewport {
  1246. overflow: auto;
  1247. color: #fff;
  1248. }
  1249. .reveal .overlay.overlay-help .viewport .viewport-inner {
  1250. width: 600px;
  1251. margin: auto;
  1252. padding: 20px 20px 80px 20px;
  1253. text-align: center;
  1254. letter-spacing: normal;
  1255. }
  1256. .reveal .overlay.overlay-help .viewport .viewport-inner .title {
  1257. font-size: 20px;
  1258. }
  1259. .reveal .overlay.overlay-help .viewport .viewport-inner table {
  1260. border: 1px solid #fff;
  1261. border-collapse: collapse;
  1262. font-size: 16px;
  1263. }
  1264. .reveal .overlay.overlay-help .viewport .viewport-inner table th,
  1265. .reveal .overlay.overlay-help .viewport .viewport-inner table td {
  1266. width: 200px;
  1267. padding: 14px;
  1268. border: 1px solid #fff;
  1269. vertical-align: middle;
  1270. }
  1271. .reveal .overlay.overlay-help .viewport .viewport-inner table th {
  1272. padding-top: 20px;
  1273. padding-bottom: 20px;
  1274. }
  1275. /*********************************************
  1276. * PLAYBACK COMPONENT
  1277. *********************************************/
  1278. .reveal .playback {
  1279. position: fixed;
  1280. left: 15px;
  1281. bottom: 20px;
  1282. z-index: 30;
  1283. cursor: pointer;
  1284. transition: all 400ms ease;
  1285. }
  1286. .reveal.overview .playback {
  1287. opacity: 0;
  1288. visibility: hidden;
  1289. }
  1290. /*********************************************
  1291. * ROLLING LINKS
  1292. *********************************************/
  1293. .reveal .roll {
  1294. display: inline-block;
  1295. line-height: 1.2;
  1296. overflow: hidden;
  1297. vertical-align: top;
  1298. perspective: 400px;
  1299. perspective-origin: 50% 50%;
  1300. }
  1301. .reveal .roll:hover {
  1302. background: none;
  1303. text-shadow: none;
  1304. }
  1305. .reveal .roll span {
  1306. display: block;
  1307. position: relative;
  1308. padding: 0 2px;
  1309. pointer-events: none;
  1310. transition: all 400ms ease;
  1311. transform-origin: 50% 0%;
  1312. transform-style: preserve-3d;
  1313. backface-visibility: hidden;
  1314. }
  1315. .reveal .roll:hover span {
  1316. background: rgba(0,0,0,0.5);
  1317. transform: translate3d( 0px, 0px, -45px ) rotateX( 90deg );
  1318. }
  1319. .reveal .roll span:after {
  1320. content: attr(data-title);
  1321. display: block;
  1322. position: absolute;
  1323. left: 0;
  1324. top: 0;
  1325. padding: 0 2px;
  1326. backface-visibility: hidden;
  1327. transform-origin: 50% 0%;
  1328. transform: translate3d( 0px, 110%, 0px ) rotateX( -90deg );
  1329. }
  1330. /*********************************************
  1331. * SPEAKER NOTES
  1332. *********************************************/
  1333. // Hide on-page notes
  1334. .reveal aside.notes {
  1335. display: none;
  1336. }
  1337. // An interface element that can optionally be used to show the
  1338. // speaker notes to all viewers, on top of the presentation
  1339. .reveal .speaker-notes {
  1340. display: none;
  1341. position: absolute;
  1342. width: 20vw;
  1343. height: 100%;
  1344. top: 0;
  1345. left: 100%;
  1346. padding: 14px;
  1347. z-index: 1;
  1348. font-size: 18px;
  1349. line-height: 1.4;
  1350. color: #222;
  1351. background-color: #f5f5f5;
  1352. overflow: auto;
  1353. box-sizing: border-box;
  1354. text-align: left;
  1355. font-family: Helvetica, sans-serif;
  1356. -webkit-overflow-scrolling: touch;
  1357. &:before {
  1358. content: 'Speaker notes';
  1359. display: block;
  1360. margin-bottom: 10px;
  1361. opacity: 0.5;
  1362. }
  1363. }
  1364. .reveal.show-notes {
  1365. max-width: 80vw;
  1366. overflow: visible;
  1367. }
  1368. .reveal.show-notes .speaker-notes {
  1369. display: block;
  1370. }
  1371. @media screen and (max-width: 1024px) {
  1372. .reveal.show-notes {
  1373. max-width: none;
  1374. max-height: 70vh;
  1375. overflow: visible;
  1376. }
  1377. .reveal.show-notes .speaker-notes {
  1378. top: 70vh;
  1379. left: 0;
  1380. width: 100%;
  1381. height: 30vh;
  1382. }
  1383. }
  1384. @media screen and (max-width: 600px) {
  1385. .reveal .speaker-notes {
  1386. font-size: 14px;
  1387. }
  1388. }
  1389. /*********************************************
  1390. * ZOOM PLUGIN
  1391. *********************************************/
  1392. .zoomed .reveal *,
  1393. .zoomed .reveal *:before,
  1394. .zoomed .reveal *:after {
  1395. backface-visibility: visible !important;
  1396. }
  1397. .zoomed .reveal .progress,
  1398. .zoomed .reveal .controls {
  1399. opacity: 0;
  1400. }
  1401. .zoomed .reveal .roll span {
  1402. background: none;
  1403. }
  1404. .zoomed .reveal .roll span:after {
  1405. visibility: hidden;
  1406. }