main.css 22 KB

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