reveal.scss 37 KB

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