jazzy.css 7.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374
  1. html, body, div, span, h1, h3, h4, p, a, code, em, img, ul, li, table, tbody, tr, td {
  2. background: transparent;
  3. border: 0;
  4. margin: 0;
  5. outline: 0;
  6. padding: 0;
  7. vertical-align: baseline; }
  8. body {
  9. background-color: #f2f2f2;
  10. font-family: Helvetica, freesans, Arial, sans-serif;
  11. font-size: 14px;
  12. -webkit-font-smoothing: subpixel-antialiased;
  13. word-wrap: break-word; }
  14. h1, h2, h3 {
  15. margin-top: 0.8em;
  16. margin-bottom: 0.3em;
  17. font-weight: 100;
  18. color: black; }
  19. h1 {
  20. font-size: 2.5em; }
  21. h2 {
  22. font-size: 2em;
  23. border-bottom: 1px solid #e2e2e2; }
  24. h4 {
  25. font-size: 13px;
  26. line-height: 1.5;
  27. margin-top: 21px; }
  28. h5 {
  29. font-size: 1.1em; }
  30. h6 {
  31. font-size: 1.1em;
  32. color: #777; }
  33. .section-name {
  34. color: gray;
  35. display: block;
  36. font-family: Helvetica;
  37. font-size: 22px;
  38. font-weight: 100;
  39. margin-bottom: 15px; }
  40. pre, code {
  41. font: 0.95em Menlo, monospace;
  42. color: #777;
  43. word-wrap: normal; }
  44. p code, li code {
  45. background-color: #eee;
  46. padding: 2px 4px;
  47. border-radius: 4px; }
  48. a {
  49. color: #0088cc;
  50. text-decoration: none; }
  51. ul {
  52. padding-left: 15px; }
  53. li {
  54. line-height: 1.8em; }
  55. img {
  56. max-width: 100%; }
  57. blockquote {
  58. margin-left: 0;
  59. padding: 0 10px;
  60. border-left: 4px solid #ccc; }
  61. .content-wrapper {
  62. margin: 0 auto;
  63. width: 980px; }
  64. header {
  65. font-size: 0.85em;
  66. line-height: 26px;
  67. background-color: #414141;
  68. position: fixed;
  69. width: 100%;
  70. z-index: 2; }
  71. header img {
  72. padding-right: 6px;
  73. vertical-align: -4px;
  74. height: 16px; }
  75. header a {
  76. color: #fff; }
  77. header p {
  78. float: left;
  79. color: #999; }
  80. header .header-right {
  81. float: right;
  82. margin-left: 16px; }
  83. #breadcrumbs {
  84. background-color: #f2f2f2;
  85. height: 27px;
  86. padding-top: 17px;
  87. position: fixed;
  88. width: 100%;
  89. z-index: 2;
  90. margin-top: 26px; }
  91. #breadcrumbs #carat {
  92. height: 10px;
  93. margin: 0 5px; }
  94. .sidebar {
  95. background-color: #f9f9f9;
  96. border: 1px solid #e2e2e2;
  97. overflow-y: auto;
  98. overflow-x: hidden;
  99. position: fixed;
  100. top: 70px;
  101. bottom: 0;
  102. width: 230px;
  103. word-wrap: normal; }
  104. .nav-groups {
  105. list-style-type: none;
  106. background: #fff;
  107. padding-left: 0; }
  108. .nav-group-name {
  109. border-bottom: 1px solid #e2e2e2;
  110. font-size: 1.1em;
  111. font-weight: 100;
  112. padding: 15px 0 15px 20px; }
  113. .nav-group-name > a {
  114. color: #333; }
  115. .nav-group-tasks {
  116. margin-top: 5px; }
  117. .nav-group-task {
  118. font-size: 0.9em;
  119. list-style-type: none;
  120. white-space: nowrap; }
  121. .nav-group-task a {
  122. color: #888; }
  123. .main-content {
  124. background-color: #fff;
  125. border: 1px solid #e2e2e2;
  126. margin-left: 246px;
  127. position: absolute;
  128. overflow: hidden;
  129. padding-bottom: 20px;
  130. top: 70px;
  131. width: 734px; }
  132. .main-content p, .main-content a, .main-content code, .main-content em, .main-content ul, .main-content table, .main-content blockquote {
  133. margin-bottom: 1em; }
  134. .main-content p {
  135. line-height: 1.8em; }
  136. .main-content section .section:first-child {
  137. margin-top: 0;
  138. padding-top: 0; }
  139. .main-content section .task-group-section .task-group:first-of-type {
  140. padding-top: 10px; }
  141. .main-content section .task-group-section .task-group:first-of-type .section-name {
  142. padding-top: 15px; }
  143. .main-content section .heading:before {
  144. content: "";
  145. display: block;
  146. padding-top: 70px;
  147. margin: -70px 0 0; }
  148. .main-content .section-name p {
  149. margin-bottom: inherit;
  150. line-height: inherit; }
  151. .main-content .section-name code {
  152. background-color: inherit;
  153. padding: inherit;
  154. color: inherit; }
  155. .section {
  156. padding: 0 25px; }
  157. .highlight {
  158. background-color: #eee;
  159. padding: 10px 12px;
  160. border: 1px solid #e2e2e2;
  161. border-radius: 4px;
  162. overflow-x: auto; }
  163. .declaration .highlight {
  164. overflow-x: initial;
  165. padding: 0 40px 40px 0;
  166. margin-bottom: -25px;
  167. background-color: transparent;
  168. border: none; }
  169. .section-name {
  170. margin: 0;
  171. margin-left: 18px; }
  172. .task-group-section {
  173. padding-left: 6px;
  174. border-top: 1px solid #e2e2e2; }
  175. .task-group {
  176. padding-top: 0px; }
  177. .task-name-container a[name]:before {
  178. content: "";
  179. display: block;
  180. padding-top: 70px;
  181. margin: -70px 0 0; }
  182. .section-name-container {
  183. position: relative;
  184. display: inline-block; }
  185. .section-name-container .section-name-link {
  186. position: absolute;
  187. top: 0;
  188. left: 0;
  189. bottom: 0;
  190. right: 0;
  191. margin-bottom: 0; }
  192. .section-name-container .section-name {
  193. position: relative;
  194. pointer-events: none;
  195. z-index: 1; }
  196. .section-name-container .section-name a {
  197. pointer-events: auto; }
  198. .item {
  199. padding-top: 8px;
  200. width: 100%;
  201. list-style-type: none; }
  202. .item a[name]:before {
  203. content: "";
  204. display: block;
  205. padding-top: 70px;
  206. margin: -70px 0 0; }
  207. .item code {
  208. background-color: transparent;
  209. padding: 0; }
  210. .item .token, .item .direct-link {
  211. display: inline-block;
  212. text-indent: -20px;
  213. padding-left: 3px;
  214. margin-left: 35px;
  215. font-size: 11.9px;
  216. transition: all 300ms; }
  217. .item .token-open {
  218. margin-left: 20px; }
  219. .item .discouraged {
  220. text-decoration: line-through; }
  221. .item .declaration-note {
  222. font-size: .85em;
  223. color: gray;
  224. font-style: italic; }
  225. .pointer-container {
  226. border-bottom: 1px solid #e2e2e2;
  227. left: -23px;
  228. padding-bottom: 13px;
  229. position: relative;
  230. width: 110%; }
  231. .pointer {
  232. background: #f9f9f9;
  233. border-left: 1px solid #e2e2e2;
  234. border-top: 1px solid #e2e2e2;
  235. height: 12px;
  236. left: 21px;
  237. top: -7px;
  238. -webkit-transform: rotate(45deg);
  239. -moz-transform: rotate(45deg);
  240. -o-transform: rotate(45deg);
  241. transform: rotate(45deg);
  242. position: absolute;
  243. width: 12px; }
  244. .height-container {
  245. display: none;
  246. left: -25px;
  247. padding: 0 25px;
  248. position: relative;
  249. width: 100%;
  250. overflow: hidden; }
  251. .height-container .section {
  252. background: #f9f9f9;
  253. border-bottom: 1px solid #e2e2e2;
  254. left: -25px;
  255. position: relative;
  256. width: 100%;
  257. padding-top: 10px;
  258. padding-bottom: 5px; }
  259. .aside, .language {
  260. padding: 6px 12px;
  261. margin: 12px 0;
  262. border-left: 5px solid #dddddd;
  263. overflow-y: hidden; }
  264. .aside .aside-title, .language .aside-title {
  265. font-size: 9px;
  266. letter-spacing: 2px;
  267. text-transform: uppercase;
  268. padding-bottom: 0;
  269. margin: 0;
  270. color: #aaa;
  271. -webkit-user-select: none; }
  272. .aside p:last-child, .language p:last-child {
  273. margin-bottom: 0; }
  274. .language {
  275. border-left: 5px solid #cde9f4; }
  276. .language .aside-title {
  277. color: #4b8afb; }
  278. .aside-warning, .aside-deprecated, .aside-unavailable {
  279. border-left: 5px solid #ff6666; }
  280. .aside-warning .aside-title, .aside-deprecated .aside-title, .aside-unavailable .aside-title {
  281. color: #ff0000; }
  282. .graybox {
  283. border-collapse: collapse;
  284. width: 100%; }
  285. .graybox p {
  286. margin: 0;
  287. word-break: break-word;
  288. min-width: 50px; }
  289. .graybox td {
  290. border: 1px solid #e2e2e2;
  291. padding: 5px 25px 5px 10px;
  292. vertical-align: middle; }
  293. .graybox tr td:first-of-type {
  294. text-align: right;
  295. padding: 7px;
  296. vertical-align: top;
  297. word-break: normal;
  298. width: 40px; }
  299. .slightly-smaller {
  300. font-size: 0.9em; }
  301. #footer {
  302. position: relative;
  303. top: 10px;
  304. bottom: 0px;
  305. margin-left: 25px; }
  306. #footer p {
  307. margin: 0;
  308. color: #aaa;
  309. font-size: 0.8em; }
  310. html.dash header, html.dash #breadcrumbs, html.dash .sidebar {
  311. display: none; }
  312. html.dash .main-content {
  313. width: 980px;
  314. margin-left: 0;
  315. border: none;
  316. width: 100%;
  317. top: 0;
  318. padding-bottom: 0; }
  319. html.dash .height-container {
  320. display: block; }
  321. html.dash .item .token {
  322. margin-left: 0; }
  323. html.dash .content-wrapper {
  324. width: auto; }
  325. html.dash #footer {
  326. position: static; }