1
0

common.css 4.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241
  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. /* The base font size. The first one is for IE, the second for everyone else. */
  7. body {
  8. font-size: smaller;
  9. }
  10. * > body {
  11. font-size: 10pt;
  12. }
  13. /* Global defaults. */
  14. * {
  15. margin: 0;
  16. padding: 0;
  17. font-weight: normal;
  18. font-size: 100%;
  19. text-decoration: none;
  20. }
  21. body {
  22. font-family: sans-serif;
  23. color: #000000;
  24. background-color: #CCCCCC;
  25. }
  26. /* Links, black with sharp slate blue underline in all states. */
  27. a {
  28. text-decoration: none;
  29. color: #000000;
  30. border-bottom: 1px solid #8AB4CA;
  31. }
  32. a:hover {
  33. border-bottom: 1px solid #005090;
  34. }
  35. /* A generic class to clear this element. */
  36. .clear {
  37. clear: both;
  38. width: 100%;
  39. height: 1px;
  40. overflow: hidden;
  41. }
  42. /* Enforce a minimum width. */
  43. /* - For IE we can't really control this so we only make
  44. sure the container doesn't look strange at small sizes by
  45. making the body have enough whitespace. */
  46. /* #content h1, #content h2, #content h3 {
  47. white-space: nowrap;
  48. } */
  49. /* - New browsers have the easy way to set this. */
  50. .body-0 {
  51. min-width: 55em;
  52. }
  53. /* The shadow arrangement. */
  54. .body-0 {
  55. padding-left: 50px;
  56. background: url(shadow-light-dark.png) repeat-y left;
  57. }
  58. .body-1 {
  59. padding-right: 50px;
  60. background: url(shadow-dark-light.png) repeat-y right;
  61. }
  62. .body-2 {
  63. background-color: #FFFFFF;
  64. }
  65. /* */
  66. #content {
  67. padding: 1em;
  68. }
  69. /* Heading, title and logo. */
  70. #heading {
  71. background: #005080 url(heading-background.jpg) repeat bottom left;
  72. border: 2px solid #FFFFFF;
  73. position: relative;
  74. }
  75. #heading * {
  76. color: #FFFFFF;
  77. }
  78. #heading h1 {
  79. padding: 2em 0.25em 0.25em 0.75em;
  80. float: left;
  81. position: relative;
  82. white-space: nowrap;
  83. }
  84. #heading h1 img {
  85. border: none;
  86. }
  87. #heading #boost {
  88. font-size: 250%;
  89. font-weight: 900;
  90. font-family: Impact, sans-serif;
  91. }
  92. #heading #cpplibraries {
  93. font-size: 100%;
  94. font-weight: 900;
  95. padding-left: 0.75em;
  96. }
  97. #heading-quote {
  98. white-space: nowrap;
  99. margin: 0.75em 0.75em 0em -7em;
  100. float: right;
  101. clear: right;
  102. position: relative;
  103. text-align: right;
  104. }
  105. #heading-quote .quote {
  106. font-size: 80%;
  107. display: block;
  108. }
  109. #heading-quote .attribution {
  110. font-size: 75%;
  111. display: block;
  112. }
  113. #heading-quote a {
  114. border-bottom: 1px solid #0080C0;
  115. }
  116. #heading-quote a:hover {
  117. border-bottom: 1px solid #c8dae3;
  118. }
  119. /* Content sections, inside the top content section. */
  120. .section {
  121. padding-left: 28px;
  122. margin-bottom: 3em;
  123. }
  124. .section-body p {
  125. margin: 0em 0em 0.75em 0em;
  126. }
  127. .section-body h2 {
  128. margin: 0em 0em 0.5em 0em;
  129. padding: 0em 0em 0em 0em;
  130. font-size: 140%;
  131. clear: both;
  132. }
  133. .section-body h3 {
  134. margin: 0em;
  135. padding: 0em;
  136. font-size: 120%;
  137. clear: both;
  138. }
  139. .section-body h4 {
  140. margin: 0.5em 0em 0.5em 0em;
  141. font-size: 110%;
  142. clear: both;
  143. }
  144. .section-body ul {
  145. margin: 0em 0em 0.75em 0em;
  146. padding: 0em 0em 0em 2em;
  147. }
  148. .section-body ul li {
  149. margin: 0.75em 0em 0em 0em;
  150. text-indent: -1.75em;
  151. padding: 0em;
  152. list-style-type: none;
  153. }
  154. .section-body ul li ul {
  155. margin: 0.75em 0em 0em 0em;
  156. padding: 0em;
  157. }
  158. .section-body ul li ul li {
  159. display: block;
  160. margin: 0em;
  161. padding: 0em 0em 0em 1em;
  162. list-style-type: none;
  163. background: url(boost_bullet.gif) no-repeat 0em 0.5em;
  164. text-indent: 0em;
  165. }
  166. .section-body blockquote {
  167. margin: 0.5em 1em 0em 2em;
  168. border-right: 1px dashed #CCCCCC;
  169. border-left: 1px dashed #CCCCCC;
  170. text-align: justify;
  171. padding-right: 0.5em;
  172. padding-left: 0.5em;
  173. }
  174. .section-body .left-inset {
  175. float: left;
  176. margin: 0em 1em 1em 0em;
  177. }
  178. .section-body .library {
  179. display: block;
  180. margin: 0em 0em 0.5em 0em;
  181. }
  182. .section-body .faq {
  183. margin: 0em 0em 1em 0em;
  184. }
  185. .section-body .faq .faq-question {
  186. color: #005080;
  187. font-weight: bold;
  188. }
  189. .section-body .faq .faq-answer {
  190. }
  191. .section-body .note {
  192. margin: 0em 0em 1em 0em;
  193. }
  194. .section-body .note .note-label {
  195. color: #005080;
  196. font-weight: bold;
  197. }
  198. .section-body .note .note-body {
  199. }
  200. .section-body table {
  201. width: 90%;
  202. margin-left: auto;
  203. margin-right: auto;
  204. border-spacing: 0.5em;
  205. border: none;
  206. }
  207. .section-body table caption {
  208. margin-left: auto;
  209. margin-right: auto;
  210. border-bottom: 1pt solid #000000;
  211. padding: 0em 0em 0.2em 0em;
  212. }
  213. .section-body table tr th {
  214. border: none;
  215. border-bottom: 1pt solid #000000;
  216. text-align: left;
  217. vertical-align: bottom;
  218. font-weight: bold;
  219. padding: 0em 0em 0.2em 0em;
  220. }
  221. .section-body table tr td {
  222. border: none;
  223. text-align: left;
  224. vertical-align: top;
  225. padding: 0em 0em 0.2em 0em;
  226. }
  227. /* Section headings, all use the same stream op indicator style. */
  228. #content h1, #content h2 {
  229. padding-left: 24px;
  230. background: url(section_head.png) no-repeat left center;
  231. text-indent: 4px;
  232. vertical-align: middle;
  233. font-size: 140%;
  234. position: relative;
  235. left: -28px;
  236. }
  237. /* Uniformly color everything that's a heading */
  238. #content h1, #content h2, #content h3, #content h4 {
  239. color: #005080;
  240. font-weight: bold;
  241. }
粤ICP备19079148号