sky.css 6.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294
  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: #333; }
  27. ::selection {
  28. color: #fff;
  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: #333;
  46. font-family: "Quicksand", sans-serif;
  47. font-weight: normal;
  48. line-height: 1.2;
  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: none; }
  63. /*********************************************
  64. * OTHER
  65. *********************************************/
  66. .reveal p {
  67. margin: 20px 0;
  68. line-height: 1.3; }
  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: 20px 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: 20px 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. .reveal table {
  141. margin: auto;
  142. border-collapse: collapse;
  143. border-spacing: 0; }
  144. .reveal table th {
  145. font-weight: bold; }
  146. .reveal table th,
  147. .reveal table td {
  148. text-align: left;
  149. padding: 0.2em 0.5em 0.2em 0.5em;
  150. border-bottom: 1px solid; }
  151. .reveal table th[align="center"],
  152. .reveal table td[align="center"] {
  153. text-align: center; }
  154. .reveal table th[align="right"],
  155. .reveal table td[align="right"] {
  156. text-align: right; }
  157. .reveal table tr:last-child td {
  158. border-bottom: none; }
  159. .reveal sup {
  160. vertical-align: super; }
  161. .reveal sub {
  162. vertical-align: sub; }
  163. .reveal small {
  164. display: inline-block;
  165. font-size: 0.6em;
  166. line-height: 1.2em;
  167. vertical-align: top; }
  168. .reveal small * {
  169. vertical-align: top; }
  170. /*********************************************
  171. * LINKS
  172. *********************************************/
  173. .reveal a {
  174. color: #3b759e;
  175. text-decoration: none;
  176. -webkit-transition: color 0.15s ease;
  177. -moz-transition: color 0.15s ease;
  178. transition: color 0.15s ease; }
  179. .reveal a:hover {
  180. color: #74a7cb;
  181. text-shadow: none;
  182. border: none; }
  183. .reveal .roll span:after {
  184. color: #fff;
  185. background: #264c66; }
  186. /*********************************************
  187. * IMAGES
  188. *********************************************/
  189. .reveal section img {
  190. margin: 15px 0px;
  191. background: rgba(255, 255, 255, 0.12);
  192. border: 4px solid #333;
  193. box-shadow: 0 0 10px rgba(0, 0, 0, 0.15); }
  194. .reveal section img.plain {
  195. border: 0;
  196. box-shadow: none; }
  197. .reveal a img {
  198. -webkit-transition: all 0.15s linear;
  199. -moz-transition: all 0.15s linear;
  200. transition: all 0.15s linear; }
  201. .reveal a:hover img {
  202. background: rgba(255, 255, 255, 0.2);
  203. border-color: #3b759e;
  204. box-shadow: 0 0 20px rgba(0, 0, 0, 0.55); }
  205. /*********************************************
  206. * NAVIGATION CONTROLS
  207. *********************************************/
  208. .reveal .controls .navigate-left,
  209. .reveal .controls .navigate-left.enabled {
  210. border-right-color: #3b759e; }
  211. .reveal .controls .navigate-right,
  212. .reveal .controls .navigate-right.enabled {
  213. border-left-color: #3b759e; }
  214. .reveal .controls .navigate-up,
  215. .reveal .controls .navigate-up.enabled {
  216. border-bottom-color: #3b759e; }
  217. .reveal .controls .navigate-down,
  218. .reveal .controls .navigate-down.enabled {
  219. border-top-color: #3b759e; }
  220. .reveal .controls .navigate-left.enabled:hover {
  221. border-right-color: #74a7cb; }
  222. .reveal .controls .navigate-right.enabled:hover {
  223. border-left-color: #74a7cb; }
  224. .reveal .controls .navigate-up.enabled:hover {
  225. border-bottom-color: #74a7cb; }
  226. .reveal .controls .navigate-down.enabled:hover {
  227. border-top-color: #74a7cb; }
  228. /*********************************************
  229. * PROGRESS BAR
  230. *********************************************/
  231. .reveal .progress {
  232. background: rgba(0, 0, 0, 0.2); }
  233. .reveal .progress span {
  234. background: #3b759e;
  235. -webkit-transition: width 800ms cubic-bezier(0.26, 0.86, 0.44, 0.985);
  236. -moz-transition: width 800ms cubic-bezier(0.26, 0.86, 0.44, 0.985);
  237. transition: width 800ms cubic-bezier(0.26, 0.86, 0.44, 0.985); }