You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

265 lines
3.0 KiB

  1. /* Copyright 2013 Michael Bostock. All rights reserved. Do not copy. */
  2. @import url(https://fonts.googleapis.com/css?family=PT+Serif|PT+Serif:b|PT+Serif:i|PT+Sans|PT+Sans:b);
  3. .ocks-org body {
  4. background: #fcfcfa;
  5. color: #333;
  6. font-family: "PT Serif", serif;
  7. margin: 1em auto 4em auto;
  8. position: relative;
  9. width: 960px;
  10. padding: 1rem;
  11. }
  12. .ocks-org header,
  13. .ocks-org footer,
  14. .ocks-org aside,
  15. .ocks-org h1,
  16. .ocks-org h2,
  17. .ocks-org h3,
  18. .ocks-org h4 {
  19. font-family: "PT Sans", sans-serif;
  20. }
  21. .ocks-org h1,
  22. .ocks-org h2,
  23. .ocks-org h3,
  24. .ocks-org h4 {
  25. color: #000;
  26. }
  27. .ocks-org header,
  28. .ocks-org footer {
  29. color: #636363;
  30. }
  31. h1 {
  32. font-size: 64px;
  33. font-weight: 300;
  34. letter-spacing: -2px;
  35. margin: 0.3em 0 0.1em 0;
  36. }
  37. h2 {
  38. margin-top: 2em;
  39. }
  40. h1,
  41. h2 {
  42. text-rendering: optimizeLegibility;
  43. }
  44. h2 a[name],
  45. h2 a[id] {
  46. color: #ccc;
  47. padding-right: 0.3em;
  48. }
  49. header,
  50. footer {
  51. font-size: small;
  52. }
  53. .ocks-org header aside,
  54. .ocks-org footer aside {
  55. float: left;
  56. margin-right: 0.5em;
  57. }
  58. .ocks-org header aside:after,
  59. .ocks-org footer aside:after {
  60. padding-left: 0.5em;
  61. content: "/";
  62. }
  63. footer {
  64. margin-top: 8em;
  65. }
  66. h1 ~ aside {
  67. font-size: small;
  68. right: 0;
  69. position: absolute;
  70. width: 180px;
  71. }
  72. .attribution {
  73. font-size: small;
  74. margin-bottom: 2em;
  75. }
  76. body > p,
  77. li > p {
  78. line-height: 1.5em;
  79. }
  80. body > p {
  81. width: 720px;
  82. }
  83. body > blockquote {
  84. width: 640px;
  85. }
  86. blockquote q {
  87. display: block;
  88. font-style: oblique;
  89. }
  90. ul {
  91. padding: 0;
  92. }
  93. li {
  94. width: 690px;
  95. margin-left: 30px;
  96. }
  97. a {
  98. color: steelblue;
  99. }
  100. a:not(:hover) {
  101. text-decoration: none;
  102. }
  103. pre,
  104. code,
  105. textarea {
  106. font-family: "Menlo", monospace;
  107. }
  108. code {
  109. line-height: 1em;
  110. }
  111. textarea {
  112. font-size: 100%;
  113. }
  114. pre {
  115. border-left: solid 2px #ccc;
  116. padding-left: 18px;
  117. margin: 2em 0 2em 0;
  118. }
  119. .html .value,
  120. .javascript .string,
  121. .javascript .regexp {
  122. color: #756bb1;
  123. }
  124. .html .tag,
  125. .css .tag,
  126. .javascript .keyword {
  127. color: #3182bd;
  128. }
  129. .comment {
  130. color: #636363;
  131. }
  132. .html .doctype,
  133. .javascript .number {
  134. color: #31a354;
  135. }
  136. .html .attribute,
  137. .css .attribute,
  138. .javascript .class,
  139. .javascript .special {
  140. color: #e6550d;
  141. }
  142. .album_cover {
  143. width: 179px;
  144. height: 179px;
  145. border: 0px;
  146. margin: 0px;
  147. }
  148. .single_cover {
  149. width: 143px;
  150. height: 143px;
  151. border: 0px;
  152. margin: 0px;
  153. }
  154. svg {
  155. font: 10px sans-serif;
  156. }
  157. .axis path,
  158. .axis line {
  159. fill: none;
  160. stroke: #000;
  161. shape-rendering: crispEdges;
  162. }
  163. sup,
  164. sub {
  165. line-height: 0;
  166. }
  167. q:before {
  168. content: "“";
  169. }
  170. q:after {
  171. content: "”";
  172. }
  173. blockquote q {
  174. line-height: 1.5em;
  175. display: inline;
  176. }
  177. blockquote q:before,
  178. blockquote q:after {
  179. content: "";
  180. }
  181. h3,
  182. h4,
  183. p,
  184. ul {
  185. padding-left: 1.2rem;
  186. }
  187. .banner {
  188. padding: 0;
  189. }
  190. #toc {
  191. margin-top: 0;
  192. }
  193. @media only screen and (max-device-width: 1024px) {
  194. .ocks-org body {
  195. font-size: 80%;
  196. padding: 0.5rem;
  197. }
  198. h3,
  199. h4,
  200. p,
  201. ul {
  202. padding-left: .7rem;
  203. }
  204. h1 {
  205. font-size: 2rem;
  206. }
  207. pre {
  208. padding-left: 0.5rem;
  209. }
  210. .banner,
  211. h1,
  212. img {
  213. max-width: calc(100vw - 2em);
  214. min-width: calc(100vw - 2em);
  215. }
  216. }