night.css 6.2 KB

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