reveal.css 29 KB

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