main.css 24 KB

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