main.css 24 KB

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