solarized.css 6.3 KB

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