basic.css 2.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167
  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. * General
  19. */
  20. img { border: 0; }
  21. #content table {
  22. border: 0;
  23. width: 100%;
  24. }
  25. /*Hack to get IE to render the table at 100%*/
  26. * html #content table { margin-left: -3px; }
  27. #content th,
  28. #content td {
  29. margin: 0;
  30. padding: 0;
  31. vertical-align: top;
  32. }
  33. .clearboth {
  34. clear: both;
  35. }
  36. .note, .warning, .fixme {
  37. clear:right;
  38. border: solid black 1px;
  39. margin: 1em 3em;
  40. }
  41. .note .label {
  42. background: #369;
  43. color: white;
  44. font-weight: bold;
  45. padding: 5px 10px;
  46. }
  47. .note .content {
  48. background: #F0F0FF;
  49. color: black;
  50. line-height: 120%;
  51. font-size: 90%;
  52. padding: 5px 10px;
  53. }
  54. .warning .label {
  55. background: #C00;
  56. color: white;
  57. font-weight: bold;
  58. padding: 5px 10px;
  59. }
  60. .warning .content {
  61. background: #FFF0F0;
  62. color: black;
  63. line-height: 120%;
  64. font-size: 90%;
  65. padding: 5px 10px;
  66. }
  67. .fixme .label {
  68. background: #C6C600;
  69. color: black;
  70. font-weight: bold;
  71. padding: 5px 10px;
  72. }
  73. .fixme .content {
  74. padding: 5px 10px;
  75. }
  76. /**
  77. * Typography
  78. */
  79. body {
  80. font-family: verdana, "Trebuchet MS", arial, helvetica, sans-serif;
  81. font-size: 100%;
  82. }
  83. #content {
  84. font-family: Georgia, Palatino, Times, serif;
  85. font-size: 95%;
  86. }
  87. #tabs {
  88. font-size: 70%;
  89. }
  90. #menu {
  91. font-size: 80%;
  92. }
  93. #footer {
  94. font-size: 70%;
  95. }
  96. h1, h2, h3, h4, h5, h6 {
  97. font-family: "Trebuchet MS", verdana, arial, helvetica, sans-serif;
  98. font-weight: bold;
  99. margin-top: 1em;
  100. margin-bottom: .5em;
  101. }
  102. h1 {
  103. margin-top: 0;
  104. margin-bottom: 1em;
  105. font-size: 1.4em;
  106. }
  107. #content h1 {
  108. font-size: 160%;
  109. margin-bottom: .5em;
  110. }
  111. #menu h1 {
  112. margin: 0;
  113. padding: 10px;
  114. background: #336699;
  115. color: white;
  116. }
  117. h2 { font-size: 120%; }
  118. h3 { font-size: 100%; }
  119. h4 { font-size: 90%; }
  120. h5 { font-size: 80%; }
  121. h6 { font-size: 75%; }
  122. p {
  123. line-height: 120%;
  124. text-align: left;
  125. margin-top: .5em;
  126. margin-bottom: 1em;
  127. }
  128. #content li,
  129. #content th,
  130. #content td,
  131. #content li ul,
  132. #content li ol{
  133. margin-top: .5em;
  134. margin-bottom: .5em;
  135. }
  136. #content li li,
  137. #minitoc-area li{
  138. margin-top: 0em;
  139. margin-bottom: 0em;
  140. }
  141. #content .attribution {
  142. text-align: right;
  143. font-style: italic;
  144. font-size: 85%;
  145. margin-top: 1em;
  146. }
  147. .codefrag {
  148. font-family: "Courier New", Courier, monospace;
  149. font-size: 110%;
  150. }