common.css 3.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164
  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. /* The shadow arrangement. */
  43. .body-0 {
  44. padding-left: 50px;
  45. background: url(shadow-light-dark.png) repeat-y left;
  46. }
  47. .body-1 {
  48. padding-right: 50px;
  49. background: url(shadow-dark-light.png) repeat-y right;
  50. }
  51. .body-2 {
  52. background-color: #FFFFFF;
  53. }
  54. /* */
  55. #content {
  56. padding: 1em;
  57. }
  58. /* Heading, title and logo. */
  59. #heading {
  60. background: #005080 url(heading-background.jpg) repeat bottom left;
  61. border: 2px solid #FFFFFF;
  62. position: relative;
  63. }
  64. #heading h1 {
  65. color: #FFFFFF;
  66. padding: 2.5em 0.25em 0.25em 0.75em;
  67. }
  68. #heading #boost {
  69. font-size: 250%;
  70. font-weight: 900;
  71. font-family: Impact, sans-serif;
  72. }
  73. #heading #cpplibraries {
  74. font-size: 100%;
  75. font-weight: 900;
  76. padding-left: 0.75em;
  77. }
  78. /* Content sections, inside the top content section. */
  79. .section {
  80. padding-left: 28px;
  81. margin-bottom: 3em;
  82. }
  83. .section-body p {
  84. margin: 0em 0em 0.75em 0em;
  85. }
  86. .section-body h2 {
  87. margin: 0em 0em 0.5em 0em;
  88. padding: 0em 0em 0em 0em;
  89. font-size: 140%;
  90. clear: both;
  91. }
  92. .section-body h3 {
  93. margin: 0em;
  94. padding: 0em;
  95. font-size: 120%;
  96. clear: both;
  97. }
  98. .section-body h4 {
  99. margin: 0.5em 0em 0.5em 0em;
  100. font-size: 110%;
  101. clear: both;
  102. }
  103. .section-body ul {
  104. margin: 0em 0em 0.75em 0em;
  105. padding: 0em 0em 0em 2em;
  106. }
  107. .section-body ul li {
  108. margin: 0.75em 0em 0em 0em;
  109. text-indent: -1.75em;
  110. padding: 0em;
  111. list-style-type: none;
  112. }
  113. .section-body ul li ul {
  114. margin: 0.75em 0em 0em 0em;
  115. padding: 0em;
  116. }
  117. .section-body ul li ul li {
  118. display: block;
  119. margin: 0em;
  120. padding: 0em 0em 0em 1em;
  121. list-style-type: none;
  122. background: url(boost_bullet.gif) no-repeat 0em 0.5em;
  123. text-indent: 0em;
  124. }
  125. .section-body blockquote {
  126. margin: 0.5em 1em 0em 2em;
  127. border-right: 1px dashed #CCCCCC;
  128. border-left: 1px dashed #CCCCCC;
  129. text-align: justify;
  130. padding-right: 0.5em;
  131. padding-left: 0.5em;
  132. }
  133. .section-body .left-inset {
  134. float: left;
  135. margin: 0em 1em 1em 0em;
  136. }
  137. .section-body .library {
  138. display: block;
  139. margin: 0em 0em 0.5em 0em;
  140. }
  141. .section-body .faq {
  142. margin: 0em 0em 1em 0em;
  143. }
  144. .section-body .faq .faq-question {
  145. color: #005080;
  146. font-weight: bold;
  147. }
  148. .section-body .faq .faq-answer {
  149. }
  150. /* Section headings, all use the same stream op indicator style. */
  151. #content h1, #content h2 {
  152. padding-left: 24px;
  153. background: url(section_head.png) no-repeat left center;
  154. text-indent: 4px;
  155. vertical-align: middle;
  156. font-size: 140%;
  157. position: relative;
  158. left: -28px;
  159. }
  160. /* Uniformly color everything that's a heading */
  161. #content h1, #content h2, #content h3, #content h4 {
  162. color: #005080;
  163. font-weight: bold;
  164. }
粤ICP备19079148号