basic.css 2.9 KB

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