black.css 5.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258
  1. @import url(https://fonts.googleapis.com/css?family=Montserrat:400);
  2. @import url(https://fonts.googleapis.com/css?family=Open+Sans:400,700,400italic,700italic);
  3. /**
  4. * Black theme for reveal.js.
  5. *
  6. * Copyright (C) 2014 Hakim El Hattab, http://hakim.se
  7. */
  8. /*********************************************
  9. * GLOBAL STYLES
  10. *********************************************/
  11. body {
  12. background: #111;
  13. background-color: #111; }
  14. .reveal {
  15. font-family: 'Open Sans', Helvetica, sans-serif;
  16. font-size: 34px;
  17. font-weight: normal;
  18. color: #fff; }
  19. ::selection {
  20. color: #fff;
  21. background: #b6d7fe;
  22. text-shadow: none; }
  23. .reveal .slides > section, .reveal .slides > section > section {
  24. line-height: 1.3;
  25. font-weight: inherit; }
  26. /*********************************************
  27. * HEADERS
  28. *********************************************/
  29. .reveal h1, .reveal h2, .reveal h3, .reveal h4, .reveal h5, .reveal h6 {
  30. margin: 0 0 20px 0;
  31. color: #fff;
  32. font-family: 'Montserrat', Helvetica, sans-serif;
  33. line-height: 1.2;
  34. letter-spacing: normal;
  35. text-transform: uppercase;
  36. text-shadow: none;
  37. word-wrap: break-word; }
  38. .reveal h1 {
  39. font-size: 2.8em; }
  40. .reveal h2 {
  41. font-size: 1.8em; }
  42. .reveal h3 {
  43. font-size: 1.5em; }
  44. .reveal h4 {
  45. font-size: 1em; }
  46. .reveal h1 {
  47. text-shadow: none; }
  48. /*********************************************
  49. * OTHER
  50. *********************************************/
  51. .reveal p {
  52. margin: 20px 0;
  53. line-height: 1.3; }
  54. /* Ensure certain elements are never larger than the slide itself */
  55. .reveal img, .reveal video, .reveal iframe {
  56. max-width: 95%;
  57. max-height: 95%; }
  58. .reveal strong, .reveal b {
  59. font-weight: bold; }
  60. .reveal em {
  61. font-style: italic; }
  62. .reveal ol, .reveal dl, .reveal ul {
  63. display: inline-block;
  64. text-align: left;
  65. margin: 0 0 0 1em; }
  66. .reveal ol {
  67. list-style-type: decimal; }
  68. .reveal ul {
  69. list-style-type: disc; }
  70. .reveal ul ul {
  71. list-style-type: square; }
  72. .reveal ul ul ul {
  73. list-style-type: circle; }
  74. .reveal ul ul, .reveal ul ol, .reveal ol ol, .reveal ol ul {
  75. display: block;
  76. margin-left: 40px; }
  77. .reveal dt {
  78. font-weight: bold; }
  79. .reveal dd {
  80. margin-left: 40px; }
  81. .reveal q, .reveal blockquote {
  82. quotes: none; }
  83. .reveal blockquote {
  84. display: block;
  85. position: relative;
  86. width: 70%;
  87. margin: 20px auto;
  88. padding: 5px;
  89. font-style: italic;
  90. background: rgba(255, 255, 255, 0.05);
  91. box-shadow: 0px 0px 2px rgba(0, 0, 0, 0.2); }
  92. .reveal blockquote p:first-child, .reveal blockquote p:last-child {
  93. display: inline-block; }
  94. .reveal q {
  95. font-style: italic; }
  96. .reveal pre {
  97. display: block;
  98. position: relative;
  99. width: 90%;
  100. margin: 20px auto;
  101. text-align: left;
  102. font-size: 0.55em;
  103. font-family: monospace;
  104. line-height: 1.2em;
  105. word-wrap: break-word;
  106. box-shadow: 0px 0px 6px rgba(0, 0, 0, 0.3); }
  107. .reveal code {
  108. font-family: monospace; }
  109. .reveal pre code {
  110. display: block;
  111. padding: 5px;
  112. overflow: auto;
  113. max-height: 400px;
  114. word-wrap: normal;
  115. background: #3F3F3F;
  116. color: #DCDCDC; }
  117. .reveal table {
  118. margin: auto;
  119. border-collapse: collapse;
  120. border-spacing: 0; }
  121. .reveal table th {
  122. font-weight: bold; }
  123. .reveal table th, .reveal table td {
  124. text-align: left;
  125. padding: 0.2em 0.5em 0.2em 0.5em;
  126. border-bottom: 1px solid; }
  127. .reveal table tr:last-child td {
  128. border-bottom: none; }
  129. .reveal sup {
  130. vertical-align: super; }
  131. .reveal sub {
  132. vertical-align: sub; }
  133. .reveal small {
  134. display: inline-block;
  135. font-size: 0.6em;
  136. line-height: 1.2em;
  137. vertical-align: top; }
  138. .reveal small * {
  139. vertical-align: top; }
  140. /*********************************************
  141. * LINKS
  142. *********************************************/
  143. .reveal a {
  144. color: #3992fb;
  145. text-decoration: none;
  146. -webkit-transition: color 0.15s ease;
  147. -moz-transition: color 0.15s ease;
  148. transition: color 0.15s ease; }
  149. .reveal a:hover {
  150. color: #84bcfd;
  151. text-shadow: none;
  152. border: none; }
  153. .reveal .roll span:after {
  154. color: #fff;
  155. background: #056ce3; }
  156. /*********************************************
  157. * IMAGES
  158. *********************************************/
  159. .reveal section img {
  160. margin: 15px 0px;
  161. background: rgba(255, 255, 255, 0.12);
  162. border: 4px solid #fff;
  163. box-shadow: 0 0 10px rgba(0, 0, 0, 0.15); }
  164. .reveal a img {
  165. -webkit-transition: all 0.15s linear;
  166. -moz-transition: all 0.15s linear;
  167. transition: all 0.15s linear; }
  168. .reveal a:hover img {
  169. background: rgba(255, 255, 255, 0.2);
  170. border-color: #3992fb;
  171. box-shadow: 0 0 20px rgba(0, 0, 0, 0.55); }
  172. /*********************************************
  173. * NAVIGATION CONTROLS
  174. *********************************************/
  175. .reveal .controls div.navigate-left, .reveal .controls div.navigate-left.enabled {
  176. border-right-color: #3992fb; }
  177. .reveal .controls div.navigate-right, .reveal .controls div.navigate-right.enabled {
  178. border-left-color: #3992fb; }
  179. .reveal .controls div.navigate-up, .reveal .controls div.navigate-up.enabled {
  180. border-bottom-color: #3992fb; }
  181. .reveal .controls div.navigate-down, .reveal .controls div.navigate-down.enabled {
  182. border-top-color: #3992fb; }
  183. .reveal .controls div.navigate-left.enabled:hover {
  184. border-right-color: #84bcfd; }
  185. .reveal .controls div.navigate-right.enabled:hover {
  186. border-left-color: #84bcfd; }
  187. .reveal .controls div.navigate-up.enabled:hover {
  188. border-bottom-color: #84bcfd; }
  189. .reveal .controls div.navigate-down.enabled:hover {
  190. border-top-color: #84bcfd; }
  191. /*********************************************
  192. * PROGRESS BAR
  193. *********************************************/
  194. .reveal .progress {
  195. background: rgba(0, 0, 0, 0.2); }
  196. .reveal .progress span {
  197. background: #3992fb;
  198. -webkit-transition: width 800ms cubic-bezier(0.26, 0.86, 0.44, 0.985);
  199. -moz-transition: width 800ms cubic-bezier(0.26, 0.86, 0.44, 0.985);
  200. transition: width 800ms cubic-bezier(0.26, 0.86, 0.44, 0.985); }
  201. /*********************************************
  202. * SLIDE NUMBER
  203. *********************************************/
  204. .reveal .slide-number {
  205. color: #3992fb; }