reveal.css 27 KB

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