reveal.scss 43 KB

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