reveal.css 33 KB

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