night.css 5.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260
  1. @import url(https://fonts.googleapis.com/css?family=Montserrat:700);
  2. @import url(https://fonts.googleapis.com/css?family=Open+Sans:400,700,400italic,700italic);
  3. /**
  4. * Black theme for reveal.js.
  5. *
  6. * Copyright (C) 2011-2012 Hakim El Hattab, http://hakim.se
  7. */
  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, .reveal .slides > section > section {
  24. line-height: 1.3;
  25. font-weight: inherit; }
  26. /*********************************************
  27. * HEADERS
  28. *********************************************/
  29. .reveal h1, .reveal h2, .reveal h3, .reveal h4, .reveal h5, .reveal h6 {
  30. margin: 0 0 20px 0;
  31. color: #eee;
  32. font-family: 'Montserrat', Impact, sans-serif;
  33. font-weight: normal;
  34. line-height: 1.2;
  35. letter-spacing: -0.03em;
  36. text-transform: none;
  37. text-shadow: none;
  38. word-wrap: break-word; }
  39. .reveal h1 {
  40. font-size: 3.77em; }
  41. .reveal h2 {
  42. font-size: 2.11em; }
  43. .reveal h3 {
  44. font-size: 1.55em; }
  45. .reveal h4 {
  46. font-size: 1em; }
  47. .reveal h1 {
  48. text-shadow: none; }
  49. /*********************************************
  50. * OTHER
  51. *********************************************/
  52. .reveal p {
  53. margin: 20px 0;
  54. line-height: 1.3; }
  55. /* Ensure certain elements are never larger than the slide itself */
  56. .reveal img, .reveal video, .reveal iframe {
  57. max-width: 95%;
  58. max-height: 95%; }
  59. .reveal strong, .reveal b {
  60. font-weight: bold; }
  61. .reveal em {
  62. font-style: italic; }
  63. .reveal ol, .reveal dl, .reveal ul {
  64. display: inline-block;
  65. text-align: left;
  66. margin: 0 0 0 1em; }
  67. .reveal ol {
  68. list-style-type: decimal; }
  69. .reveal ul {
  70. list-style-type: disc; }
  71. .reveal ul ul {
  72. list-style-type: square; }
  73. .reveal ul ul ul {
  74. list-style-type: circle; }
  75. .reveal ul ul, .reveal ul ol, .reveal ol ol, .reveal ol ul {
  76. display: block;
  77. margin-left: 40px; }
  78. .reveal dt {
  79. font-weight: bold; }
  80. .reveal dd {
  81. margin-left: 40px; }
  82. .reveal q, .reveal blockquote {
  83. quotes: none; }
  84. .reveal blockquote {
  85. display: block;
  86. position: relative;
  87. width: 70%;
  88. margin: 20px auto;
  89. padding: 5px;
  90. font-style: italic;
  91. background: rgba(255, 255, 255, 0.05);
  92. box-shadow: 0px 0px 2px rgba(0, 0, 0, 0.2); }
  93. .reveal blockquote p:first-child, .reveal blockquote p:last-child {
  94. display: inline-block; }
  95. .reveal q {
  96. font-style: italic; }
  97. .reveal pre {
  98. display: block;
  99. position: relative;
  100. width: 90%;
  101. margin: 20px auto;
  102. text-align: left;
  103. font-size: 0.55em;
  104. font-family: monospace;
  105. line-height: 1.2em;
  106. word-wrap: break-word;
  107. box-shadow: 0px 0px 6px rgba(0, 0, 0, 0.3); }
  108. .reveal code {
  109. font-family: monospace; }
  110. .reveal pre code {
  111. display: block;
  112. padding: 5px;
  113. overflow: auto;
  114. max-height: 400px;
  115. word-wrap: normal;
  116. background: #3F3F3F;
  117. color: #DCDCDC; }
  118. .reveal table {
  119. margin: auto;
  120. border-collapse: collapse;
  121. border-spacing: 0; }
  122. .reveal table th {
  123. font-weight: bold; }
  124. .reveal table th, .reveal table td {
  125. text-align: left;
  126. padding: 0.2em 0.5em 0.2em 0.5em;
  127. border-bottom: 1px solid; }
  128. .reveal table tr:last-child td {
  129. border-bottom: none; }
  130. .reveal sup {
  131. vertical-align: super; }
  132. .reveal sub {
  133. vertical-align: sub; }
  134. .reveal small {
  135. display: inline-block;
  136. font-size: 0.6em;
  137. line-height: 1.2em;
  138. vertical-align: top; }
  139. .reveal small * {
  140. vertical-align: top; }
  141. /*********************************************
  142. * LINKS
  143. *********************************************/
  144. .reveal a {
  145. color: #e7ad52;
  146. text-decoration: none;
  147. -webkit-transition: color 0.15s ease;
  148. -moz-transition: color 0.15s ease;
  149. transition: color 0.15s ease; }
  150. .reveal a:hover {
  151. color: #f3d7ac;
  152. text-shadow: none;
  153. border: none; }
  154. .reveal .roll span:after {
  155. color: #fff;
  156. background: #d0881d; }
  157. /*********************************************
  158. * IMAGES
  159. *********************************************/
  160. .reveal section img {
  161. margin: 15px 0px;
  162. background: rgba(255, 255, 255, 0.12);
  163. border: 4px solid #eee;
  164. box-shadow: 0 0 10px rgba(0, 0, 0, 0.15); }
  165. .reveal a img {
  166. -webkit-transition: all 0.15s linear;
  167. -moz-transition: all 0.15s linear;
  168. transition: all 0.15s linear; }
  169. .reveal a:hover img {
  170. background: rgba(255, 255, 255, 0.2);
  171. border-color: #e7ad52;
  172. box-shadow: 0 0 20px rgba(0, 0, 0, 0.55); }
  173. /*********************************************
  174. * NAVIGATION CONTROLS
  175. *********************************************/
  176. .reveal .controls div.navigate-left, .reveal .controls div.navigate-left.enabled {
  177. border-right-color: #e7ad52; }
  178. .reveal .controls div.navigate-right, .reveal .controls div.navigate-right.enabled {
  179. border-left-color: #e7ad52; }
  180. .reveal .controls div.navigate-up, .reveal .controls div.navigate-up.enabled {
  181. border-bottom-color: #e7ad52; }
  182. .reveal .controls div.navigate-down, .reveal .controls div.navigate-down.enabled {
  183. border-top-color: #e7ad52; }
  184. .reveal .controls div.navigate-left.enabled:hover {
  185. border-right-color: #f3d7ac; }
  186. .reveal .controls div.navigate-right.enabled:hover {
  187. border-left-color: #f3d7ac; }
  188. .reveal .controls div.navigate-up.enabled:hover {
  189. border-bottom-color: #f3d7ac; }
  190. .reveal .controls div.navigate-down.enabled:hover {
  191. border-top-color: #f3d7ac; }
  192. /*********************************************
  193. * PROGRESS BAR
  194. *********************************************/
  195. .reveal .progress {
  196. background: rgba(0, 0, 0, 0.2); }
  197. .reveal .progress span {
  198. background: #e7ad52;
  199. -webkit-transition: width 800ms cubic-bezier(0.26, 0.86, 0.44, 0.985);
  200. -moz-transition: width 800ms cubic-bezier(0.26, 0.86, 0.44, 0.985);
  201. transition: width 800ms cubic-bezier(0.26, 0.86, 0.44, 0.985); }
  202. /*********************************************
  203. * SLIDE NUMBER
  204. *********************************************/
  205. .reveal .slide-number {
  206. color: #e7ad52; }