black.css 6.4 KB

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