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

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240
  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. 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 output */
  99. .output {
  100. color: white;
  101. background: #837A67;
  102. }
  103. td {
  104. vertical-align: top;
  105. background-color: #eeeeee;
  106. color: black;
  107. }
  108. th {
  109. background-color: silver;
  110. color: black;
  111. vertical-align: middle;
  112. }
  113. td pre {
  114. margin: 0 0 0 0;
  115. font-size: 1rem;
  116. }
  117. thead.no-bold th {
  118. font-weight: normal;
  119. white-space: nowrap;
  120. }
  121. table.attr {
  122. width: 100%;
  123. }
  124. table.attr td:first-child {
  125. font-family: Verdana, Geneva, sans-serif;
  126. font-size: 0.8rem;
  127. font-style: italic;
  128. }
  129. table.attr td:last-child {
  130. text-align: center;
  131. }
  132. table.attr td.center, h1.center, p.center {
  133. text-align: center;
  134. }
  135. table.attr td.left {
  136. font-family: “Palatino Linotype”, Palatino, Georgia, “Century Schoolbook”, serif;
  137. font-size: 1rem;
  138. font-style: normal;
  139. text-align: left;
  140. }
  141. table.attr td.var {
  142. text-align: left;
  143. }
  144. td[rowspan] {
  145. vertical-align: middle;
  146. }
  147. ul.inlinelist {
  148. list-style-type: none;
  149. margin-left: 0;
  150. padding: 0;
  151. }
  152. li.indent {
  153. padding-left: 1rem;
  154. }
  155. div.float {
  156. margin-top: 0.5rem;
  157. width: 100%;
  158. min-height: 1.5rem;
  159. line-height: 1.5rem;
  160. background-color: silver;
  161. }
  162. div.float + table {
  163. width: 100%;
  164. table-layout: fixed;
  165. }
  166. div.float + table th:first-child {
  167. width: 20%;
  168. white-space: nowrap;
  169. }
  170. div.float + table tr:first-child {
  171. width: 20%;
  172. white-space: nowrap;
  173. }
  174. span.left {
  175. float: left;
  176. font-family: Verdana, Geneva, sans-serif;
  177. font-weight: bold;
  178. }
  179. span.right {
  180. float: right;
  181. }
  182. span.left, span.right {
  183. vertical-align: middle;
  184. background-color: silver;
  185. }
  186. ol.refs {
  187. counter-reset: refs;
  188. }
  189. ol.refs > li {
  190. list-style: none;
  191. position: relative;
  192. }
  193. ol.refs > li:before {
  194. content: "[" counter(refs, decimal) "]";
  195. counter-increment: refs;
  196. position: absolute;
  197. left: -2rem;
  198. }