rst.css 4.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250
  1. /*
  2. :Authors: David Goodger, David Abrahams
  3. :Contact: goodger@users.sourceforge.net, dave@boost-consulting.com
  4. :date: $Date$
  5. :version: $Revision$
  6. :copyright: This stylesheet has been placed in the public domain.
  7. This stylesheet is for the use of ReStructuredText in a Boost context.
  8. It is basically an agglomeration of boost.css and the default.css that
  9. comes from docutils.
  10. */
  11. .first {
  12. margin-top: 0 }
  13. .last {
  14. margin-bottom: 0 }
  15. a.toc-backref {
  16. text-decoration: none ;
  17. color: black }
  18. dd {
  19. margin-bottom: 0.5em }
  20. div.abstract {
  21. margin: 2em 5em }
  22. div.abstract p.topic-title {
  23. font-weight: bold ;
  24. text-align: center }
  25. div.attention, div.caution, div.danger, div.error, div.hint,
  26. div.important, div.note, div.tip, div.warning {
  27. margin: 2em ;
  28. border: medium outset ;
  29. padding: 1em }
  30. div.attention p.admonition-title, div.caution p.admonition-title,
  31. div.danger p.admonition-title, div.error p.admonition-title,
  32. div.warning p.admonition-title {
  33. color: red ;
  34. font-weight: bold ;
  35. font-family: sans-serif }
  36. div.hint p.admonition-title, div.important p.admonition-title,
  37. div.note p.admonition-title, div.tip p.admonition-title {
  38. font-weight: bold ;
  39. font-family: sans-serif }
  40. div.dedication {
  41. margin: 2em 5em ;
  42. text-align: center ;
  43. font-style: italic }
  44. div.dedication p.topic-title {
  45. font-weight: bold ;
  46. font-style: normal }
  47. div.figure {
  48. margin-left: 2em }
  49. div.footer, div.header {
  50. font-size: smaller }
  51. div.system-messages {
  52. margin: 5em }
  53. div.system-messages h1 {
  54. color: red }
  55. div.system-message {
  56. border: medium outset ;
  57. padding: 1em }
  58. div.system-message p.system-message-title {
  59. color: red ;
  60. font-weight: bold }
  61. div.topic {
  62. margin: 2em }
  63. H1.title
  64. {
  65. FONT-SIZE: 200%;
  66. COLOR: #00008B;
  67. text-align: center
  68. }
  69. H1
  70. {
  71. FONT-SIZE: 150%;
  72. }
  73. H2
  74. {
  75. FONT-SIZE: 125%;
  76. }
  77. h2.subtitle {
  78. text-align: center }
  79. H3
  80. {
  81. FONT-SIZE: 108%;
  82. }
  83. BODY
  84. {
  85. FONT-SIZE: 100%;
  86. BACKGROUND-COLOR: #ffffff;
  87. }
  88. PRE
  89. {
  90. MARGIN-LEFT: 2em;
  91. FONT-FAMILY: Courier;
  92. }
  93. CODE
  94. {
  95. FONT-FAMILY: Courier;
  96. white-space: pre;
  97. }
  98. .pre
  99. {
  100. FONT-FAMILY: Courier;
  101. white-space: pre;
  102. }
  103. .index
  104. {
  105. TEXT-ALIGN: left;
  106. }
  107. .page-index
  108. {
  109. TEXT-ALIGN: left;
  110. }
  111. .definition
  112. {
  113. TEXT-ALIGN: left;
  114. }
  115. .footnote
  116. {
  117. FONT-SIZE: 66%;
  118. VERTICAL-ALIGN: super;
  119. TEXT-DECORATION: none;
  120. }
  121. .function-semantics
  122. {
  123. CLEAR: left;
  124. }
  125. hr {
  126. width: 75% }
  127. ol.simple, ul.simple {
  128. margin-bottom: 1em }
  129. ol.arabic {
  130. list-style: decimal }
  131. ol.loweralpha {
  132. list-style: lower-alpha }
  133. ol.upperalpha {
  134. list-style: upper-alpha }
  135. ol.lowerroman {
  136. list-style: lower-roman }
  137. ol.upperroman {
  138. list-style: upper-roman }
  139. p.caption {
  140. font-style: italic }
  141. p.credits {
  142. font-style: italic ;
  143. font-size: smaller }
  144. p.label {
  145. white-space: nowrap }
  146. p.topic-title {
  147. font-weight: bold }
  148. pre.address {
  149. margin-bottom: 0 ;
  150. margin-top: 0 ;
  151. font-family: serif ;
  152. font-size: 100% }
  153. pre.line-block {
  154. font-family: serif ;
  155. font-size: 100% }
  156. pre.literal-block, pre.doctest-block {
  157. margin-left: 2em ;
  158. margin-right: 2em ;
  159. background-color: #eeeeee }
  160. span.classifier {
  161. font-family: sans-serif ;
  162. font-style: oblique }
  163. span.classifier-delimiter {
  164. font-family: sans-serif ;
  165. font-weight: bold }
  166. span.interpreted {
  167. font-family: sans-serif }
  168. span.option-argument {
  169. font-style: italic }
  170. span.pre {
  171. white-space: pre }
  172. span.problematic {
  173. color: red }
  174. table {
  175. margin-top: 0.5em ;
  176. margin-bottom: 0.5em }
  177. table.citation {
  178. border-left: solid thin gray ;
  179. padding-left: 0.5ex }
  180. table.docinfo {
  181. margin: 2em 4em }
  182. table.footnote {
  183. border-left: solid thin black ;
  184. padding-left: 0.5ex }
  185. td, th {
  186. padding-left: 0.5em ;
  187. padding-right: 0.5em ;
  188. vertical-align: top }
  189. th.docinfo-name, th.field-name {
  190. font-weight: bold ;
  191. text-align: left ;
  192. white-space: nowrap }
  193. /*
  194. dwa 2003/7/29 -- commented out so that it wouldn't override earlier
  195. styles from boost.css
  196. h1 tt, h2 tt, h3 tt, h4 tt, h5 tt, h6 tt {
  197. font-size: 100% }
  198. */
  199. ul.auto-toc {
  200. list-style-type: none }
粤ICP备19079148号