night.css 5.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272
  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 5px 15px rgba(0, 0, 0, 0.15); }
  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. font-size: smaller; }
  157. .reveal sub {
  158. vertical-align: sub;
  159. font-size: smaller; }
  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 {
  206. color: #e7ad52; }
  207. /*********************************************
  208. * PROGRESS BAR
  209. *********************************************/
  210. .reveal .progress {
  211. background: rgba(0, 0, 0, 0.2);
  212. color: #e7ad52; }
  213. .reveal .progress span {
  214. -webkit-transition: width 800ms cubic-bezier(0.26, 0.86, 0.44, 0.985);
  215. -moz-transition: width 800ms cubic-bezier(0.26, 0.86, 0.44, 0.985);
  216. transition: width 800ms cubic-bezier(0.26, 0.86, 0.44, 0.985); }
  217. /*********************************************
  218. * PRINT BACKGROUND
  219. *********************************************/
  220. @media print {
  221. .backgrounds {
  222. background-color: #111; } }