reveal.css 29 KB

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