reveal.css 32 KB

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