black.css 5.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263
  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: 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. height:500px !important; }
  71. .reveal strong,
  72. .reveal b {
  73. font-weight: bold; }
  74. .reveal em {
  75. font-style: italic; }
  76. .reveal ol,
  77. .reveal dl,
  78. .reveal ul {
  79. display: inline-block;
  80. text-align: left;
  81. margin: 0 0 0 1em; }
  82. .reveal ol {
  83. list-style-type: decimal; }
  84. .reveal ul {
  85. list-style-type: disc; }
  86. .reveal ul ul {
  87. list-style-type: square; }
  88. .reveal ul ul ul {
  89. list-style-type: circle; }
  90. .reveal ul ul,
  91. .reveal ul ol,
  92. .reveal ol ol,
  93. .reveal ol ul {
  94. display: block;
  95. margin-left: 40px; }
  96. .reveal dt {
  97. font-weight: bold; }
  98. .reveal dd {
  99. margin-left: 40px; }
  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. text-transform: none; }
  128. .reveal pre code {
  129. display: block;
  130. padding: 5px;
  131. overflow: auto;
  132. max-height: 400px;
  133. word-wrap: normal; }
  134. .reveal table {
  135. margin: auto;
  136. border-collapse: collapse;
  137. border-spacing: 0; }
  138. .reveal table th {
  139. font-weight: bold; }
  140. .reveal table th,
  141. .reveal table td {
  142. text-align: left;
  143. padding: 0.2em 0.5em 0.2em 0.5em;
  144. border-bottom: 1px solid; }
  145. .reveal table th[align="center"],
  146. .reveal table td[align="center"] {
  147. text-align: center; }
  148. .reveal table th[align="right"],
  149. .reveal table td[align="right"] {
  150. text-align: right; }
  151. .reveal table tbody tr:last-child th,
  152. .reveal table tbody tr:last-child td {
  153. border-bottom: none; }
  154. .reveal sup {
  155. vertical-align: super; }
  156. .reveal sub {
  157. vertical-align: sub; }
  158. .reveal small {
  159. display: inline-block;
  160. font-size: 0.6em;
  161. line-height: 1.2em;
  162. vertical-align: top; }
  163. .reveal small * {
  164. vertical-align: top; }
  165. /*********************************************
  166. * LINKS
  167. *********************************************/
  168. .reveal a {
  169. color: #42affa;
  170. text-decoration: none;
  171. -webkit-transition: color .15s ease;
  172. -moz-transition: color .15s ease;
  173. transition: color .15s ease; }
  174. .reveal a:hover {
  175. color: #8dcffc;
  176. text-shadow: none;
  177. border: none; }
  178. .reveal .roll span:after {
  179. color: #fff;
  180. background: #068de9; }
  181. /*********************************************
  182. * IMAGES
  183. *********************************************/
  184. .reveal section img {
  185. margin: 15px 0px;
  186. background: rgba(255, 255, 255, 0.12);
  187. border: 4px solid #fff;
  188. box-shadow: 0 0 10px rgba(0, 0, 0, 0.15); }
  189. .reveal section img.plain {
  190. border: 0;
  191. box-shadow: none; }
  192. .reveal a img {
  193. -webkit-transition: all .15s linear;
  194. -moz-transition: all .15s linear;
  195. transition: all .15s linear; }
  196. .reveal a:hover img {
  197. background: rgba(255, 255, 255, 0.2);
  198. border-color: #42affa;
  199. box-shadow: 0 0 20px rgba(0, 0, 0, 0.55); }
  200. /*********************************************
  201. * NAVIGATION CONTROLS
  202. *********************************************/
  203. .reveal .controls {
  204. color: #42affa; }
  205. /*********************************************
  206. * PROGRESS BAR
  207. *********************************************/
  208. .reveal .progress {
  209. background: rgba(0, 0, 0, 0.2);
  210. color: #42affa; }
  211. .reveal .progress span {
  212. -webkit-transition: width 800ms cubic-bezier(0.26, 0.86, 0.44, 0.985);
  213. -moz-transition: width 800ms cubic-bezier(0.26, 0.86, 0.44, 0.985);
  214. transition: width 800ms cubic-bezier(0.26, 0.86, 0.44, 0.985); }