main.css 26 KB

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