reveal.css 27 KB

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