night.css 5.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284
  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: 30px;
  17. font-weight: normal;
  18. color: #eee; }
  19. ::selection {
  20. color: #fff;
  21. background: #e7ad52;
  22. text-shadow: none; }
  23. .reveal .slides > section,
  24. .reveal .slides > section > section {
  25. line-height: 1.3;
  26. font-weight: inherit; }
  27. /*********************************************
  28. * HEADERS
  29. *********************************************/
  30. .reveal h1,
  31. .reveal h2,
  32. .reveal h3,
  33. .reveal h4,
  34. .reveal h5,
  35. .reveal h6 {
  36. margin: 0 0 20px 0;
  37. color: #eee;
  38. font-family: "Montserrat", Impact, sans-serif;
  39. font-weight: normal;
  40. line-height: 1.2;
  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: none; }
  55. /*********************************************
  56. * OTHER
  57. *********************************************/
  58. .reveal p {
  59. margin: 20px 0;
  60. line-height: 1.3; }
  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: 20px 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: 20px 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. .reveal table {
  133. margin: auto;
  134. border-collapse: collapse;
  135. border-spacing: 0; }
  136. .reveal table th {
  137. font-weight: bold; }
  138. .reveal table th,
  139. .reveal table td {
  140. text-align: left;
  141. padding: 0.2em 0.5em 0.2em 0.5em;
  142. border-bottom: 1px solid; }
  143. .reveal table th[align="center"],
  144. .reveal table td[align="center"] {
  145. text-align: center; }
  146. .reveal table th[align="right"],
  147. .reveal table td[align="right"] {
  148. text-align: right; }
  149. .reveal table tr:last-child td {
  150. border-bottom: none; }
  151. .reveal sup {
  152. vertical-align: super; }
  153. .reveal sub {
  154. vertical-align: sub; }
  155. .reveal small {
  156. display: inline-block;
  157. font-size: 0.6em;
  158. line-height: 1.2em;
  159. vertical-align: top; }
  160. .reveal small * {
  161. vertical-align: top; }
  162. /*********************************************
  163. * LINKS
  164. *********************************************/
  165. .reveal a {
  166. color: #e7ad52;
  167. text-decoration: none;
  168. -webkit-transition: color 0.15s ease;
  169. -moz-transition: color 0.15s ease;
  170. transition: color 0.15s ease; }
  171. .reveal a:hover {
  172. color: #f3d7ac;
  173. text-shadow: none;
  174. border: none; }
  175. .reveal .roll span:after {
  176. color: #fff;
  177. background: #d08a1d; }
  178. /*********************************************
  179. * IMAGES
  180. *********************************************/
  181. .reveal section img {
  182. margin: 15px 0px;
  183. background: rgba(255, 255, 255, 0.12);
  184. border: 4px solid #eee;
  185. box-shadow: 0 0 10px rgba(0, 0, 0, 0.15); }
  186. .reveal section img.plain {
  187. border: 0;
  188. box-shadow: none; }
  189. .reveal a img {
  190. -webkit-transition: all 0.15s linear;
  191. -moz-transition: all 0.15s linear;
  192. transition: all 0.15s linear; }
  193. .reveal a:hover img {
  194. background: rgba(255, 255, 255, 0.2);
  195. border-color: #e7ad52;
  196. box-shadow: 0 0 20px rgba(0, 0, 0, 0.55); }
  197. /*********************************************
  198. * NAVIGATION CONTROLS
  199. *********************************************/
  200. .reveal .controls .navigate-left,
  201. .reveal .controls .navigate-left.enabled {
  202. border-right-color: #e7ad52; }
  203. .reveal .controls .navigate-right,
  204. .reveal .controls .navigate-right.enabled {
  205. border-left-color: #e7ad52; }
  206. .reveal .controls .navigate-up,
  207. .reveal .controls .navigate-up.enabled {
  208. border-bottom-color: #e7ad52; }
  209. .reveal .controls .navigate-down,
  210. .reveal .controls .navigate-down.enabled {
  211. border-top-color: #e7ad52; }
  212. .reveal .controls .navigate-left.enabled:hover {
  213. border-right-color: #f3d7ac; }
  214. .reveal .controls .navigate-right.enabled:hover {
  215. border-left-color: #f3d7ac; }
  216. .reveal .controls .navigate-up.enabled:hover {
  217. border-bottom-color: #f3d7ac; }
  218. .reveal .controls .navigate-down.enabled:hover {
  219. border-top-color: #f3d7ac; }
  220. /*********************************************
  221. * PROGRESS BAR
  222. *********************************************/
  223. .reveal .progress {
  224. background: rgba(0, 0, 0, 0.2); }
  225. .reveal .progress span {
  226. background: #e7ad52;
  227. -webkit-transition: width 800ms cubic-bezier(0.26, 0.86, 0.44, 0.985);
  228. -moz-transition: width 800ms cubic-bezier(0.26, 0.86, 0.44, 0.985);
  229. transition: width 800ms cubic-bezier(0.26, 0.86, 0.44, 0.985); }