night.css 6.1 KB

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