sky.css 7.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319
  1. /**
  2. * Sky theme for reveal.js.
  3. *
  4. * Copyright (C) 2011-2012 Hakim El Hattab, http://hakim.se
  5. */
  6. @import url(https://fonts.googleapis.com/css?family=Quicksand:400,700,400italic,700italic);
  7. @import url(https://fonts.googleapis.com/css?family=Open+Sans:400italic,700italic,400,700);
  8. .reveal a {
  9. line-height: 1.3em; }
  10. /*********************************************
  11. * GLOBAL STYLES
  12. *********************************************/
  13. body {
  14. background: #add9e4;
  15. background: -moz-radial-gradient(center, circle cover, #f7fbfc 0%, #add9e4 100%);
  16. background: -webkit-gradient(radial, center center, 0px, center center, 100%, color-stop(0%, #f7fbfc), color-stop(100%, #add9e4));
  17. background: -webkit-radial-gradient(center, circle cover, #f7fbfc 0%, #add9e4 100%);
  18. background: -o-radial-gradient(center, circle cover, #f7fbfc 0%, #add9e4 100%);
  19. background: -ms-radial-gradient(center, circle cover, #f7fbfc 0%, #add9e4 100%);
  20. background: radial-gradient(center, circle cover, #f7fbfc 0%, #add9e4 100%);
  21. background-color: #f7fbfc; }
  22. html:-webkit-full-screen-ancestor {
  23. background: #add9e4;
  24. background: -moz-radial-gradient(center, circle cover, #f7fbfc 0%, #add9e4 100%);
  25. background: -webkit-gradient(radial, center center, 0px, center center, 100%, color-stop(0%, #f7fbfc), color-stop(100%, #add9e4));
  26. background: -webkit-radial-gradient(center, circle cover, #f7fbfc 0%, #add9e4 100%);
  27. background: -o-radial-gradient(center, circle cover, #f7fbfc 0%, #add9e4 100%);
  28. background: -ms-radial-gradient(center, circle cover, #f7fbfc 0%, #add9e4 100%);
  29. background: radial-gradient(center, circle cover, #f7fbfc 0%, #add9e4 100%);
  30. background-color: #f7fbfc; }
  31. html:-moz-full-screen-ancestor {
  32. background: #add9e4;
  33. background: -moz-radial-gradient(center, circle cover, #f7fbfc 0%, #add9e4 100%);
  34. background: -webkit-gradient(radial, center center, 0px, center center, 100%, color-stop(0%, #f7fbfc), color-stop(100%, #add9e4));
  35. background: -webkit-radial-gradient(center, circle cover, #f7fbfc 0%, #add9e4 100%);
  36. background: -o-radial-gradient(center, circle cover, #f7fbfc 0%, #add9e4 100%);
  37. background: -ms-radial-gradient(center, circle cover, #f7fbfc 0%, #add9e4 100%);
  38. background: radial-gradient(center, circle cover, #f7fbfc 0%, #add9e4 100%);
  39. background-color: #f7fbfc; }
  40. .reveal {
  41. font-family: "Open Sans", sans-serif;
  42. font-size: 40px;
  43. font-weight: normal;
  44. color: #333; }
  45. ::selection {
  46. color: #fff;
  47. background: #134674;
  48. text-shadow: none; }
  49. ::-moz-selection {
  50. color: #fff;
  51. background: #134674;
  52. text-shadow: none; }
  53. .reveal .slides > section,
  54. .reveal .slides > section > section {
  55. line-height: 1.3;
  56. font-weight: inherit; }
  57. /*********************************************
  58. * HEADERS
  59. *********************************************/
  60. .reveal h1,
  61. .reveal h2,
  62. .reveal h3,
  63. .reveal h4,
  64. .reveal h5,
  65. .reveal h6 {
  66. margin: 0 0 20px 0;
  67. color: #333;
  68. font-family: "Quicksand", sans-serif;
  69. font-weight: normal;
  70. line-height: 1.2;
  71. letter-spacing: -0.08em;
  72. text-transform: uppercase;
  73. text-shadow: none;
  74. word-wrap: break-word; }
  75. .reveal h1 {
  76. font-size: 3.77em; }
  77. .reveal h2 {
  78. font-size: 2.11em; }
  79. .reveal h3 {
  80. font-size: 1.55em; }
  81. .reveal h4 {
  82. font-size: 1em; }
  83. .reveal h1 {
  84. text-shadow: none; }
  85. /*********************************************
  86. * OTHER
  87. *********************************************/
  88. .reveal p {
  89. margin: 20px 0;
  90. line-height: 1.3; }
  91. /* Ensure certain elements are never larger than the slide itself */
  92. .reveal img,
  93. .reveal video,
  94. .reveal iframe {
  95. max-width: 95%;
  96. max-height: 95%; }
  97. .reveal strong,
  98. .reveal b {
  99. font-weight: bold; }
  100. .reveal em {
  101. font-style: italic; }
  102. .reveal ol,
  103. .reveal dl,
  104. .reveal ul {
  105. display: inline-block;
  106. text-align: left;
  107. margin: 0 0 0 1em; }
  108. .reveal ol {
  109. list-style-type: decimal; }
  110. .reveal ul {
  111. list-style-type: disc; }
  112. .reveal ul ul {
  113. list-style-type: square; }
  114. .reveal ul ul ul {
  115. list-style-type: circle; }
  116. .reveal ul ul,
  117. .reveal ul ol,
  118. .reveal ol ol,
  119. .reveal ol ul {
  120. display: block;
  121. margin-left: 40px; }
  122. .reveal dt {
  123. font-weight: bold; }
  124. .reveal dd {
  125. margin-left: 40px; }
  126. .reveal q,
  127. .reveal blockquote {
  128. quotes: none; }
  129. .reveal blockquote {
  130. display: block;
  131. position: relative;
  132. width: 70%;
  133. margin: 20px auto;
  134. padding: 5px;
  135. font-style: italic;
  136. background: rgba(255, 255, 255, 0.05);
  137. box-shadow: 0px 0px 2px rgba(0, 0, 0, 0.2); }
  138. .reveal blockquote p:first-child,
  139. .reveal blockquote p:last-child {
  140. display: inline-block; }
  141. .reveal q {
  142. font-style: italic; }
  143. .reveal pre {
  144. display: block;
  145. position: relative;
  146. width: 90%;
  147. margin: 20px auto;
  148. text-align: left;
  149. font-size: 0.55em;
  150. font-family: monospace;
  151. line-height: 1.2em;
  152. word-wrap: break-word;
  153. box-shadow: 0px 0px 6px rgba(0, 0, 0, 0.3); }
  154. .reveal code {
  155. font-family: monospace; }
  156. .reveal pre code {
  157. display: block;
  158. padding: 5px;
  159. overflow: auto;
  160. max-height: 400px;
  161. word-wrap: normal; }
  162. .reveal table {
  163. margin: auto;
  164. border-collapse: collapse;
  165. border-spacing: 0; }
  166. .reveal table th {
  167. font-weight: bold; }
  168. .reveal table th,
  169. .reveal table td {
  170. text-align: left;
  171. padding: 0.2em 0.5em 0.2em 0.5em;
  172. border-bottom: 1px solid; }
  173. .reveal table th[align="center"],
  174. .reveal table td[align="center"] {
  175. text-align: center; }
  176. .reveal table th[align="right"],
  177. .reveal table td[align="right"] {
  178. text-align: right; }
  179. .reveal table tbody tr:last-child th,
  180. .reveal table tbody tr:last-child td {
  181. border-bottom: none; }
  182. .reveal sup {
  183. vertical-align: super; }
  184. .reveal sub {
  185. vertical-align: sub; }
  186. .reveal small {
  187. display: inline-block;
  188. font-size: 0.6em;
  189. line-height: 1.2em;
  190. vertical-align: top; }
  191. .reveal small * {
  192. vertical-align: top; }
  193. /*********************************************
  194. * LINKS
  195. *********************************************/
  196. .reveal a {
  197. color: #3b759e;
  198. text-decoration: none;
  199. -webkit-transition: color .15s ease;
  200. -moz-transition: color .15s ease;
  201. transition: color .15s ease; }
  202. .reveal a:hover {
  203. color: #74a7cb;
  204. text-shadow: none;
  205. border: none; }
  206. .reveal .roll span:after {
  207. color: #fff;
  208. background: #264c66; }
  209. /*********************************************
  210. * IMAGES
  211. *********************************************/
  212. .reveal section img {
  213. margin: 15px 0px;
  214. background: rgba(255, 255, 255, 0.12);
  215. border: 4px solid #333;
  216. box-shadow: 0 0 10px rgba(0, 0, 0, 0.15); }
  217. .reveal section img.plain {
  218. border: 0;
  219. box-shadow: none; }
  220. .reveal a img {
  221. -webkit-transition: all .15s linear;
  222. -moz-transition: all .15s linear;
  223. transition: all .15s linear; }
  224. .reveal a:hover img {
  225. background: rgba(255, 255, 255, 0.2);
  226. border-color: #3b759e;
  227. box-shadow: 0 0 20px rgba(0, 0, 0, 0.55); }
  228. /*********************************************
  229. * NAVIGATION CONTROLS
  230. *********************************************/
  231. .reveal .controls .navigate-left,
  232. .reveal .controls .navigate-left.enabled {
  233. border-right-color: #3b759e; }
  234. .reveal .controls .navigate-right,
  235. .reveal .controls .navigate-right.enabled {
  236. border-left-color: #3b759e; }
  237. .reveal .controls .navigate-up,
  238. .reveal .controls .navigate-up.enabled {
  239. border-bottom-color: #3b759e; }
  240. .reveal .controls .navigate-down,
  241. .reveal .controls .navigate-down.enabled {
  242. border-top-color: #3b759e; }
  243. .reveal .controls .navigate-left.enabled:hover {
  244. border-right-color: #74a7cb; }
  245. .reveal .controls .navigate-right.enabled:hover {
  246. border-left-color: #74a7cb; }
  247. .reveal .controls .navigate-up.enabled:hover {
  248. border-bottom-color: #74a7cb; }
  249. .reveal .controls .navigate-down.enabled:hover {
  250. border-top-color: #74a7cb; }
  251. /*********************************************
  252. * PROGRESS BAR
  253. *********************************************/
  254. .reveal .progress {
  255. background: rgba(0, 0, 0, 0.2); }
  256. .reveal .progress span {
  257. background: #3b759e;
  258. -webkit-transition: width 800ms cubic-bezier(0.26, 0.86, 0.44, 0.985);
  259. -moz-transition: width 800ms cubic-bezier(0.26, 0.86, 0.44, 0.985);
  260. transition: width 800ms cubic-bezier(0.26, 0.86, 0.44, 0.985); }