reveal.css 33 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310
  1. @charset "UTF-8";
  2. /*!
  3. * reveal.js
  4. * http://lab.hakim.se/reveal-js
  5. * MIT licensed
  6. *
  7. * Copyright (C) 2011-2013 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. overflow: hidden;
  44. }
  45. body {
  46. position: relative;
  47. line-height: 1;
  48. }
  49. ::selection {
  50. background: #FF5E99;
  51. color: #fff;
  52. text-shadow: none;
  53. }
  54. /*********************************************
  55. * HEADERS
  56. *********************************************/
  57. .reveal h1,
  58. .reveal h2,
  59. .reveal h3,
  60. .reveal h4,
  61. .reveal h5,
  62. .reveal h6 {
  63. -webkit-hyphens: auto;
  64. -moz-hyphens: auto;
  65. hyphens: auto;
  66. word-break: break-all;
  67. word-break: break-word;
  68. }
  69. .reveal h1 { font-size: 3.77em; }
  70. .reveal h2 { font-size: 2.11em; }
  71. .reveal h3 { font-size: 1.55em; }
  72. .reveal h4 { font-size: 1em; }
  73. /*********************************************
  74. * VIEW FRAGMENTS
  75. *********************************************/
  76. .reveal .slides section .fragment {
  77. opacity: 0;
  78. -webkit-transition: all .2s ease;
  79. -moz-transition: all .2s ease;
  80. -ms-transition: all .2s ease;
  81. -o-transition: all .2s ease;
  82. transition: all .2s ease;
  83. }
  84. .reveal .slides section .fragment.visible {
  85. opacity: 1;
  86. }
  87. .reveal .slides section .fragment.grow {
  88. opacity: 1;
  89. }
  90. .reveal .slides section .fragment.grow.visible {
  91. -webkit-transform: scale( 1.3 );
  92. -moz-transform: scale( 1.3 );
  93. -ms-transform: scale( 1.3 );
  94. -o-transform: scale( 1.3 );
  95. transform: scale( 1.3 );
  96. }
  97. .reveal .slides section .fragment.shrink {
  98. opacity: 1;
  99. }
  100. .reveal .slides section .fragment.shrink.visible {
  101. -webkit-transform: scale( 0.7 );
  102. -moz-transform: scale( 0.7 );
  103. -ms-transform: scale( 0.7 );
  104. -o-transform: scale( 0.7 );
  105. transform: scale( 0.7 );
  106. }
  107. .reveal .slides section .fragment.roll-in {
  108. opacity: 0;
  109. -webkit-transform: rotateX( 90deg );
  110. -moz-transform: rotateX( 90deg );
  111. -ms-transform: rotateX( 90deg );
  112. -o-transform: rotateX( 90deg );
  113. transform: rotateX( 90deg );
  114. }
  115. .reveal .slides section .fragment.roll-in.visible {
  116. opacity: 1;
  117. -webkit-transform: rotateX( 0 );
  118. -moz-transform: rotateX( 0 );
  119. -ms-transform: rotateX( 0 );
  120. -o-transform: rotateX( 0 );
  121. transform: rotateX( 0 );
  122. }
  123. .reveal .slides section .fragment.fade-out {
  124. opacity: 1;
  125. }
  126. .reveal .slides section .fragment.fade-out.visible {
  127. opacity: 0;
  128. }
  129. .reveal .slides section .fragment.highlight-red,
  130. .reveal .slides section .fragment.highlight-green,
  131. .reveal .slides section .fragment.highlight-blue {
  132. opacity: 1;
  133. }
  134. .reveal .slides section .fragment.highlight-red.visible {
  135. color: #ff2c2d
  136. }
  137. .reveal .slides section .fragment.highlight-green.visible {
  138. color: #17ff2e;
  139. }
  140. .reveal .slides section .fragment.highlight-blue.visible {
  141. color: #1b91ff;
  142. }
  143. /*********************************************
  144. * DEFAULT ELEMENT STYLES
  145. *********************************************/
  146. /* Fixes issue in Chrome where italic fonts did not appear when printing to PDF */
  147. .reveal:after {
  148. content: '';
  149. font-style: italic;
  150. }
  151. /* Ensure certain elements are never larger than the slide itself */
  152. .reveal img,
  153. .reveal video,
  154. .reveal iframe {
  155. max-width: 100%;
  156. max-height: 100%;
  157. }
  158. /** Prevents layering issues in certain browser/transition combinations */
  159. .reveal a {
  160. position: relative;
  161. }
  162. .reveal strong,
  163. .reveal b {
  164. font-weight: bold;
  165. }
  166. .reveal em,
  167. .reveal i {
  168. font-style: italic;
  169. }
  170. .reveal ol,
  171. .reveal ul {
  172. display: inline-block;
  173. text-align: left;
  174. margin: 0 0 0 1em;
  175. }
  176. .reveal ol {
  177. list-style-type: decimal;
  178. }
  179. .reveal ul {
  180. list-style-type: disc;
  181. }
  182. .reveal ul ul {
  183. list-style-type: square;
  184. }
  185. .reveal ul ul ul {
  186. list-style-type: circle;
  187. }
  188. .reveal ul ul,
  189. .reveal ul ol,
  190. .reveal ol ol,
  191. .reveal ol ul {
  192. display: block;
  193. margin-left: 40px;
  194. }
  195. .reveal p {
  196. margin-bottom: 10px;
  197. line-height: 1.2em;
  198. }
  199. .reveal q,
  200. .reveal blockquote {
  201. quotes: none;
  202. }
  203. .reveal blockquote {
  204. display: block;
  205. position: relative;
  206. width: 70%;
  207. margin: 5px auto;
  208. padding: 5px;
  209. font-style: italic;
  210. background: rgba(255, 255, 255, 0.05);
  211. box-shadow: 0px 0px 2px rgba(0,0,0,0.2);
  212. }
  213. .reveal blockquote p:first-child,
  214. .reveal blockquote p:last-child {
  215. display: inline-block;
  216. }
  217. .reveal blockquote:before {
  218. content: '\201C';
  219. }
  220. .reveal blockquote:after {
  221. content: '\201D';
  222. }
  223. .reveal q {
  224. font-style: italic;
  225. }
  226. .reveal q:before {
  227. content: '\201C';
  228. }
  229. .reveal q:after {
  230. content: '\201D';
  231. }
  232. .reveal pre {
  233. display: block;
  234. position: relative;
  235. width: 90%;
  236. margin: 15px auto;
  237. text-align: left;
  238. font-size: 0.55em;
  239. font-family: monospace;
  240. line-height: 1.2em;
  241. word-wrap: break-word;
  242. box-shadow: 0px 0px 6px rgba(0,0,0,0.3);
  243. }
  244. .reveal pre code {
  245. padding: 5px;
  246. }
  247. .reveal code {
  248. font-family: monospace;
  249. overflow: auto;
  250. max-height: 400px;
  251. }
  252. .reveal table th,
  253. .reveal table td {
  254. text-align: left;
  255. padding-right: .3em;
  256. }
  257. .reveal table th {
  258. text-shadow: rgb(255,255,255) 1px 1px 2px;
  259. }
  260. .reveal sup {
  261. vertical-align: super;
  262. }
  263. .reveal sub {
  264. vertical-align: sub;
  265. }
  266. .reveal small {
  267. display: inline-block;
  268. font-size: 0.6em;
  269. line-height: 1.2em;
  270. vertical-align: top;
  271. }
  272. .reveal small * {
  273. vertical-align: top;
  274. }
  275. /*********************************************
  276. * CONTROLS
  277. *********************************************/
  278. .reveal .controls {
  279. display: none;
  280. position: fixed;
  281. width: 110px;
  282. height: 110px;
  283. z-index: 30;
  284. right: 10px;
  285. bottom: 10px;
  286. }
  287. .reveal .controls div {
  288. position: absolute;
  289. opacity: 0.1;
  290. width: 0;
  291. height: 0;
  292. border: 12px solid transparent;
  293. -webkit-transition: opacity 0.2s ease;
  294. -moz-transition: opacity 0.2s ease;
  295. -ms-transition: opacity 0.2s ease;
  296. -o-transition: opacity 0.2s ease;
  297. transition: opacity 0.2s ease;
  298. }
  299. .reveal .controls div.enabled {
  300. opacity: 0.6;
  301. cursor: pointer;
  302. }
  303. .reveal .controls div.enabled:active {
  304. margin-top: 1px;
  305. }
  306. .reveal .controls div.navigate-left {
  307. top: 42px;
  308. border-right-width: 22px;
  309. border-right-color: #eee;
  310. }
  311. .reveal .controls div.navigate-right {
  312. left: 74px;
  313. top: 42px;
  314. border-left-width: 22px;
  315. border-left-color: #eee;
  316. }
  317. .reveal .controls div.navigate-up {
  318. left: 42px;
  319. border-bottom-width: 22px;
  320. border-bottom-color: #eee;
  321. }
  322. .reveal .controls div.navigate-down {
  323. left: 42px;
  324. top: 74px;
  325. border-top-width: 22px;
  326. border-top-color: #eee;
  327. }
  328. /*********************************************
  329. * PROGRESS BAR
  330. *********************************************/
  331. .reveal .progress {
  332. position: fixed;
  333. display: none;
  334. height: 3px;
  335. width: 100%;
  336. bottom: 0;
  337. left: 0;
  338. z-index: 10;
  339. }
  340. .reveal .progress:after {
  341. content: '';
  342. display: 'block';
  343. position: absolute;
  344. height: 20px;
  345. width: 100%;
  346. top: -20px;
  347. }
  348. .reveal .progress span {
  349. display: block;
  350. height: 100%;
  351. width: 0px;
  352. -webkit-transition: width 800ms cubic-bezier(0.260, 0.860, 0.440, 0.985);
  353. -moz-transition: width 800ms cubic-bezier(0.260, 0.860, 0.440, 0.985);
  354. -ms-transition: width 800ms cubic-bezier(0.260, 0.860, 0.440, 0.985);
  355. -o-transition: width 800ms cubic-bezier(0.260, 0.860, 0.440, 0.985);
  356. transition: width 800ms cubic-bezier(0.260, 0.860, 0.440, 0.985);
  357. }
  358. /*********************************************
  359. * ROLLING LINKS
  360. *********************************************/
  361. .reveal .roll {
  362. display: inline-block;
  363. line-height: 1.2;
  364. overflow: hidden;
  365. vertical-align: top;
  366. -webkit-perspective: 400px;
  367. -moz-perspective: 400px;
  368. -ms-perspective: 400px;
  369. perspective: 400px;
  370. -webkit-perspective-origin: 50% 50%;
  371. -moz-perspective-origin: 50% 50%;
  372. -ms-perspective-origin: 50% 50%;
  373. perspective-origin: 50% 50%;
  374. }
  375. .reveal .roll:hover {
  376. background: none;
  377. text-shadow: none;
  378. }
  379. .reveal .roll span {
  380. display: block;
  381. position: relative;
  382. padding: 0 2px;
  383. pointer-events: none;
  384. -webkit-transition: all 400ms ease;
  385. -moz-transition: all 400ms ease;
  386. -ms-transition: all 400ms ease;
  387. transition: all 400ms ease;
  388. -webkit-transform-origin: 50% 0%;
  389. -moz-transform-origin: 50% 0%;
  390. -ms-transform-origin: 50% 0%;
  391. transform-origin: 50% 0%;
  392. -webkit-transform-style: preserve-3d;
  393. -moz-transform-style: preserve-3d;
  394. -ms-transform-style: preserve-3d;
  395. transform-style: preserve-3d;
  396. -webkit-backface-visibility: hidden;
  397. -moz-backface-visibility: hidden;
  398. backface-visibility: hidden;
  399. }
  400. .reveal .roll:hover span {
  401. background: rgba(0,0,0,0.5);
  402. -webkit-transform: translate3d( 0px, 0px, -45px ) rotateX( 90deg );
  403. -moz-transform: translate3d( 0px, 0px, -45px ) rotateX( 90deg );
  404. -ms-transform: translate3d( 0px, 0px, -45px ) rotateX( 90deg );
  405. transform: translate3d( 0px, 0px, -45px ) rotateX( 90deg );
  406. }
  407. .reveal .roll span:after {
  408. content: attr(data-title);
  409. display: block;
  410. position: absolute;
  411. left: 0;
  412. top: 0;
  413. padding: 0 2px;
  414. -webkit-transform-origin: 50% 0%;
  415. -moz-transform-origin: 50% 0%;
  416. -ms-transform-origin: 50% 0%;
  417. transform-origin: 50% 0%;
  418. -webkit-transform: translate3d( 0px, 110%, 0px ) rotateX( -90deg );
  419. -moz-transform: translate3d( 0px, 110%, 0px ) rotateX( -90deg );
  420. -ms-transform: translate3d( 0px, 110%, 0px ) rotateX( -90deg );
  421. transform: translate3d( 0px, 110%, 0px ) rotateX( -90deg );
  422. }
  423. /*********************************************
  424. * SLIDES
  425. *********************************************/
  426. .reveal {
  427. position: relative;
  428. width: 100%;
  429. height: 100%;
  430. }
  431. .reveal .slides {
  432. position: absolute;
  433. width: 100%;
  434. height: 100%;
  435. left: 50%;
  436. top: 50%;
  437. overflow: visible;
  438. z-index: 1;
  439. text-align: center;
  440. -webkit-transition: -webkit-perspective .4s ease;
  441. -moz-transition: -moz-perspective .4s ease;
  442. -ms-transition: -ms-perspective .4s ease;
  443. -o-transition: -o-perspective .4s ease;
  444. transition: perspective .4s ease;
  445. -webkit-perspective: 600px;
  446. -moz-perspective: 600px;
  447. -ms-perspective: 600px;
  448. perspective: 600px;
  449. -webkit-perspective-origin: 0px -100px;
  450. -moz-perspective-origin: 0px -100px;
  451. -ms-perspective-origin: 0px -100px;
  452. perspective-origin: 0px -100px;
  453. }
  454. .reveal .slides>section,
  455. .reveal .slides>section>section {
  456. display: none;
  457. position: absolute;
  458. width: 100%;
  459. padding: 20px 0px;
  460. z-index: 10;
  461. line-height: 1.2em;
  462. font-weight: normal;
  463. -webkit-transform-style: preserve-3d;
  464. -moz-transform-style: preserve-3d;
  465. -ms-transform-style: preserve-3d;
  466. transform-style: preserve-3d;
  467. -webkit-transition: -webkit-transform-origin 800ms cubic-bezier(0.260, 0.860, 0.440, 0.985),
  468. -webkit-transform 800ms cubic-bezier(0.260, 0.860, 0.440, 0.985),
  469. visibility 800ms cubic-bezier(0.260, 0.860, 0.440, 0.985),
  470. opacity 800ms cubic-bezier(0.260, 0.860, 0.440, 0.985);
  471. -moz-transition: -moz-transform-origin 800ms cubic-bezier(0.260, 0.860, 0.440, 0.985),
  472. -moz-transform 800ms cubic-bezier(0.260, 0.860, 0.440, 0.985),
  473. visibility 800ms cubic-bezier(0.260, 0.860, 0.440, 0.985),
  474. opacity 800ms cubic-bezier(0.260, 0.860, 0.440, 0.985);
  475. -ms-transition: -ms-transform-origin 800ms cubic-bezier(0.260, 0.860, 0.440, 0.985),
  476. -ms-transform 800ms cubic-bezier(0.260, 0.860, 0.440, 0.985),
  477. visibility 800ms cubic-bezier(0.260, 0.860, 0.440, 0.985),
  478. opacity 800ms cubic-bezier(0.260, 0.860, 0.440, 0.985);
  479. -o-transition: -o-transform-origin 800ms cubic-bezier(0.260, 0.860, 0.440, 0.985),
  480. -o-transform 800ms cubic-bezier(0.260, 0.860, 0.440, 0.985),
  481. visibility 800ms cubic-bezier(0.260, 0.860, 0.440, 0.985),
  482. opacity 800ms cubic-bezier(0.260, 0.860, 0.440, 0.985);
  483. transition: transform-origin 800ms cubic-bezier(0.260, 0.860, 0.440, 0.985),
  484. transform 800ms cubic-bezier(0.260, 0.860, 0.440, 0.985),
  485. visibility 800ms cubic-bezier(0.260, 0.860, 0.440, 0.985),
  486. opacity 800ms cubic-bezier(0.260, 0.860, 0.440, 0.985);
  487. }
  488. .reveal .slides>section {
  489. left: -50%;
  490. top: -50%;
  491. }
  492. .reveal .slides>section.stack {
  493. padding-top: 0;
  494. padding-bottom: 0;
  495. }
  496. .reveal .slides>section.present,
  497. .reveal .slides>section>section.present {
  498. display: block;
  499. z-index: 11;
  500. opacity: 1;
  501. }
  502. .reveal.center,
  503. .reveal.center .slides,
  504. .reveal.center .slides section {
  505. min-height: auto !important;
  506. }
  507. /*********************************************
  508. * DEFAULT TRANSITION
  509. *********************************************/
  510. .reveal .slides>section.past {
  511. display: block;
  512. opacity: 0;
  513. -webkit-transform: translate3d(-100%, 0, 0) rotateY(-90deg) translate3d(-100%, 0, 0);
  514. -moz-transform: translate3d(-100%, 0, 0) rotateY(-90deg) translate3d(-100%, 0, 0);
  515. -ms-transform: translate3d(-100%, 0, 0) rotateY(-90deg) translate3d(-100%, 0, 0);
  516. transform: translate3d(-100%, 0, 0) rotateY(-90deg) translate3d(-100%, 0, 0);
  517. }
  518. .reveal .slides>section.future {
  519. display: block;
  520. opacity: 0;
  521. -webkit-transform: translate3d(100%, 0, 0) rotateY(90deg) translate3d(100%, 0, 0);
  522. -moz-transform: translate3d(100%, 0, 0) rotateY(90deg) translate3d(100%, 0, 0);
  523. -ms-transform: translate3d(100%, 0, 0) rotateY(90deg) translate3d(100%, 0, 0);
  524. transform: translate3d(100%, 0, 0) rotateY(90deg) translate3d(100%, 0, 0);
  525. }
  526. .reveal .slides>section>section.past {
  527. display: block;
  528. opacity: 0;
  529. -webkit-transform: translate3d(0, -300px, 0) rotateX(70deg) translate3d(0, -300px, 0);
  530. -moz-transform: translate3d(0, -300px, 0) rotateX(70deg) translate3d(0, -300px, 0);
  531. -ms-transform: translate3d(0, -300px, 0) rotateX(70deg) translate3d(0, -300px, 0);
  532. transform: translate3d(0, -300px, 0) rotateX(70deg) translate3d(0, -300px, 0);
  533. }
  534. .reveal .slides>section>section.future {
  535. display: block;
  536. opacity: 0;
  537. -webkit-transform: translate3d(0, 300px, 0) rotateX(-70deg) translate3d(0, 300px, 0);
  538. -moz-transform: translate3d(0, 300px, 0) rotateX(-70deg) translate3d(0, 300px, 0);
  539. -ms-transform: translate3d(0, 300px, 0) rotateX(-70deg) translate3d(0, 300px, 0);
  540. transform: translate3d(0, 300px, 0) rotateX(-70deg) translate3d(0, 300px, 0);
  541. }
  542. /*********************************************
  543. * CONCAVE TRANSITION
  544. *********************************************/
  545. .reveal.concave .slides>section.past {
  546. -webkit-transform: translate3d(-100%, 0, 0) rotateY(90deg) translate3d(-100%, 0, 0);
  547. -moz-transform: translate3d(-100%, 0, 0) rotateY(90deg) translate3d(-100%, 0, 0);
  548. -ms-transform: translate3d(-100%, 0, 0) rotateY(90deg) translate3d(-100%, 0, 0);
  549. transform: translate3d(-100%, 0, 0) rotateY(90deg) translate3d(-100%, 0, 0);
  550. }
  551. .reveal.concave .slides>section.future {
  552. -webkit-transform: translate3d(100%, 0, 0) rotateY(-90deg) translate3d(100%, 0, 0);
  553. -moz-transform: translate3d(100%, 0, 0) rotateY(-90deg) translate3d(100%, 0, 0);
  554. -ms-transform: translate3d(100%, 0, 0) rotateY(-90deg) translate3d(100%, 0, 0);
  555. transform: translate3d(100%, 0, 0) rotateY(-90deg) translate3d(100%, 0, 0);
  556. }
  557. .reveal.concave .slides>section>section.past {
  558. -webkit-transform: translate3d(0, -80%, 0) rotateX(-70deg) translate3d(0, -80%, 0);
  559. -moz-transform: translate3d(0, -80%, 0) rotateX(-70deg) translate3d(0, -80%, 0);
  560. -ms-transform: translate3d(0, -80%, 0) rotateX(-70deg) translate3d(0, -80%, 0);
  561. transform: translate3d(0, -80%, 0) rotateX(-70deg) translate3d(0, -80%, 0);
  562. }
  563. .reveal.concave .slides>section>section.future {
  564. -webkit-transform: translate3d(0, 80%, 0) rotateX(70deg) translate3d(0, 80%, 0);
  565. -moz-transform: translate3d(0, 80%, 0) rotateX(70deg) translate3d(0, 80%, 0);
  566. -ms-transform: translate3d(0, 80%, 0) rotateX(70deg) translate3d(0, 80%, 0);
  567. transform: translate3d(0, 80%, 0) rotateX(70deg) translate3d(0, 80%, 0);
  568. }
  569. /*********************************************
  570. * ZOOM TRANSITION
  571. *********************************************/
  572. .reveal.zoom .slides>section.past {
  573. opacity: 0;
  574. visibility: hidden;
  575. -webkit-transform: scale(16);
  576. -moz-transform: scale(16);
  577. -ms-transform: scale(16);
  578. -o-transform: scale(16);
  579. transform: scale(16);
  580. }
  581. .reveal.zoom .slides>section.future {
  582. opacity: 0;
  583. visibility: hidden;
  584. -webkit-transform: scale(0.2);
  585. -moz-transform: scale(0.2);
  586. -ms-transform: scale(0.2);
  587. -o-transform: scale(0.2);
  588. transform: scale(0.2);
  589. }
  590. .reveal.zoom .slides>section>section.past {
  591. -webkit-transform: translate(0, -150%);
  592. -moz-transform: translate(0, -150%);
  593. -ms-transform: translate(0, -150%);
  594. -o-transform: translate(0, -150%);
  595. transform: translate(0, -150%);
  596. }
  597. .reveal.zoom .slides>section>section.future {
  598. -webkit-transform: translate(0, 150%);
  599. -moz-transform: translate(0, 150%);
  600. -ms-transform: translate(0, 150%);
  601. -o-transform: translate(0, 150%);
  602. transform: translate(0, 150%);
  603. }
  604. /*********************************************
  605. * LINEAR TRANSITION
  606. *********************************************/
  607. .reveal.linear .slides>section.past {
  608. -webkit-transform: translate(-150%, 0);
  609. -moz-transform: translate(-150%, 0);
  610. -ms-transform: translate(-150%, 0);
  611. -o-transform: translate(-150%, 0);
  612. transform: translate(-150%, 0);
  613. }
  614. .reveal.linear .slides>section.future {
  615. -webkit-transform: translate(150%, 0);
  616. -moz-transform: translate(150%, 0);
  617. -ms-transform: translate(150%, 0);
  618. -o-transform: translate(150%, 0);
  619. transform: translate(150%, 0);
  620. }
  621. .reveal.linear .slides>section>section.past {
  622. -webkit-transform: translate(0, -150%);
  623. -moz-transform: translate(0, -150%);
  624. -ms-transform: translate(0, -150%);
  625. -o-transform: translate(0, -150%);
  626. transform: translate(0, -150%);
  627. }
  628. .reveal.linear .slides>section>section.future {
  629. -webkit-transform: translate(0, 150%);
  630. -moz-transform: translate(0, 150%);
  631. -ms-transform: translate(0, 150%);
  632. -o-transform: translate(0, 150%);
  633. transform: translate(0, 150%);
  634. }
  635. /*********************************************
  636. * CUBE TRANSITION
  637. *********************************************/
  638. .reveal.cube .slides {
  639. -webkit-perspective: 1300px;
  640. -moz-perspective: 1300px;
  641. -ms-perspective: 1300px;
  642. perspective: 1300px;
  643. }
  644. .reveal.cube .slides section {
  645. padding: 30px;
  646. min-height: 600px;
  647. -webkit-backface-visibility: hidden;
  648. -moz-backface-visibility: hidden;
  649. -ms-backface-visibility: hidden;
  650. backface-visibility: hidden;
  651. -webkit-box-sizing: border-box;
  652. -moz-box-sizing: border-box;
  653. box-sizing: border-box;
  654. }
  655. .reveal.center.cube .slides section {
  656. min-height: auto;
  657. }
  658. .reveal.cube .slides section:not(.stack):before {
  659. content: '';
  660. position: absolute;
  661. display: block;
  662. width: 100%;
  663. height: 100%;
  664. left: 0;
  665. top: 0;
  666. background: rgba(0,0,0,0.1);
  667. border-radius: 4px;
  668. -webkit-transform: translateZ( -20px );
  669. -moz-transform: translateZ( -20px );
  670. -ms-transform: translateZ( -20px );
  671. -o-transform: translateZ( -20px );
  672. transform: translateZ( -20px );
  673. }
  674. .reveal.cube .slides section:not(.stack):after {
  675. content: '';
  676. position: absolute;
  677. display: block;
  678. width: 90%;
  679. height: 30px;
  680. left: 5%;
  681. bottom: 0;
  682. background: none;
  683. z-index: 1;
  684. border-radius: 4px;
  685. box-shadow: 0px 95px 25px rgba(0,0,0,0.2);
  686. -webkit-transform: translateZ(-90px) rotateX( 65deg );
  687. -moz-transform: translateZ(-90px) rotateX( 65deg );
  688. -ms-transform: translateZ(-90px) rotateX( 65deg );
  689. -o-transform: translateZ(-90px) rotateX( 65deg );
  690. transform: translateZ(-90px) rotateX( 65deg );
  691. }
  692. .reveal.cube .slides>section.stack {
  693. padding: 0;
  694. background: none;
  695. }
  696. .reveal.cube .slides>section.past {
  697. -webkit-transform-origin: 100% 0%;
  698. -moz-transform-origin: 100% 0%;
  699. -ms-transform-origin: 100% 0%;
  700. transform-origin: 100% 0%;
  701. -webkit-transform: translate3d(-100%, 0, 0) rotateY(-90deg);
  702. -moz-transform: translate3d(-100%, 0, 0) rotateY(-90deg);
  703. -ms-transform: translate3d(-100%, 0, 0) rotateY(-90deg);
  704. transform: translate3d(-100%, 0, 0) rotateY(-90deg);
  705. }
  706. .reveal.cube .slides>section.future {
  707. -webkit-transform-origin: 0% 0%;
  708. -moz-transform-origin: 0% 0%;
  709. -ms-transform-origin: 0% 0%;
  710. transform-origin: 0% 0%;
  711. -webkit-transform: translate3d(100%, 0, 0) rotateY(90deg);
  712. -moz-transform: translate3d(100%, 0, 0) rotateY(90deg);
  713. -ms-transform: translate3d(100%, 0, 0) rotateY(90deg);
  714. transform: translate3d(100%, 0, 0) rotateY(90deg);
  715. }
  716. .reveal.cube .slides>section>section.past {
  717. -webkit-transform-origin: 0% 100%;
  718. -moz-transform-origin: 0% 100%;
  719. -ms-transform-origin: 0% 100%;
  720. transform-origin: 0% 100%;
  721. -webkit-transform: translate3d(0, -100%, 0) rotateX(90deg);
  722. -moz-transform: translate3d(0, -100%, 0) rotateX(90deg);
  723. -ms-transform: translate3d(0, -100%, 0) rotateX(90deg);
  724. transform: translate3d(0, -100%, 0) rotateX(90deg);
  725. }
  726. .reveal.cube .slides>section>section.future {
  727. -webkit-transform-origin: 0% 0%;
  728. -moz-transform-origin: 0% 0%;
  729. -ms-transform-origin: 0% 0%;
  730. transform-origin: 0% 0%;
  731. -webkit-transform: translate3d(0, 100%, 0) rotateX(-90deg);
  732. -moz-transform: translate3d(0, 100%, 0) rotateX(-90deg);
  733. -ms-transform: translate3d(0, 100%, 0) rotateX(-90deg);
  734. transform: translate3d(0, 100%, 0) rotateX(-90deg);
  735. }
  736. /*********************************************
  737. * PAGE TRANSITION
  738. *********************************************/
  739. .reveal.page .slides {
  740. -webkit-perspective-origin: 0% 50%;
  741. -moz-perspective-origin: 0% 50%;
  742. -ms-perspective-origin: 0% 50%;
  743. perspective-origin: 0% 50%;
  744. -webkit-perspective: 3000px;
  745. -moz-perspective: 3000px;
  746. -ms-perspective: 3000px;
  747. perspective: 3000px;
  748. }
  749. .reveal.page .slides section {
  750. padding: 30px;
  751. min-height: 600px;
  752. -webkit-box-sizing: border-box;
  753. -moz-box-sizing: border-box;
  754. box-sizing: border-box;
  755. }
  756. .reveal.page .slides section.past {
  757. z-index: 12;
  758. }
  759. .reveal.page .slides section:not(.stack):before {
  760. content: '';
  761. position: absolute;
  762. display: block;
  763. width: 100%;
  764. height: 100%;
  765. left: 0;
  766. top: 0;
  767. background: rgba(0,0,0,0.1);
  768. -webkit-transform: translateZ( -20px );
  769. -moz-transform: translateZ( -20px );
  770. -ms-transform: translateZ( -20px );
  771. -o-transform: translateZ( -20px );
  772. transform: translateZ( -20px );
  773. }
  774. .reveal.page .slides section:not(.stack):after {
  775. content: '';
  776. position: absolute;
  777. display: block;
  778. width: 90%;
  779. height: 30px;
  780. left: 5%;
  781. bottom: 0;
  782. background: none;
  783. z-index: 1;
  784. border-radius: 4px;
  785. box-shadow: 0px 95px 25px rgba(0,0,0,0.2);
  786. -webkit-transform: translateZ(-90px) rotateX( 65deg );
  787. }
  788. .reveal.page .slides>section.stack {
  789. padding: 0;
  790. background: none;
  791. }
  792. .reveal.page .slides>section.past {
  793. -webkit-transform-origin: 0% 0%;
  794. -moz-transform-origin: 0% 0%;
  795. -ms-transform-origin: 0% 0%;
  796. transform-origin: 0% 0%;
  797. -webkit-transform: translate3d(-40%, 0, 0) rotateY(-80deg);
  798. -moz-transform: translate3d(-40%, 0, 0) rotateY(-80deg);
  799. -ms-transform: translate3d(-40%, 0, 0) rotateY(-80deg);
  800. transform: translate3d(-40%, 0, 0) rotateY(-80deg);
  801. }
  802. .reveal.page .slides>section.future {
  803. -webkit-transform-origin: 100% 0%;
  804. -moz-transform-origin: 100% 0%;
  805. -ms-transform-origin: 100% 0%;
  806. transform-origin: 100% 0%;
  807. -webkit-transform: translate3d(0, 0, 0);
  808. -moz-transform: translate3d(0, 0, 0);
  809. -ms-transform: translate3d(0, 0, 0);
  810. transform: translate3d(0, 0, 0);
  811. }
  812. .reveal.page .slides>section>section.past {
  813. -webkit-transform-origin: 0% 0%;
  814. -moz-transform-origin: 0% 0%;
  815. -ms-transform-origin: 0% 0%;
  816. transform-origin: 0% 0%;
  817. -webkit-transform: translate3d(0, -40%, 0) rotateX(80deg);
  818. -moz-transform: translate3d(0, -40%, 0) rotateX(80deg);
  819. -ms-transform: translate3d(0, -40%, 0) rotateX(80deg);
  820. transform: translate3d(0, -40%, 0) rotateX(80deg);
  821. }
  822. .reveal.page .slides>section>section.future {
  823. -webkit-transform-origin: 0% 100%;
  824. -moz-transform-origin: 0% 100%;
  825. -ms-transform-origin: 0% 100%;
  826. transform-origin: 0% 100%;
  827. -webkit-transform: translate3d(0, 0, 0);
  828. -moz-transform: translate3d(0, 0, 0);
  829. -ms-transform: translate3d(0, 0, 0);
  830. transform: translate3d(0, 0, 0);
  831. }
  832. /*********************************************
  833. * TILE-FLIP TRANSITION (CSS shader)
  834. *********************************************/
  835. .reveal.tileflip .slides section.present {
  836. -webkit-transform: none;
  837. -webkit-transition-duration: 800ms;
  838. -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),
  839. amount 0, randomness 0, flipAxis 0 1 0, tileOutline 1
  840. );
  841. }
  842. .reveal.tileflip .slides section.past {
  843. -webkit-transform: none;
  844. -webkit-transition-duration: 800ms;
  845. -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),
  846. amount 1, randomness 0, flipAxis 0 1 0, tileOutline 1
  847. );
  848. }
  849. .reveal.tileflip .slides section.future {
  850. -webkit-transform: none;
  851. -webkit-transition-duration: 800ms;
  852. -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),
  853. amount 1, randomness 0, flipAxis 0 1 0, tileOutline 1
  854. );
  855. }
  856. .reveal.tileflip .slides>section>section.present {
  857. -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),
  858. amount 0, randomness 2, flipAxis 1 0 0, tileOutline 1
  859. );
  860. }
  861. .reveal.tileflip .slides>section>section.past {
  862. -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),
  863. amount 1, randomness 2, flipAxis 1 0 0, tileOutline 1
  864. );
  865. }
  866. .reveal.tileflip .slides>section>section.future {
  867. -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),
  868. amount 1, randomness 2, flipAxis 1 0 0, tileOutline 1
  869. );
  870. }
  871. /*********************************************
  872. * FADE TRANSITION
  873. *********************************************/
  874. .reveal.fade .slides section,
  875. .reveal.fade .slides>section>section {
  876. -webkit-transform: none;
  877. -moz-transform: none;
  878. -ms-transform: none;
  879. -o-transform: none;
  880. transform: none;
  881. -webkit-transition: opacity 0.5s;
  882. -moz-transition: opacity 0.5s;
  883. -ms-transition: opacity 0.5s;
  884. -o-transition: opacity 0.5s;
  885. transition: opacity 0.5s;
  886. }
  887. .reveal.fade.overview .slides section,
  888. .reveal.fade.overview .slides>section>section,
  889. .reveal.fade.exit-overview .slides section,
  890. .reveal.fade.exit-overview .slides>section>section {
  891. -webkit-transition: none;
  892. -moz-transition: none;
  893. -ms-transition: none;
  894. -o-transition: none;
  895. transition: none;
  896. }
  897. /*********************************************
  898. * NO TRANSITION
  899. *********************************************/
  900. .reveal.none .slides section {
  901. -webkit-transform: none;
  902. -moz-transform: none;
  903. -ms-transform: none;
  904. -o-transform: none;
  905. transform: none;
  906. -webkit-transition: none;
  907. -moz-transition: none;
  908. -ms-transition: none;
  909. -o-transition: none;
  910. transition: none;
  911. }
  912. /*********************************************
  913. * OVERVIEW
  914. *********************************************/
  915. .reveal.overview .slides {
  916. -webkit-perspective-origin: 0% 0%;
  917. -moz-perspective-origin: 0% 0%;
  918. -ms-perspective-origin: 0% 0%;
  919. perspective-origin: 0% 0%;
  920. -webkit-perspective: 700px;
  921. -moz-perspective: 700px;
  922. -ms-perspective: 700px;
  923. perspective: 700px;
  924. }
  925. .reveal.overview .slides section {
  926. height: 600px;
  927. overflow: hidden;
  928. opacity: 1!important;
  929. visibility: visible!important;
  930. cursor: pointer;
  931. background: rgba(0,0,0,0.1);
  932. }
  933. .reveal.overview .slides section .fragment {
  934. opacity: 1;
  935. }
  936. .reveal.overview .slides section:after,
  937. .reveal.overview .slides section:before {
  938. display: none !important;
  939. }
  940. .reveal.overview .slides section>section {
  941. opacity: 1;
  942. cursor: pointer;
  943. }
  944. .reveal.overview .slides section:hover {
  945. background: rgba(0,0,0,0.3);
  946. }
  947. .reveal.overview .slides section.present {
  948. background: rgba(0,0,0,0.3);
  949. }
  950. .reveal.overview .slides>section.stack {
  951. padding: 0;
  952. background: none;
  953. overflow: visible;
  954. }
  955. /*********************************************
  956. * PAUSED MODE
  957. *********************************************/
  958. .reveal .pause-overlay {
  959. position: absolute;
  960. top: 0;
  961. left: 0;
  962. width: 100%;
  963. height: 100%;
  964. background: black;
  965. visibility: hidden;
  966. opacity: 0;
  967. z-index: 100;
  968. -webkit-transition: all 1s ease;
  969. -moz-transition: all 1s ease;
  970. -ms-transition: all 1s ease;
  971. -o-transition: all 1s ease;
  972. transition: all 1s ease;
  973. }
  974. .reveal.paused .pause-overlay {
  975. visibility: visible;
  976. opacity: 1;
  977. }
  978. /*********************************************
  979. * FALLBACK
  980. *********************************************/
  981. .no-transforms {
  982. overflow-y: auto;
  983. }
  984. .no-transforms .slides {
  985. width: 80%;
  986. top: 0;
  987. left: 50%;
  988. margin: 0;
  989. text-align: center;
  990. }
  991. .no-transforms .slides section {
  992. display: block!important;
  993. opacity: 1!important;
  994. position: relative!important;
  995. height: auto;
  996. min-height: auto;
  997. top: 0;
  998. left: -50%;
  999. margin: 70px 0;
  1000. -webkit-transform: none;
  1001. -moz-transform: none;
  1002. -ms-transform: none;
  1003. transform: none;
  1004. }
  1005. .no-transforms .slides section section {
  1006. left: 0;
  1007. }
  1008. .no-transition {
  1009. -webkit-transition: none;
  1010. -moz-transition: none;
  1011. -ms-transition: none;
  1012. -o-transition: none;
  1013. transition: none;
  1014. }
  1015. /*********************************************
  1016. * BACKGROUND STATES
  1017. *********************************************/
  1018. .reveal .state-background {
  1019. position: absolute;
  1020. width: 100%;
  1021. height: 100%;
  1022. background: rgba( 0, 0, 0, 0 );
  1023. -webkit-transition: background 800ms ease;
  1024. -moz-transition: background 800ms ease;
  1025. -ms-transition: background 800ms ease;
  1026. -o-transition: background 800ms ease;
  1027. transition: background 800ms ease;
  1028. }
  1029. .alert .reveal .state-background {
  1030. background: rgba( 200, 50, 30, 0.6 );
  1031. }
  1032. .soothe .reveal .state-background {
  1033. background: rgba( 50, 200, 90, 0.4 );
  1034. }
  1035. .blackout .reveal .state-background {
  1036. background: rgba( 0, 0, 0, 0.6 );
  1037. }
  1038. /*********************************************
  1039. * RTL SUPPORT
  1040. *********************************************/
  1041. .reveal.rtl .slides,
  1042. .reveal.rtl .slides h1,
  1043. .reveal.rtl .slides h2,
  1044. .reveal.rtl .slides h3,
  1045. .reveal.rtl .slides h4,
  1046. .reveal.rtl .slides h5,
  1047. .reveal.rtl .slides h6 {
  1048. direction: rtl;
  1049. font-family: sans-serif;
  1050. }
  1051. .reveal.rtl pre,
  1052. .reveal.rtl code {
  1053. direction: ltr;
  1054. }
  1055. .reveal.rtl ol,
  1056. .reveal.rtl ul {
  1057. text-align: right;
  1058. }
  1059. /*********************************************
  1060. * SPEAKER NOTES
  1061. *********************************************/
  1062. .reveal aside.notes {
  1063. display: none;
  1064. }
  1065. /*********************************************
  1066. * ZOOM PLUGIN
  1067. *********************************************/
  1068. .zoomed .reveal *,
  1069. .zoomed .reveal *:before,
  1070. .zoomed .reveal *:after {
  1071. -webkit-transform: none !important;
  1072. -moz-transform: none !important;
  1073. -ms-transform: none !important;
  1074. transform: none !important;
  1075. -webkit-backface-visibility: visible !important;
  1076. -moz-backface-visibility: visible !important;
  1077. -ms-backface-visibility: visible !important;
  1078. backface-visibility: visible !important;
  1079. }
  1080. .zoomed .reveal .progress,
  1081. .zoomed .reveal .controls {
  1082. opacity: 0;
  1083. }
  1084. .zoomed .reveal .roll span {
  1085. background: none;
  1086. }
  1087. .zoomed .reveal .roll span:after {
  1088. visibility: hidden;
  1089. }