solarized.css 6.4 KB

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