sky.css 6.5 KB

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