main.css 22 KB

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