reveal.css 31 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261
  1. @charset "UTF-8";
  2. /*!
  3. * reveal.js
  4. * http://lab.hakim.se/reveal-js
  5. * MIT licensed
  6. *
  7. * Copyright (C) 2013 Hakim El Hattab, http://hakim.se
  8. */
  9. /*********************************************
  10. * RESET STYLES
  11. *********************************************/
  12. html, body, .reveal div, .reveal span, .reveal applet, .reveal object, .reveal iframe,
  13. .reveal h1, .reveal h2, .reveal h3, .reveal h4, .reveal h5, .reveal h6, .reveal p, .reveal blockquote, .reveal pre,
  14. .reveal a, .reveal abbr, .reveal acronym, .reveal address, .reveal big, .reveal cite, .reveal code,
  15. .reveal del, .reveal dfn, .reveal em, .reveal img, .reveal ins, .reveal kbd, .reveal q, .reveal s, .reveal samp,
  16. .reveal small, .reveal strike, .reveal strong, .reveal sub, .reveal sup, .reveal tt, .reveal var,
  17. .reveal b, .reveal u, .reveal i, .reveal center,
  18. .reveal dl, .reveal dt, .reveal dd, .reveal ol, .reveal ul, .reveal li,
  19. .reveal fieldset, .reveal form, .reveal label, .reveal legend,
  20. .reveal table, .reveal caption, .reveal tbody, .reveal tfoot, .reveal thead, .reveal tr, .reveal th, .reveal td,
  21. .reveal article, .reveal aside, .reveal canvas, .reveal details, .reveal embed,
  22. .reveal figure, .reveal figcaption, .reveal footer, .reveal header, .reveal hgroup,
  23. .reveal menu, .reveal nav, .reveal output, .reveal ruby, .reveal section, .reveal summary,
  24. .reveal time, .reveal mark, .reveal audio, video {
  25. margin: 0;
  26. padding: 0;
  27. border: 0;
  28. font-size: 100%;
  29. font: inherit;
  30. vertical-align: baseline;
  31. }
  32. .reveal article, .reveal aside, .reveal details, .reveal figcaption, .reveal figure,
  33. .reveal footer, .reveal header, .reveal hgroup, .reveal menu, .reveal nav, .reveal section {
  34. display: block;
  35. }
  36. /*********************************************
  37. * GLOBAL STYLES
  38. *********************************************/
  39. html,
  40. body {
  41. width: 100%;
  42. height: 100%;
  43. overflow: hidden;
  44. }
  45. body {
  46. position: relative;
  47. line-height: 1;
  48. }
  49. ::selection {
  50. background: #FF5E99;
  51. color: #fff;
  52. text-shadow: none;
  53. }
  54. /*********************************************
  55. * HEADERS
  56. *********************************************/
  57. .reveal h1,
  58. .reveal h2,
  59. .reveal h3,
  60. .reveal h4,
  61. .reveal h5,
  62. .reveal h6 {
  63. -webkit-hyphens: auto;
  64. -moz-hyphens: auto;
  65. hyphens: auto;
  66. word-wrap: break-word;
  67. }
  68. .reveal h1 { font-size: 3.77em; }
  69. .reveal h2 { font-size: 2.11em; }
  70. .reveal h3 { font-size: 1.55em; }
  71. .reveal h4 { font-size: 1em; }
  72. /*********************************************
  73. * VIEW FRAGMENTS
  74. *********************************************/
  75. .reveal .slides section .fragment {
  76. opacity: 0;
  77. -webkit-transition: all .2s ease;
  78. -moz-transition: all .2s ease;
  79. -ms-transition: all .2s ease;
  80. -o-transition: all .2s ease;
  81. transition: all .2s ease;
  82. }
  83. .reveal .slides section .fragment.visible {
  84. opacity: 1;
  85. }
  86. .reveal .slides section .fragment.grow {
  87. opacity: 1;
  88. }
  89. .reveal .slides section .fragment.grow.visible {
  90. -webkit-transform: scale( 1.3 );
  91. -moz-transform: scale( 1.3 );
  92. -ms-transform: scale( 1.3 );
  93. -o-transform: scale( 1.3 );
  94. transform: scale( 1.3 );
  95. }
  96. .reveal .slides section .fragment.shrink {
  97. opacity: 1;
  98. }
  99. .reveal .slides section .fragment.shrink.visible {
  100. -webkit-transform: scale( 0.7 );
  101. -moz-transform: scale( 0.7 );
  102. -ms-transform: scale( 0.7 );
  103. -o-transform: scale( 0.7 );
  104. transform: scale( 0.7 );
  105. }
  106. .reveal .slides section .fragment.roll-in {
  107. opacity: 0;
  108. -webkit-transform: rotateX( 90deg );
  109. -moz-transform: rotateX( 90deg );
  110. -ms-transform: rotateX( 90deg );
  111. -o-transform: rotateX( 90deg );
  112. transform: rotateX( 90deg );
  113. }
  114. .reveal .slides section .fragment.roll-in.visible {
  115. opacity: 1;
  116. -webkit-transform: rotateX( 0 );
  117. -moz-transform: rotateX( 0 );
  118. -ms-transform: rotateX( 0 );
  119. -o-transform: rotateX( 0 );
  120. transform: rotateX( 0 );
  121. }
  122. .reveal .slides section .fragment.fade-out {
  123. opacity: 1;
  124. }
  125. .reveal .slides section .fragment.fade-out.visible {
  126. opacity: 0;
  127. }
  128. .reveal .slides section .fragment.highlight-red,
  129. .reveal .slides section .fragment.highlight-green,
  130. .reveal .slides section .fragment.highlight-blue {
  131. opacity: 1;
  132. }
  133. .reveal .slides section .fragment.highlight-red.visible {
  134. color: #ff2c2d
  135. }
  136. .reveal .slides section .fragment.highlight-green.visible {
  137. color: #17ff2e;
  138. }
  139. .reveal .slides section .fragment.highlight-blue.visible {
  140. color: #1b91ff;
  141. }
  142. /*********************************************
  143. * DEFAULT ELEMENT STYLES
  144. *********************************************/
  145. /* Fixes issue in Chrome where italic fonts did not appear when printing to PDF */
  146. .reveal:after {
  147. content: '';
  148. font-style: italic;
  149. }
  150. /* Ensure certain elements are never larger than the slide itself */
  151. .reveal img,
  152. .reveal video,
  153. .reveal iframe {
  154. max-width: 95%;
  155. max-height: 95%;
  156. }
  157. /** Prevents layering issues in certain browser/transition combinations */
  158. .reveal a {
  159. position: relative;
  160. }
  161. .reveal strong,
  162. .reveal b {
  163. font-weight: bold;
  164. }
  165. .reveal em,
  166. .reveal i {
  167. font-style: italic;
  168. }
  169. .reveal ol,
  170. .reveal ul {
  171. display: inline-block;
  172. text-align: left;
  173. margin: 0 0 0 1em;
  174. }
  175. .reveal ol {
  176. list-style-type: decimal;
  177. }
  178. .reveal ul {
  179. list-style-type: disc;
  180. }
  181. .reveal ul ul {
  182. list-style-type: square;
  183. }
  184. .reveal ul ul ul {
  185. list-style-type: circle;
  186. }
  187. .reveal ul ul,
  188. .reveal ul ol,
  189. .reveal ol ol,
  190. .reveal ol ul {
  191. display: block;
  192. margin-left: 40px;
  193. }
  194. .reveal p {
  195. margin-bottom: 10px;
  196. line-height: 1.2em;
  197. }
  198. .reveal q,
  199. .reveal blockquote {
  200. quotes: none;
  201. }
  202. .reveal blockquote {
  203. display: block;
  204. position: relative;
  205. width: 70%;
  206. margin: 5px auto;
  207. padding: 5px;
  208. font-style: italic;
  209. background: rgba(255, 255, 255, 0.05);
  210. box-shadow: 0px 0px 2px rgba(0,0,0,0.2);
  211. }
  212. .reveal blockquote p:first-child,
  213. .reveal blockquote p:last-child {
  214. display: inline-block;
  215. }
  216. .reveal blockquote:before {
  217. content: '\201C';
  218. }
  219. .reveal blockquote:after {
  220. content: '\201D';
  221. }
  222. .reveal q {
  223. font-style: italic;
  224. }
  225. .reveal q:before {
  226. content: '\201C';
  227. }
  228. .reveal q:after {
  229. content: '\201D';
  230. }
  231. .reveal pre {
  232. display: block;
  233. position: relative;
  234. width: 90%;
  235. margin: 15px auto;
  236. text-align: left;
  237. font-size: 0.55em;
  238. font-family: monospace;
  239. line-height: 1.2em;
  240. word-wrap: break-word;
  241. box-shadow: 0px 0px 6px rgba(0,0,0,0.3);
  242. }
  243. .reveal pre code {
  244. padding: 5px;
  245. }
  246. .reveal code {
  247. font-family: monospace;
  248. overflow: auto;
  249. max-height: 400px;
  250. }
  251. .reveal table th,
  252. .reveal table td {
  253. text-align: left;
  254. padding-right: .3em;
  255. }
  256. .reveal table th {
  257. text-shadow: rgb(255,255,255) 1px 1px 2px;
  258. }
  259. .reveal sup {
  260. vertical-align: super;
  261. }
  262. .reveal sub {
  263. vertical-align: sub;
  264. }
  265. .reveal small {
  266. display: inline-block;
  267. font-size: 0.6em;
  268. line-height: 1.2em;
  269. vertical-align: top;
  270. }
  271. .reveal small * {
  272. vertical-align: top;
  273. }
  274. /*********************************************
  275. * CONTROLS
  276. *********************************************/
  277. .reveal .controls {
  278. display: none;
  279. position: fixed;
  280. width: 110px;
  281. height: 110px;
  282. z-index: 30;
  283. right: 10px;
  284. bottom: 10px;
  285. }
  286. .reveal .controls div {
  287. position: absolute;
  288. opacity: 0.1;
  289. width: 0;
  290. height: 0;
  291. border: 12px solid transparent;
  292. -webkit-transition: opacity 0.2s ease;
  293. -moz-transition: opacity 0.2s ease;
  294. -ms-transition: opacity 0.2s ease;
  295. -o-transition: opacity 0.2s ease;
  296. transition: opacity 0.2s ease;
  297. }
  298. .reveal .controls div.enabled {
  299. opacity: 0.6;
  300. cursor: pointer;
  301. }
  302. .reveal .controls div.enabled:active {
  303. margin-top: 1px;
  304. }
  305. .reveal .controls div.navigate-left {
  306. top: 42px;
  307. border-right-width: 22px;
  308. border-right-color: #eee;
  309. }
  310. .reveal .controls div.navigate-right {
  311. left: 74px;
  312. top: 42px;
  313. border-left-width: 22px;
  314. border-left-color: #eee;
  315. }
  316. .reveal .controls div.navigate-up {
  317. left: 42px;
  318. border-bottom-width: 22px;
  319. border-bottom-color: #eee;
  320. }
  321. .reveal .controls div.navigate-down {
  322. left: 42px;
  323. top: 74px;
  324. border-top-width: 22px;
  325. border-top-color: #eee;
  326. }
  327. /*********************************************
  328. * PROGRESS BAR
  329. *********************************************/
  330. .reveal .progress {
  331. position: fixed;
  332. display: none;
  333. height: 3px;
  334. width: 100%;
  335. bottom: 0;
  336. left: 0;
  337. z-index: 10;
  338. }
  339. .reveal .progress:after {
  340. content: '';
  341. display: 'block';
  342. position: absolute;
  343. height: 20px;
  344. width: 100%;
  345. top: -20px;
  346. }
  347. .reveal .progress span {
  348. display: block;
  349. height: 100%;
  350. width: 0px;
  351. -webkit-transition: width 800ms cubic-bezier(0.260, 0.860, 0.440, 0.985);
  352. -moz-transition: width 800ms cubic-bezier(0.260, 0.860, 0.440, 0.985);
  353. -ms-transition: width 800ms cubic-bezier(0.260, 0.860, 0.440, 0.985);
  354. -o-transition: width 800ms cubic-bezier(0.260, 0.860, 0.440, 0.985);
  355. transition: width 800ms cubic-bezier(0.260, 0.860, 0.440, 0.985);
  356. }
  357. /*********************************************
  358. * ROLLING LINKS
  359. *********************************************/
  360. .reveal .roll {
  361. display: inline-block;
  362. line-height: 1.2;
  363. overflow: hidden;
  364. vertical-align: top;
  365. -webkit-perspective: 400px;
  366. -moz-perspective: 400px;
  367. -ms-perspective: 400px;
  368. perspective: 400px;
  369. -webkit-perspective-origin: 50% 50%;
  370. -moz-perspective-origin: 50% 50%;
  371. -ms-perspective-origin: 50% 50%;
  372. perspective-origin: 50% 50%;
  373. }
  374. .reveal .roll:hover {
  375. background: none;
  376. text-shadow: none;
  377. }
  378. .reveal .roll span {
  379. display: block;
  380. position: relative;
  381. padding: 0 2px;
  382. pointer-events: none;
  383. -webkit-transition: all 400ms ease;
  384. -moz-transition: all 400ms ease;
  385. -ms-transition: all 400ms ease;
  386. transition: all 400ms ease;
  387. -webkit-transform-origin: 50% 0%;
  388. -moz-transform-origin: 50% 0%;
  389. -ms-transform-origin: 50% 0%;
  390. transform-origin: 50% 0%;
  391. -webkit-transform-style: preserve-3d;
  392. -moz-transform-style: preserve-3d;
  393. -ms-transform-style: preserve-3d;
  394. transform-style: preserve-3d;
  395. -webkit-backface-visibility: hidden;
  396. -moz-backface-visibility: hidden;
  397. backface-visibility: hidden;
  398. }
  399. .reveal .roll:hover span {
  400. background: rgba(0,0,0,0.5);
  401. -webkit-transform: translate3d( 0px, 0px, -45px ) rotateX( 90deg );
  402. -moz-transform: translate3d( 0px, 0px, -45px ) rotateX( 90deg );
  403. -ms-transform: translate3d( 0px, 0px, -45px ) rotateX( 90deg );
  404. transform: translate3d( 0px, 0px, -45px ) rotateX( 90deg );
  405. }
  406. .reveal .roll span:after {
  407. content: attr(data-title);
  408. display: block;
  409. position: absolute;
  410. left: 0;
  411. top: 0;
  412. padding: 0 2px;
  413. -webkit-transform-origin: 50% 0%;
  414. -moz-transform-origin: 50% 0%;
  415. -ms-transform-origin: 50% 0%;
  416. transform-origin: 50% 0%;
  417. -webkit-transform: translate3d( 0px, 110%, 0px ) rotateX( -90deg );
  418. -moz-transform: translate3d( 0px, 110%, 0px ) rotateX( -90deg );
  419. -ms-transform: translate3d( 0px, 110%, 0px ) rotateX( -90deg );
  420. transform: translate3d( 0px, 110%, 0px ) rotateX( -90deg );
  421. }
  422. /*********************************************
  423. * SLIDES
  424. *********************************************/
  425. .reveal {
  426. position: relative;
  427. width: 100%;
  428. height: 100%;
  429. }
  430. .reveal .slides {
  431. position: absolute;
  432. width: 100%;
  433. height: 100%;
  434. left: 50%;
  435. top: 50%;
  436. overflow: visible;
  437. z-index: 1;
  438. text-align: center;
  439. -webkit-transition: -webkit-perspective .4s ease;
  440. -moz-transition: -moz-perspective .4s ease;
  441. -ms-transition: -ms-perspective .4s ease;
  442. -o-transition: -o-perspective .4s ease;
  443. transition: perspective .4s ease;
  444. -webkit-perspective: 600px;
  445. -moz-perspective: 600px;
  446. -ms-perspective: 600px;
  447. perspective: 600px;
  448. -webkit-perspective-origin: 0px -100px;
  449. -moz-perspective-origin: 0px -100px;
  450. -ms-perspective-origin: 0px -100px;
  451. perspective-origin: 0px -100px;
  452. }
  453. .reveal .slides>section,
  454. .reveal .slides>section>section {
  455. display: none;
  456. position: absolute;
  457. width: 100%;
  458. padding: 20px 0px;
  459. z-index: 10;
  460. line-height: 1.2em;
  461. font-weight: normal;
  462. -webkit-transform-style: preserve-3d;
  463. -moz-transform-style: preserve-3d;
  464. -ms-transform-style: preserve-3d;
  465. transform-style: preserve-3d;
  466. -webkit-transition: -webkit-transform-origin 800ms cubic-bezier(0.260, 0.860, 0.440, 0.985),
  467. -webkit-transform 800ms cubic-bezier(0.260, 0.860, 0.440, 0.985),
  468. visibility 800ms cubic-bezier(0.260, 0.860, 0.440, 0.985),
  469. opacity 800ms cubic-bezier(0.260, 0.860, 0.440, 0.985);
  470. -moz-transition: -moz-transform-origin 800ms cubic-bezier(0.260, 0.860, 0.440, 0.985),
  471. -moz-transform 800ms cubic-bezier(0.260, 0.860, 0.440, 0.985),
  472. visibility 800ms cubic-bezier(0.260, 0.860, 0.440, 0.985),
  473. opacity 800ms cubic-bezier(0.260, 0.860, 0.440, 0.985);
  474. -ms-transition: -ms-transform-origin 800ms cubic-bezier(0.260, 0.860, 0.440, 0.985),
  475. -ms-transform 800ms cubic-bezier(0.260, 0.860, 0.440, 0.985),
  476. visibility 800ms cubic-bezier(0.260, 0.860, 0.440, 0.985),
  477. opacity 800ms cubic-bezier(0.260, 0.860, 0.440, 0.985);
  478. -o-transition: -o-transform-origin 800ms cubic-bezier(0.260, 0.860, 0.440, 0.985),
  479. -o-transform 800ms cubic-bezier(0.260, 0.860, 0.440, 0.985),
  480. visibility 800ms cubic-bezier(0.260, 0.860, 0.440, 0.985),
  481. opacity 800ms cubic-bezier(0.260, 0.860, 0.440, 0.985);
  482. transition: transform-origin 800ms cubic-bezier(0.260, 0.860, 0.440, 0.985),
  483. transform 800ms cubic-bezier(0.260, 0.860, 0.440, 0.985),
  484. visibility 800ms cubic-bezier(0.260, 0.860, 0.440, 0.985),
  485. opacity 800ms cubic-bezier(0.260, 0.860, 0.440, 0.985);
  486. }
  487. .reveal .slides>section {
  488. left: -50%;
  489. top: -50%;
  490. }
  491. .reveal .slides>section.stack {
  492. padding-top: 0;
  493. padding-bottom: 0;
  494. }
  495. .reveal .slides>section.present,
  496. .reveal .slides>section>section.present {
  497. display: block;
  498. z-index: 11;
  499. opacity: 1;
  500. }
  501. .reveal.center,
  502. .reveal.center .slides,
  503. .reveal.center .slides section {
  504. min-height: auto !important;
  505. }
  506. /*********************************************
  507. * DEFAULT TRANSITION
  508. *********************************************/
  509. .reveal .slides>section.past {
  510. display: block;
  511. opacity: 0;
  512. -webkit-transform: translate3d(-100%, 0, 0) rotateY(-90deg) translate3d(-100%, 0, 0);
  513. -moz-transform: translate3d(-100%, 0, 0) rotateY(-90deg) translate3d(-100%, 0, 0);
  514. -ms-transform: translate3d(-100%, 0, 0) rotateY(-90deg) translate3d(-100%, 0, 0);
  515. transform: translate3d(-100%, 0, 0) rotateY(-90deg) translate3d(-100%, 0, 0);
  516. }
  517. .reveal .slides>section.future {
  518. display: block;
  519. opacity: 0;
  520. -webkit-transform: translate3d(100%, 0, 0) rotateY(90deg) translate3d(100%, 0, 0);
  521. -moz-transform: translate3d(100%, 0, 0) rotateY(90deg) translate3d(100%, 0, 0);
  522. -ms-transform: translate3d(100%, 0, 0) rotateY(90deg) translate3d(100%, 0, 0);
  523. transform: translate3d(100%, 0, 0) rotateY(90deg) translate3d(100%, 0, 0);
  524. }
  525. .reveal .slides>section>section.past {
  526. display: block;
  527. opacity: 0;
  528. -webkit-transform: translate3d(0, -300px, 0) rotateX(70deg) translate3d(0, -300px, 0);
  529. -moz-transform: translate3d(0, -300px, 0) rotateX(70deg) translate3d(0, -300px, 0);
  530. -ms-transform: translate3d(0, -300px, 0) rotateX(70deg) translate3d(0, -300px, 0);
  531. transform: translate3d(0, -300px, 0) rotateX(70deg) translate3d(0, -300px, 0);
  532. }
  533. .reveal .slides>section>section.future {
  534. display: block;
  535. opacity: 0;
  536. -webkit-transform: translate3d(0, 300px, 0) rotateX(-70deg) translate3d(0, 300px, 0);
  537. -moz-transform: translate3d(0, 300px, 0) rotateX(-70deg) translate3d(0, 300px, 0);
  538. -ms-transform: translate3d(0, 300px, 0) rotateX(-70deg) translate3d(0, 300px, 0);
  539. transform: translate3d(0, 300px, 0) rotateX(-70deg) translate3d(0, 300px, 0);
  540. }
  541. /*********************************************
  542. * CONCAVE TRANSITION
  543. *********************************************/
  544. .reveal.concave .slides>section.past {
  545. -webkit-transform: translate3d(-100%, 0, 0) rotateY(90deg) translate3d(-100%, 0, 0);
  546. -moz-transform: translate3d(-100%, 0, 0) rotateY(90deg) translate3d(-100%, 0, 0);
  547. -ms-transform: translate3d(-100%, 0, 0) rotateY(90deg) translate3d(-100%, 0, 0);
  548. transform: translate3d(-100%, 0, 0) rotateY(90deg) translate3d(-100%, 0, 0);
  549. }
  550. .reveal.concave .slides>section.future {
  551. -webkit-transform: translate3d(100%, 0, 0) rotateY(-90deg) translate3d(100%, 0, 0);
  552. -moz-transform: translate3d(100%, 0, 0) rotateY(-90deg) translate3d(100%, 0, 0);
  553. -ms-transform: translate3d(100%, 0, 0) rotateY(-90deg) translate3d(100%, 0, 0);
  554. transform: translate3d(100%, 0, 0) rotateY(-90deg) translate3d(100%, 0, 0);
  555. }
  556. .reveal.concave .slides>section>section.past {
  557. -webkit-transform: translate3d(0, -80%, 0) rotateX(-70deg) translate3d(0, -80%, 0);
  558. -moz-transform: translate3d(0, -80%, 0) rotateX(-70deg) translate3d(0, -80%, 0);
  559. -ms-transform: translate3d(0, -80%, 0) rotateX(-70deg) translate3d(0, -80%, 0);
  560. transform: translate3d(0, -80%, 0) rotateX(-70deg) translate3d(0, -80%, 0);
  561. }
  562. .reveal.concave .slides>section>section.future {
  563. -webkit-transform: translate3d(0, 80%, 0) rotateX(70deg) translate3d(0, 80%, 0);
  564. -moz-transform: translate3d(0, 80%, 0) rotateX(70deg) translate3d(0, 80%, 0);
  565. -ms-transform: translate3d(0, 80%, 0) rotateX(70deg) translate3d(0, 80%, 0);
  566. transform: translate3d(0, 80%, 0) rotateX(70deg) translate3d(0, 80%, 0);
  567. }
  568. /*********************************************
  569. * ZOOM TRANSITION
  570. *********************************************/
  571. .reveal.zoom .slides>section.past {
  572. opacity: 0;
  573. visibility: hidden;
  574. -webkit-transform: scale(16);
  575. -moz-transform: scale(16);
  576. -ms-transform: scale(16);
  577. -o-transform: scale(16);
  578. transform: scale(16);
  579. }
  580. .reveal.zoom .slides>section.future {
  581. opacity: 0;
  582. visibility: hidden;
  583. -webkit-transform: scale(0.2);
  584. -moz-transform: scale(0.2);
  585. -ms-transform: scale(0.2);
  586. -o-transform: scale(0.2);
  587. transform: scale(0.2);
  588. }
  589. .reveal.zoom .slides>section>section.past {
  590. -webkit-transform: translate(0, -150%);
  591. -moz-transform: translate(0, -150%);
  592. -ms-transform: translate(0, -150%);
  593. -o-transform: translate(0, -150%);
  594. transform: translate(0, -150%);
  595. }
  596. .reveal.zoom .slides>section>section.future {
  597. -webkit-transform: translate(0, 150%);
  598. -moz-transform: translate(0, 150%);
  599. -ms-transform: translate(0, 150%);
  600. -o-transform: translate(0, 150%);
  601. transform: translate(0, 150%);
  602. }
  603. /*********************************************
  604. * LINEAR TRANSITION
  605. *********************************************/
  606. .reveal.linear .slides>section.past {
  607. -webkit-transform: translate(-150%, 0);
  608. -moz-transform: translate(-150%, 0);
  609. -ms-transform: translate(-150%, 0);
  610. -o-transform: translate(-150%, 0);
  611. transform: translate(-150%, 0);
  612. }
  613. .reveal.linear .slides>section.future {
  614. -webkit-transform: translate(150%, 0);
  615. -moz-transform: translate(150%, 0);
  616. -ms-transform: translate(150%, 0);
  617. -o-transform: translate(150%, 0);
  618. transform: translate(150%, 0);
  619. }
  620. .reveal.linear .slides>section>section.past {
  621. -webkit-transform: translate(0, -150%);
  622. -moz-transform: translate(0, -150%);
  623. -ms-transform: translate(0, -150%);
  624. -o-transform: translate(0, -150%);
  625. transform: translate(0, -150%);
  626. }
  627. .reveal.linear .slides>section>section.future {
  628. -webkit-transform: translate(0, 150%);
  629. -moz-transform: translate(0, 150%);
  630. -ms-transform: translate(0, 150%);
  631. -o-transform: translate(0, 150%);
  632. transform: translate(0, 150%);
  633. }
  634. /*********************************************
  635. * CUBE TRANSITION
  636. *********************************************/
  637. .reveal.cube .slides {
  638. -webkit-perspective: 1300px;
  639. -moz-perspective: 1300px;
  640. -ms-perspective: 1300px;
  641. perspective: 1300px;
  642. }
  643. .reveal.cube .slides section {
  644. padding: 30px;
  645. min-height: 600px;
  646. -webkit-backface-visibility: hidden;
  647. -moz-backface-visibility: hidden;
  648. -ms-backface-visibility: hidden;
  649. backface-visibility: hidden;
  650. -webkit-box-sizing: border-box;
  651. -moz-box-sizing: border-box;
  652. box-sizing: border-box;
  653. }
  654. .reveal.center.cube .slides section {
  655. min-height: auto;
  656. }
  657. .reveal.cube .slides section:not(.stack):before {
  658. content: '';
  659. position: absolute;
  660. display: block;
  661. width: 100%;
  662. height: 100%;
  663. left: 0;
  664. top: 0;
  665. background: rgba(0,0,0,0.1);
  666. border-radius: 4px;
  667. -webkit-transform: translateZ( -20px );
  668. -moz-transform: translateZ( -20px );
  669. -ms-transform: translateZ( -20px );
  670. -o-transform: translateZ( -20px );
  671. transform: translateZ( -20px );
  672. }
  673. .reveal.cube .slides section:not(.stack):after {
  674. content: '';
  675. position: absolute;
  676. display: block;
  677. width: 90%;
  678. height: 30px;
  679. left: 5%;
  680. bottom: 0;
  681. background: none;
  682. z-index: 1;
  683. border-radius: 4px;
  684. box-shadow: 0px 95px 25px rgba(0,0,0,0.2);
  685. -webkit-transform: translateZ(-90px) rotateX( 65deg );
  686. -moz-transform: translateZ(-90px) rotateX( 65deg );
  687. -ms-transform: translateZ(-90px) rotateX( 65deg );
  688. -o-transform: translateZ(-90px) rotateX( 65deg );
  689. transform: translateZ(-90px) rotateX( 65deg );
  690. }
  691. .reveal.cube .slides>section.stack {
  692. padding: 0;
  693. background: none;
  694. }
  695. .reveal.cube .slides>section.past {
  696. -webkit-transform-origin: 100% 0%;
  697. -moz-transform-origin: 100% 0%;
  698. -ms-transform-origin: 100% 0%;
  699. transform-origin: 100% 0%;
  700. -webkit-transform: translate3d(-100%, 0, 0) rotateY(-90deg);
  701. -moz-transform: translate3d(-100%, 0, 0) rotateY(-90deg);
  702. -ms-transform: translate3d(-100%, 0, 0) rotateY(-90deg);
  703. transform: translate3d(-100%, 0, 0) rotateY(-90deg);
  704. }
  705. .reveal.cube .slides>section.future {
  706. -webkit-transform-origin: 0% 0%;
  707. -moz-transform-origin: 0% 0%;
  708. -ms-transform-origin: 0% 0%;
  709. transform-origin: 0% 0%;
  710. -webkit-transform: translate3d(100%, 0, 0) rotateY(90deg);
  711. -moz-transform: translate3d(100%, 0, 0) rotateY(90deg);
  712. -ms-transform: translate3d(100%, 0, 0) rotateY(90deg);
  713. transform: translate3d(100%, 0, 0) rotateY(90deg);
  714. }
  715. .reveal.cube .slides>section>section.past {
  716. -webkit-transform-origin: 0% 100%;
  717. -moz-transform-origin: 0% 100%;
  718. -ms-transform-origin: 0% 100%;
  719. transform-origin: 0% 100%;
  720. -webkit-transform: translate3d(0, -100%, 0) rotateX(90deg);
  721. -moz-transform: translate3d(0, -100%, 0) rotateX(90deg);
  722. -ms-transform: translate3d(0, -100%, 0) rotateX(90deg);
  723. transform: translate3d(0, -100%, 0) rotateX(90deg);
  724. }
  725. .reveal.cube .slides>section>section.future {
  726. -webkit-transform-origin: 0% 0%;
  727. -moz-transform-origin: 0% 0%;
  728. -ms-transform-origin: 0% 0%;
  729. transform-origin: 0% 0%;
  730. -webkit-transform: translate3d(0, 100%, 0) rotateX(-90deg);
  731. -moz-transform: translate3d(0, 100%, 0) rotateX(-90deg);
  732. -ms-transform: translate3d(0, 100%, 0) rotateX(-90deg);
  733. transform: translate3d(0, 100%, 0) rotateX(-90deg);
  734. }
  735. /*********************************************
  736. * PAGE TRANSITION
  737. *********************************************/
  738. .reveal.page .slides {
  739. -webkit-perspective-origin: 0% 50%;
  740. -moz-perspective-origin: 0% 50%;
  741. -ms-perspective-origin: 0% 50%;
  742. perspective-origin: 0% 50%;
  743. -webkit-perspective: 3000px;
  744. -moz-perspective: 3000px;
  745. -ms-perspective: 3000px;
  746. perspective: 3000px;
  747. }
  748. .reveal.page .slides section {
  749. padding: 30px;
  750. min-height: 600px;
  751. -webkit-box-sizing: border-box;
  752. -moz-box-sizing: border-box;
  753. box-sizing: border-box;
  754. }
  755. .reveal.page .slides section.past {
  756. z-index: 12;
  757. }
  758. .reveal.page .slides section:not(.stack):before {
  759. content: '';
  760. position: absolute;
  761. display: block;
  762. width: 100%;
  763. height: 100%;
  764. left: 0;
  765. top: 0;
  766. background: rgba(0,0,0,0.1);
  767. -webkit-transform: translateZ( -20px );
  768. -moz-transform: translateZ( -20px );
  769. -ms-transform: translateZ( -20px );
  770. -o-transform: translateZ( -20px );
  771. transform: translateZ( -20px );
  772. }
  773. .reveal.page .slides section:not(.stack):after {
  774. content: '';
  775. position: absolute;
  776. display: block;
  777. width: 90%;
  778. height: 30px;
  779. left: 5%;
  780. bottom: 0;
  781. background: none;
  782. z-index: 1;
  783. border-radius: 4px;
  784. box-shadow: 0px 95px 25px rgba(0,0,0,0.2);
  785. -webkit-transform: translateZ(-90px) rotateX( 65deg );
  786. }
  787. .reveal.page .slides>section.stack {
  788. padding: 0;
  789. background: none;
  790. }
  791. .reveal.page .slides>section.past {
  792. -webkit-transform-origin: 0% 0%;
  793. -moz-transform-origin: 0% 0%;
  794. -ms-transform-origin: 0% 0%;
  795. transform-origin: 0% 0%;
  796. -webkit-transform: translate3d(-40%, 0, 0) rotateY(-80deg);
  797. -moz-transform: translate3d(-40%, 0, 0) rotateY(-80deg);
  798. -ms-transform: translate3d(-40%, 0, 0) rotateY(-80deg);
  799. transform: translate3d(-40%, 0, 0) rotateY(-80deg);
  800. }
  801. .reveal.page .slides>section.future {
  802. -webkit-transform-origin: 100% 0%;
  803. -moz-transform-origin: 100% 0%;
  804. -ms-transform-origin: 100% 0%;
  805. transform-origin: 100% 0%;
  806. -webkit-transform: translate3d(0, 0, 0);
  807. -moz-transform: translate3d(0, 0, 0);
  808. -ms-transform: translate3d(0, 0, 0);
  809. transform: translate3d(0, 0, 0);
  810. }
  811. .reveal.page .slides>section>section.past {
  812. -webkit-transform-origin: 0% 0%;
  813. -moz-transform-origin: 0% 0%;
  814. -ms-transform-origin: 0% 0%;
  815. transform-origin: 0% 0%;
  816. -webkit-transform: translate3d(0, -40%, 0) rotateX(80deg);
  817. -moz-transform: translate3d(0, -40%, 0) rotateX(80deg);
  818. -ms-transform: translate3d(0, -40%, 0) rotateX(80deg);
  819. transform: translate3d(0, -40%, 0) rotateX(80deg);
  820. }
  821. .reveal.page .slides>section>section.future {
  822. -webkit-transform-origin: 0% 100%;
  823. -moz-transform-origin: 0% 100%;
  824. -ms-transform-origin: 0% 100%;
  825. transform-origin: 0% 100%;
  826. -webkit-transform: translate3d(0, 0, 0);
  827. -moz-transform: translate3d(0, 0, 0);
  828. -ms-transform: translate3d(0, 0, 0);
  829. transform: translate3d(0, 0, 0);
  830. }
  831. /*********************************************
  832. * FADE TRANSITION
  833. *********************************************/
  834. .reveal.fade .slides section,
  835. .reveal.fade .slides>section>section {
  836. -webkit-transform: none;
  837. -moz-transform: none;
  838. -ms-transform: none;
  839. -o-transform: none;
  840. transform: none;
  841. -webkit-transition: opacity 0.5s;
  842. -moz-transition: opacity 0.5s;
  843. -ms-transition: opacity 0.5s;
  844. -o-transition: opacity 0.5s;
  845. transition: opacity 0.5s;
  846. }
  847. .reveal.fade.overview .slides section,
  848. .reveal.fade.overview .slides>section>section,
  849. .reveal.fade.exit-overview .slides section,
  850. .reveal.fade.exit-overview .slides>section>section {
  851. -webkit-transition: none;
  852. -moz-transition: none;
  853. -ms-transition: none;
  854. -o-transition: none;
  855. transition: none;
  856. }
  857. /*********************************************
  858. * NO TRANSITION
  859. *********************************************/
  860. .reveal.none .slides section {
  861. -webkit-transform: none;
  862. -moz-transform: none;
  863. -ms-transform: none;
  864. -o-transform: none;
  865. transform: none;
  866. -webkit-transition: none;
  867. -moz-transition: none;
  868. -ms-transition: none;
  869. -o-transition: none;
  870. transition: none;
  871. }
  872. /*********************************************
  873. * OVERVIEW
  874. *********************************************/
  875. .reveal.overview .slides {
  876. -webkit-perspective-origin: 0% 0%;
  877. -moz-perspective-origin: 0% 0%;
  878. -ms-perspective-origin: 0% 0%;
  879. perspective-origin: 0% 0%;
  880. -webkit-perspective: 700px;
  881. -moz-perspective: 700px;
  882. -ms-perspective: 700px;
  883. perspective: 700px;
  884. }
  885. .reveal.overview .slides section {
  886. height: 600px;
  887. overflow: hidden;
  888. opacity: 1!important;
  889. visibility: visible!important;
  890. cursor: pointer;
  891. background: rgba(0,0,0,0.1);
  892. }
  893. .reveal.overview .slides section .fragment {
  894. opacity: 1;
  895. }
  896. .reveal.overview .slides section:after,
  897. .reveal.overview .slides section:before {
  898. display: none !important;
  899. }
  900. .reveal.overview .slides section>section {
  901. opacity: 1;
  902. cursor: pointer;
  903. }
  904. .reveal.overview .slides section:hover {
  905. background: rgba(0,0,0,0.3);
  906. }
  907. .reveal.overview .slides section.present {
  908. background: rgba(0,0,0,0.3);
  909. }
  910. .reveal.overview .slides>section.stack {
  911. padding: 0;
  912. background: none;
  913. overflow: visible;
  914. }
  915. /*********************************************
  916. * PAUSED MODE
  917. *********************************************/
  918. .reveal .pause-overlay {
  919. position: absolute;
  920. top: 0;
  921. left: 0;
  922. width: 100%;
  923. height: 100%;
  924. background: black;
  925. visibility: hidden;
  926. opacity: 0;
  927. z-index: 100;
  928. -webkit-transition: all 1s ease;
  929. -moz-transition: all 1s ease;
  930. -ms-transition: all 1s ease;
  931. -o-transition: all 1s ease;
  932. transition: all 1s ease;
  933. }
  934. .reveal.paused .pause-overlay {
  935. visibility: visible;
  936. opacity: 1;
  937. }
  938. /*********************************************
  939. * FALLBACK
  940. *********************************************/
  941. .no-transforms {
  942. overflow-y: auto;
  943. }
  944. .no-transforms .slides {
  945. width: 80%;
  946. top: 0;
  947. left: 50%;
  948. margin: 0;
  949. text-align: center;
  950. }
  951. .no-transforms .slides section {
  952. display: block!important;
  953. opacity: 1!important;
  954. position: relative!important;
  955. height: auto;
  956. min-height: auto;
  957. top: 0;
  958. left: -50%;
  959. margin: 70px 0;
  960. -webkit-transform: none;
  961. -moz-transform: none;
  962. -ms-transform: none;
  963. transform: none;
  964. }
  965. .no-transforms .slides section section {
  966. left: 0;
  967. }
  968. .no-transition {
  969. -webkit-transition: none;
  970. -moz-transition: none;
  971. -ms-transition: none;
  972. -o-transition: none;
  973. transition: none;
  974. }
  975. /*********************************************
  976. * BACKGROUND STATES
  977. *********************************************/
  978. .reveal .state-background {
  979. position: absolute;
  980. width: 100%;
  981. height: 100%;
  982. background: rgba( 0, 0, 0, 0 );
  983. -webkit-transition: background 800ms ease;
  984. -moz-transition: background 800ms ease;
  985. -ms-transition: background 800ms ease;
  986. -o-transition: background 800ms ease;
  987. transition: background 800ms ease;
  988. }
  989. .alert .reveal .state-background {
  990. background: rgba( 200, 50, 30, 0.6 );
  991. }
  992. .soothe .reveal .state-background {
  993. background: rgba( 50, 200, 90, 0.4 );
  994. }
  995. .blackout .reveal .state-background {
  996. background: rgba( 0, 0, 0, 0.6 );
  997. }
  998. /*********************************************
  999. * RTL SUPPORT
  1000. *********************************************/
  1001. .reveal.rtl .slides,
  1002. .reveal.rtl .slides h1,
  1003. .reveal.rtl .slides h2,
  1004. .reveal.rtl .slides h3,
  1005. .reveal.rtl .slides h4,
  1006. .reveal.rtl .slides h5,
  1007. .reveal.rtl .slides h6 {
  1008. direction: rtl;
  1009. font-family: sans-serif;
  1010. }
  1011. .reveal.rtl pre,
  1012. .reveal.rtl code {
  1013. direction: ltr;
  1014. }
  1015. .reveal.rtl ol,
  1016. .reveal.rtl ul {
  1017. text-align: right;
  1018. }
  1019. /*********************************************
  1020. * SPEAKER NOTES
  1021. *********************************************/
  1022. .reveal aside.notes {
  1023. display: none;
  1024. }
  1025. /*********************************************
  1026. * ZOOM PLUGIN
  1027. *********************************************/
  1028. .zoomed .reveal *,
  1029. .zoomed .reveal *:before,
  1030. .zoomed .reveal *:after {
  1031. -webkit-transform: none !important;
  1032. -moz-transform: none !important;
  1033. -ms-transform: none !important;
  1034. transform: none !important;
  1035. -webkit-backface-visibility: visible !important;
  1036. -moz-backface-visibility: visible !important;
  1037. -ms-backface-visibility: visible !important;
  1038. backface-visibility: visible !important;
  1039. }
  1040. .zoomed .reveal .progress,
  1041. .zoomed .reveal .controls {
  1042. opacity: 0;
  1043. }
  1044. .zoomed .reveal .roll span {
  1045. background: none;
  1046. }
  1047. .zoomed .reveal .roll span:after {
  1048. visibility: hidden;
  1049. }