night.css 6.0 KB

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