night.css 5.9 KB

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