sky.css 6.5 KB

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