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

style.css 4.1 kB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236
  1. /*
  2. * Licensed to the Apache Software Foundation (ASF) under one or more
  3. * contributor license agreements. See the NOTICE file distributed with
  4. * this work for additional information regarding copyright ownership.
  5. * The ASF licenses this file to You under the Apache License, Version 2.0
  6. * (the "License"); you may not use this file except in compliance with
  7. * the License. You may obtain a copy of the License at
  8. *
  9. * http://www.apache.org/licenses/LICENSE-2.0
  10. *
  11. * Unless required by applicable law or agreed to in writing, software
  12. * distributed under the License is distributed on an "AS IS" BASIS,
  13. * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  14. * See the License for the specific language governing permissions and
  15. * limitations under the License.
  16. *
  17. */
  18. body {
  19. font-family: “Palatino Linotype”, Palatino, Georgia, “Century Schoolbook”, serif;
  20. }
  21. h2 {
  22. font-size: 200%;
  23. background-color: white;
  24. }
  25. h3 {
  26. font-size: 130%;
  27. color: white;
  28. background-color: #525D76;
  29. }
  30. h4 {
  31. color: white;
  32. background-color: #828DA6;
  33. }
  34. h5 {
  35. font-size: 100%;
  36. color: white;
  37. background-color: #a6adbe;
  38. margin-top: .5rem;
  39. margin-bottom: .5rem;
  40. }
  41. h6 {
  42. font-size: 100%;
  43. color: white;
  44. background-color: #c1c5d1;
  45. margin-top: .5rem;
  46. margin-bottom: .5rem;
  47. }
  48. h5 + p, h6 + p {
  49. margin-top: .5rem;
  50. margin-bottom: .5rem;
  51. }
  52. h3 > a, h4 > a, h5 > a, h6 > a {
  53. color: white;
  54. }
  55. h3 > a:visited, h4 > a:visited, h5 > a:visited, h6 > a:visited,
  56. h3 > a:hover, h4 > a:hover, h5 > a:hover, h6 > a:hover {
  57. color: lightskyblue;
  58. }
  59. var {
  60. font-family: Verdana, Geneva, sans-serif;
  61. font-size: 0.8rem;
  62. }
  63. q {
  64. font-family: "Lucida Console", Monaco, monospace;
  65. font-size: 0.8rem;
  66. }
  67. q.no-break {
  68. white-space: nowrap;
  69. hyphens: none;
  70. }
  71. code, samp {
  72. white-space: nowrap;
  73. hyphens: none;
  74. font-size: 1.125rem;
  75. }
  76. h2 > code, h2 > samp {
  77. font-size: 2rem;
  78. }
  79. h3 > code, h3 > samp {
  80. font-size: 1.5rem;
  81. }
  82. pre {
  83. background-color: #efefef;
  84. margin-right: 4rem;
  85. margin-left: 4rem;
  86. font-size: 1.125rem;
  87. }
  88. pre var, code var {
  89. font-size: 0.65rem;
  90. }
  91. /* code snippets in examples and tutorials */
  92. .code {
  93. background: #efefef;
  94. }
  95. /* highlight console output */
  96. .output {
  97. color: white;
  98. background: #837A67;
  99. }
  100. td {
  101. vertical-align: top;
  102. background-color: #eeeeee;
  103. color: black;
  104. }
  105. th {
  106. background-color: silver;
  107. color: black;
  108. vertical-align: middle;
  109. }
  110. td pre {
  111. margin: 0 0 0 0;
  112. font-size: 1rem;
  113. }
  114. thead.no-bold th {
  115. font-weight: normal;
  116. white-space: nowrap;
  117. }
  118. table.attr {
  119. width: 100%;
  120. }
  121. table.attr td:first-child {
  122. font-family: Verdana, Geneva, sans-serif;
  123. font-size: 0.8rem;
  124. font-style: italic;
  125. }
  126. table.attr td:last-child {
  127. text-align: center;
  128. }
  129. table.attr td.center, h1.center, p.center {
  130. text-align: center;
  131. }
  132. table.attr td.left {
  133. font-family: “Palatino Linotype”, Palatino, Georgia, “Century Schoolbook”, serif;
  134. font-size: 1rem;
  135. font-style: normal;
  136. text-align: left;
  137. }
  138. table.attr td.var {
  139. text-align: left;
  140. }
  141. td[rowspan] {
  142. vertical-align: middle;
  143. }
  144. ul.inlinelist {
  145. list-style-type: none;
  146. margin-left: 0;
  147. padding: 0;
  148. }
  149. li.indent {
  150. padding-left: 1rem;
  151. }
  152. div.float {
  153. margin-top: 0.5rem;
  154. width: 100%;
  155. min-height: 1.5rem;
  156. line-height: 1.5rem;
  157. background-color: silver;
  158. }
  159. div.float + table {
  160. width: 100%;
  161. table-layout: fixed;
  162. }
  163. div.float + table th:first-child {
  164. width: 20%;
  165. white-space: nowrap;
  166. }
  167. div.float + table tr:first-child {
  168. width: 20%;
  169. white-space: nowrap;
  170. }
  171. span.left {
  172. float: left;
  173. font-family: Verdana, Geneva, sans-serif;
  174. font-weight: bold;
  175. }
  176. span.right {
  177. float: right;
  178. }
  179. span.left, span.right {
  180. vertical-align: middle;
  181. background-color: silver;
  182. }
  183. ol.refs {
  184. counter-reset: refs;
  185. }
  186. ol.refs > li {
  187. list-style: none;
  188. position: relative;
  189. }
  190. ol.refs > li:before {
  191. content: "[" counter(refs, decimal) "]";
  192. counter-increment: refs;
  193. position: absolute;
  194. left: -2rem;
  195. }