black.css 5.7 KB

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