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 3.0 kB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160
  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. h2 {
  19. font-size: 200%;
  20. background-color: white;
  21. }
  22. h3 {
  23. font-size: 130%;
  24. color: white;
  25. background-color: #525D76;
  26. }
  27. h4 {
  28. color: white;
  29. background-color: #828DA6;
  30. }
  31. h5 {
  32. font-size: 100%;
  33. color: white;
  34. background-color: #a6adbe;
  35. margin-top: .5rem;
  36. margin-bottom: .5rem;
  37. }
  38. h6 {
  39. font-size: 100%;
  40. color: white;
  41. background-color: #c1c5d1;
  42. margin-top: .5rem;
  43. margin-bottom: .5rem;
  44. }
  45. h5 + p, h6 + p {
  46. margin-top: .5rem;
  47. margin-bottom: .5rem;
  48. }
  49. h1 > a, h2 > a, h3 > a, h4 > a, h5 > a, h6 > a {
  50. color: white;
  51. }
  52. h1 > a:visited, h2 > a:visited, h3 > a:visited, h4 > a:visited, h5 > a:visited, h6 > a:visited,
  53. h1 > a:hover, h2 > a:hover, h3 > a:hover, h4 > a:hover, h5 > a:hover, h6 > a:hover {
  54. color: lightskyblue;
  55. }
  56. td {
  57. background-color: #eeeeee;
  58. color: black;
  59. }
  60. /* first row */
  61. table tr:first-child td {
  62. background-color: silver;
  63. color: black;
  64. }
  65. /* or th as first row */
  66. table th {
  67. background-color: silver;
  68. color: black;
  69. }
  70. code {
  71. white-space: nowrap;
  72. }
  73. pre {
  74. background-color: #efefef;
  75. margin-right: 4rem;
  76. margin-left: 4rem;
  77. }
  78. /* code snippets in examples and tutorials */
  79. .code {
  80. background: #efefef;
  81. }
  82. /* highlight console output */
  83. .output {
  84. color: white;
  85. background: #837A67;
  86. }
  87. ul.inlinelist {
  88. list-style-type: none;
  89. margin-left: 0;
  90. padding: 0;
  91. }
  92. div.float {
  93. margin-top: 0.5rem;
  94. width: 100%;
  95. min-height: 1.5rem;
  96. line-height: 1.5rem;
  97. background-color: silver;
  98. }
  99. div.float + table {
  100. width: 100%;
  101. table-layout: fixed;
  102. }
  103. div.float + table th:first-child {
  104. width: 20%;
  105. white-space: nowrap;
  106. }
  107. div.float + table tr:first-child {
  108. width: 20%;
  109. white-space: nowrap;
  110. }
  111. span.left {
  112. float: left;
  113. font-family: Arial, Helvetica, sans-serif;
  114. font-weight: bold;
  115. }
  116. span.right {
  117. float: right;
  118. }
  119. span.left, span.right {
  120. vertical-align: middle;
  121. background-color: silver;
  122. }
  123. ol.refs {
  124. counter-reset: refs;
  125. }
  126. ol.refs > li {
  127. list-style: none;
  128. position: relative;
  129. }
  130. ol.refs > li:before {
  131. content: "[" counter(refs, decimal) "] ";
  132. counter-increment: refs;
  133. position: absolute;
  134. left: -2rem;
  135. }