main.css 24 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961
  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/leaguegothic/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: 14px;
  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 small {
  181. font-size: 60%;
  182. line-height: 1em;
  183. vertical-align: top;
  184. }
  185. .reveal q {
  186. font-style: italic;
  187. }
  188. .reveal q:before {
  189. content: '“';
  190. }
  191. .reveal q:after {
  192. content: '”';
  193. }
  194. .reveal a:not(.image) {
  195. color: hsl(185, 85%, 50%);
  196. text-decoration: none;
  197. -webkit-transition: all .2s ease;
  198. -moz-transition: all .2s ease;
  199. -ms-transition: all .2s ease;
  200. -o-transition: all .2s ease;
  201. transition: all .2s ease;
  202. }
  203. .reveal a:not(.image):hover {
  204. color: hsl(185, 85%, 70%);
  205. background: hsla(185, 25%, 20%, 0.4);
  206. text-shadow: none;
  207. border: none;
  208. border-radius: 2px;
  209. }
  210. .reveal section img {
  211. margin: 30px 0 0 0;
  212. background: rgba(255,255,255,0.12);
  213. border: 4px solid #eee;
  214. -webkit-box-shadow: 0 0 10px rgba(0, 0, 0, 0.15);
  215. -moz-box-shadow: 0 0 10px rgba(0, 0, 0, 0.15);
  216. box-shadow: 0 0 10px rgba(0, 0, 0, 0.15);
  217. -webkit-transition: all .2s linear;
  218. -moz-transition: all .2s linear;
  219. -ms-transition: all .2s linear;
  220. -o-transition: all .2s linear;
  221. transition: all .2s linear;
  222. }
  223. .reveal a:hover img {
  224. background: rgba(255,255,255,0.2);
  225. border-color: #13DAEC;
  226. -webkit-box-shadow: 0 0 20px rgba(0, 0, 0, 0.55);
  227. -moz-box-shadow: 0 0 20px rgba(0, 0, 0, 0.55);
  228. box-shadow: 0 0 20px rgba(0, 0, 0, 0.55);
  229. }
  230. /*********************************************
  231. * CONTROLS
  232. *********************************************/
  233. .reveal .controls {
  234. display: none;
  235. position: fixed;
  236. width: 100px;
  237. height: 100px;
  238. z-index: 30;
  239. right: 0;
  240. bottom: 0;
  241. }
  242. .reveal .controls a {
  243. font-size: 30px;
  244. position: absolute;
  245. opacity: 0.1;
  246. color: #fff;
  247. }
  248. .reveal .controls a.enabled {
  249. opacity: 0.6;
  250. color: hsl(185, 85%, 70%);
  251. text-shadow: 0px 0px 2px hsla(185, 45%, 70%, 0.3);
  252. }
  253. .reveal .controls a.enabled:active {
  254. margin-top: 1px;
  255. }
  256. .reveal .controls .left {
  257. top: 30px;
  258. }
  259. .reveal .controls .right {
  260. left: 60px;
  261. top: 30px;
  262. }
  263. .reveal .controls .up {
  264. left: 30px;
  265. }
  266. .reveal .controls .down {
  267. left: 30px;
  268. top: 60px;
  269. }
  270. /*********************************************
  271. * PROGRESS BAR
  272. *********************************************/
  273. .reveal .progress {
  274. position: fixed;
  275. display: none;
  276. height: 3px;
  277. width: 100%;
  278. bottom: 0;
  279. left: 0;
  280. background: rgba(0,0,0,0.2);
  281. }
  282. .reveal .progress span {
  283. display: block;
  284. background: hsl(185, 85%, 50%);
  285. height: 100%;
  286. width: 0px;
  287. -webkit-transition: width 800ms cubic-bezier(0.260, 0.860, 0.440, 0.985);
  288. -moz-transition: width 800ms cubic-bezier(0.260, 0.860, 0.440, 0.985);
  289. -ms-transition: width 800ms cubic-bezier(0.260, 0.860, 0.440, 0.985);
  290. -o-transition: width 800ms cubic-bezier(0.260, 0.860, 0.440, 0.985);
  291. transition: width 800ms cubic-bezier(0.260, 0.860, 0.440, 0.985);
  292. }
  293. /*********************************************
  294. * ROLLING LINKS
  295. *********************************************/
  296. .reveal .roll {
  297. display: inline-block;
  298. overflow: hidden;
  299. vertical-align: top;
  300. -webkit-perspective: 400px;
  301. -moz-perspective: 400px;
  302. -ms-perspective: 400px;
  303. perspective: 400px;
  304. -webkit-perspective-origin: 50% 50%;
  305. -moz-perspective-origin: 50% 50%;
  306. -ms-perspective-origin: 50% 50%;
  307. perspective-origin: 50% 50%;
  308. }
  309. .reveal .roll:hover {
  310. background: none;
  311. text-shadow: none;
  312. }
  313. .reveal .roll span {
  314. display: block;
  315. position: relative;
  316. padding: 0 2px;
  317. pointer-events: none;
  318. -webkit-transition: all 400ms ease;
  319. -moz-transition: all 400ms ease;
  320. -ms-transition: all 400ms ease;
  321. transition: all 400ms ease;
  322. -webkit-transform-origin: 50% 0%;
  323. -moz-transform-origin: 50% 0%;
  324. -ms-transform-origin: 50% 0%;
  325. transform-origin: 50% 0%;
  326. -webkit-transform-style: preserve-3d;
  327. -moz-transform-style: preserve-3d;
  328. -ms-transform-style: preserve-3d;
  329. transform-style: preserve-3d;
  330. }
  331. .reveal .roll:hover span {
  332. background: rgba(0,0,0,0.5);
  333. -webkit-transform: translate3d( 0px, 0px, -45px ) rotateX( 90deg );
  334. -moz-transform: translate3d( 0px, 0px, -45px ) rotateX( 90deg );
  335. -ms-transform: translate3d( 0px, 0px, -45px ) rotateX( 90deg );
  336. transform: translate3d( 0px, 0px, -45px ) rotateX( 90deg );
  337. }
  338. .reveal .roll span:after {
  339. content: attr(data-title);
  340. display: block;
  341. position: absolute;
  342. left: 0;
  343. top: 0;
  344. padding: 0 2px;
  345. color: #fff;
  346. background: hsl(185, 60%, 35%);
  347. -webkit-transform-origin: 50% 0%;
  348. -moz-transform-origin: 50% 0%;
  349. -ms-transform-origin: 50% 0%;
  350. transform-origin: 50% 0%;
  351. -webkit-transform: translate3d( 0px, 105%, 0px ) rotateX( -90deg );
  352. -moz-transform: translate3d( 0px, 105%, 0px ) rotateX( -90deg );
  353. -ms-transform: translate3d( 0px, 105%, 0px ) rotateX( -90deg );
  354. transform: translate3d( 0px, 105%, 0px ) rotateX( -90deg );
  355. }
  356. /*********************************************
  357. * SLIDES
  358. *********************************************/
  359. .reveal .slides {
  360. position: absolute;
  361. width: 900px;
  362. height: 600px;
  363. left: 50%;
  364. top: 50%;
  365. margin-left: -450px;
  366. margin-top: -320px;
  367. padding: 20px 0px;
  368. text-align: center;
  369. -webkit-transition: -webkit-perspective .4s ease;
  370. -moz-transition: -moz-perspective .4s ease;
  371. -ms-transition: -ms-perspective .4s ease;
  372. -o-transition: -o-perspective .4s ease;
  373. transition: perspective .4s ease;
  374. -webkit-perspective: 600px;
  375. -moz-perspective: 600px;
  376. -ms-perspective: 600px;
  377. perspective: 600px;
  378. -webkit-perspective-origin: 50% 25%;
  379. -moz-perspective-origin: 50% 25%;
  380. -ms-perspective-origin: 50% 25%;
  381. perspective-origin: 50% 25%;
  382. }
  383. .reveal .slides>section,
  384. .reveal .slides>section>section {
  385. display: none;
  386. position: absolute;
  387. width: 100%;
  388. min-height: 600px;
  389. z-index: 10;
  390. -webkit-transform-style: preserve-3d;
  391. -moz-transform-style: preserve-3d;
  392. -ms-transform-style: preserve-3d;
  393. transform-style: preserve-3d;
  394. -webkit-transition: all 800ms cubic-bezier(0.260, 0.860, 0.440, 0.985);
  395. -moz-transition: all 800ms cubic-bezier(0.260, 0.860, 0.440, 0.985);
  396. -ms-transition: all 800ms cubic-bezier(0.260, 0.860, 0.440, 0.985);
  397. -o-transition: all 800ms cubic-bezier(0.260, 0.860, 0.440, 0.985);
  398. transition: all 800ms cubic-bezier(0.260, 0.860, 0.440, 0.985);
  399. }
  400. .reveal .slides>section.present {
  401. display: block;
  402. z-index: 11;
  403. opacity: 1;
  404. }
  405. /*********************************************
  406. * DEFAULT TRANSITION
  407. *********************************************/
  408. .reveal .slides>section.past {
  409. display: block;
  410. opacity: 0;
  411. -webkit-transform: translate3d(-100%, 0, 0) rotateY(-90deg) translate3d(-100%, 0, 0);
  412. -moz-transform: translate3d(-100%, 0, 0) rotateY(-90deg) translate3d(-100%, 0, 0);
  413. -ms-transform: translate3d(-100%, 0, 0) rotateY(-90deg) translate3d(-100%, 0, 0);
  414. transform: translate3d(-100%, 0, 0) rotateY(-90deg) translate3d(-100%, 0, 0);
  415. }
  416. .reveal .slides>section.future {
  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>section.past {
  425. display: block;
  426. opacity: 0;
  427. -webkit-transform: translate3d(0, -50%, 0) rotateX(70deg) translate3d(0, -50%, 0);
  428. -moz-transform: translate3d(0, -50%, 0) rotateX(70deg) translate3d(0, -50%, 0);
  429. -ms-transform: translate3d(0, -50%, 0) rotateX(70deg) translate3d(0, -50%, 0);
  430. transform: translate3d(0, -50%, 0) rotateX(70deg) translate3d(0, -50%, 0);
  431. }
  432. .reveal .slides>section>section.future {
  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. /*********************************************
  441. * CONCAVE TRANSITION
  442. *********************************************/
  443. .reveal.concave .slides>section.past {
  444. -webkit-transform: translate3d(-100%, 0, 0) rotateY(90deg) translate3d(-100%, 0, 0);
  445. -moz-transform: translate3d(-100%, 0, 0) rotateY(90deg) translate3d(-100%, 0, 0);
  446. -ms-transform: translate3d(-100%, 0, 0) rotateY(90deg) translate3d(-100%, 0, 0);
  447. transform: translate3d(-100%, 0, 0) rotateY(90deg) translate3d(-100%, 0, 0);
  448. }
  449. .reveal.concave .slides>section.future {
  450. -webkit-transform: translate3d(100%, 0, 0) rotateY(-90deg) translate3d(100%, 0, 0);
  451. -moz-transform: translate3d(100%, 0, 0) rotateY(-90deg) translate3d(100%, 0, 0);
  452. -ms-transform: translate3d(100%, 0, 0) rotateY(-90deg) translate3d(100%, 0, 0);
  453. transform: translate3d(100%, 0, 0) rotateY(-90deg) translate3d(100%, 0, 0);
  454. }
  455. .reveal.concave .slides>section>section.past {
  456. -webkit-transform: translate3d(0, -80%, 0) rotateX(-70deg) translate3d(0, -80%, 0);
  457. -moz-transform: translate3d(0, -80%, 0) rotateX(-70deg) translate3d(0, -80%, 0);
  458. -ms-transform: translate3d(0, -80%, 0) rotateX(-70deg) translate3d(0, -80%, 0);
  459. transform: translate3d(0, -80%, 0) rotateX(-70deg) translate3d(0, -80%, 0);
  460. }
  461. .reveal.concave .slides>section>section.future {
  462. -webkit-transform: translate3d(0, 80%, 0) rotateX(70deg) translate3d(0, 80%, 0);
  463. -moz-transform: translate3d(0, 80%, 0) rotateX(70deg) translate3d(0, 80%, 0);
  464. -ms-transform: translate3d(0, 80%, 0) rotateX(70deg) translate3d(0, 80%, 0);
  465. transform: translate3d(0, 80%, 0) rotateX(70deg) translate3d(0, 80%, 0);
  466. }
  467. /*********************************************
  468. * LINEAR TRANSITION
  469. *********************************************/
  470. .reveal.linear .slides>section.past {
  471. -webkit-transform: translate(-150%, 0);
  472. -moz-transform: translate(-150%, 0);
  473. -ms-transform: translate(-150%, 0);
  474. -o-transform: translate(-150%, 0);
  475. transform: translate(-150%, 0);
  476. }
  477. .reveal.linear .slides>section.future {
  478. -webkit-transform: translate(150%, 0);
  479. -moz-transform: translate(150%, 0);
  480. -ms-transform: translate(150%, 0);
  481. -o-transform: translate(150%, 0);
  482. transform: translate(150%, 0);
  483. }
  484. .reveal.linear .slides>section>section.past {
  485. -webkit-transform: translate(0, -150%);
  486. -moz-transform: translate(0, -150%);
  487. -ms-transform: translate(0, -150%);
  488. -o-transform: translate(0, -150%);
  489. transform: translate(0, -150%);
  490. }
  491. .reveal.linear .slides>section>section.future {
  492. -webkit-transform: translate(0, 150%);
  493. -moz-transform: translate(0, 150%);
  494. -ms-transform: translate(0, 150%);
  495. -o-transform: translate(0, 150%);
  496. transform: translate(0, 150%);
  497. }
  498. /*********************************************
  499. * BOX TRANSITION
  500. *********************************************/
  501. .reveal.cube .slides {
  502. margin-top: -350px;
  503. -webkit-perspective-origin: 50% 25%;
  504. -moz-perspective-origin: 50% 25%;
  505. -ms-perspective-origin: 50% 25%;
  506. perspective-origin: 50% 25%;
  507. -webkit-perspective: 1300px;
  508. -moz-perspective: 1300px;
  509. -ms-perspective: 1300px;
  510. perspective: 1300px;
  511. }
  512. .reveal.cube .slides section {
  513. padding: 30px;
  514. -webkit-backface-visibility: hidden;
  515. -moz-backface-visibility: hidden;
  516. -ms-backface-visibility: hidden;
  517. backface-visibility: hidden;
  518. -webkit-box-sizing: border-box;
  519. -moz-box-sizing: border-box;
  520. box-sizing: border-box;
  521. }
  522. .reveal.cube .slides section:not(.stack):before {
  523. content: '';
  524. position: absolute;
  525. display: block;
  526. width: 100%;
  527. height: 100%;
  528. left: 0;
  529. top: 0;
  530. background: #232628;
  531. border-radius: 4px;
  532. -webkit-transform: translateZ( -20px );
  533. -moz-transform: translateZ( -20px );
  534. -ms-transform: translateZ( -20px );
  535. -o-transform: translateZ( -20px );
  536. transform: translateZ( -20px );
  537. }
  538. .reveal.cube .slides section:not(.stack):after {
  539. content: '';
  540. position: absolute;
  541. display: block;
  542. width: 90%;
  543. height: 30px;
  544. left: 5%;
  545. bottom: 0;
  546. background: none;
  547. z-index: 1;
  548. border-radius: 4px;
  549. box-shadow: 0px 95px 25px rgba(0,0,0,0.2);
  550. -webkit-transform: translateZ(-90px) rotateX( 65deg );
  551. -moz-transform: translateZ(-90px) rotateX( 65deg );
  552. -ms-transform: translateZ(-90px) rotateX( 65deg );
  553. -o-transform: translateZ(-90px) rotateX( 65deg );
  554. transform: translateZ(-90px) rotateX( 65deg );
  555. }
  556. .reveal.cube .slides>section.stack {
  557. padding: 0;
  558. background: none;
  559. }
  560. .reveal.cube .slides>section.past {
  561. -webkit-transform-origin: 100% 0%;
  562. -moz-transform-origin: 100% 0%;
  563. -ms-transform-origin: 100% 0%;
  564. transform-origin: 100% 0%;
  565. -webkit-transform: translate3d(-100%, 0, 0) rotateY(-90deg);
  566. -moz-transform: translate3d(-100%, 0, 0) rotateY(-90deg);
  567. -ms-transform: translate3d(-100%, 0, 0) rotateY(-90deg);
  568. transform: translate3d(-100%, 0, 0) rotateY(-90deg);
  569. }
  570. .reveal.cube .slides>section.future {
  571. -webkit-transform-origin: 0% 0%;
  572. -moz-transform-origin: 0% 0%;
  573. -ms-transform-origin: 0% 0%;
  574. transform-origin: 0% 0%;
  575. -webkit-transform: translate3d(100%, 0, 0) rotateY(90deg);
  576. -moz-transform: translate3d(100%, 0, 0) rotateY(90deg);
  577. -ms-transform: translate3d(100%, 0, 0) rotateY(90deg);
  578. transform: translate3d(100%, 0, 0) rotateY(90deg);
  579. }
  580. .reveal.cube .slides>section>section.past {
  581. -webkit-transform-origin: 0% 100%;
  582. -moz-transform-origin: 0% 100%;
  583. -ms-transform-origin: 0% 100%;
  584. transform-origin: 0% 100%;
  585. -webkit-transform: translate3d(0, -100%, 0) rotateX(90deg);
  586. -moz-transform: translate3d(0, -100%, 0) rotateX(90deg);
  587. -ms-transform: translate3d(0, -100%, 0) rotateX(90deg);
  588. transform: translate3d(0, -100%, 0) rotateX(90deg);
  589. }
  590. .reveal.cube .slides>section>section.future {
  591. -webkit-transform-origin: 0% 0%;
  592. -moz-transform-origin: 0% 0%;
  593. -ms-transform-origin: 0% 0%;
  594. transform-origin: 0% 0%;
  595. -webkit-transform: translate3d(0, 100%, 0) rotateX(-90deg);
  596. -moz-transform: translate3d(0, 100%, 0) rotateX(-90deg);
  597. -ms-transform: translate3d(0, 100%, 0) rotateX(-90deg);
  598. transform: translate3d(0, 100%, 0) rotateX(-90deg);
  599. }
  600. /*********************************************
  601. * PAGE TRANSITION
  602. *********************************************/
  603. .reveal.page .slides {
  604. margin-top: -350px;
  605. -webkit-perspective-origin: 50% 50%;
  606. -moz-perspective-origin: 50% 50%;
  607. -ms-perspective-origin: 50% 50%;
  608. perspective-origin: 50% 50%;
  609. -webkit-perspective: 3000px;
  610. -moz-perspective: 3000px;
  611. -ms-perspective: 3000px;
  612. perspective: 3000px;
  613. }
  614. .reveal.page .slides section {
  615. padding: 30px;
  616. -webkit-box-sizing: border-box;
  617. -moz-box-sizing: border-box;
  618. box-sizing: border-box;
  619. }
  620. .reveal.page .slides section.past {
  621. z-index: 12;
  622. }
  623. .reveal.page .slides section:not(.stack):before {
  624. content: '';
  625. position: absolute;
  626. display: block;
  627. width: 100%;
  628. height: 100%;
  629. left: 0;
  630. top: 0;
  631. background: #232628;
  632. -webkit-transform: translateZ( -20px );
  633. -moz-transform: translateZ( -20px );
  634. -ms-transform: translateZ( -20px );
  635. -o-transform: translateZ( -20px );
  636. transform: translateZ( -20px );
  637. }
  638. .reveal.page .slides section:not(.stack):after {
  639. content: '';
  640. position: absolute;
  641. display: block;
  642. width: 90%;
  643. height: 30px;
  644. left: 5%;
  645. bottom: 0;
  646. background: none;
  647. z-index: 1;
  648. border-radius: 4px;
  649. box-shadow: 0px 95px 25px rgba(0,0,0,0.2);
  650. -webkit-transform: translateZ(-90px) rotateX( 65deg );
  651. }
  652. .reveal.page .slides>section.stack {
  653. padding: 0;
  654. background: none;
  655. }
  656. .reveal.page .slides>section.past {
  657. -webkit-transform-origin: 0% 0%;
  658. -moz-transform-origin: 0% 0%;
  659. -ms-transform-origin: 0% 0%;
  660. transform-origin: 0% 0%;
  661. -webkit-transform: translate3d(-40%, 0, 0) rotateY(-80deg);
  662. -moz-transform: translate3d(-40%, 0, 0) rotateY(-80deg);
  663. -ms-transform: translate3d(-40%, 0, 0) rotateY(-80deg);
  664. transform: translate3d(-40%, 0, 0) rotateY(-80deg);
  665. }
  666. .reveal.page .slides>section.future {
  667. -webkit-transform-origin: 100% 0%;
  668. -moz-transform-origin: 100% 0%;
  669. -ms-transform-origin: 100% 0%;
  670. transform-origin: 100% 0%;
  671. -webkit-transform: translate3d(0, 0, 0);
  672. -moz-transform: translate3d(0, 0, 0);
  673. -ms-transform: translate3d(0, 0, 0);
  674. transform: translate3d(0, 0, 0);
  675. }
  676. .reveal.page .slides>section>section.past {
  677. -webkit-transform-origin: 0% 0%;
  678. -moz-transform-origin: 0% 0%;
  679. -ms-transform-origin: 0% 0%;
  680. transform-origin: 0% 0%;
  681. -webkit-transform: translate3d(0, -40%, 0) rotateX(80deg);
  682. -moz-transform: translate3d(0, -40%, 0) rotateX(80deg);
  683. -ms-transform: translate3d(0, -40%, 0) rotateX(80deg);
  684. transform: translate3d(0, -40%, 0) rotateX(80deg);
  685. }
  686. .reveal.page .slides>section>section.future {
  687. -webkit-transform-origin: 0% 100%;
  688. -moz-transform-origin: 0% 100%;
  689. -ms-transform-origin: 0% 100%;
  690. transform-origin: 0% 100%;
  691. -webkit-transform: translate3d(0, 0, 0);
  692. -moz-transform: translate3d(0, 0, 0);
  693. -ms-transform: translate3d(0, 0, 0);
  694. transform: translate3d(0, 0, 0);
  695. }
  696. /*********************************************
  697. * NEON THEME
  698. *********************************************/
  699. .reveal.neon a,
  700. .reveal.neon a:hover,
  701. .reveal.neon .controls a.enabled {
  702. color: #5de048;
  703. }
  704. .reveal.neon .progress span,
  705. .reveal.neon .roll span:after {
  706. background: #5de048;
  707. }
  708. .reveal.neon a.image:hover img {
  709. border-color: #5de048;
  710. }
  711. /*********************************************
  712. * OVERVIEW
  713. *********************************************/
  714. .reveal.overview .slides {
  715. -webkit-perspective: 700px;
  716. -moz-perspective: 700px;
  717. -ms-perspective: 700px;
  718. perspective: 700px;
  719. }
  720. .reveal.overview .slides section {
  721. padding: 20px 0;
  722. opacity: 1;
  723. cursor: pointer;
  724. background: rgba(0,0,0,0.1);
  725. }
  726. .reveal.overview .slides section .fragment {
  727. opacity: 1;
  728. }
  729. .reveal.overview .slides section:after,
  730. .reveal.overview .slides section:before {
  731. display: none !important;
  732. }
  733. .reveal.overview .slides section>section {
  734. opacity: 1;
  735. cursor: pointer;
  736. }
  737. .reveal.overview .slides section:hover {
  738. background: rgba(0,0,0,0.3);
  739. }
  740. .reveal.overview .slides section.present {
  741. background: rgba(0,0,0,0.3);
  742. }
  743. .reveal.overview .slides>section.stack {
  744. background: none;
  745. padding: 0;
  746. }
  747. /*********************************************
  748. * FALLBACK
  749. *********************************************/
  750. .no-transforms {
  751. overflow-y: auto;
  752. }
  753. .no-transforms .slides section {
  754. -webkit-transform: none;
  755. -moz-transform: none;
  756. -ms-transform: none;
  757. transform: none;
  758. display: block!important;
  759. opacity: 1!important;
  760. position: relative!important;
  761. }
  762. /*********************************************
  763. * DEFAULT STATES
  764. *********************************************/
  765. .state-background {
  766. position: absolute;
  767. width: 100%;
  768. height: 100%;
  769. background: rgba( 0, 0, 0, 0 );
  770. -webkit-transition: background 800ms ease;
  771. -moz-transition: background 800ms ease;
  772. -ms-transition: background 800ms ease;
  773. -o-transition: background 800ms ease;
  774. transition: background 800ms ease;
  775. }
  776. .alert .state-background {
  777. background: rgba( 200, 50, 30, 0.6 );
  778. }
  779. .soothe .state-background {
  780. background: rgba( 50, 200, 90, 0.4 );
  781. }
  782. .blackout .state-background {
  783. background: rgba( 0, 0, 0, 0.6 );
  784. }
  785. /*********************************************
  786. * SPEAKER NOTES
  787. *********************************************/
  788. .reveal aside.notes {
  789. display: none;
  790. }