sky.css 6.2 KB

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