reveal.css 26 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010
  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. * LINEAR TRANSITION
  441. *********************************************/
  442. .reveal.linear .slides>section.past {
  443. -webkit-transform: translate(-150%, 0);
  444. -moz-transform: translate(-150%, 0);
  445. -ms-transform: translate(-150%, 0);
  446. -o-transform: translate(-150%, 0);
  447. transform: translate(-150%, 0);
  448. }
  449. .reveal.linear .slides>section.future {
  450. -webkit-transform: translate(150%, 0);
  451. -moz-transform: translate(150%, 0);
  452. -ms-transform: translate(150%, 0);
  453. -o-transform: translate(150%, 0);
  454. transform: translate(150%, 0);
  455. }
  456. .reveal.linear .slides>section>section.past {
  457. -webkit-transform: translate(0, -150%);
  458. -moz-transform: translate(0, -150%);
  459. -ms-transform: translate(0, -150%);
  460. -o-transform: translate(0, -150%);
  461. transform: translate(0, -150%);
  462. }
  463. .reveal.linear .slides>section>section.future {
  464. -webkit-transform: translate(0, 150%);
  465. -moz-transform: translate(0, 150%);
  466. -ms-transform: translate(0, 150%);
  467. -o-transform: translate(0, 150%);
  468. transform: translate(0, 150%);
  469. }
  470. /*********************************************
  471. * CUBE TRANSITION
  472. *********************************************/
  473. .reveal.cube .slides {
  474. margin-top: -350px;
  475. -webkit-perspective-origin: 50% 25%;
  476. -moz-perspective-origin: 50% 25%;
  477. -ms-perspective-origin: 50% 25%;
  478. perspective-origin: 50% 25%;
  479. -webkit-perspective: 1300px;
  480. -moz-perspective: 1300px;
  481. -ms-perspective: 1300px;
  482. perspective: 1300px;
  483. }
  484. .reveal.cube .slides section {
  485. padding: 30px;
  486. -webkit-backface-visibility: hidden;
  487. -moz-backface-visibility: hidden;
  488. -ms-backface-visibility: hidden;
  489. backface-visibility: hidden;
  490. -webkit-box-sizing: border-box;
  491. -moz-box-sizing: border-box;
  492. box-sizing: border-box;
  493. }
  494. .reveal.cube .slides section:not(.stack):before {
  495. content: '';
  496. position: absolute;
  497. display: block;
  498. width: 100%;
  499. height: 100%;
  500. left: 0;
  501. top: 0;
  502. background: #232628;
  503. border-radius: 4px;
  504. -webkit-transform: translateZ( -20px );
  505. -moz-transform: translateZ( -20px );
  506. -ms-transform: translateZ( -20px );
  507. -o-transform: translateZ( -20px );
  508. transform: translateZ( -20px );
  509. }
  510. .reveal.cube .slides section:not(.stack):after {
  511. content: '';
  512. position: absolute;
  513. display: block;
  514. width: 90%;
  515. height: 30px;
  516. left: 5%;
  517. bottom: 0;
  518. background: none;
  519. z-index: 1;
  520. border-radius: 4px;
  521. box-shadow: 0px 95px 25px rgba(0,0,0,0.2);
  522. -webkit-transform: translateZ(-90px) rotateX( 65deg );
  523. -moz-transform: translateZ(-90px) rotateX( 65deg );
  524. -ms-transform: translateZ(-90px) rotateX( 65deg );
  525. -o-transform: translateZ(-90px) rotateX( 65deg );
  526. transform: translateZ(-90px) rotateX( 65deg );
  527. }
  528. .reveal.cube .slides>section.stack {
  529. padding: 0;
  530. background: none;
  531. }
  532. .reveal.cube .slides>section.past {
  533. -webkit-transform-origin: 100% 0%;
  534. -moz-transform-origin: 100% 0%;
  535. -ms-transform-origin: 100% 0%;
  536. transform-origin: 100% 0%;
  537. -webkit-transform: translate3d(-100%, 0, 0) rotateY(-90deg);
  538. -moz-transform: translate3d(-100%, 0, 0) rotateY(-90deg);
  539. -ms-transform: translate3d(-100%, 0, 0) rotateY(-90deg);
  540. transform: translate3d(-100%, 0, 0) rotateY(-90deg);
  541. }
  542. .reveal.cube .slides>section.future {
  543. -webkit-transform-origin: 0% 0%;
  544. -moz-transform-origin: 0% 0%;
  545. -ms-transform-origin: 0% 0%;
  546. transform-origin: 0% 0%;
  547. -webkit-transform: translate3d(100%, 0, 0) rotateY(90deg);
  548. -moz-transform: translate3d(100%, 0, 0) rotateY(90deg);
  549. -ms-transform: translate3d(100%, 0, 0) rotateY(90deg);
  550. transform: translate3d(100%, 0, 0) rotateY(90deg);
  551. }
  552. .reveal.cube .slides>section>section.past {
  553. -webkit-transform-origin: 0% 100%;
  554. -moz-transform-origin: 0% 100%;
  555. -ms-transform-origin: 0% 100%;
  556. transform-origin: 0% 100%;
  557. -webkit-transform: translate3d(0, -100%, 0) rotateX(90deg);
  558. -moz-transform: translate3d(0, -100%, 0) rotateX(90deg);
  559. -ms-transform: translate3d(0, -100%, 0) rotateX(90deg);
  560. transform: translate3d(0, -100%, 0) rotateX(90deg);
  561. }
  562. .reveal.cube .slides>section>section.future {
  563. -webkit-transform-origin: 0% 0%;
  564. -moz-transform-origin: 0% 0%;
  565. -ms-transform-origin: 0% 0%;
  566. transform-origin: 0% 0%;
  567. -webkit-transform: translate3d(0, 100%, 0) rotateX(-90deg);
  568. -moz-transform: translate3d(0, 100%, 0) rotateX(-90deg);
  569. -ms-transform: translate3d(0, 100%, 0) rotateX(-90deg);
  570. transform: translate3d(0, 100%, 0) rotateX(-90deg);
  571. }
  572. /*********************************************
  573. * PAGE TRANSITION
  574. *********************************************/
  575. .reveal.page .slides {
  576. margin-top: -350px;
  577. -webkit-perspective-origin: 50% 50%;
  578. -moz-perspective-origin: 50% 50%;
  579. -ms-perspective-origin: 50% 50%;
  580. perspective-origin: 50% 50%;
  581. -webkit-perspective: 3000px;
  582. -moz-perspective: 3000px;
  583. -ms-perspective: 3000px;
  584. perspective: 3000px;
  585. }
  586. .reveal.page .slides section {
  587. padding: 30px;
  588. -webkit-box-sizing: border-box;
  589. -moz-box-sizing: border-box;
  590. box-sizing: border-box;
  591. }
  592. .reveal.page .slides section.past {
  593. z-index: 12;
  594. }
  595. .reveal.page .slides section:not(.stack):before {
  596. content: '';
  597. position: absolute;
  598. display: block;
  599. width: 100%;
  600. height: 100%;
  601. left: 0;
  602. top: 0;
  603. background: rgba(0,0,0,0.2);
  604. -webkit-transform: translateZ( -20px );
  605. -moz-transform: translateZ( -20px );
  606. -ms-transform: translateZ( -20px );
  607. -o-transform: translateZ( -20px );
  608. transform: translateZ( -20px );
  609. }
  610. .reveal.page .slides section:not(.stack):after {
  611. content: '';
  612. position: absolute;
  613. display: block;
  614. width: 90%;
  615. height: 30px;
  616. left: 5%;
  617. bottom: 0;
  618. background: none;
  619. z-index: 1;
  620. border-radius: 4px;
  621. box-shadow: 0px 95px 25px rgba(0,0,0,0.2);
  622. -webkit-transform: translateZ(-90px) rotateX( 65deg );
  623. }
  624. .reveal.page .slides>section.stack {
  625. padding: 0;
  626. background: none;
  627. }
  628. .reveal.page .slides>section.past {
  629. -webkit-transform-origin: 0% 0%;
  630. -moz-transform-origin: 0% 0%;
  631. -ms-transform-origin: 0% 0%;
  632. transform-origin: 0% 0%;
  633. -webkit-transform: translate3d(-40%, 0, 0) rotateY(-80deg);
  634. -moz-transform: translate3d(-40%, 0, 0) rotateY(-80deg);
  635. -ms-transform: translate3d(-40%, 0, 0) rotateY(-80deg);
  636. transform: translate3d(-40%, 0, 0) rotateY(-80deg);
  637. }
  638. .reveal.page .slides>section.future {
  639. -webkit-transform-origin: 100% 0%;
  640. -moz-transform-origin: 100% 0%;
  641. -ms-transform-origin: 100% 0%;
  642. transform-origin: 100% 0%;
  643. -webkit-transform: translate3d(0, 0, 0);
  644. -moz-transform: translate3d(0, 0, 0);
  645. -ms-transform: translate3d(0, 0, 0);
  646. transform: translate3d(0, 0, 0);
  647. }
  648. .reveal.page .slides>section>section.past {
  649. -webkit-transform-origin: 0% 0%;
  650. -moz-transform-origin: 0% 0%;
  651. -ms-transform-origin: 0% 0%;
  652. transform-origin: 0% 0%;
  653. -webkit-transform: translate3d(0, -40%, 0) rotateX(80deg);
  654. -moz-transform: translate3d(0, -40%, 0) rotateX(80deg);
  655. -ms-transform: translate3d(0, -40%, 0) rotateX(80deg);
  656. transform: translate3d(0, -40%, 0) rotateX(80deg);
  657. }
  658. .reveal.page .slides>section>section.future {
  659. -webkit-transform-origin: 0% 100%;
  660. -moz-transform-origin: 0% 100%;
  661. -ms-transform-origin: 0% 100%;
  662. transform-origin: 0% 100%;
  663. -webkit-transform: translate3d(0, 0, 0);
  664. -moz-transform: translate3d(0, 0, 0);
  665. -ms-transform: translate3d(0, 0, 0);
  666. transform: translate3d(0, 0, 0);
  667. }
  668. /*********************************************
  669. * TILE-FLIP TRANSITION (CSS shader)
  670. *********************************************/
  671. .reveal.tileflip .slides section.present {
  672. -webkit-transform: none;
  673. -webkit-transition-duration: 800ms;
  674. -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),
  675. amount 0, randomness 0, flipAxis 0 1 0, tileOutline 1
  676. );
  677. }
  678. .reveal.tileflip .slides section.past {
  679. -webkit-transform: none;
  680. -webkit-transition-duration: 800ms;
  681. -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),
  682. amount 1, randomness 0, flipAxis 0 1 0, tileOutline 1
  683. );
  684. }
  685. .reveal.tileflip .slides section.future {
  686. -webkit-transform: none;
  687. -webkit-transition-duration: 800ms;
  688. -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),
  689. amount 1, randomness 0, flipAxis 0 1 0, tileOutline 1
  690. );
  691. }
  692. .reveal.tileflip .slides>section>section.present {
  693. -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),
  694. amount 0, randomness 2, flipAxis 1 0 0, tileOutline 1
  695. );
  696. }
  697. .reveal.tileflip .slides>section>section.past {
  698. -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),
  699. amount 1, randomness 2, flipAxis 1 0 0, tileOutline 1
  700. );
  701. }
  702. .reveal.tileflip .slides>section>section.future {
  703. -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),
  704. amount 1, randomness 2, flipAxis 1 0 0, tileOutline 1
  705. );
  706. }
  707. /*********************************************
  708. * NO TRANSITION
  709. *********************************************/
  710. .reveal.none .slides section {
  711. -webkit-transform: none;
  712. -moz-transform: none;
  713. -ms-transform: none;
  714. -o-transform: none;
  715. transform: none;
  716. -webkit-transition: none;
  717. -moz-transition: none;
  718. -ms-transition: none;
  719. -o-transition: none;
  720. transition: none;
  721. }
  722. /*********************************************
  723. * OVERVIEW
  724. *********************************************/
  725. .reveal.overview .slides {
  726. -webkit-perspective: 700px;
  727. -moz-perspective: 700px;
  728. -ms-perspective: 700px;
  729. perspective: 700px;
  730. }
  731. .reveal.overview .slides section {
  732. padding: 20px 0;
  733. max-height: 600px;
  734. overflow: hidden;
  735. opacity: 1;
  736. cursor: pointer;
  737. background: rgba(0,0,0,0.1);
  738. }
  739. .reveal.overview .slides section .fragment {
  740. opacity: 1;
  741. }
  742. .reveal.overview .slides section:after,
  743. .reveal.overview .slides section:before {
  744. display: none !important;
  745. }
  746. .reveal.overview .slides section>section {
  747. opacity: 1;
  748. cursor: pointer;
  749. }
  750. .reveal.overview .slides section:hover {
  751. background: rgba(0,0,0,0.3);
  752. }
  753. .reveal.overview .slides section.present {
  754. background: rgba(0,0,0,0.3);
  755. }
  756. .reveal.overview .slides>section.stack {
  757. background: none;
  758. padding: 0;
  759. overflow: visible;
  760. }
  761. /*********************************************
  762. * PAUSED MODE
  763. *********************************************/
  764. .reveal .pause-overlay {
  765. position: absolute;
  766. top: 0;
  767. left: 0;
  768. width: 100%;
  769. height: 100%;
  770. background: black;
  771. visibility: hidden;
  772. opacity: 0;
  773. z-index: 100;
  774. -webkit-transition: all 1s ease;
  775. -moz-transition: all 1s ease;
  776. -ms-transition: all 1s ease;
  777. -o-transition: all 1s ease;
  778. transition: all 1s ease;
  779. }
  780. .reveal.paused .pause-overlay {
  781. visibility: visible;
  782. opacity: 1;
  783. }
  784. /*********************************************
  785. * FALLBACK
  786. *********************************************/
  787. .no-transforms {
  788. overflow-y: auto;
  789. }
  790. .no-transforms .slides section {
  791. display: block!important;
  792. opacity: 1!important;
  793. position: relative!important;
  794. height: auto;
  795. min-height: auto;
  796. margin-bottom: 100px;
  797. -webkit-transform: none;
  798. -moz-transform: none;
  799. -ms-transform: none;
  800. transform: none;
  801. }
  802. /*********************************************
  803. * BACKGROUND STATES
  804. *********************************************/
  805. .reveal .state-background {
  806. position: absolute;
  807. width: 100%;
  808. height: 100%;
  809. background: rgba( 0, 0, 0, 0 );
  810. -webkit-transition: background 800ms ease;
  811. -moz-transition: background 800ms ease;
  812. -ms-transition: background 800ms ease;
  813. -o-transition: background 800ms ease;
  814. transition: background 800ms ease;
  815. }
  816. .alert .reveal .state-background {
  817. background: rgba( 200, 50, 30, 0.6 );
  818. }
  819. .soothe .reveal .state-background {
  820. background: rgba( 50, 200, 90, 0.4 );
  821. }
  822. .blackout .reveal .state-background {
  823. background: rgba( 0, 0, 0, 0.6 );
  824. }
  825. /*********************************************
  826. * SPEAKER NOTES
  827. *********************************************/
  828. .reveal aside.notes {
  829. display: none;
  830. }