solarized.css 6.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352
  1. /**
  2. * Solarized Light theme for reveal.js.
  3. * Author: Achim Staebler
  4. */
  5. @import url(./fonts/league-gothic/league-gothic.css);
  6. @import url(https://fonts.googleapis.com/css?family=Lato:400,700,400italic,700italic);
  7. /**
  8. * Solarized colors by Ethan Schoonover
  9. */
  10. html * {
  11. color-profile: sRGB;
  12. rendering-intent: auto;
  13. }
  14. /*********************************************
  15. * GLOBAL STYLES
  16. *********************************************/
  17. :root {
  18. --background-color: #fdf6e3;
  19. --main-font: Lato, sans-serif;
  20. --main-font-size: 40px;
  21. --main-color: #657b83;
  22. --block-margin: 20px;
  23. --heading-margin: 0 0 20px 0;
  24. --heading-font: League Gothic, Impact, sans-serif;
  25. --heading-color: #586e75;
  26. --heading-line-height: 1.2;
  27. --heading-letter-spacing: normal;
  28. --heading-text-transform: uppercase;
  29. --heading-text-shadow: none;
  30. --heading-font-weight: normal;
  31. --heading1-text-shadow: none;
  32. --heading1-size: 3.77em;
  33. --heading2-size: 2.11em;
  34. --heading3-size: 1.55em;
  35. --heading4-size: 1em;
  36. --code-font: monospace;
  37. --link-color: #268bd2;
  38. --link-color-hover: #78b9e6;
  39. --selection-background-color: #d33682;
  40. --selection-color: #fff;
  41. }
  42. .reveal-viewport {
  43. background: #fdf6e3;
  44. background-color: #fdf6e3;
  45. }
  46. .reveal {
  47. font-family: "Lato", sans-serif;
  48. font-size: 40px;
  49. font-weight: normal;
  50. color: #657b83;
  51. }
  52. .reveal ::selection {
  53. color: #fff;
  54. background: #d33682;
  55. text-shadow: none;
  56. }
  57. .reveal ::-moz-selection {
  58. color: #fff;
  59. background: #d33682;
  60. text-shadow: none;
  61. }
  62. .reveal .slides section,
  63. .reveal .slides section > section {
  64. line-height: 1.3;
  65. font-weight: inherit;
  66. }
  67. /*********************************************
  68. * HEADERS
  69. *********************************************/
  70. .reveal h1,
  71. .reveal h2,
  72. .reveal h3,
  73. .reveal h4,
  74. .reveal h5,
  75. .reveal h6 {
  76. margin: 0 0 20px 0;
  77. color: #586e75;
  78. font-family: "League Gothic", Impact, sans-serif;
  79. font-weight: normal;
  80. line-height: 1.2;
  81. letter-spacing: normal;
  82. text-transform: uppercase;
  83. text-shadow: none;
  84. word-wrap: break-word;
  85. }
  86. .reveal h1 {
  87. font-size: 3.77em;
  88. }
  89. .reveal h2 {
  90. font-size: 2.11em;
  91. }
  92. .reveal h3 {
  93. font-size: 1.55em;
  94. }
  95. .reveal h4 {
  96. font-size: 1em;
  97. }
  98. .reveal h1 {
  99. text-shadow: none;
  100. }
  101. /*********************************************
  102. * OTHER
  103. *********************************************/
  104. .reveal p {
  105. margin: 20px 0;
  106. line-height: 1.3;
  107. }
  108. /* Remove trailing margins after titles */
  109. .reveal h1:last-child,
  110. .reveal h2:last-child,
  111. .reveal h3:last-child,
  112. .reveal h4:last-child,
  113. .reveal h5:last-child,
  114. .reveal h6:last-child {
  115. margin-bottom: 0;
  116. }
  117. /* Ensure certain elements are never larger than the slide itself */
  118. .reveal img,
  119. .reveal video,
  120. .reveal iframe {
  121. max-width: 95%;
  122. max-height: 95%;
  123. }
  124. .reveal strong,
  125. .reveal b {
  126. font-weight: bold;
  127. }
  128. .reveal em {
  129. font-style: italic;
  130. }
  131. .reveal ol,
  132. .reveal dl,
  133. .reveal ul {
  134. display: inline-block;
  135. text-align: left;
  136. margin: 0 0 0 1em;
  137. }
  138. .reveal ol {
  139. list-style-type: decimal;
  140. }
  141. .reveal ul {
  142. list-style-type: disc;
  143. }
  144. .reveal ul ul {
  145. list-style-type: square;
  146. }
  147. .reveal ul ul ul {
  148. list-style-type: circle;
  149. }
  150. .reveal ul ul,
  151. .reveal ul ol,
  152. .reveal ol ol,
  153. .reveal ol ul {
  154. display: block;
  155. margin-left: 40px;
  156. }
  157. .reveal dt {
  158. font-weight: bold;
  159. }
  160. .reveal dd {
  161. margin-left: 40px;
  162. }
  163. .reveal blockquote {
  164. display: block;
  165. position: relative;
  166. width: 70%;
  167. margin: 20px auto;
  168. padding: 5px;
  169. font-style: italic;
  170. background: rgba(255, 255, 255, 0.05);
  171. box-shadow: 0px 0px 2px rgba(0, 0, 0, 0.2);
  172. }
  173. .reveal blockquote p:first-child,
  174. .reveal blockquote p:last-child {
  175. display: inline-block;
  176. }
  177. .reveal q {
  178. font-style: italic;
  179. }
  180. .reveal pre {
  181. display: block;
  182. position: relative;
  183. width: 90%;
  184. margin: 20px auto;
  185. text-align: left;
  186. font-size: 0.55em;
  187. font-family: monospace;
  188. line-height: 1.2em;
  189. word-wrap: break-word;
  190. box-shadow: 0px 5px 15px rgba(0, 0, 0, 0.15);
  191. }
  192. .reveal code {
  193. font-family: monospace;
  194. text-transform: none;
  195. tab-size: 2;
  196. }
  197. .reveal pre code {
  198. display: block;
  199. padding: 5px;
  200. overflow: auto;
  201. max-height: 400px;
  202. word-wrap: normal;
  203. }
  204. .reveal table {
  205. margin: auto;
  206. border-collapse: collapse;
  207. border-spacing: 0;
  208. }
  209. .reveal table th {
  210. font-weight: bold;
  211. }
  212. .reveal table th,
  213. .reveal table td {
  214. text-align: left;
  215. padding: 0.2em 0.5em 0.2em 0.5em;
  216. border-bottom: 1px solid;
  217. }
  218. .reveal table th[align=center],
  219. .reveal table td[align=center] {
  220. text-align: center;
  221. }
  222. .reveal table th[align=right],
  223. .reveal table td[align=right] {
  224. text-align: right;
  225. }
  226. .reveal table tbody tr:last-child th,
  227. .reveal table tbody tr:last-child td {
  228. border-bottom: none;
  229. }
  230. .reveal sup {
  231. vertical-align: super;
  232. font-size: smaller;
  233. }
  234. .reveal sub {
  235. vertical-align: sub;
  236. font-size: smaller;
  237. }
  238. .reveal small {
  239. display: inline-block;
  240. font-size: 0.6em;
  241. line-height: 1.2em;
  242. vertical-align: top;
  243. }
  244. .reveal small * {
  245. vertical-align: top;
  246. }
  247. .reveal img {
  248. margin: 20px 0;
  249. }
  250. /*********************************************
  251. * LINKS
  252. *********************************************/
  253. .reveal a {
  254. color: #268bd2;
  255. text-decoration: none;
  256. transition: color 0.15s ease;
  257. }
  258. .reveal a:hover {
  259. color: #78b9e6;
  260. text-shadow: none;
  261. border: none;
  262. }
  263. .reveal .roll span:after {
  264. color: #fff;
  265. background: #1a6091;
  266. }
  267. /*********************************************
  268. * Frame helper
  269. *********************************************/
  270. .reveal .r-frame {
  271. border: 4px solid #657b83;
  272. box-shadow: 0 0 10px rgba(0, 0, 0, 0.15);
  273. }
  274. .reveal a .r-frame {
  275. transition: all 0.15s linear;
  276. }
  277. .reveal a:hover .r-frame {
  278. border-color: #268bd2;
  279. box-shadow: 0 0 20px rgba(0, 0, 0, 0.55);
  280. }
  281. /*********************************************
  282. * NAVIGATION CONTROLS
  283. *********************************************/
  284. .reveal .controls {
  285. color: #268bd2;
  286. }
  287. /*********************************************
  288. * PROGRESS BAR
  289. *********************************************/
  290. .reveal .progress {
  291. background: rgba(0, 0, 0, 0.2);
  292. color: #268bd2;
  293. }
  294. /*********************************************
  295. * PRINT BACKGROUND
  296. *********************************************/
  297. @media print {
  298. .backgrounds {
  299. background-color: #fdf6e3;
  300. }
  301. }