night.css 5.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262
  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. .reveal pre code {
  128. display: block;
  129. padding: 5px;
  130. overflow: auto;
  131. max-height: 400px;
  132. word-wrap: normal; }
  133. .reveal table {
  134. margin: auto;
  135. border-collapse: collapse;
  136. border-spacing: 0; }
  137. .reveal table th {
  138. font-weight: bold; }
  139. .reveal table th,
  140. .reveal table td {
  141. text-align: left;
  142. padding: 0.2em 0.5em 0.2em 0.5em;
  143. border-bottom: 1px solid; }
  144. .reveal table th[align="center"],
  145. .reveal table td[align="center"] {
  146. text-align: center; }
  147. .reveal table th[align="right"],
  148. .reveal table td[align="right"] {
  149. text-align: right; }
  150. .reveal table tbody tr:last-child th,
  151. .reveal table tbody tr:last-child td {
  152. border-bottom: none; }
  153. .reveal sup {
  154. vertical-align: super; }
  155. .reveal sub {
  156. vertical-align: sub; }
  157. .reveal small {
  158. display: inline-block;
  159. font-size: 0.6em;
  160. line-height: 1.2em;
  161. vertical-align: top; }
  162. .reveal small * {
  163. vertical-align: top; }
  164. /*********************************************
  165. * LINKS
  166. *********************************************/
  167. .reveal a {
  168. color: #e7ad52;
  169. text-decoration: none;
  170. -webkit-transition: color .15s ease;
  171. -moz-transition: color .15s ease;
  172. transition: color .15s ease; }
  173. .reveal a:hover {
  174. color: #f3d7ac;
  175. text-shadow: none;
  176. border: none; }
  177. .reveal .roll span:after {
  178. color: #fff;
  179. background: #d08a1d; }
  180. /*********************************************
  181. * IMAGES
  182. *********************************************/
  183. .reveal section img {
  184. margin: 15px 0px;
  185. background: rgba(255, 255, 255, 0.12);
  186. border: 4px solid #eee;
  187. box-shadow: 0 0 10px rgba(0, 0, 0, 0.15); }
  188. .reveal section img.plain {
  189. border: 0;
  190. box-shadow: none; }
  191. .reveal a img {
  192. -webkit-transition: all .15s linear;
  193. -moz-transition: all .15s linear;
  194. transition: all .15s linear; }
  195. .reveal a:hover img {
  196. background: rgba(255, 255, 255, 0.2);
  197. border-color: #e7ad52;
  198. box-shadow: 0 0 20px rgba(0, 0, 0, 0.55); }
  199. /*********************************************
  200. * NAVIGATION CONTROLS
  201. *********************************************/
  202. .reveal .controls {
  203. color: #e7ad52; }
  204. /*********************************************
  205. * PROGRESS BAR
  206. *********************************************/
  207. .reveal .progress {
  208. background: rgba(0, 0, 0, 0.2);
  209. color: #e7ad52; }
  210. .reveal .progress span {
  211. -webkit-transition: width 800ms cubic-bezier(0.26, 0.86, 0.44, 0.985);
  212. -moz-transition: width 800ms cubic-bezier(0.26, 0.86, 0.44, 0.985);
  213. transition: width 800ms cubic-bezier(0.26, 0.86, 0.44, 0.985); }