front.css 3.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206
  1. /*
  2. Copyright 2004-2005 Redshift Software, Inc.
  3. Distributed under the Boost Software License, Version 1.0.
  4. (See accompanying file LICENSE_1_0.txt or http://www.boost.org/LICENSE_1_0.txt)
  5. */
  6. @import url(common.css);
  7. /* */
  8. #news {
  9. margin-bottom: 0em;
  10. }
  11. #content table {
  12. border-spacing: 0em;
  13. }
  14. #sidebars-top {
  15. vertical-align: top;
  16. }
  17. #sidebars-bottom {
  18. vertical-align: bottom;
  19. }
  20. .sidebar {
  21. width: 22em;
  22. margin: 0em 0em 1em 1em
  23. }
  24. #content h1, #content h2 {
  25. margin: 0em 0em 0.5em 0em;
  26. }
  27. /* The shadow and inner layout of the sidebars. */
  28. .sidebar {
  29. background: url(sidebar-shadow-bottom.png) no-repeat left bottom;
  30. }
  31. .sidebar-0 {
  32. background: url(sidebar-shadow-right.png) no-repeat right top;
  33. }
  34. .sidebar-1 {
  35. padding: 0px 8px 8px 0px;
  36. background: url(sidebar-shadow-bottom-right.png) no-repeat right bottom;
  37. }
  38. .sidebar-2 {
  39. border: 1px solid #c8dae3;
  40. }
  41. .sidebar-3 {
  42. padding: 0em 0.5em 0.5em 0em;
  43. }
  44. /* Arrangement of the various side cells. */
  45. #libraries, #search, #tests,
  46. #groups, #contribute, #support,
  47. #other, #official, #unofficial, #footer {
  48. float: left;
  49. }
  50. #search,
  51. #official,
  52. #footer {
  53. clear: left;
  54. }
  55. /* */
  56. .sidecell {
  57. width: 50%;
  58. }
  59. .sidecell-0 {
  60. padding: 0.5em 0em 0em 0.5em;
  61. font-size: 85%;
  62. }
  63. .sidecell h4 {
  64. display: block; margin: 0em; padding: 0em;
  65. border-bottom: 1px solid #8AB4CA;
  66. }
  67. .sidecell:hover h4 {
  68. border-bottom-color: #005090;
  69. }
  70. .sidecell form {
  71. display: block; margin: 0em; padding: 0em;
  72. }
  73. .sidecell ul {
  74. display: block; margin: 0em; padding: 0em;
  75. }
  76. /* Lists in sidecells are menus. */
  77. .sidecell ul a {
  78. border: none;
  79. padding-left: 14px;
  80. }
  81. .sidecell ul a:hover {
  82. border: none;
  83. background: url(menu_link_indicator.png) no-repeat left center;
  84. }
  85. .sidecell ul {
  86. list-style-type: none;
  87. }
  88. .sidecell ul li {
  89. margin: 0em; padding: 0em;
  90. }
  91. /* Search box */
  92. #search {
  93. width: 98.5%;
  94. }
  95. /* - The three parts of the search widget. */
  96. #search #search-text {
  97. display: block;
  98. height: 1.8em;
  99. margin: 0.25em 0em 0em 0em;
  100. padding: 0em 48% 0em 0em;
  101. }
  102. #search #search-choice {
  103. display: block;
  104. height: 1.8em;
  105. margin: -1.8em 0em 0em 55%;
  106. padding: 0em 30px 0em 0em;
  107. }
  108. #search #go {
  109. display: block;
  110. height: 1.8em;
  111. margin: -1.8em 0em 0em 55%;
  112. text-align: right;
  113. }
  114. #search #search-text #q {
  115. width: 100%;
  116. margin: 0em; padding: 1px;
  117. border: 1px solid #003399;
  118. color: #000000;
  119. background-color: #FFFFFF;
  120. }
  121. #search #search-choice #hq {
  122. width: 100%;
  123. margin: 0em; padding: 0em;
  124. border: 1px solid #003399;
  125. color: #000000;
  126. background-color: #FFFFFF;
  127. }
  128. #search #go #search-button {
  129. width: 26px; height: 20px;
  130. margin: 0em; padding: 0em;
  131. background-image: url(search-button.png);
  132. }
  133. /* - The custom Google banner and link. */
  134. #search #google {
  135. display: block;
  136. clear: both;
  137. margin: 0em 0em 0em 0em;
  138. border: none;
  139. text-align: center;
  140. }
  141. #search #google a {
  142. font-size: 10px;
  143. }
  144. #search #google img {
  145. width: 75px; height: 32px;
  146. margin: 0em -20px 0em 0em;
  147. border: none;
  148. }
  149. /* Footer with copyright and license. */
  150. #footer-sidebar,
  151. #footer-sidebar .sidebar-0, #footer-sidebar .sidebar-1,
  152. #footer-sidebar .sidebar-2, #footer-sidebar .sidebar-3 {
  153. background: #FFFFFF;
  154. border: none;
  155. }
  156. #footer-sidebar {
  157. padding: 3em 0em 0em 0em;
  158. }
  159. #footer {
  160. width: 100%;
  161. }
  162. #footer p {
  163. margin: 0em; padding: 0em;
  164. text-align: left;
  165. }
  166. #footer #revised {
  167. display: block;
  168. border-bottom: 1px solid #8AB4CA;
  169. }
  170. #footer:hover #revised {
  171. border-bottom-color: #005090;
  172. }
  173. #footer #revised p {
  174. }
  175. #footer #copyright {
  176. display: block;
  177. margin: 0.25em 0em 1em 14px;
  178. }
  179. #footer #copyright p {
  180. margin: 0em;
  181. padding: 0em 0em 0em 1.5em;
  182. text-indent: -1.5em;
  183. }
  184. #footer #license {
  185. display: block;
  186. margin: 0.25em 0em 1em 14px;
  187. }
  188. #footer #license p {
  189. margin: 0em;
  190. padding: 0em 0em 0em 1.5em;
  191. text-indent: -1.5em;
  192. }
  193. #footer #banners {
  194. display: block;
  195. margin: 0.25em 0em 0em 0em;
  196. text-align: center;
  197. }
  198. #footer #banners p {
  199. display: inline;
  200. }
  201. #footer #banners img {
  202. border: none;
  203. }
  204. #footer #banners a {
  205. border: none;
  206. }
粤ICP备19079148号