black.css 6.1 KB

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