style.css 6.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203
  1. /* Reset */
  2. html, body, div, span, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, abbr, address, cite, code, del, dfn, em, img, ins, kbd, q, samp, small, strong, sub, sup, var, b, i, dl, dt, dd, ol, ul, li, fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td, article, aside, canvas, details, figcaption, figure, footer, header, hgroup, menu, nav, section, summary, time, mark, audio, video { margin: 0; padding: 0; border: 0; font-size: 100%; font: inherit; vertical-align: baseline; }
  3. article, aside, details, figcaption, figure, footer, header, hgroup, menu, nav, section { display: block; }
  4. blockquote, q { quotes: none; }
  5. blockquote:before, blockquote:after, q:before, q:after { content: ""; content: none; }
  6. ins { background-color: #ff9; color: #000; text-decoration: none; }
  7. mark { background-color: #ff9; color: #000; font-style: italic; font-weight: bold; }
  8. del { text-decoration: line-through; }
  9. abbr[title], dfn[title] { border-bottom: 1px dotted; cursor: help; }
  10. table { border-collapse: collapse; border-spacing: 0; }
  11. hr { display: block; height: 1px; border: 0; border-top: 1px solid #ccc; margin: 1em 0; padding: 0; }
  12. input, select { vertical-align: middle; }
  13. body { font:13px/1.231 sans-serif; *font-size:small; } /* Hack retained to preserve specificity */
  14. select, input, textarea, button { font:99% sans-serif; }
  15. pre, code, kbd, samp { font-family: monospace, sans-serif; }
  16. body { background: #EEE; color: #444; line-height: 1.4em; }
  17. header h1 { color: black; font-size: 2em; line-height: 1.1em; display: inline-block; height: 27px; margin: 20px 0 25px; }
  18. header h1 small { font-size: 0.6em; }
  19. div#content { background: white; border: 1px solid #ccc; border-width: 0 1px 1px; margin: 0 auto; padding: 40px 50px 40px; width: 738px; }
  20. footer { color: #999; padding-top: 40px; font-size: 0.8em; text-align: center; }
  21. body { font-family: sans-serif; font-size: 1em; }
  22. p { margin: 0 0 .7em; max-width: 700px; }
  23. h2 { border-bottom: 1px solid #ccc; font-size: 1.2em; margin: 3em 0 1em 0; font-weight: bold;}
  24. h3 { font-weight: bold; }
  25. h2.intro { border-bottom: none; font-size: 1em; font-weight: normal; margin-top:0; }
  26. ul li { list-style: disc; margin-left: 1em; margin-bottom: 1.25em; }
  27. ol li { margin-left: 1.25em; }
  28. ol ul, ul ul { margin: .25em 0 0; }
  29. ol ul li, ul ul li { list-style-type: circle; margin: 0 0 .25em 1em; }
  30. li > p { margin-top: .25em; }
  31. div.side-by-side { width: 100%; margin-bottom: 1em; }
  32. div.side-by-side > div { float: left; width: 49%; }
  33. div.side-by-side > div > em { margin-bottom: 10px; display: block; }
  34. .faqs em { display: block; }
  35. .clearfix:after {
  36. content: "\0020";
  37. display: block;
  38. height: 0;
  39. clear: both;
  40. overflow: hidden;
  41. visibility: hidden;
  42. }
  43. a { color: #F36C00; outline: none; text-decoration: none; }
  44. a:hover { text-decoration: underline; }
  45. ul.credits li { margin-bottom: .25em; }
  46. strong { font-weight: bold; }
  47. i { font-style: italic; }
  48. .button {
  49. background: #fafafa;
  50. background: -webkit-linear-gradient(top, #ffffff, #eeeeee);
  51. background: -moz-linear-gradient(top, #ffffff, #eeeeee);
  52. background: -o-linear-gradient(top, #ffffff, #eeeeee);
  53. background: linear-gradient(to bottom, #ffffff, #eeeeee);
  54. border: 1px solid #bbbbbb;
  55. border-radius: 4px;
  56. box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.2);
  57. color: #555555;
  58. cursor: pointer;
  59. display: inline-block;
  60. font-family: "Helvetica Neue", Arial, Verdana, "Nimbus Sans L", sans-serif;
  61. font-size: 13px;
  62. font-weight: 500;
  63. height: 31px;
  64. line-height: 28px;
  65. outline: none;
  66. padding: 0 13px;
  67. text-shadow: 0 1px 0 white;
  68. text-decoration: none;
  69. vertical-align: middle;
  70. white-space: nowrap;
  71. -webkit-font-smoothing: antialiased;
  72. -webkit-box-sizing: border-box;
  73. -moz-box-sizing: border-box;
  74. box-sizing: border-box;
  75. }
  76. .button-blue {
  77. background: #1385e5;
  78. background: -webkit-linear-gradient(top, #53b2fc, #1385e5);
  79. background: -moz-linear-gradient(top, #53b2fc, #1385e5);
  80. background: -o-linear-gradient(top, #53b2fc, #1385e5);
  81. background: linear-gradient(to bottom, #53b2fc, #1385e5);
  82. border-color: #075fa9;
  83. color: white;
  84. font-weight: bold;
  85. text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.4);
  86. }
  87. /* Tweak navbar brand link to be super sleek
  88. -------------------------------------------------- */
  89. .oss-bar {
  90. top: 0;
  91. right: 20px;
  92. position: fixed;
  93. z-index: 1030;
  94. }
  95. .oss-bar ul {
  96. float: right;
  97. margin: 0;
  98. list-style: none;
  99. }
  100. .oss-bar ul li {
  101. list-style: none;
  102. float: left;
  103. line-height: 0;
  104. margin: 0;
  105. }
  106. .oss-bar ul li a {
  107. -moz-box-sizing: border-box;
  108. -webkit-box-sizing: border-box;
  109. -ms-box-sizing: border-box;
  110. box-sizing: border-box;
  111. border: 0;
  112. margin-top: -10px;
  113. display: block;
  114. height: 58px;
  115. background: #F36C00 url(oss-credit.png) no-repeat 20px 22px;
  116. padding: 22px 20px 12px 20px;
  117. text-indent: 120%; /* stupid padding */
  118. white-space: nowrap;
  119. overflow: hidden;
  120. -webkit-transition: all 0.10s ease-in-out;
  121. -moz-transition: all 0.10s ease-in-out;
  122. transition: all 0.15s ease-in-out;
  123. }
  124. .oss-bar ul li a:hover {
  125. margin-top: 0px;
  126. }
  127. .oss-bar a.harvest {
  128. width: 196px;
  129. background-color: #F36C00;
  130. background-position: -142px 22px;
  131. padding-right: 22px; /* optical illusion */
  132. }
  133. .oss-bar a.fork {
  134. width: 162px;
  135. background-color: #333333;
  136. }
  137. .docs-table th, .docs-table td {
  138. border: 1px solid #000;
  139. padding: 4px 6px;
  140. white-space: nowrap;
  141. }
  142. .docs-table td:last-child {
  143. white-space: normal;
  144. }
  145. .docs-table th {
  146. font-weight: bold;
  147. text-align: left;
  148. }
  149. #content pre[class*=language-] {
  150. font-size: 14px;
  151. margin-bottom: 20px;
  152. }
  153. #content pre[class*=language-] code {
  154. font-size: 14px;
  155. padding: 0;
  156. }
  157. #content code[class*=language-] {
  158. font-size: 12px;
  159. padding: 2px 4px;
  160. }
  161. .anchor {
  162. color: inherit;
  163. position: relative;
  164. }
  165. .anchor:hover {
  166. background: url(data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIxNiIgaGVpZ2h0PSI3Ij48ZyBmaWxsPSIjNDE0MDQyIj48cGF0aCBkPSJNOS44IDdoLS45bC0uOS0uMWMtLjctLjMtMS40LS43LTEuOC0xLjMtLjItLjEtLjMtLjMtLjMtLjVsLS4zLS40Yy0uMS0uNC0uMi0uOC0uMi0xLjIgMC0uNC4xLS44LjItMS4yaDEuN2MtLjMuNC0uNC44LS40IDEuMiAwIC40LjEuOC4zIDEuMS4xLjIuMi4zLjQuNC4xLjEuMi4yLjQuMy4zLjIuNy4zIDEgLjNoMy40YzEuMiAwIDIuMi0uOSAyLjItMi4xcy0xLTIuMS0yLjItMi4xaC0xLjRjLS4zLS42LS43LTEtMS4yLTEuNGgyLjZjMiAwIDMuNiAxLjYgMy42IDMuNXMtMS42IDMuNS0zLjYgMy41aC0yLjZ6TTguNCAyYy0uMS0uMS0uMi0uMy0uNC0uMy0uMy0uMi0uNy0uMy0xLS4zaC0zLjRjLTEuMiAwLTIuMi45LTIuMiAyLjEgMCAxLjIgMSAyLjEgMi4yIDIuMWgxLjRjLjMuNS43IDEgMS4yIDEuNGgtMi42Yy0yIDAtMy42LTEuNi0zLjYtMy41czEuNi0zLjUgMy42LTMuNWgzLjUwMDAwMDAwMDAwMDAwMDRsLjkuMWMuNy4yIDEuNC43IDEuOCAxLjMuMS4xLjIuMy4zLjUuMS4xLjIuMy4yLjUuMS40LjIuOC4yIDEuMiAwIC40LS4xLjgtLjIgMS4yaC0xLjZjLjMtLjUuNC0uOS40LTEuM3MtLjEtLjgtLjMtMS4xYy0uMS0uMi0uMi0uMy0uNC0uNHoiLz48L2c+PC9zdmc+) 0 50% no-repeat;
  167. background-size: 21px 9px;
  168. margin-left: -27px;
  169. padding-left: 27px;
  170. text-decoration: none;
  171. }