reveal.css 29 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131
  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: 90px;
  265. height: 90px;
  266. z-index: 30;
  267. right: 10px;
  268. bottom: 10px;
  269. }
  270. .reveal .controls a {
  271. font-family: Arial;
  272. font-size: 0.83em;
  273. position: absolute;
  274. opacity: 0.1;
  275. }
  276. .reveal .controls a.enabled {
  277. opacity: 0.6;
  278. }
  279. .reveal .controls a.enabled:active {
  280. margin-top: 1px;
  281. }
  282. .reveal .controls .left {
  283. top: 30px;
  284. }
  285. .reveal .controls .right {
  286. left: 60px;
  287. top: 30px;
  288. }
  289. .reveal .controls .up {
  290. left: 30px;
  291. }
  292. .reveal .controls .down {
  293. left: 30px;
  294. top: 60px;
  295. }
  296. /*********************************************
  297. * PROGRESS BAR
  298. *********************************************/
  299. .reveal .progress {
  300. position: fixed;
  301. display: none;
  302. height: 3px;
  303. width: 100%;
  304. bottom: 0;
  305. left: 0;
  306. z-index: 10;
  307. }
  308. .reveal .progress:after {
  309. content: '';
  310. display: 'block';
  311. position: absolute;
  312. height: 20px;
  313. width: 100%;
  314. top: -20px;
  315. }
  316. .reveal .progress span {
  317. display: block;
  318. height: 100%;
  319. width: 0px;
  320. -webkit-transition: width 800ms cubic-bezier(0.260, 0.860, 0.440, 0.985);
  321. -moz-transition: width 800ms cubic-bezier(0.260, 0.860, 0.440, 0.985);
  322. -ms-transition: width 800ms cubic-bezier(0.260, 0.860, 0.440, 0.985);
  323. -o-transition: width 800ms cubic-bezier(0.260, 0.860, 0.440, 0.985);
  324. transition: width 800ms cubic-bezier(0.260, 0.860, 0.440, 0.985);
  325. }
  326. /*********************************************
  327. * ROLLING LINKS
  328. *********************************************/
  329. .reveal .roll {
  330. display: inline-block;
  331. line-height: 1.2;
  332. overflow: hidden;
  333. vertical-align: top;
  334. -webkit-perspective: 400px;
  335. -moz-perspective: 400px;
  336. -ms-perspective: 400px;
  337. perspective: 400px;
  338. -webkit-perspective-origin: 50% 50%;
  339. -moz-perspective-origin: 50% 50%;
  340. -ms-perspective-origin: 50% 50%;
  341. perspective-origin: 50% 50%;
  342. }
  343. .reveal .roll:hover {
  344. background: none;
  345. text-shadow: none;
  346. }
  347. .reveal .roll span {
  348. display: block;
  349. position: relative;
  350. padding: 0 2px;
  351. pointer-events: none;
  352. -webkit-transition: all 400ms ease;
  353. -moz-transition: all 400ms ease;
  354. -ms-transition: all 400ms ease;
  355. transition: all 400ms ease;
  356. -webkit-transform-origin: 50% 0%;
  357. -moz-transform-origin: 50% 0%;
  358. -ms-transform-origin: 50% 0%;
  359. transform-origin: 50% 0%;
  360. -webkit-transform-style: preserve-3d;
  361. -moz-transform-style: preserve-3d;
  362. -ms-transform-style: preserve-3d;
  363. transform-style: preserve-3d;
  364. -webkit-backface-visibility: hidden;
  365. -moz-backface-visibility: hidden;
  366. backface-visibility: hidden;
  367. }
  368. .reveal .roll:hover span {
  369. background: rgba(0,0,0,0.5);
  370. -webkit-transform: translate3d( 0px, 0px, -45px ) rotateX( 90deg );
  371. -moz-transform: translate3d( 0px, 0px, -45px ) rotateX( 90deg );
  372. -ms-transform: translate3d( 0px, 0px, -45px ) rotateX( 90deg );
  373. transform: translate3d( 0px, 0px, -45px ) rotateX( 90deg );
  374. }
  375. .reveal .roll span:after {
  376. content: attr(data-title);
  377. display: block;
  378. position: absolute;
  379. left: 0;
  380. top: 0;
  381. padding: 0 2px;
  382. -webkit-transform-origin: 50% 0%;
  383. -moz-transform-origin: 50% 0%;
  384. -ms-transform-origin: 50% 0%;
  385. transform-origin: 50% 0%;
  386. -webkit-transform: translate3d( 0px, 110%, 0px ) rotateX( -90deg );
  387. -moz-transform: translate3d( 0px, 110%, 0px ) rotateX( -90deg );
  388. -ms-transform: translate3d( 0px, 110%, 0px ) rotateX( -90deg );
  389. transform: translate3d( 0px, 110%, 0px ) rotateX( -90deg );
  390. }
  391. /*********************************************
  392. * SLIDES
  393. *********************************************/
  394. .reveal .slides {
  395. position: absolute;
  396. max-width: 900px;
  397. width: 80%;
  398. height: 60%;
  399. left: 50%;
  400. top: 50%;
  401. margin-top: -320px;
  402. padding: 20px 0px;
  403. overflow: visible;
  404. z-index: 1;
  405. text-align: center;
  406. -webkit-transition: -webkit-perspective .4s ease;
  407. -moz-transition: -moz-perspective .4s ease;
  408. -ms-transition: -ms-perspective .4s ease;
  409. -o-transition: -o-perspective .4s ease;
  410. transition: perspective .4s ease;
  411. -webkit-perspective: 600px;
  412. -moz-perspective: 600px;
  413. -ms-perspective: 600px;
  414. perspective: 600px;
  415. -webkit-perspective-origin: 0% 25%;
  416. -moz-perspective-origin: 0% 25%;
  417. -ms-perspective-origin: 0% 25%;
  418. perspective-origin: 0% 25%;
  419. }
  420. .reveal .slides>section,
  421. .reveal .slides>section>section {
  422. display: none;
  423. position: absolute;
  424. width: 100%;
  425. min-height: 600px;
  426. z-index: 10;
  427. -webkit-transform-style: preserve-3d;
  428. -moz-transform-style: preserve-3d;
  429. -ms-transform-style: preserve-3d;
  430. transform-style: preserve-3d;
  431. -webkit-transition: all 800ms cubic-bezier(0.260, 0.860, 0.440, 0.985);
  432. -moz-transition: all 800ms cubic-bezier(0.260, 0.860, 0.440, 0.985);
  433. -ms-transition: all 800ms cubic-bezier(0.260, 0.860, 0.440, 0.985);
  434. -o-transition: all 800ms cubic-bezier(0.260, 0.860, 0.440, 0.985);
  435. transition: all 800ms cubic-bezier(0.260, 0.860, 0.440, 0.985);
  436. }
  437. .reveal .slides>section.present {
  438. display: block;
  439. z-index: 11;
  440. opacity: 1;
  441. }
  442. .reveal .slides>section {
  443. margin-left: -50%;
  444. }
  445. /*********************************************
  446. * DEFAULT TRANSITION
  447. *********************************************/
  448. .reveal .slides>section.past {
  449. display: block;
  450. opacity: 0;
  451. -webkit-transform: translate3d(-100%, 0, 0) rotateY(-90deg) translate3d(-100%, 0, 0);
  452. -moz-transform: translate3d(-100%, 0, 0) rotateY(-90deg) translate3d(-100%, 0, 0);
  453. -ms-transform: translate3d(-100%, 0, 0) rotateY(-90deg) translate3d(-100%, 0, 0);
  454. transform: translate3d(-100%, 0, 0) rotateY(-90deg) translate3d(-100%, 0, 0);
  455. }
  456. .reveal .slides>section.future {
  457. display: block;
  458. opacity: 0;
  459. -webkit-transform: translate3d(100%, 0, 0) rotateY(90deg) translate3d(100%, 0, 0);
  460. -moz-transform: translate3d(100%, 0, 0) rotateY(90deg) translate3d(100%, 0, 0);
  461. -ms-transform: translate3d(100%, 0, 0) rotateY(90deg) translate3d(100%, 0, 0);
  462. transform: translate3d(100%, 0, 0) rotateY(90deg) translate3d(100%, 0, 0);
  463. }
  464. .reveal .slides>section>section.past {
  465. display: block;
  466. opacity: 0;
  467. -webkit-transform: translate3d(0, -50%, 0) rotateX(70deg) translate3d(0, -50%, 0);
  468. -moz-transform: translate3d(0, -50%, 0) rotateX(70deg) translate3d(0, -50%, 0);
  469. -ms-transform: translate3d(0, -50%, 0) rotateX(70deg) translate3d(0, -50%, 0);
  470. transform: translate3d(0, -50%, 0) rotateX(70deg) translate3d(0, -50%, 0);
  471. }
  472. .reveal .slides>section>section.future {
  473. display: block;
  474. opacity: 0;
  475. -webkit-transform: translate3d(0, 50%, 0) rotateX(-70deg) translate3d(0, 50%, 0);
  476. -moz-transform: translate3d(0, 50%, 0) rotateX(-70deg) translate3d(0, 50%, 0);
  477. -ms-transform: translate3d(0, 50%, 0) rotateX(-70deg) translate3d(0, 50%, 0);
  478. transform: translate3d(0, 50%, 0) rotateX(-70deg) translate3d(0, 50%, 0);
  479. }
  480. /*********************************************
  481. * CONCAVE TRANSITION
  482. *********************************************/
  483. .reveal.concave .slides>section.past {
  484. -webkit-transform: translate3d(-100%, 0, 0) rotateY(90deg) translate3d(-100%, 0, 0);
  485. -moz-transform: translate3d(-100%, 0, 0) rotateY(90deg) translate3d(-100%, 0, 0);
  486. -ms-transform: translate3d(-100%, 0, 0) rotateY(90deg) translate3d(-100%, 0, 0);
  487. transform: translate3d(-100%, 0, 0) rotateY(90deg) translate3d(-100%, 0, 0);
  488. }
  489. .reveal.concave .slides>section.future {
  490. -webkit-transform: translate3d(100%, 0, 0) rotateY(-90deg) translate3d(100%, 0, 0);
  491. -moz-transform: translate3d(100%, 0, 0) rotateY(-90deg) translate3d(100%, 0, 0);
  492. -ms-transform: translate3d(100%, 0, 0) rotateY(-90deg) translate3d(100%, 0, 0);
  493. transform: translate3d(100%, 0, 0) rotateY(-90deg) translate3d(100%, 0, 0);
  494. }
  495. .reveal.concave .slides>section>section.past {
  496. -webkit-transform: translate3d(0, -80%, 0) rotateX(-70deg) translate3d(0, -80%, 0);
  497. -moz-transform: translate3d(0, -80%, 0) rotateX(-70deg) translate3d(0, -80%, 0);
  498. -ms-transform: translate3d(0, -80%, 0) rotateX(-70deg) translate3d(0, -80%, 0);
  499. transform: translate3d(0, -80%, 0) rotateX(-70deg) translate3d(0, -80%, 0);
  500. }
  501. .reveal.concave .slides>section>section.future {
  502. -webkit-transform: translate3d(0, 80%, 0) rotateX(70deg) translate3d(0, 80%, 0);
  503. -moz-transform: translate3d(0, 80%, 0) rotateX(70deg) translate3d(0, 80%, 0);
  504. -ms-transform: translate3d(0, 80%, 0) rotateX(70deg) translate3d(0, 80%, 0);
  505. transform: translate3d(0, 80%, 0) rotateX(70deg) translate3d(0, 80%, 0);
  506. }
  507. /*********************************************
  508. * ZOOM TRANSITION
  509. *********************************************/
  510. .reveal.zoom .slides>section,
  511. .reveal.zoom .slides>section>section {
  512. -webkit-transition: all 600ms cubic-bezier(0.260, 0.860, 0.440, 0.985);
  513. -moz-transition: all 600ms cubic-bezier(0.260, 0.860, 0.440, 0.985);
  514. -ms-transition: all 600ms cubic-bezier(0.260, 0.860, 0.440, 0.985);
  515. -o-transition: all 600ms cubic-bezier(0.260, 0.860, 0.440, 0.985);
  516. transition: all 600ms cubic-bezier(0.260, 0.860, 0.440, 0.985);
  517. }
  518. .reveal.zoom .slides>section.past {
  519. opacity: 0;
  520. visibility: hidden;
  521. -webkit-transform: scale(16);
  522. -moz-transform: scale(16);
  523. -ms-transform: scale(16);
  524. -o-transform: scale(16);
  525. transform: scale(16);
  526. }
  527. .reveal.zoom .slides>section.future {
  528. opacity: 0;
  529. visibility: hidden;
  530. -webkit-transform: scale(0.2);
  531. -moz-transform: scale(0.2);
  532. -ms-transform: scale(0.2);
  533. -o-transform: scale(0.2);
  534. transform: scale(0.2);
  535. }
  536. .reveal.zoom .slides>section>section.past {
  537. -webkit-transform: translate(0, -150%);
  538. -moz-transform: translate(0, -150%);
  539. -ms-transform: translate(0, -150%);
  540. -o-transform: translate(0, -150%);
  541. transform: translate(0, -150%);
  542. }
  543. .reveal.zoom .slides>section>section.future {
  544. -webkit-transform: translate(0, 150%);
  545. -moz-transform: translate(0, 150%);
  546. -ms-transform: translate(0, 150%);
  547. -o-transform: translate(0, 150%);
  548. transform: translate(0, 150%);
  549. }
  550. /*********************************************
  551. * LINEAR TRANSITION
  552. *********************************************/
  553. .reveal.linear .slides>section.past {
  554. -webkit-transform: translate(-150%, 0);
  555. -moz-transform: translate(-150%, 0);
  556. -ms-transform: translate(-150%, 0);
  557. -o-transform: translate(-150%, 0);
  558. transform: translate(-150%, 0);
  559. }
  560. .reveal.linear .slides>section.future {
  561. -webkit-transform: translate(150%, 0);
  562. -moz-transform: translate(150%, 0);
  563. -ms-transform: translate(150%, 0);
  564. -o-transform: translate(150%, 0);
  565. transform: translate(150%, 0);
  566. }
  567. .reveal.linear .slides>section>section.past {
  568. -webkit-transform: translate(0, -150%);
  569. -moz-transform: translate(0, -150%);
  570. -ms-transform: translate(0, -150%);
  571. -o-transform: translate(0, -150%);
  572. transform: translate(0, -150%);
  573. }
  574. .reveal.linear .slides>section>section.future {
  575. -webkit-transform: translate(0, 150%);
  576. -moz-transform: translate(0, 150%);
  577. -ms-transform: translate(0, 150%);
  578. -o-transform: translate(0, 150%);
  579. transform: translate(0, 150%);
  580. }
  581. /*********************************************
  582. * CUBE TRANSITION
  583. *********************************************/
  584. .reveal.cube .slides {
  585. -webkit-perspective-origin: 0% 25%;
  586. -moz-perspective-origin: 0% 25%;
  587. -ms-perspective-origin: 0% 25%;
  588. perspective-origin: 0% 25%;
  589. -webkit-perspective: 1300px;
  590. -moz-perspective: 1300px;
  591. -ms-perspective: 1300px;
  592. perspective: 1300px;
  593. }
  594. .reveal.cube .slides section {
  595. padding: 30px;
  596. -webkit-backface-visibility: hidden;
  597. -moz-backface-visibility: hidden;
  598. -ms-backface-visibility: hidden;
  599. backface-visibility: hidden;
  600. -webkit-box-sizing: border-box;
  601. -moz-box-sizing: border-box;
  602. box-sizing: border-box;
  603. }
  604. .reveal.cube .slides section:not(.stack):before {
  605. content: '';
  606. position: absolute;
  607. display: block;
  608. width: 100%;
  609. height: 100%;
  610. left: 0;
  611. top: 0;
  612. background: rgba(0,0,0,0.1);
  613. border-radius: 4px;
  614. -webkit-transform: translateZ( -20px );
  615. -moz-transform: translateZ( -20px );
  616. -ms-transform: translateZ( -20px );
  617. -o-transform: translateZ( -20px );
  618. transform: translateZ( -20px );
  619. }
  620. .reveal.cube .slides section:not(.stack):after {
  621. content: '';
  622. position: absolute;
  623. display: block;
  624. width: 90%;
  625. height: 30px;
  626. left: 5%;
  627. bottom: 0;
  628. background: none;
  629. z-index: 1;
  630. border-radius: 4px;
  631. box-shadow: 0px 95px 25px rgba(0,0,0,0.2);
  632. -webkit-transform: translateZ(-90px) rotateX( 65deg );
  633. -moz-transform: translateZ(-90px) rotateX( 65deg );
  634. -ms-transform: translateZ(-90px) rotateX( 65deg );
  635. -o-transform: translateZ(-90px) rotateX( 65deg );
  636. transform: translateZ(-90px) rotateX( 65deg );
  637. }
  638. .reveal.cube .slides>section.stack {
  639. padding: 0;
  640. background: none;
  641. }
  642. .reveal.cube .slides>section.past {
  643. -webkit-transform-origin: 100% 0%;
  644. -moz-transform-origin: 100% 0%;
  645. -ms-transform-origin: 100% 0%;
  646. transform-origin: 100% 0%;
  647. -webkit-transform: translate3d(-100%, 0, 0) rotateY(-90deg);
  648. -moz-transform: translate3d(-100%, 0, 0) rotateY(-90deg);
  649. -ms-transform: translate3d(-100%, 0, 0) rotateY(-90deg);
  650. transform: translate3d(-100%, 0, 0) rotateY(-90deg);
  651. }
  652. .reveal.cube .slides>section.future {
  653. -webkit-transform-origin: 0% 0%;
  654. -moz-transform-origin: 0% 0%;
  655. -ms-transform-origin: 0% 0%;
  656. transform-origin: 0% 0%;
  657. -webkit-transform: translate3d(100%, 0, 0) rotateY(90deg);
  658. -moz-transform: translate3d(100%, 0, 0) rotateY(90deg);
  659. -ms-transform: translate3d(100%, 0, 0) rotateY(90deg);
  660. transform: translate3d(100%, 0, 0) rotateY(90deg);
  661. }
  662. .reveal.cube .slides>section>section.past {
  663. -webkit-transform-origin: 0% 100%;
  664. -moz-transform-origin: 0% 100%;
  665. -ms-transform-origin: 0% 100%;
  666. transform-origin: 0% 100%;
  667. -webkit-transform: translate3d(0, -100%, 0) rotateX(90deg);
  668. -moz-transform: translate3d(0, -100%, 0) rotateX(90deg);
  669. -ms-transform: translate3d(0, -100%, 0) rotateX(90deg);
  670. transform: translate3d(0, -100%, 0) rotateX(90deg);
  671. }
  672. .reveal.cube .slides>section>section.future {
  673. -webkit-transform-origin: 0% 0%;
  674. -moz-transform-origin: 0% 0%;
  675. -ms-transform-origin: 0% 0%;
  676. transform-origin: 0% 0%;
  677. -webkit-transform: translate3d(0, 100%, 0) rotateX(-90deg);
  678. -moz-transform: translate3d(0, 100%, 0) rotateX(-90deg);
  679. -ms-transform: translate3d(0, 100%, 0) rotateX(-90deg);
  680. transform: translate3d(0, 100%, 0) rotateX(-90deg);
  681. }
  682. /*********************************************
  683. * PAGE TRANSITION
  684. *********************************************/
  685. .reveal.page .slides {
  686. -webkit-perspective-origin: 0% 50%;
  687. -moz-perspective-origin: 0% 50%;
  688. -ms-perspective-origin: 0% 50%;
  689. perspective-origin: 0% 50%;
  690. -webkit-perspective: 3000px;
  691. -moz-perspective: 3000px;
  692. -ms-perspective: 3000px;
  693. perspective: 3000px;
  694. }
  695. .reveal.page .slides section {
  696. padding: 30px;
  697. -webkit-box-sizing: border-box;
  698. -moz-box-sizing: border-box;
  699. box-sizing: border-box;
  700. }
  701. .reveal.page .slides section.past {
  702. z-index: 12;
  703. }
  704. .reveal.page .slides section:not(.stack):before {
  705. content: '';
  706. position: absolute;
  707. display: block;
  708. width: 100%;
  709. height: 100%;
  710. left: 0;
  711. top: 0;
  712. background: rgba(0,0,0,0.1);
  713. -webkit-transform: translateZ( -20px );
  714. -moz-transform: translateZ( -20px );
  715. -ms-transform: translateZ( -20px );
  716. -o-transform: translateZ( -20px );
  717. transform: translateZ( -20px );
  718. }
  719. .reveal.page .slides section:not(.stack):after {
  720. content: '';
  721. position: absolute;
  722. display: block;
  723. width: 90%;
  724. height: 30px;
  725. left: 5%;
  726. bottom: 0;
  727. background: none;
  728. z-index: 1;
  729. border-radius: 4px;
  730. box-shadow: 0px 95px 25px rgba(0,0,0,0.2);
  731. -webkit-transform: translateZ(-90px) rotateX( 65deg );
  732. }
  733. .reveal.page .slides>section.stack {
  734. padding: 0;
  735. background: none;
  736. }
  737. .reveal.page .slides>section.past {
  738. -webkit-transform-origin: 0% 0%;
  739. -moz-transform-origin: 0% 0%;
  740. -ms-transform-origin: 0% 0%;
  741. transform-origin: 0% 0%;
  742. -webkit-transform: translate3d(-40%, 0, 0) rotateY(-80deg);
  743. -moz-transform: translate3d(-40%, 0, 0) rotateY(-80deg);
  744. -ms-transform: translate3d(-40%, 0, 0) rotateY(-80deg);
  745. transform: translate3d(-40%, 0, 0) rotateY(-80deg);
  746. }
  747. .reveal.page .slides>section.future {
  748. -webkit-transform-origin: 100% 0%;
  749. -moz-transform-origin: 100% 0%;
  750. -ms-transform-origin: 100% 0%;
  751. transform-origin: 100% 0%;
  752. -webkit-transform: translate3d(0, 0, 0);
  753. -moz-transform: translate3d(0, 0, 0);
  754. -ms-transform: translate3d(0, 0, 0);
  755. transform: translate3d(0, 0, 0);
  756. }
  757. .reveal.page .slides>section>section.past {
  758. -webkit-transform-origin: 0% 0%;
  759. -moz-transform-origin: 0% 0%;
  760. -ms-transform-origin: 0% 0%;
  761. transform-origin: 0% 0%;
  762. -webkit-transform: translate3d(0, -40%, 0) rotateX(80deg);
  763. -moz-transform: translate3d(0, -40%, 0) rotateX(80deg);
  764. -ms-transform: translate3d(0, -40%, 0) rotateX(80deg);
  765. transform: translate3d(0, -40%, 0) rotateX(80deg);
  766. }
  767. .reveal.page .slides>section>section.future {
  768. -webkit-transform-origin: 0% 100%;
  769. -moz-transform-origin: 0% 100%;
  770. -ms-transform-origin: 0% 100%;
  771. transform-origin: 0% 100%;
  772. -webkit-transform: translate3d(0, 0, 0);
  773. -moz-transform: translate3d(0, 0, 0);
  774. -ms-transform: translate3d(0, 0, 0);
  775. transform: translate3d(0, 0, 0);
  776. }
  777. /*********************************************
  778. * TILE-FLIP TRANSITION (CSS shader)
  779. *********************************************/
  780. .reveal.tileflip .slides section.present {
  781. -webkit-transform: none;
  782. -webkit-transition-duration: 800ms;
  783. -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),
  784. amount 0, randomness 0, flipAxis 0 1 0, tileOutline 1
  785. );
  786. }
  787. .reveal.tileflip .slides section.past {
  788. -webkit-transform: none;
  789. -webkit-transition-duration: 800ms;
  790. -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),
  791. amount 1, randomness 0, flipAxis 0 1 0, tileOutline 1
  792. );
  793. }
  794. .reveal.tileflip .slides section.future {
  795. -webkit-transform: none;
  796. -webkit-transition-duration: 800ms;
  797. -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),
  798. amount 1, randomness 0, flipAxis 0 1 0, tileOutline 1
  799. );
  800. }
  801. .reveal.tileflip .slides>section>section.present {
  802. -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),
  803. amount 0, randomness 2, flipAxis 1 0 0, tileOutline 1
  804. );
  805. }
  806. .reveal.tileflip .slides>section>section.past {
  807. -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),
  808. amount 1, randomness 2, flipAxis 1 0 0, tileOutline 1
  809. );
  810. }
  811. .reveal.tileflip .slides>section>section.future {
  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 2, flipAxis 1 0 0, tileOutline 1
  814. );
  815. }
  816. /*********************************************
  817. * NO TRANSITION
  818. *********************************************/
  819. .reveal.none .slides section {
  820. -webkit-transform: none;
  821. -moz-transform: none;
  822. -ms-transform: none;
  823. -o-transform: none;
  824. transform: none;
  825. -webkit-transition: none;
  826. -moz-transition: none;
  827. -ms-transition: none;
  828. -o-transition: none;
  829. transition: none;
  830. }
  831. /*********************************************
  832. * OVERVIEW
  833. *********************************************/
  834. .reveal.overview .slides {
  835. -webkit-perspective: 700px;
  836. -moz-perspective: 700px;
  837. -ms-perspective: 700px;
  838. perspective: 700px;
  839. }
  840. .reveal.overview .slides section {
  841. padding: 20px 0;
  842. max-height: 600px;
  843. overflow: hidden;
  844. opacity: 1!important;
  845. visibility: visible!important;
  846. cursor: pointer;
  847. background: rgba(0,0,0,0.1);
  848. }
  849. .reveal.overview .slides section .fragment {
  850. opacity: 1;
  851. }
  852. .reveal.overview .slides section:after,
  853. .reveal.overview .slides section:before {
  854. display: none !important;
  855. }
  856. .reveal.overview .slides section>section {
  857. opacity: 1;
  858. cursor: pointer;
  859. }
  860. .reveal.overview .slides section:hover {
  861. background: rgba(0,0,0,0.3);
  862. }
  863. .reveal.overview .slides section.present {
  864. background: rgba(0,0,0,0.3);
  865. }
  866. .reveal.overview .slides>section.stack {
  867. background: none;
  868. padding: 0;
  869. overflow: visible;
  870. }
  871. /*********************************************
  872. * PAUSED MODE
  873. *********************************************/
  874. .reveal .pause-overlay {
  875. position: absolute;
  876. top: 0;
  877. left: 0;
  878. width: 100%;
  879. height: 100%;
  880. background: black;
  881. visibility: hidden;
  882. opacity: 0;
  883. z-index: 100;
  884. -webkit-transition: all 1s ease;
  885. -moz-transition: all 1s ease;
  886. -ms-transition: all 1s ease;
  887. -o-transition: all 1s ease;
  888. transition: all 1s ease;
  889. }
  890. .reveal.paused .pause-overlay {
  891. visibility: visible;
  892. opacity: 1;
  893. }
  894. /*********************************************
  895. * FALLBACK
  896. *********************************************/
  897. .no-transforms {
  898. overflow-y: auto;
  899. }
  900. .no-transforms .slides section {
  901. display: block!important;
  902. opacity: 1!important;
  903. position: relative!important;
  904. height: auto;
  905. min-height: auto;
  906. margin-bottom: 100px;
  907. -webkit-transform: none;
  908. -moz-transform: none;
  909. -ms-transform: none;
  910. transform: none;
  911. }
  912. /*********************************************
  913. * BACKGROUND STATES
  914. *********************************************/
  915. .reveal .state-background {
  916. position: absolute;
  917. width: 100%;
  918. height: 100%;
  919. background: rgba( 0, 0, 0, 0 );
  920. -webkit-transition: background 800ms ease;
  921. -moz-transition: background 800ms ease;
  922. -ms-transition: background 800ms ease;
  923. -o-transition: background 800ms ease;
  924. transition: background 800ms ease;
  925. }
  926. .alert .reveal .state-background {
  927. background: rgba( 200, 50, 30, 0.6 );
  928. }
  929. .soothe .reveal .state-background {
  930. background: rgba( 50, 200, 90, 0.4 );
  931. }
  932. .blackout .reveal .state-background {
  933. background: rgba( 0, 0, 0, 0.6 );
  934. }
  935. /*********************************************
  936. * SPEAKER NOTES
  937. *********************************************/
  938. .reveal aside.notes {
  939. display: none;
  940. }