style.css 4.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292
  1. /*
  2. :Author: David Goodger
  3. :Contact: goodger@users.sourceforge.net
  4. :date: $Date$
  5. :version: $Revision$
  6. :copyright: This stylesheet has been placed in the public domain.
  7. Default cascading style sheet for the HTML output of Docutils.
  8. */
  9. p {
  10. text-align: justify;
  11. }
  12. .first {
  13. margin-top: 0 }
  14. .last {
  15. margin-bottom: 0 }
  16. a.toc-backref {
  17. text-decoration: none ;
  18. color: black }
  19. dt { /* used in FAQ */
  20. font-weight: bold ;
  21. margin-bottom: 0.2em
  22. }
  23. dl {
  24. margin-left: 0.5em ;
  25. margin-right: 10em
  26. }
  27. h3 {
  28. font-size: 90%
  29. }
  30. dd {
  31. margin-bottom: 0.5em }
  32. div.abstract {
  33. margin: 2em 5em }
  34. div.abstract p.topic-title {
  35. font-weight: bold ;
  36. text-align: center }
  37. div.attention, div.caution, div.danger, div.error, div.hint,
  38. div.important, div.note, div.tip, div.warning, div.admonition {
  39. margin: 2em ;
  40. border: medium outset ;
  41. padding: 1em }
  42. div.attention p.admonition-title, div.caution p.admonition-title,
  43. div.danger p.admonition-title, div.error p.admonition-title,
  44. div.warning p.admonition-title {
  45. color: red ;
  46. font-weight: bold ;
  47. font-family: sans-serif }
  48. div.hint p.admonition-title, div.important p.admonition-title,
  49. div.note p.admonition-title, div.tip p.admonition-title,
  50. div.admonition p.admonition-title {
  51. font-weight: bold ;
  52. font-family: sans-serif }
  53. div.dedication {
  54. margin: 2em 5em ;
  55. text-align: center ;
  56. font-style: italic }
  57. div.dedication p.topic-title {
  58. font-weight: bold ;
  59. font-style: normal }
  60. div.figure {
  61. margin-left: 2em }
  62. div.footer, div.header {
  63. font-size: smaller }
  64. div.sidebar {
  65. margin-left: 1em ;
  66. border: medium outset ;
  67. padding: 0em 1em ;
  68. background-color: #ffffee ;
  69. width: 40% ;
  70. float: right ;
  71. clear: right }
  72. div.sidebar p.rubric {
  73. font-family: sans-serif ;
  74. font-size: medium }
  75. div.system-messages {
  76. margin: 5em }
  77. div.system-messages h1 {
  78. color: red }
  79. div.system-message {
  80. border: medium outset ;
  81. padding: 1em }
  82. div.system-message p.system-message-title {
  83. color: red ;
  84. font-weight: bold }
  85. div.topic {
  86. margin: 2em }
  87. h1.title {
  88. text-align: center }
  89. h2.subtitle {
  90. text-align: center }
  91. hr {
  92. width: 75% }
  93. ol.simple, ul.simple {
  94. margin-bottom: 1em }
  95. ol.arabic {
  96. list-style: decimal }
  97. ol.loweralpha {
  98. list-style: lower-alpha }
  99. ol.upperalpha {
  100. list-style: upper-alpha }
  101. ol.lowerroman {
  102. list-style: lower-roman }
  103. ol.upperroman {
  104. list-style: upper-roman }
  105. p.attribution {
  106. text-align: right ;
  107. margin-left: 50% }
  108. p.caption {
  109. font-style: italic }
  110. p.credits {
  111. font-style: italic ;
  112. font-size: smaller }
  113. p.label {
  114. white-space: nowrap }
  115. p.rubric {
  116. font-weight: bold ;
  117. font-size: larger ;
  118. color: maroon ;
  119. text-align: center }
  120. p.sidebar-title {
  121. font-family: sans-serif ;
  122. font-weight: bold ;
  123. font-size: larger }
  124. p.sidebar-subtitle {
  125. font-family: sans-serif ;
  126. font-weight: bold }
  127. p.topic-title {
  128. font-weight: bold }
  129. pre.address {
  130. margin-bottom: 0 ;
  131. margin-top: 0 ;
  132. font-family: serif ;
  133. font-size: 100% }
  134. pre.line-block {
  135. font-family: serif ;
  136. font-size: 100% }
  137. pre.literal-block, pre.doctest-block {
  138. margin-left: 2em ;
  139. margin-right: 2em ;
  140. /* padding-left: 1em ;*/
  141. background-color: #eeeeee ;
  142. /* border-left: solid 3px #c0c0c0*/ }
  143. span.classifier {
  144. font-family: sans-serif ;
  145. font-style: oblique }
  146. span.classifier-delimiter {
  147. font-family: sans-serif ;
  148. font-weight: bold }
  149. span.interpreted {
  150. font-family: sans-serif }
  151. span.option {
  152. white-space: nowrap }
  153. span.option-argument {
  154. font-style: italic }
  155. span.pre {
  156. white-space: pre }
  157. span.problematic {
  158. color: red }
  159. table {
  160. margin-top: 0.5em ;
  161. margin-bottom: 0.5em }
  162. table.citation {
  163. border-left: solid thin gray ;
  164. padding-left: 0.5ex }
  165. table.docinfo {
  166. margin: 2em 4em ;
  167. border: none }
  168. table.footnote {
  169. border-left: solid thin black ;
  170. padding-left: 0.5ex }
  171. td, th {
  172. padding-left: 0.5em ;
  173. padding-right: 0.5em ;
  174. vertical-align: top }
  175. th.docinfo-name, th.field-name {
  176. font-weight: bold ;
  177. text-align: left ;
  178. white-space: nowrap ;
  179. border: none ;
  180. background-color: #f0f0f0
  181. }
  182. h1 tt, h2 tt, h3 tt, h4 tt, h5 tt, h6 tt {
  183. font-size: 100% ;
  184. font-family: serif }
  185. /*h1 { font-family: Arial, Helvetica, sans-serif; font-weight: bold; text-align: left; font-size: 140%; }
  186. h2 { font-family: Arial, Helvetica, sans-serif; font-weight: bold; text-align: left; font-size: 110%; }
  187. h3 { font-family: "courier new", courier, monospace; font-weight: bold; text-align: left; font-size: 100%; }
  188. */
  189. tt {
  190. /*background-color: #eeeeee*/
  191. color: #102eb0
  192. }
  193. ul.auto-toc {
  194. list-style-type: none }
  195. /* --- */
  196. table {
  197. border-collapse: collapse;
  198. border: none;
  199. /* border-bottom: 1px solid black;*/
  200. margin-left: 1em;
  201. }
  202. td, th {
  203. border: none;
  204. }
  205. th {
  206. /* border-top: 1px solid black;*/
  207. border-bottom: 1px solid black;
  208. text-align: left;
  209. }
  210. a:link
  211. {
  212. font-weight: bold;
  213. color: #003366;
  214. text-decoration: none;
  215. }
  216. a:visited
  217. {
  218. font-weight: bold;
  219. color: #003366;
  220. text-decoration: none;
  221. }
  222. h3 {
  223. text-transform: uppercase
  224. }