impress-demo.css 12 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496
  1. /**
  2. * This is a stylesheet for a demo presentation for impress.js
  3. *
  4. * It is not meant to be a part of impress.js and is not required by impress.js.
  5. * I expect that anyone creating a presentation for impress.js would create their own
  6. * set of styles.
  7. */
  8. /* http://meyerweb.com/eric/tools/css/reset/
  9. v2.0 | 20110126
  10. License: none (public domain)
  11. */
  12. html, body, div, span, applet, object, iframe,
  13. h1, h2, h3, h4, h5, h6, p, blockquote, pre,
  14. a, abbr, acronym, address, big, cite, code,
  15. del, dfn, em, img, ins, kbd, q, s, samp,
  16. small, strike, strong, sub, sup, tt, var,
  17. b, u, i, center,
  18. dl, dt, dd, ol, ul, li,
  19. fieldset, form, label, legend,
  20. table, caption, tbody, tfoot, thead, tr, th, td,
  21. article, aside, canvas, details, embed,
  22. figure, figcaption, footer, header, hgroup,
  23. menu, nav, output, ruby, section, summary,
  24. time, mark, audio, video {
  25. margin: 0;
  26. padding: 0;
  27. border: 0;
  28. font-size: 100%;
  29. font: inherit;
  30. vertical-align: baseline;
  31. }
  32. /* HTML5 display-role reset for older browsers */
  33. article, aside, details, figcaption, figure,
  34. footer, header, hgroup, menu, nav, section {
  35. display: block;
  36. }
  37. body {
  38. line-height: 1;
  39. }
  40. ol, ul {
  41. list-style: none;
  42. }
  43. blockquote, q {
  44. quotes: none;
  45. }
  46. blockquote:before, blockquote:after,
  47. q:before, q:after {
  48. content: '';
  49. content: none;
  50. }
  51. table {
  52. border-collapse: collapse;
  53. border-spacing: 0;
  54. }
  55. body {
  56. font-family: 'PT Sans', sans-serif;
  57. min-height: 740px;
  58. background: rgb(215, 215, 215);
  59. background: -webkit-gradient(radial, 50% 50%, 0, 50% 50%, 500, from(rgb(240, 240, 240)), to(rgb(190, 190, 190)));
  60. background: -webkit-radial-gradient(rgb(240, 240, 240), rgb(190, 190, 190));
  61. background: -moz-radial-gradient(rgb(240, 240, 240), rgb(190, 190, 190));
  62. background: -o-radial-gradient(rgb(240, 240, 240), rgb(190, 190, 190));
  63. background: radial-gradient(rgb(240, 240, 240), rgb(190, 190, 190));
  64. -webkit-font-smoothing: antialiased;
  65. }
  66. b, strong { font-weight: bold }
  67. i, em { font-style: italic}
  68. a {
  69. color: inherit;
  70. text-decoration: none;
  71. padding: 0 0.1em;
  72. background: rgba(255,255,255,0.5);
  73. text-shadow: -1px -1px 2px rgba(100,100,100,0.9);
  74. border-radius: 0.2em;
  75. -webkit-transition: 0.5s;
  76. -moz-transition: 0.5s;
  77. -ms-transition: 0.5s;
  78. -o-transition: 0.5s;
  79. transition: 0.5s;
  80. }
  81. a:hover {
  82. background: rgba(255,255,255,1);
  83. text-shadow: -1px -1px 2px rgba(100,100,100,0.5);
  84. }
  85. /* enable clicking on elements 'hiding' behind body in 3D */
  86. body { pointer-events: none; }
  87. #impress { pointer-events: auto; }
  88. /* COMMON STEP STYLES */
  89. .step {
  90. width: 900px;
  91. padding: 40px;
  92. -webkit-box-sizing: border-box;
  93. -moz-box-sizing: border-box;
  94. -ms-box-sizing: border-box;
  95. -o-box-sizing: border-box;
  96. box-sizing: border-box;
  97. font-family: 'PT Serif', georgia, serif;
  98. font-size: 48px;
  99. line-height: 1.5;
  100. }
  101. .step {
  102. -webkit-transition: opacity 1s;
  103. -moz-transition: opacity 1s;
  104. -ms-transition: opacity 1s;
  105. -o-transition: opacity 1s;
  106. transition: opacity 1s;
  107. }
  108. /* fade out inactive slides */
  109. .step:not(.active) {
  110. opacity: 0.3;
  111. }
  112. /* STEP SPECIFIC STYLES */
  113. /* hint on the first slide */
  114. .hint {
  115. position: fixed;
  116. left: 0;
  117. right: 0;
  118. bottom: 200px;
  119. background: rgba(0,0,0,0.5);
  120. color: #EEE;
  121. text-align: center;
  122. font-size: 50px;
  123. padding: 20px;
  124. z-index: 100;
  125. opacity: 0;
  126. -webkit-transform: translateY(400px);
  127. -moz-transform: translateY(400px);
  128. -ms-transform: translateY(400px);
  129. -o-transform: translateY(400px);
  130. transform: translateY(400px);
  131. -webkit-transition: opacity 1s, -webkit-transform 0.5s 1s;
  132. -moz-transition: opacity 1s, -moz-transform 0.5s 1s;
  133. -ms-transition: opacity 1s, -ms-transform 0.5s 1s;
  134. -o-transition: opacity 1s, -o-transform 0.5s 1s;
  135. transition: opacity 1s, transform 0.5s 1s;
  136. }
  137. .impress-on-bored .hint {
  138. opacity: 1;
  139. -webkit-transition: opacity 1s 5s, -webkit-transform 0.5s;
  140. -moz-transition: opacity 1s 5s, -moz-transform 0.5s;
  141. -ms-transition: opacity 1s 5s, -ms-transform 0.5s;
  142. -o-transition: opacity 1s 5s, -o-transform 0.5s;
  143. transition: opacity 1s 5s, transform 0.5s;
  144. -webkit-transform: translateY(0px);
  145. -moz-transform: translateY(0px);
  146. -ms-transform: translateY(0px);
  147. -o-transform: translateY(0px);
  148. transform: translateY(0px);
  149. }
  150. /* impress.js title */
  151. #title {
  152. padding: 0;
  153. }
  154. #title .try {
  155. font-size: 64px;
  156. position: absolute;
  157. top: -0.5em;
  158. left: 1.5em;
  159. -webkit-transform: translateZ(20px);
  160. -moz-transform: translateZ(20px);
  161. -ms-transform: translateZ(20px);
  162. -o-transform: translateZ(20px);
  163. transform: translateZ(20px);
  164. }
  165. #title h1 {
  166. font-size: 190px;
  167. -webkit-transform: translateZ(50px);
  168. -moz-transform: translateZ(50px);
  169. -ms-transform: translateZ(50px);
  170. -o-transform: translateZ(50px);
  171. transform: translateZ(50px);
  172. }
  173. #title .footnote {
  174. font-size: 32px;
  175. }
  176. /* big thoughts */
  177. #big {
  178. width: 600px;
  179. text-align: center;
  180. font-size: 60px;
  181. line-height: 1;
  182. }
  183. #big b {
  184. display: block;
  185. font-size: 250px;
  186. line-height: 250px;
  187. }
  188. #big .thoughts {
  189. font-size: 90px;
  190. line-height: 150px;
  191. }
  192. /* tiny ideas */
  193. #tiny {
  194. width: 500px;
  195. text-align: center;
  196. }
  197. #ing {
  198. width: 500px;
  199. }
  200. #ing b {
  201. display: inline-block;
  202. -webkit-transition: 0.5s;
  203. -moz-transition: 0.5s;
  204. -ms-transition: 0.5s;
  205. -o-transition: 0.5s;
  206. transition: 0.5s;
  207. }
  208. #ing.present .positioning {
  209. -webkit-transform: translateY(-10px);
  210. -moz-transform: translateY(-10px);
  211. -ms-transform: translateY(-10px);
  212. -o-transform: translateY(-10px);
  213. transform: translateY(-10px);
  214. }
  215. #ing.present .rotating {
  216. -webkit-transform: rotate(-10deg);
  217. -moz-transform: rotate(-10deg);
  218. -ms-transform: rotate(-10deg);
  219. -o-transform: rotate(-10deg);
  220. transform: rotate(-10deg);
  221. -webkit-transition-delay: 0.25s;
  222. -moz-transition-delay: 0.25s;
  223. -ms-transition-delay: 0.25s;
  224. -o-transition-delay: 0.25s;
  225. transition-delay: 0.25s;
  226. }
  227. #ing.present .scaling {
  228. -webkit-transform: scale(0.7);
  229. -moz-transform: scale(0.7);
  230. -ms-transform: scale(0.7);
  231. -o-transform: scale(0.7);
  232. transform: scale(0.7);
  233. -webkit-transition-delay: 0.5s;
  234. -moz-transition-delay: 0.5s;
  235. -ms-transition-delay: 0.5s;
  236. -o-transition-delay: 0.5s;
  237. transition-delay: 0.5s;
  238. }
  239. /* imagination */
  240. #imagination {
  241. width: 600px;
  242. }
  243. #imagination .imagination {
  244. font-size: 78px;
  245. }
  246. /* use the source, Luke */
  247. #source {
  248. width: 700px;
  249. padding-bottom: 300px;
  250. /* Yoda Icon :: Pixel Art from Star Wars http://www.pixeljoint.com/pixelart/1423.htm */
  251. background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAARgAAAEYCAMAAACwUBm+AAAAAXNSR0IArs4c6QAAAKtQTFRFsAAAvbWSLUUrLEQqY1s8UYJMqJ1vNTEgOiIdIzYhjIFVLhsXZ6lgSEIsP2U8JhcCVzMsSXZEgXdOO145XJdWOl03LzAYMk4vSXNExr+hwcuxRTs1Qmk+RW9Am49eFRANQz4pUoNMQWc+OSMDTz0wLBsCNVMxa2NBOyUDUoNNSnlEWo9VRGxAVzYFl6tXCggHbLNmMUIcHhwTXkk5f3VNRT8wUT8xAAAACQocRBWFFwAAAAF0Uk5TAEDm2GYAAAPCSURBVHja7d3JctNAFIZRMwRCCGEmzPM8z/D+T8bu/ptbXXJFdij5fMt2Wuo+2UgqxVmtttq5WVotLzBgwIABAwYMGDCn0qVqbo69psPqVpWx+1XG5iaavF8wYMCAAQMGDBgwi4DJ6Y6qkxB1HNlcN3a92gbR5P2CAQMGDBgwYMCAWSxMlrU+UY5yu2l9okfV4bAxUVbf7TJnAwMGDBgwYMCAAbMLMHeqbGR82Zy+VR1Ht81nVca6R+UdTLaU24Ruzd3qM/e4yjnAgAEDBgwYMGDA7AJMd1l/3NRdVGcj3eX/2WEhCmDGxnM7yqygu8XIPjJj8iN/MGDAgAEDBgwYMAuDGb8q0RGlLCHLv1t9qDKWn3vdNHVuEI6HPaxO9Jo3GDBgwIABAwYMmIXBdC9ShGgMk+XnkXUeuGcsP/e1+lhNnZsL/G5Vs3OAAQMGDBgwYMCAWSxMR3SzOmraG5atdy9wZKzb+vg16qyqe2FltbnAgAEDBgwYMGDALAxmTJSuN3WA76rnVca6GTnemGN1WoEBAwYMGDBgwIBZGMxUomy4+xO899V4LAg5Xnc2MGDAgAEDBgwYMGA218Wq+2K1LDqvY9xZu8zN8fICdM6btYABAwYMGDBgwIABMzfH0+pGU5afze2tXebmeAfVz+p8BQYMGDBgwIABAwbMPBzZ+oWmfJrln1273FhkbHzee9WWbw7AgAEDBgwYMGDALAKm43hcdctKgblcPamOhuXnXlY5Xs6bsW4FGyQCAwYMGDBgwIABswiYMceZKgvMo+h8mrHLTdn676rj+FEFoTtHd8MwOxEYMGDAgAEDBgyYRcBM5UhXqiymW3R3c9ARhWO/OmjqfjVZy+xEYMCAAQMGDBgwYBYG073OnCV0RFNhMhaOa9WfKmOB6XjHMN1tQmaAAQMGDBgwYMCA2VWY7vXjz1U4croAzgPztwIDBgwYMGDAgAEDZhswh035NBw59Dww3RgYMGDAgAEDBgwYMJuD6f4tXT7NUqfCdBvZLkxXdgQGDBgwYMCAAQNmt2DGj8WzwAfV/w7T/aq7mxwwYMCAAQMGDBgwuwqTOo7uTwTngflSzQ3TdaJvAwEDBgwYMGDAgAED5gSvgbyo5oHZ4Pc+gwEDBgwYMGDAgAEzhOm+5G0qTGaAAQMGDBgwYMCAAXNaMOcnls3tNwWm+zRzp54NDBgwYMCAAQMGDJh5YNL36k1TLuGvVq+qnKMbS5n7tulT9asCAwYMGDBgwIABA2ZumKuztLnjgQEDBgwYMGDAgNl5mH/4/ltKA6vBNAAAAABJRU5ErkJggg==);
  252. background-position: bottom right;
  253. background-repeat: no-repeat;
  254. }
  255. #source q {
  256. font-size: 60px;
  257. }
  258. /* it's in 3D */
  259. #its-in-3d p {
  260. -webkit-transform-style: preserve-3d;
  261. -moz-transform-style: preserve-3d; /* Y U need this Firefox?! */
  262. -ms-transform-style: preserve-3d;
  263. -o-transform-style: preserve-3d;
  264. transform-style: preserve-3d;
  265. }
  266. #its-in-3d span,
  267. #its-in-3d b {
  268. display: inline-block;
  269. -webkit-transform: translateZ(40px);
  270. -moz-transform: translateZ(40px);
  271. -ms-transform: translateZ(40px);
  272. -o-transform: translateZ(40px);
  273. transform: translateZ(40px);
  274. -webkit-transition: 0.5s;
  275. -moz-transition: 0.5s;
  276. -ms-transition: 0.5s;
  277. -o-transition: 0.5s;
  278. transition: 0.5s;
  279. }
  280. #its-in-3d .have {
  281. -webkit-transform: translateZ(-40px);
  282. -moz-transform: translateZ(-40px);
  283. -ms-transform: translateZ(-40px);
  284. -o-transform: translateZ(-40px);
  285. transform: translateZ(-40px);
  286. }
  287. #its-in-3d .you {
  288. -webkit-transform: translateZ(20px);
  289. -moz-transform: translateZ(20px);
  290. -ms-transform: translateZ(20px);
  291. -o-transform: translateZ(20px);
  292. transform: translateZ(20px);
  293. }
  294. #its-in-3d .noticed {
  295. -webkit-transform: translateZ(-40px);
  296. -moz-transform: translateZ(-40px);
  297. -ms-transform: translateZ(-40px);
  298. -o-transform: translateZ(-40px);
  299. transform: translateZ(-40px);
  300. }
  301. #its-in-3d .its {
  302. -webkit-transform: translateZ(60px);
  303. -moz-transform: translateZ(60px);
  304. -ms-transform: translateZ(60px);
  305. -o-transform: translateZ(60px);
  306. transform: translateZ(60px);
  307. }
  308. #its-in-3d .in {
  309. -webkit-transform: translateZ(-10px);
  310. -moz-transform: translateZ(-10px);
  311. -ms-transform: translateZ(-10px);
  312. -o-transform: translateZ(-10px);
  313. transform: translateZ(-10px);
  314. }
  315. #its-in-3d .footnote {
  316. font-size: 32px;
  317. -webkit-transform: translateZ(-10px);
  318. -moz-transform: translateZ(-10px);
  319. -ms-transform: translateZ(-10px);
  320. -o-transform: translateZ(-10px);
  321. transform: translateZ(-10px);
  322. }
  323. #its-in-3d.present span,
  324. #its-in-3d.present b {
  325. -webkit-transform: translateZ(0px);
  326. -moz-transform: translateZ(0px);
  327. -ms-transform: translateZ(0px);
  328. -o-transform: translateZ(0px);
  329. transform: translateZ(0px);
  330. }
  331. /* overview step */
  332. #overview {
  333. z-index: -1;
  334. padding: 0;
  335. }
  336. /* on overview step everything is visible */
  337. .impress-on-overview .step {
  338. opacity: 1;
  339. cursor: pointer;
  340. }
  341. /*
  342. * SLIDE STEP STYLES
  343. *
  344. * inspired by: http://html5slides.googlecode.com/svn/trunk/styles.css
  345. *
  346. * ;)
  347. */
  348. .slide {
  349. display: block;
  350. top: 400px;
  351. width: 900px;
  352. height: 700px;
  353. padding: 40px 60px;
  354. border-radius: 10px;
  355. background-color: white;
  356. box-shadow: 0 2px 6px rgba(0, 0, 0, .1);
  357. border: 1px solid rgba(0, 0, 0, .3);
  358. font-family: 'Open Sans', Arial, sans-serif;
  359. color: rgb(102, 102, 102);
  360. text-shadow: 0 2px 2px rgba(0, 0, 0, .1);
  361. font-size: 30px;
  362. line-height: 36px;
  363. letter-spacing: -1px;
  364. }
  365. .slide q {
  366. display: block;
  367. font-size: 50px;
  368. line-height: 72px;
  369. margin-top: 100px;
  370. }
  371. .slide q strong {
  372. white-space: nowrap;
  373. }
  374. /* IMPRESS NOT SUPPORTED STYLES */
  375. .fallback-message {
  376. font-family: sans-serif;
  377. line-height: 1.3;
  378. display: none;
  379. width: 780px;
  380. padding: 10px 10px 0;
  381. margin: 20px auto;
  382. border-radius: 10px;
  383. border: 1px solid #E4C652;
  384. background: #EEDC94;
  385. }
  386. .fallback-message p {
  387. margin-bottom: 10px;
  388. }
  389. .impress-disabled .step,
  390. .impress-not-supported .step {
  391. position: relative;
  392. opacity: 1;
  393. margin: 20px auto;
  394. }
  395. .impress-not-supported .fallback-message {
  396. display: block;
  397. }