main.css 22 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902
  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. line-height: 1.2;
  257. overflow: hidden;
  258. vertical-align: top;
  259. -webkit-perspective: 400px;
  260. -moz-perspective: 400px;
  261. -ms-perspective: 400px;
  262. perspective: 400px;
  263. -webkit-perspective-origin: 50% 50%;
  264. -moz-perspective-origin: 50% 50%;
  265. -ms-perspective-origin: 50% 50%;
  266. perspective-origin: 50% 50%;
  267. }
  268. .reveal .roll:hover {
  269. background: none;
  270. text-shadow: none;
  271. }
  272. .reveal .roll span {
  273. display: block;
  274. position: relative;
  275. padding: 0 2px;
  276. pointer-events: none;
  277. -webkit-transition: all 400ms ease;
  278. -moz-transition: all 400ms ease;
  279. -ms-transition: all 400ms ease;
  280. transition: all 400ms ease;
  281. -webkit-transform-origin: 50% 0%;
  282. -moz-transform-origin: 50% 0%;
  283. -ms-transform-origin: 50% 0%;
  284. transform-origin: 50% 0%;
  285. -webkit-transform-style: preserve-3d;
  286. -moz-transform-style: preserve-3d;
  287. -ms-transform-style: preserve-3d;
  288. transform-style: preserve-3d;
  289. -webkit-backface-visibility: hidden;
  290. -moz-backface-visibility: hidden;
  291. backface-visibility: hidden;
  292. }
  293. .reveal .roll:hover span {
  294. background: rgba(0,0,0,0.5);
  295. -webkit-transform: translate3d( 0px, 0px, -45px ) rotateX( 90deg );
  296. -moz-transform: translate3d( 0px, 0px, -45px ) rotateX( 90deg );
  297. -ms-transform: translate3d( 0px, 0px, -45px ) rotateX( 90deg );
  298. transform: translate3d( 0px, 0px, -45px ) rotateX( 90deg );
  299. }
  300. .reveal .roll span:after {
  301. content: attr(data-title);
  302. display: block;
  303. position: absolute;
  304. left: 0;
  305. top: 0;
  306. padding: 0 2px;
  307. -webkit-transform-origin: 50% 0%;
  308. -moz-transform-origin: 50% 0%;
  309. -ms-transform-origin: 50% 0%;
  310. transform-origin: 50% 0%;
  311. -webkit-transform: translate3d( 0px, 110%, 0px ) rotateX( -90deg );
  312. -moz-transform: translate3d( 0px, 110%, 0px ) rotateX( -90deg );
  313. -ms-transform: translate3d( 0px, 110%, 0px ) rotateX( -90deg );
  314. transform: translate3d( 0px, 110%, 0px ) rotateX( -90deg );
  315. }
  316. /*********************************************
  317. * SLIDES
  318. *********************************************/
  319. .reveal .slides {
  320. position: absolute;
  321. max-width: 900px;
  322. width: 80%;
  323. height: 60%;
  324. left: 50%;
  325. top: 50%;
  326. margin-top: -320px;
  327. padding: 20px 0px;
  328. overflow: visible;
  329. text-align: center;
  330. -webkit-transition: -webkit-perspective .4s ease;
  331. -moz-transition: -moz-perspective .4s ease;
  332. -ms-transition: -ms-perspective .4s ease;
  333. -o-transition: -o-perspective .4s ease;
  334. transition: perspective .4s ease;
  335. -webkit-perspective: 600px;
  336. -moz-perspective: 600px;
  337. -ms-perspective: 600px;
  338. perspective: 600px;
  339. -webkit-perspective-origin: 0% 25%;
  340. -moz-perspective-origin: 0% 25%;
  341. -ms-perspective-origin: 0% 25%;
  342. perspective-origin: 0% 25%;
  343. }
  344. .reveal .slides>section,
  345. .reveal .slides>section>section {
  346. display: none;
  347. position: absolute;
  348. width: 100%;
  349. min-height: 600px;
  350. z-index: 10;
  351. -webkit-transform-style: preserve-3d;
  352. -moz-transform-style: preserve-3d;
  353. -ms-transform-style: preserve-3d;
  354. transform-style: preserve-3d;
  355. -webkit-transition: all 800ms cubic-bezier(0.260, 0.860, 0.440, 0.985);
  356. -moz-transition: all 800ms cubic-bezier(0.260, 0.860, 0.440, 0.985);
  357. -ms-transition: all 800ms cubic-bezier(0.260, 0.860, 0.440, 0.985);
  358. -o-transition: all 800ms cubic-bezier(0.260, 0.860, 0.440, 0.985);
  359. transition: all 800ms cubic-bezier(0.260, 0.860, 0.440, 0.985);
  360. }
  361. .reveal .slides>section.present {
  362. display: block;
  363. z-index: 11;
  364. opacity: 1;
  365. }
  366. .reveal .slides>section {
  367. margin-left: -50%;
  368. }
  369. /*********************************************
  370. * DEFAULT TRANSITION
  371. *********************************************/
  372. .reveal .slides>section.past {
  373. display: block;
  374. opacity: 0;
  375. -webkit-transform: translate3d(-100%, 0, 0) rotateY(-90deg) translate3d(-100%, 0, 0);
  376. -moz-transform: translate3d(-100%, 0, 0) rotateY(-90deg) translate3d(-100%, 0, 0);
  377. -ms-transform: translate3d(-100%, 0, 0) rotateY(-90deg) translate3d(-100%, 0, 0);
  378. transform: translate3d(-100%, 0, 0) rotateY(-90deg) translate3d(-100%, 0, 0);
  379. }
  380. .reveal .slides>section.future {
  381. display: block;
  382. opacity: 0;
  383. -webkit-transform: translate3d(100%, 0, 0) rotateY(90deg) translate3d(100%, 0, 0);
  384. -moz-transform: translate3d(100%, 0, 0) rotateY(90deg) translate3d(100%, 0, 0);
  385. -ms-transform: translate3d(100%, 0, 0) rotateY(90deg) translate3d(100%, 0, 0);
  386. transform: translate3d(100%, 0, 0) rotateY(90deg) translate3d(100%, 0, 0);
  387. }
  388. .reveal .slides>section>section.past {
  389. display: block;
  390. opacity: 0;
  391. -webkit-transform: translate3d(0, -50%, 0) rotateX(70deg) translate3d(0, -50%, 0);
  392. -moz-transform: translate3d(0, -50%, 0) rotateX(70deg) translate3d(0, -50%, 0);
  393. -ms-transform: translate3d(0, -50%, 0) rotateX(70deg) translate3d(0, -50%, 0);
  394. transform: translate3d(0, -50%, 0) rotateX(70deg) translate3d(0, -50%, 0);
  395. }
  396. .reveal .slides>section>section.future {
  397. display: block;
  398. opacity: 0;
  399. -webkit-transform: translate3d(0, 50%, 0) rotateX(-70deg) translate3d(0, 50%, 0);
  400. -moz-transform: translate3d(0, 50%, 0) rotateX(-70deg) translate3d(0, 50%, 0);
  401. -ms-transform: translate3d(0, 50%, 0) rotateX(-70deg) translate3d(0, 50%, 0);
  402. transform: translate3d(0, 50%, 0) rotateX(-70deg) translate3d(0, 50%, 0);
  403. }
  404. /*********************************************
  405. * CONCAVE TRANSITION
  406. *********************************************/
  407. .reveal.concave .slides>section.past {
  408. -webkit-transform: translate3d(-100%, 0, 0) rotateY(90deg) translate3d(-100%, 0, 0);
  409. -moz-transform: translate3d(-100%, 0, 0) rotateY(90deg) translate3d(-100%, 0, 0);
  410. -ms-transform: translate3d(-100%, 0, 0) rotateY(90deg) translate3d(-100%, 0, 0);
  411. transform: translate3d(-100%, 0, 0) rotateY(90deg) translate3d(-100%, 0, 0);
  412. }
  413. .reveal.concave .slides>section.future {
  414. -webkit-transform: translate3d(100%, 0, 0) rotateY(-90deg) translate3d(100%, 0, 0);
  415. -moz-transform: translate3d(100%, 0, 0) rotateY(-90deg) translate3d(100%, 0, 0);
  416. -ms-transform: translate3d(100%, 0, 0) rotateY(-90deg) translate3d(100%, 0, 0);
  417. transform: translate3d(100%, 0, 0) rotateY(-90deg) translate3d(100%, 0, 0);
  418. }
  419. .reveal.concave .slides>section>section.past {
  420. -webkit-transform: translate3d(0, -80%, 0) rotateX(-70deg) translate3d(0, -80%, 0);
  421. -moz-transform: translate3d(0, -80%, 0) rotateX(-70deg) translate3d(0, -80%, 0);
  422. -ms-transform: translate3d(0, -80%, 0) rotateX(-70deg) translate3d(0, -80%, 0);
  423. transform: translate3d(0, -80%, 0) rotateX(-70deg) translate3d(0, -80%, 0);
  424. }
  425. .reveal.concave .slides>section>section.future {
  426. -webkit-transform: translate3d(0, 80%, 0) rotateX(70deg) translate3d(0, 80%, 0);
  427. -moz-transform: translate3d(0, 80%, 0) rotateX(70deg) translate3d(0, 80%, 0);
  428. -ms-transform: translate3d(0, 80%, 0) rotateX(70deg) translate3d(0, 80%, 0);
  429. transform: translate3d(0, 80%, 0) rotateX(70deg) translate3d(0, 80%, 0);
  430. }
  431. /*********************************************
  432. * LINEAR TRANSITION
  433. *********************************************/
  434. .reveal.linear .slides>section.past {
  435. -webkit-transform: translate(-150%, 0);
  436. -moz-transform: translate(-150%, 0);
  437. -ms-transform: translate(-150%, 0);
  438. -o-transform: translate(-150%, 0);
  439. transform: translate(-150%, 0);
  440. }
  441. .reveal.linear .slides>section.future {
  442. -webkit-transform: translate(150%, 0);
  443. -moz-transform: translate(150%, 0);
  444. -ms-transform: translate(150%, 0);
  445. -o-transform: translate(150%, 0);
  446. transform: translate(150%, 0);
  447. }
  448. .reveal.linear .slides>section>section.past {
  449. -webkit-transform: translate(0, -150%);
  450. -moz-transform: translate(0, -150%);
  451. -ms-transform: translate(0, -150%);
  452. -o-transform: translate(0, -150%);
  453. transform: translate(0, -150%);
  454. }
  455. .reveal.linear .slides>section>section.future {
  456. -webkit-transform: translate(0, 150%);
  457. -moz-transform: translate(0, 150%);
  458. -ms-transform: translate(0, 150%);
  459. -o-transform: translate(0, 150%);
  460. transform: translate(0, 150%);
  461. }
  462. /*********************************************
  463. * BOX TRANSITION
  464. *********************************************/
  465. .reveal.cube .slides {
  466. margin-top: -350px;
  467. -webkit-perspective-origin: 50% 25%;
  468. -moz-perspective-origin: 50% 25%;
  469. -ms-perspective-origin: 50% 25%;
  470. perspective-origin: 50% 25%;
  471. -webkit-perspective: 1300px;
  472. -moz-perspective: 1300px;
  473. -ms-perspective: 1300px;
  474. perspective: 1300px;
  475. }
  476. .reveal.cube .slides section {
  477. padding: 30px;
  478. -webkit-backface-visibility: hidden;
  479. -moz-backface-visibility: hidden;
  480. -ms-backface-visibility: hidden;
  481. backface-visibility: hidden;
  482. -webkit-box-sizing: border-box;
  483. -moz-box-sizing: border-box;
  484. box-sizing: border-box;
  485. }
  486. .reveal.cube .slides section:not(.stack):before {
  487. content: '';
  488. position: absolute;
  489. display: block;
  490. width: 100%;
  491. height: 100%;
  492. left: 0;
  493. top: 0;
  494. background: #232628;
  495. border-radius: 4px;
  496. -webkit-transform: translateZ( -20px );
  497. -moz-transform: translateZ( -20px );
  498. -ms-transform: translateZ( -20px );
  499. -o-transform: translateZ( -20px );
  500. transform: translateZ( -20px );
  501. }
  502. .reveal.cube .slides section:not(.stack):after {
  503. content: '';
  504. position: absolute;
  505. display: block;
  506. width: 90%;
  507. height: 30px;
  508. left: 5%;
  509. bottom: 0;
  510. background: none;
  511. z-index: 1;
  512. border-radius: 4px;
  513. box-shadow: 0px 95px 25px rgba(0,0,0,0.2);
  514. -webkit-transform: translateZ(-90px) rotateX( 65deg );
  515. -moz-transform: translateZ(-90px) rotateX( 65deg );
  516. -ms-transform: translateZ(-90px) rotateX( 65deg );
  517. -o-transform: translateZ(-90px) rotateX( 65deg );
  518. transform: translateZ(-90px) rotateX( 65deg );
  519. }
  520. .reveal.cube .slides>section.stack {
  521. padding: 0;
  522. background: none;
  523. }
  524. .reveal.cube .slides>section.past {
  525. -webkit-transform-origin: 100% 0%;
  526. -moz-transform-origin: 100% 0%;
  527. -ms-transform-origin: 100% 0%;
  528. transform-origin: 100% 0%;
  529. -webkit-transform: translate3d(-100%, 0, 0) rotateY(-90deg);
  530. -moz-transform: translate3d(-100%, 0, 0) rotateY(-90deg);
  531. -ms-transform: translate3d(-100%, 0, 0) rotateY(-90deg);
  532. transform: translate3d(-100%, 0, 0) rotateY(-90deg);
  533. }
  534. .reveal.cube .slides>section.future {
  535. -webkit-transform-origin: 0% 0%;
  536. -moz-transform-origin: 0% 0%;
  537. -ms-transform-origin: 0% 0%;
  538. transform-origin: 0% 0%;
  539. -webkit-transform: translate3d(100%, 0, 0) rotateY(90deg);
  540. -moz-transform: translate3d(100%, 0, 0) rotateY(90deg);
  541. -ms-transform: translate3d(100%, 0, 0) rotateY(90deg);
  542. transform: translate3d(100%, 0, 0) rotateY(90deg);
  543. }
  544. .reveal.cube .slides>section>section.past {
  545. -webkit-transform-origin: 0% 100%;
  546. -moz-transform-origin: 0% 100%;
  547. -ms-transform-origin: 0% 100%;
  548. transform-origin: 0% 100%;
  549. -webkit-transform: translate3d(0, -100%, 0) rotateX(90deg);
  550. -moz-transform: translate3d(0, -100%, 0) rotateX(90deg);
  551. -ms-transform: translate3d(0, -100%, 0) rotateX(90deg);
  552. transform: translate3d(0, -100%, 0) rotateX(90deg);
  553. }
  554. .reveal.cube .slides>section>section.future {
  555. -webkit-transform-origin: 0% 0%;
  556. -moz-transform-origin: 0% 0%;
  557. -ms-transform-origin: 0% 0%;
  558. transform-origin: 0% 0%;
  559. -webkit-transform: translate3d(0, 100%, 0) rotateX(-90deg);
  560. -moz-transform: translate3d(0, 100%, 0) rotateX(-90deg);
  561. -ms-transform: translate3d(0, 100%, 0) rotateX(-90deg);
  562. transform: translate3d(0, 100%, 0) rotateX(-90deg);
  563. }
  564. /*********************************************
  565. * PAGE TRANSITION
  566. *********************************************/
  567. .reveal.page .slides {
  568. margin-top: -350px;
  569. -webkit-perspective-origin: 50% 50%;
  570. -moz-perspective-origin: 50% 50%;
  571. -ms-perspective-origin: 50% 50%;
  572. perspective-origin: 50% 50%;
  573. -webkit-perspective: 3000px;
  574. -moz-perspective: 3000px;
  575. -ms-perspective: 3000px;
  576. perspective: 3000px;
  577. }
  578. .reveal.page .slides section {
  579. padding: 30px;
  580. -webkit-box-sizing: border-box;
  581. -moz-box-sizing: border-box;
  582. box-sizing: border-box;
  583. }
  584. .reveal.page .slides section.past {
  585. z-index: 12;
  586. }
  587. .reveal.page .slides section:not(.stack):before {
  588. content: '';
  589. position: absolute;
  590. display: block;
  591. width: 100%;
  592. height: 100%;
  593. left: 0;
  594. top: 0;
  595. background: rgba(0,0,0,0.2);
  596. -webkit-transform: translateZ( -20px );
  597. -moz-transform: translateZ( -20px );
  598. -ms-transform: translateZ( -20px );
  599. -o-transform: translateZ( -20px );
  600. transform: translateZ( -20px );
  601. }
  602. .reveal.page .slides section:not(.stack):after {
  603. content: '';
  604. position: absolute;
  605. display: block;
  606. width: 90%;
  607. height: 30px;
  608. left: 5%;
  609. bottom: 0;
  610. background: none;
  611. z-index: 1;
  612. border-radius: 4px;
  613. box-shadow: 0px 95px 25px rgba(0,0,0,0.2);
  614. -webkit-transform: translateZ(-90px) rotateX( 65deg );
  615. }
  616. .reveal.page .slides>section.stack {
  617. padding: 0;
  618. background: none;
  619. }
  620. .reveal.page .slides>section.past {
  621. -webkit-transform-origin: 0% 0%;
  622. -moz-transform-origin: 0% 0%;
  623. -ms-transform-origin: 0% 0%;
  624. transform-origin: 0% 0%;
  625. -webkit-transform: translate3d(-40%, 0, 0) rotateY(-80deg);
  626. -moz-transform: translate3d(-40%, 0, 0) rotateY(-80deg);
  627. -ms-transform: translate3d(-40%, 0, 0) rotateY(-80deg);
  628. transform: translate3d(-40%, 0, 0) rotateY(-80deg);
  629. }
  630. .reveal.page .slides>section.future {
  631. -webkit-transform-origin: 100% 0%;
  632. -moz-transform-origin: 100% 0%;
  633. -ms-transform-origin: 100% 0%;
  634. transform-origin: 100% 0%;
  635. -webkit-transform: translate3d(0, 0, 0);
  636. -moz-transform: translate3d(0, 0, 0);
  637. -ms-transform: translate3d(0, 0, 0);
  638. transform: translate3d(0, 0, 0);
  639. }
  640. .reveal.page .slides>section>section.past {
  641. -webkit-transform-origin: 0% 0%;
  642. -moz-transform-origin: 0% 0%;
  643. -ms-transform-origin: 0% 0%;
  644. transform-origin: 0% 0%;
  645. -webkit-transform: translate3d(0, -40%, 0) rotateX(80deg);
  646. -moz-transform: translate3d(0, -40%, 0) rotateX(80deg);
  647. -ms-transform: translate3d(0, -40%, 0) rotateX(80deg);
  648. transform: translate3d(0, -40%, 0) rotateX(80deg);
  649. }
  650. .reveal.page .slides>section>section.future {
  651. -webkit-transform-origin: 0% 100%;
  652. -moz-transform-origin: 0% 100%;
  653. -ms-transform-origin: 0% 100%;
  654. transform-origin: 0% 100%;
  655. -webkit-transform: translate3d(0, 0, 0);
  656. -moz-transform: translate3d(0, 0, 0);
  657. -ms-transform: translate3d(0, 0, 0);
  658. transform: translate3d(0, 0, 0);
  659. }
  660. /*********************************************
  661. * OVERVIEW
  662. *********************************************/
  663. .reveal.overview .slides {
  664. -webkit-perspective: 700px;
  665. -moz-perspective: 700px;
  666. -ms-perspective: 700px;
  667. perspective: 700px;
  668. }
  669. .reveal.overview .slides section {
  670. padding: 20px 0;
  671. max-height: 600px;
  672. overflow: hidden;
  673. opacity: 1;
  674. cursor: pointer;
  675. background: rgba(0,0,0,0.1);
  676. }
  677. .reveal.overview .slides section .fragment {
  678. opacity: 1;
  679. }
  680. .reveal.overview .slides section:after,
  681. .reveal.overview .slides section:before {
  682. display: none !important;
  683. }
  684. .reveal.overview .slides section>section {
  685. opacity: 1;
  686. cursor: pointer;
  687. }
  688. .reveal.overview .slides section:hover {
  689. background: rgba(0,0,0,0.3);
  690. }
  691. .reveal.overview .slides section.present {
  692. background: rgba(0,0,0,0.3);
  693. }
  694. .reveal.overview .slides>section.stack {
  695. background: none;
  696. padding: 0;
  697. overflow: visible;
  698. }
  699. /*********************************************
  700. * FALLBACK
  701. *********************************************/
  702. .no-transforms {
  703. overflow-y: auto;
  704. }
  705. .no-transforms .slides section {
  706. display: block!important;
  707. opacity: 1!important;
  708. position: relative!important;
  709. height: auto;
  710. min-height: auto;
  711. margin-bottom: 100px;
  712. -webkit-transform: none;
  713. -moz-transform: none;
  714. -ms-transform: none;
  715. transform: none;
  716. }
  717. /*********************************************
  718. * DEFAULT STATES
  719. *********************************************/
  720. .state-background {
  721. position: absolute;
  722. width: 100%;
  723. height: 100%;
  724. background: rgba( 0, 0, 0, 0 );
  725. -webkit-transition: background 800ms ease;
  726. -moz-transition: background 800ms ease;
  727. -ms-transition: background 800ms ease;
  728. -o-transition: background 800ms ease;
  729. transition: background 800ms ease;
  730. }
  731. .alert .state-background {
  732. background: rgba( 200, 50, 30, 0.6 );
  733. }
  734. .soothe .state-background {
  735. background: rgba( 50, 200, 90, 0.4 );
  736. }
  737. .blackout .state-background {
  738. background: rgba( 0, 0, 0, 0.6 );
  739. }
  740. /*********************************************
  741. * SPEAKER NOTES
  742. *********************************************/
  743. .reveal aside.notes {
  744. display: none;
  745. }