common.css 4.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211
  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: 2.5em 0.25em 0.25em 0.75em;
  80. float: left;
  81. position: relative;
  82. white-space: nowrap;
  83. }
  84. #heading #boost {
  85. font-size: 250%;
  86. font-weight: 900;
  87. font-family: Impact, sans-serif;
  88. }
  89. #heading #cpplibraries {
  90. font-size: 100%;
  91. font-weight: 900;
  92. padding-left: 0.75em;
  93. }
  94. #heading-quote {
  95. white-space: nowrap;
  96. margin: 0.75em 0.75em 0em -7em;
  97. float: right;
  98. clear: right;
  99. position: relative;
  100. text-align: right;
  101. }
  102. #heading-quote .quote {
  103. font-size: 80%;
  104. display: block;
  105. }
  106. #heading-quote .attribution {
  107. font-size: 75%;
  108. display: block;
  109. }
  110. #heading-quote a {
  111. border-bottom: 1px solid #0080C0;
  112. }
  113. #heading-quote a:hover {
  114. border-bottom: 1px solid #c8dae3;
  115. }
  116. /* Content sections, inside the top content section. */
  117. .section {
  118. padding-left: 28px;
  119. margin-bottom: 3em;
  120. }
  121. .section-body p {
  122. margin: 0em 0em 0.75em 0em;
  123. }
  124. .section-body h2 {
  125. margin: 0em 0em 0.5em 0em;
  126. padding: 0em 0em 0em 0em;
  127. font-size: 140%;
  128. clear: both;
  129. }
  130. .section-body h3 {
  131. margin: 0em;
  132. padding: 0em;
  133. font-size: 120%;
  134. clear: both;
  135. }
  136. .section-body h4 {
  137. margin: 0.5em 0em 0.5em 0em;
  138. font-size: 110%;
  139. clear: both;
  140. }
  141. .section-body ul {
  142. margin: 0em 0em 0.75em 0em;
  143. padding: 0em 0em 0em 2em;
  144. }
  145. .section-body ul li {
  146. margin: 0.75em 0em 0em 0em;
  147. text-indent: -1.75em;
  148. padding: 0em;
  149. list-style-type: none;
  150. }
  151. .section-body ul li ul {
  152. margin: 0.75em 0em 0em 0em;
  153. padding: 0em;
  154. }
  155. .section-body ul li ul li {
  156. display: block;
  157. margin: 0em;
  158. padding: 0em 0em 0em 1em;
  159. list-style-type: none;
  160. background: url(boost_bullet.gif) no-repeat 0em 0.5em;
  161. text-indent: 0em;
  162. }
  163. .section-body blockquote {
  164. margin: 0.5em 1em 0em 2em;
  165. border-right: 1px dashed #CCCCCC;
  166. border-left: 1px dashed #CCCCCC;
  167. text-align: justify;
  168. padding-right: 0.5em;
  169. padding-left: 0.5em;
  170. }
  171. .section-body .left-inset {
  172. float: left;
  173. margin: 0em 1em 1em 0em;
  174. }
  175. .section-body .library {
  176. display: block;
  177. margin: 0em 0em 0.5em 0em;
  178. }
  179. .section-body .faq {
  180. margin: 0em 0em 1em 0em;
  181. }
  182. .section-body .faq .faq-question {
  183. color: #005080;
  184. font-weight: bold;
  185. }
  186. .section-body .faq .faq-answer {
  187. }
  188. .section-body .note {
  189. margin: 0em 0em 1em 0em;
  190. }
  191. .section-body .note .note-label {
  192. color: #005080;
  193. font-weight: bold;
  194. }
  195. .section-body .note .note-body {
  196. }
  197. /* Section headings, all use the same stream op indicator style. */
  198. #content h1, #content h2 {
  199. padding-left: 24px;
  200. background: url(section_head.png) no-repeat left center;
  201. text-indent: 4px;
  202. vertical-align: middle;
  203. font-size: 140%;
  204. position: relative;
  205. left: -28px;
  206. }
  207. /* Uniformly color everything that's a heading */
  208. #content h1, #content h2, #content h3, #content h4 {
  209. color: #005080;
  210. font-weight: bold;
  211. }
粤ICP备19079148号