night.css 5.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263
  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 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: #e7ad52;
  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: #f3d7ac;
  176. text-shadow: none;
  177. border: none; }
  178. .reveal .roll span:after {
  179. color: #fff;
  180. background: #d08a1d; }
  181. /*********************************************
  182. * IMAGES
  183. *********************************************/
  184. .reveal section img {
  185. margin: 15px 0px;
  186. background: rgba(255, 255, 255, 0.12);
  187. border: 4px solid #eee;
  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: #e7ad52;
  199. box-shadow: 0 0 20px rgba(0, 0, 0, 0.55); }
  200. /*********************************************
  201. * NAVIGATION CONTROLS
  202. *********************************************/
  203. .reveal .controls {
  204. color: #e7ad52; }
  205. /*********************************************
  206. * PROGRESS BAR
  207. *********************************************/
  208. .reveal .progress {
  209. background: rgba(0, 0, 0, 0.2);
  210. color: #e7ad52; }
  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); }