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.

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