all.css 3.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205
  1. /* General Styles */
  2. body {
  3. font-family: "Bitstream Vera Sans", Verdana, sans-serif;
  4. font-size: 81.25%;
  5. line-height: 1.23em;
  6. padding: 0;
  7. margin: 1.23em;
  8. background: white;
  9. color: black;
  10. }
  11. a {
  12. color: #04a;
  13. text-decoration: none;
  14. }
  15. a:visited {
  16. color: #04a;
  17. }
  18. a:hover {
  19. color: #a40;
  20. text-decoration: underline;
  21. }
  22. a:active {
  23. color: #c00;
  24. }
  25. code, pre {
  26. font-size: 1.2em;
  27. }
  28. pre {
  29. background: #F0F0F0;
  30. padding: 0.5em 1em;
  31. }
  32. /* Top bar */
  33. #container {
  34. width: 100%;
  35. margin: auto;
  36. }
  37. #topnav {
  38. height: 55px;
  39. background: url(/doc/logo.png) no-repeat top left;
  40. }
  41. a#logo-box {
  42. display: block;
  43. height: 55px;
  44. }
  45. h1#title {
  46. display: none;
  47. }
  48. #nav-main {
  49. float: right;
  50. width: 500px;
  51. margin-top: -5px;
  52. text-align: center;
  53. }
  54. #nav-main ul {
  55. padding-left: 0;
  56. margin-left: 0;
  57. margin-bottom: 0.5em;
  58. }
  59. #nav-main li a {
  60. display: inline;
  61. display: inline-block;
  62. padding: .46em .62em .38em .62em;
  63. }
  64. #nav-main li a:link,
  65. #nav-main li a:visited {
  66. color: #000;
  67. }
  68. #nav-main li {
  69. display: inline;
  70. display: inline-block;
  71. background: #e6e6e6 url(/doc/button_background.png) repeat-x;
  72. border: solid 1px #999;
  73. margin-left: -1px;
  74. text-shadow: #fff 0 1px 0;
  75. box-shadow: 0 1px 1px #ccc;
  76. -moz-box-shadow: 0 1px 1px #ccc;
  77. -webkit-box-shadow: 0 1px 1px #ccc;
  78. }
  79. #nav-main li:first-child {
  80. -moz-border-top-left-radius: 4px;
  81. border-top-left-radius: 4px;
  82. -moz-border-bottom-left-radius: 4px;
  83. border-bottom-left-radius: 4px;
  84. }
  85. #nav-main li:last-child {
  86. -moz-border-top-right-radius: 4px;
  87. border-top-right-radius: 4px;
  88. -moz-border-bottom-right-radius: 4px;
  89. border-bottom-right-radius: 4px;
  90. }
  91. #nav-main .quickref {
  92. color: #444;
  93. }
  94. #nav-main .quickref .sep {
  95. color: #999;
  96. }
  97. #search {
  98. width: 120px;
  99. margin-left: 0.5em;
  100. }
  101. #search.inactive {
  102. text-align: center;
  103. color: #444;
  104. }
  105. /* Footer */
  106. #site-info {
  107. position: relative;
  108. text-align: center;
  109. }
  110. #site-info, #site-info a:link, #site-info a:visited {
  111. color: #aaa;
  112. }
  113. /* Content */
  114. #content {
  115. clear: both;
  116. padding: 0;
  117. position: relative;
  118. margin-top: 1.5em;
  119. margin-bottom: 1.5em;
  120. border-top: solid 1px #aaa;
  121. border-bottom: solid 1px #aaa;
  122. }
  123. .left-column {
  124. width: 49%;
  125. float: left;
  126. }
  127. .right-column {
  128. width: 49%;
  129. float: right;
  130. }
  131. .end-columns {
  132. clear: both;
  133. }
  134. #content h1 {
  135. margin-bottom: -0em;
  136. padding: 0;
  137. }
  138. #content h2 {
  139. border-top: 2px solid #ddd;
  140. padding: 8px 0;
  141. margin: 1.5em 0 0;
  142. }
  143. #content .subtitle {
  144. margin-top: 1em;
  145. display: block;
  146. }
  147. .navtop a {
  148. font-weight: normal; font-size: 7pt;
  149. float: right; color: #999;
  150. }
  151. /* Content and Code Highlighting */
  152. pre.ebnf, pre.grammar {
  153. background: #FFFFE0;
  154. }
  155. span.ln {
  156. font-size: 80%;
  157. color: #777777;
  158. }
  159. span.comment {
  160. color: #002090;
  161. }
  162. span.highlight {
  163. background: #FF9900;
  164. font-weight: bold;
  165. }
  166. span.highlight-comment {
  167. background: #FF9900;
  168. font-weight: bold;
  169. color: #002090;
  170. }
  171. span.selection {
  172. background: #FFFF00
  173. }
  174. span.selection-comment {
  175. color: #002090;
  176. background: #FFFF00
  177. }
  178. span.selection-highlight {
  179. background: #FF9900;
  180. font-weight: bold;
  181. }
  182. span.selection-highlight-comment {
  183. background: #FF9900;
  184. font-weight: bold;
  185. color: #002090;
  186. }
  187. span.alert {
  188. color: #D00000;
  189. }
  190. #nav table {
  191. width: 100%;
  192. }
  193. .detail {
  194. padding: 0.25em 1em;
  195. background: #F4F4F4;
  196. }
  197. sup.new {
  198. color: red;
  199. font-size: 8px;
  200. line-height: 0;
  201. }