main.css 26 KB

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