reveal.scss 42 KB

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