reveal.css 27 KB

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