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.6 kB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263
  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. * https://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, kbd {
  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. h3 > var {
  83. font-size: 1.125rem;
  84. }
  85. pre {
  86. background-color: #efefef;
  87. margin-right: 4rem;
  88. margin-left: 4rem;
  89. font-size: 1.125rem;
  90. }
  91. pre var, code var {
  92. font-size: 0.65rem;
  93. }
  94. /* code snippets in examples and tutorials */
  95. .code {
  96. background: #efefef;
  97. }
  98. /* highlight console input */
  99. .input, kbd {
  100. color: white;
  101. background: darkseagreen;
  102. overflow: hidden;
  103. text-overflow: ellipsis;
  104. }
  105. /* highlight console output */
  106. .output {
  107. color: white;
  108. background: #837a67;
  109. overflow: hidden;
  110. text-overflow: ellipsis;
  111. }
  112. /* a workaround for invisible
  113. (white on white) overflows */
  114. pre.input:hover, pre.output:hover {
  115. margin-right: 0;
  116. margin-left: 0;
  117. overflow: scroll;
  118. text-overflow: initial;
  119. }
  120. td {
  121. vertical-align: top;
  122. background-color: #eeeeee;
  123. color: black;
  124. }
  125. tr:hover > td {
  126. background-color: whitesmoke;
  127. }
  128. th {
  129. background-color: silver;
  130. color: black;
  131. vertical-align: middle;
  132. }
  133. td pre {
  134. margin: 0 0 0 0;
  135. font-size: 1rem;
  136. }
  137. thead.no-bold th {
  138. font-weight: normal;
  139. white-space: nowrap;
  140. }
  141. table.attr {
  142. width: 100%;
  143. }
  144. table.attr td:first-child {
  145. font-family: Verdana, Geneva, sans-serif;
  146. font-size: 0.8rem;
  147. font-style: italic;
  148. }
  149. table.attr td:last-child {
  150. text-align: center;
  151. }
  152. table.attr td.center, h1.center, p.center {
  153. text-align: center;
  154. }
  155. table.attr td.left {
  156. font-family: "Palatino Linotype", Palatino, Georgia, "Century Schoolbook", serif;
  157. font-size: 1rem;
  158. font-style: normal;
  159. text-align: left;
  160. }
  161. table.attr td.var {
  162. text-align: left;
  163. }
  164. td[rowspan] {
  165. vertical-align: middle;
  166. }
  167. ul.inlinelist {
  168. list-style-type: none;
  169. margin-left: 0;
  170. padding: 0;
  171. }
  172. li.indent {
  173. padding-left: 1rem;
  174. }
  175. div.float {
  176. margin-top: 0.5rem;
  177. width: 100%;
  178. min-height: 1.5rem;
  179. line-height: 1.5rem;
  180. background-color: silver;
  181. }
  182. div.float + table {
  183. width: 100%;
  184. table-layout: fixed;
  185. }
  186. div.float + table th:first-child {
  187. width: 20%;
  188. white-space: nowrap;
  189. }
  190. div.float + table tr:first-child {
  191. width: 20%;
  192. white-space: nowrap;
  193. }
  194. span.left {
  195. float: left;
  196. font-family: Verdana, Geneva, sans-serif;
  197. font-weight: bold;
  198. }
  199. span.right {
  200. float: right;
  201. }
  202. span.left, span.right {
  203. vertical-align: middle;
  204. background-color: silver;
  205. }
  206. ol.refs {
  207. counter-reset: refs;
  208. }
  209. ol.refs > li {
  210. list-style: none;
  211. position: relative;
  212. }
  213. ol.refs > li:before {
  214. content: "[" counter(refs, decimal) "]";
  215. counter-increment: refs;
  216. position: absolute;
  217. left: -2rem;
  218. }