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.

221 lines
2.6 KiB

  1. /* Copyright 2013 Michael Bostock. All rights reserved. Do not copy. */
  2. @import url(//fonts.googleapis.com/css?family=PT+Serif|PT+Serif:b|PT+Serif:i|PT+Sans|PT+Sans:b);
  3. html {
  4. min-width: 1040px;
  5. }
  6. .ocks-org body {
  7. background: #fcfcfa;
  8. color: #333;
  9. font-family: "PT Serif", serif;
  10. margin: 1em auto 4em auto;
  11. position: relative;
  12. width: 960px;
  13. }
  14. .ocks-org header,
  15. .ocks-org footer,
  16. .ocks-org aside,
  17. .ocks-org h1,
  18. .ocks-org h2,
  19. .ocks-org h3,
  20. .ocks-org h4 {
  21. font-family: "PT Sans", sans-serif;
  22. }
  23. .ocks-org h1,
  24. .ocks-org h2,
  25. .ocks-org h3,
  26. .ocks-org h4 {
  27. color: #000;
  28. }
  29. .ocks-org header,
  30. .ocks-org footer {
  31. color: #636363;
  32. }
  33. h1 {
  34. font-size: 64px;
  35. font-weight: 300;
  36. letter-spacing: -2px;
  37. margin: .3em 0 .1em 0;
  38. }
  39. h2 {
  40. margin-top: 2em;
  41. }
  42. h1, h2 {
  43. text-rendering: optimizeLegibility;
  44. }
  45. h2 a[name],
  46. h2 a[id] {
  47. color: #ccc;
  48. right: 100%;
  49. padding: 0 .3em;
  50. position: absolute;
  51. }
  52. header,
  53. footer {
  54. font-size: small;
  55. }
  56. .ocks-org header aside,
  57. .ocks-org footer aside {
  58. float: left;
  59. margin-right: .5em;
  60. }
  61. .ocks-org header aside:after,
  62. .ocks-org footer aside:after {
  63. padding-left: .5em;
  64. content: "/";
  65. }
  66. footer {
  67. margin-top: 8em;
  68. }
  69. h1 ~ aside {
  70. font-size: small;
  71. right: 0;
  72. position: absolute;
  73. width: 180px;
  74. }
  75. .attribution {
  76. font-size: small;
  77. margin-bottom: 2em;
  78. }
  79. body > p, li > p {
  80. line-height: 1.5em;
  81. }
  82. body > p {
  83. width: 720px;
  84. }
  85. body > blockquote {
  86. width: 640px;
  87. }
  88. blockquote q {
  89. display: block;
  90. font-style: oblique;
  91. }
  92. ul {
  93. padding: 0;
  94. }
  95. li {
  96. width: 690px;
  97. margin-left: 30px;
  98. }
  99. a {
  100. color: steelblue;
  101. }
  102. a:not(:hover) {
  103. text-decoration: none;
  104. }
  105. pre, code, textarea {
  106. font-family: "Menlo", monospace;
  107. }
  108. code {
  109. line-height: 1em;
  110. }
  111. textarea {
  112. font-size: 100%;
  113. }
  114. body > pre {
  115. border-left: solid 2px #ccc;
  116. padding-left: 18px;
  117. margin: 2em 0 2em -20px;
  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, .axis line {
  158. fill: none;
  159. stroke: #000;
  160. shape-rendering: crispEdges;
  161. }
  162. sup, sub {
  163. line-height: 0;
  164. }
  165. q:before {
  166. content: "“";
  167. }
  168. q:after {
  169. content: "”";
  170. }
  171. blockquote q {
  172. line-height: 1.5em;
  173. display: inline;
  174. }
  175. blockquote q:before,
  176. blockquote q:after {
  177. content: "";
  178. }