black.css 5.9 KB

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