reveal.css 30 KB

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