sky.css 5.9 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: 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 blockquote {
  109. display: block;
  110. position: relative;
  111. width: 70%;
  112. margin: 20px auto;
  113. padding: 5px;
  114. font-style: italic;
  115. background: rgba(255, 255, 255, 0.05);
  116. box-shadow: 0px 0px 2px rgba(0, 0, 0, 0.2); }
  117. .reveal blockquote p:first-child,
  118. .reveal blockquote p:last-child {
  119. display: inline-block; }
  120. .reveal q {
  121. font-style: italic; }
  122. .reveal pre {
  123. display: block;
  124. position: relative;
  125. width: 90%;
  126. margin: 20px auto;
  127. text-align: left;
  128. font-size: 0.55em;
  129. font-family: monospace;
  130. line-height: 1.2em;
  131. word-wrap: break-word;
  132. box-shadow: 0px 0px 6px rgba(0, 0, 0, 0.3); }
  133. .reveal code {
  134. font-family: monospace;
  135. text-transform: none; }
  136. .reveal pre code {
  137. display: block;
  138. padding: 5px;
  139. overflow: auto;
  140. max-height: 400px;
  141. word-wrap: normal; }
  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 th[align="center"],
  154. .reveal table td[align="center"] {
  155. text-align: center; }
  156. .reveal table th[align="right"],
  157. .reveal table td[align="right"] {
  158. text-align: right; }
  159. .reveal table tbody tr:last-child th,
  160. .reveal table tbody tr:last-child td {
  161. border-bottom: none; }
  162. .reveal sup {
  163. vertical-align: super; }
  164. .reveal sub {
  165. vertical-align: sub; }
  166. .reveal small {
  167. display: inline-block;
  168. font-size: 0.6em;
  169. line-height: 1.2em;
  170. vertical-align: top; }
  171. .reveal small * {
  172. vertical-align: top; }
  173. /*********************************************
  174. * LINKS
  175. *********************************************/
  176. .reveal a {
  177. color: #3b759e;
  178. text-decoration: none;
  179. -webkit-transition: color .15s ease;
  180. -moz-transition: color .15s ease;
  181. transition: color .15s ease; }
  182. .reveal a:hover {
  183. color: #74a7cb;
  184. text-shadow: none;
  185. border: none; }
  186. .reveal .roll span:after {
  187. color: #fff;
  188. background: #264c66; }
  189. /*********************************************
  190. * IMAGES
  191. *********************************************/
  192. .reveal section img {
  193. margin: 15px 0px;
  194. background: rgba(255, 255, 255, 0.12);
  195. border: 4px solid #333;
  196. box-shadow: 0 0 10px rgba(0, 0, 0, 0.15); }
  197. .reveal section img.plain {
  198. border: 0;
  199. box-shadow: none; }
  200. .reveal a img {
  201. -webkit-transition: all .15s linear;
  202. -moz-transition: all .15s linear;
  203. transition: all .15s linear; }
  204. .reveal a:hover img {
  205. background: rgba(255, 255, 255, 0.2);
  206. border-color: #3b759e;
  207. box-shadow: 0 0 20px rgba(0, 0, 0, 0.55); }
  208. /*********************************************
  209. * NAVIGATION CONTROLS
  210. *********************************************/
  211. .reveal .controls {
  212. color: #3b759e; }
  213. /*********************************************
  214. * PROGRESS BAR
  215. *********************************************/
  216. .reveal .progress {
  217. background: rgba(0, 0, 0, 0.2);
  218. color: #3b759e; }
  219. .reveal .progress span {
  220. -webkit-transition: width 800ms cubic-bezier(0.26, 0.86, 0.44, 0.985);
  221. -moz-transition: width 800ms cubic-bezier(0.26, 0.86, 0.44, 0.985);
  222. transition: width 800ms cubic-bezier(0.26, 0.86, 0.44, 0.985); }