basic.css 2.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147
  1. /*
  2. * Copyright 2002-2005 The Apache Software Foundation or its licensors,
  3. * as applicable.
  4. *
  5. * Licensed under the Apache License, Version 2.0 (the "License");
  6. * you may not use this file except in compliance with the License.
  7. * 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. .frame {
  37. border: solid black 1px;
  38. margin: 1em 3em;
  39. }
  40. .frame .label {
  41. background: #369;
  42. color: white;
  43. font-weight: bold;
  44. padding: 5px 10px;
  45. }
  46. .frame .content {
  47. padding: 5px 10px;
  48. background: #F0F0FF;
  49. color: black;
  50. line-height: 120%;
  51. font-size: 90%;
  52. }
  53. .warning .label {
  54. background: #C00;
  55. color: white;
  56. }
  57. .warning .content {
  58. background: #FFF0F0;
  59. color: black;
  60. }
  61. .fixme .label {
  62. background: #C6C600;
  63. }
  64. /**
  65. * Typography
  66. */
  67. body {
  68. font-family: verdana, "Trebuchet MS", arial, helvetica, sans-serif;
  69. font-size: 100%;
  70. }
  71. #content {
  72. font-family: Georgia, Palatino, Times, serif;
  73. font-size: 95%;
  74. }
  75. #tabs {
  76. font-size: 70%;
  77. }
  78. #menu {
  79. font-size: 80%;
  80. }
  81. #footer {
  82. font-size: 70%;
  83. }
  84. h1, h2, h3, h4, h5, h6 {
  85. font-family: "Trebuchet MS", verdana, arial, helvetica, sans-serif;
  86. font-weight: bold;
  87. margin-top: 1em;
  88. margin-bottom: .5em;
  89. }
  90. h1 {
  91. margin-top: 0;
  92. margin-bottom: 1em;
  93. font-size: 1.4em;
  94. }
  95. #content h1 {
  96. font-size: 160%;
  97. margin-bottom: .5em;
  98. }
  99. #menu h1 {
  100. margin: 0;
  101. padding: 10px;
  102. background: #336699;
  103. color: white;
  104. }
  105. h2 { font-size: 120%; }
  106. h3 { font-size: 100%; }
  107. h4 { font-size: 90%; }
  108. h5 { font-size: 80%; }
  109. h6 { font-size: 75%; }
  110. p {
  111. line-height: 120%;
  112. text-align: left;
  113. margin-top: .5em;
  114. margin-bottom: 1em;
  115. }
  116. #content li,
  117. #content th,
  118. #content td {
  119. line-height: 110%;
  120. margin-top: .1em;
  121. margin-bottom: .1em;
  122. }
  123. #content .attribution {
  124. text-align: right;
  125. font-style: italic;
  126. font-size: 85%;
  127. margin-top: 1em;
  128. }
  129. .codefrag {
  130. font-family: "Courier New", Courier, monospace;
  131. font-size: 110%;
  132. }