moon.css 6.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273
  1. /**
  2. * Solarized Dark theme for reveal.js.
  3. * Author: Achim Staebler
  4. */
  5. @import url(https://fonts.googleapis.com/css?family=Lato:400,700,400italic,700italic);
  6. @font-face {
  7. font-family: 'League Gothic';
  8. src: url("../../lib/font/league_gothic-webfont.eot");
  9. src: url("../../lib/font/league_gothic-webfont.eot?#iefix") format("embedded-opentype"), url("../../lib/font/league_gothic-webfont.woff") format("woff"), url("../../lib/font/league_gothic-webfont.ttf") format("truetype"), url("../../lib/font/league_gothic-webfont.svg#LeagueGothicRegular") format("svg");
  10. font-weight: normal;
  11. font-style: normal; }
  12. /**
  13. * Solarized colors by Ethan Schoonover
  14. */
  15. html * {
  16. color-profile: sRGB;
  17. rendering-intent: auto; }
  18. /*********************************************
  19. * GLOBAL STYLES
  20. *********************************************/
  21. body {
  22. background: #002b36;
  23. background-color: #002b36; }
  24. .reveal {
  25. font-family: "Lato", sans-serif;
  26. font-size: 36px;
  27. font-weight: normal;
  28. letter-spacing: -0.02em;
  29. color: #93a1a1; }
  30. ::selection {
  31. color: white;
  32. background: #d33682;
  33. text-shadow: none; }
  34. /*********************************************
  35. * HEADERS
  36. *********************************************/
  37. .reveal h1,
  38. .reveal h2,
  39. .reveal h3,
  40. .reveal h4,
  41. .reveal h5,
  42. .reveal h6 {
  43. margin: 0 0 20px 0;
  44. color: #eee8d5;
  45. font-family: "League Gothic", Impact, sans-serif;
  46. line-height: 1em;
  47. letter-spacing: 0.02em;
  48. text-transform: uppercase;
  49. text-shadow: none; }
  50. .reveal h1 {
  51. text-shadow: 0px 0px 6px rgba(0, 0, 0, 0.2); }
  52. /*********************************************
  53. * OTHER
  54. *********************************************/
  55. .reveal p {
  56. margin-bottom: 10px;
  57. line-height: 1.2em; }
  58. /* Ensure certain elements are never larger than the slide itself */
  59. .reveal img,
  60. .reveal video,
  61. .reveal iframe {
  62. max-width: 95%;
  63. max-height: 95%; }
  64. .reveal strong,
  65. .reveal b {
  66. font-weight: bold; }
  67. .reveal em {
  68. font-style: italic; }
  69. .reveal ol,
  70. .reveal dl,
  71. .reveal ul {
  72. display: inline-block;
  73. text-align: left;
  74. margin: 0 0 0 1em; }
  75. .reveal ol {
  76. list-style-type: decimal; }
  77. .reveal ul {
  78. list-style-type: disc; }
  79. .reveal ul ul {
  80. list-style-type: square; }
  81. .reveal ul ul ul {
  82. list-style-type: circle; }
  83. .reveal ul ul,
  84. .reveal ul ol,
  85. .reveal ol ol,
  86. .reveal ol ul {
  87. display: block;
  88. margin-left: 40px; }
  89. .reveal dt {
  90. font-weight: bold; }
  91. .reveal dd {
  92. margin-left: 40px; }
  93. .reveal q,
  94. .reveal blockquote {
  95. quotes: none; }
  96. .reveal blockquote {
  97. display: block;
  98. position: relative;
  99. width: 70%;
  100. margin: 5px auto;
  101. padding: 5px;
  102. font-style: italic;
  103. background: rgba(255, 255, 255, 0.05);
  104. box-shadow: 0px 0px 2px rgba(0, 0, 0, 0.2); }
  105. .reveal blockquote p:first-child,
  106. .reveal blockquote p:last-child {
  107. display: inline-block; }
  108. .reveal q {
  109. font-style: italic; }
  110. .reveal pre {
  111. display: block;
  112. position: relative;
  113. width: 90%;
  114. margin: 15px auto;
  115. text-align: left;
  116. font-size: 0.55em;
  117. font-family: monospace;
  118. line-height: 1.2em;
  119. word-wrap: break-word;
  120. box-shadow: 0px 0px 6px rgba(0, 0, 0, 0.3); }
  121. .reveal code {
  122. font-family: monospace; }
  123. .reveal pre code {
  124. display: block;
  125. padding: 5px;
  126. overflow: auto;
  127. max-height: 400px;
  128. word-wrap: normal;
  129. background: #3F3F3F;
  130. color: #DCDCDC; }
  131. .reveal table {
  132. margin: auto;
  133. border-collapse: collapse;
  134. border-spacing: 0; }
  135. .reveal table th {
  136. font-weight: bold; }
  137. .reveal table th,
  138. .reveal table td {
  139. text-align: left;
  140. padding: 0.2em 0.5em 0.2em 0.5em;
  141. border-bottom: 1px solid; }
  142. .reveal table tr:last-child td {
  143. border-bottom: none; }
  144. .reveal sup {
  145. vertical-align: super; }
  146. .reveal sub {
  147. vertical-align: sub; }
  148. .reveal small {
  149. display: inline-block;
  150. font-size: 0.6em;
  151. line-height: 1.2em;
  152. vertical-align: top; }
  153. .reveal small * {
  154. vertical-align: top; }
  155. /*********************************************
  156. * LINKS
  157. *********************************************/
  158. .reveal a {
  159. color: #268bd2;
  160. text-decoration: none;
  161. -webkit-transition: color .15s ease;
  162. -moz-transition: color .15s ease;
  163. transition: color .15s ease; }
  164. .reveal a:hover {
  165. color: #78b9e6;
  166. text-shadow: none;
  167. border: none; }
  168. .reveal .roll span:after {
  169. color: #fff;
  170. background: #1a6091; }
  171. /*********************************************
  172. * IMAGES
  173. *********************************************/
  174. .reveal section img {
  175. margin: 15px 0px;
  176. background: rgba(255, 255, 255, 0.12);
  177. border: 4px solid #93a1a1;
  178. box-shadow: 0 0 10px rgba(0, 0, 0, 0.15); }
  179. .reveal a img {
  180. -webkit-transition: all .15s linear;
  181. -moz-transition: all .15s linear;
  182. transition: all .15s linear; }
  183. .reveal a:hover img {
  184. background: rgba(255, 255, 255, 0.2);
  185. border-color: #268bd2;
  186. box-shadow: 0 0 20px rgba(0, 0, 0, 0.55); }
  187. /*********************************************
  188. * NAVIGATION CONTROLS
  189. *********************************************/
  190. .reveal .controls div.navigate-left,
  191. .reveal .controls div.navigate-left.enabled {
  192. border-right-color: #268bd2; }
  193. .reveal .controls div.navigate-right,
  194. .reveal .controls div.navigate-right.enabled {
  195. border-left-color: #268bd2; }
  196. .reveal .controls div.navigate-up,
  197. .reveal .controls div.navigate-up.enabled {
  198. border-bottom-color: #268bd2; }
  199. .reveal .controls div.navigate-down,
  200. .reveal .controls div.navigate-down.enabled {
  201. border-top-color: #268bd2; }
  202. .reveal .controls div.navigate-left.enabled:hover {
  203. border-right-color: #78b9e6; }
  204. .reveal .controls div.navigate-right.enabled:hover {
  205. border-left-color: #78b9e6; }
  206. .reveal .controls div.navigate-up.enabled:hover {
  207. border-bottom-color: #78b9e6; }
  208. .reveal .controls div.navigate-down.enabled:hover {
  209. border-top-color: #78b9e6; }
  210. /*********************************************
  211. * PROGRESS BAR
  212. *********************************************/
  213. .reveal .progress {
  214. background: rgba(0, 0, 0, 0.2); }
  215. .reveal .progress span {
  216. background: #268bd2;
  217. -webkit-transition: width 800ms cubic-bezier(0.26, 0.86, 0.44, 0.985);
  218. -moz-transition: width 800ms cubic-bezier(0.26, 0.86, 0.44, 0.985);
  219. transition: width 800ms cubic-bezier(0.26, 0.86, 0.44, 0.985); }
  220. /*********************************************
  221. * SLIDE NUMBER
  222. *********************************************/
  223. .reveal .slide-number {
  224. color: #268bd2; }