sky.css 5.9 KB

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