default.css 5.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394
  1. /*
  2. :Author: David Goodger, Ian Bicking
  3. :Contact: ianb@colorstudy.com
  4. :date: $Date: 2003/11/01 20:35:45 $
  5. :version: $Revision: 1.3 $
  6. :copyright: This stylesheet has been placed in the public domain.
  7. A modification of the default cascading style sheet (v.1.3) for the
  8. HTML output of Docutils.
  9. */
  10. body {
  11. font-family: Arial, sans-serif;
  12. background-color: #fff;
  13. }
  14. em, i {
  15. /* Typically serif fonts have much nicer italics */
  16. font-family: Times New Roman, Times, serif;
  17. }
  18. li {
  19. list-style-type: circle;
  20. }
  21. a.target {
  22. color: blue;
  23. }
  24. a.toc-backref {
  25. text-decoration: none;
  26. color: black;
  27. }
  28. a.toc-backref:hover {
  29. background-color: inherit;
  30. }
  31. a:hover {
  32. background-color: #ccc;
  33. }
  34. h1 a:hover, h2 a:hover, h3 a:hover, h4 a:hover, h5 a:hover, h6:hover {
  35. background-color: inherit;
  36. }
  37. cite {
  38. font-style: normal;
  39. font-family: monospace;
  40. font-weight: bold;
  41. }
  42. dd {
  43. margin-bottom: 0.5em;
  44. }
  45. div.abstract {
  46. margin: 2em 5em;
  47. }
  48. div.abstract p.topic-title {
  49. font-weight: bold;
  50. text-align: center;
  51. }
  52. div.attention, div.caution, div.danger, div.error, div.hint,
  53. div.important, div.note, div.tip, div.warning {
  54. background-color: #ccc;
  55. width: 40%;
  56. border: medium outset;
  57. padding: 3px;
  58. float: right
  59. }
  60. div.attention p.admonition-title, div.caution p.admonition-title,
  61. div.danger p.admonition-title, div.error p.admonition-title,
  62. div.warning p.admonition-title {
  63. color: #c00;
  64. font-weight: bold;
  65. font-family: sans-serif;
  66. text-align: center;
  67. background-color: #999;
  68. display: block;
  69. margin: 0;
  70. }
  71. div.hint p.admonition-title, div.important p.admonition-title,
  72. div.note p.admonition-title, div.tip p.admonition-title {
  73. font-weight: bold;
  74. font-family: sans-serif;
  75. text-align: center;
  76. background-color: #999;
  77. display: block;
  78. margin: 0;
  79. }
  80. div.dedication {
  81. margin: 2em 5em;
  82. text-align: center;
  83. font-style: italic;
  84. }
  85. div.dedication p.topic-title {
  86. font-weight: bold;
  87. font-style: normal;
  88. }
  89. div.figure {
  90. margin-left: 2em;
  91. }
  92. div.footer, div.header {
  93. font-size: smaller;
  94. }
  95. div.system-messages {
  96. margin: 5em;
  97. }
  98. div.system-messages h1 {
  99. color: red;
  100. }
  101. div.system-message {
  102. border: medium outset;
  103. padding: 1em;
  104. }
  105. div.system-message p.system-message-title {
  106. color: red;
  107. font-weight: bold;
  108. }
  109. div.topic {
  110. margin: 2em;
  111. }
  112. h1, h2, h3, h4, h5, h6 {
  113. font-family: Helvetica, Arial, sans-serif;
  114. border: thin solid black;
  115. /* This makes the borders rounded on Mozilla, which pleases me */
  116. -moz-border-radius: 8px;
  117. padding: 4px;
  118. }
  119. h1 {
  120. background-color: #449;
  121. color: #fff;
  122. border: medium solid black;
  123. }
  124. h1 a.toc-backref, h2 a.toc-backref {
  125. color: #fff;
  126. }
  127. h2 {
  128. background-color: #666;
  129. color: #fff;
  130. border: medium solid black;
  131. }
  132. h3, h4, h5, h6 {
  133. background-color: #ccc;
  134. color: #000;
  135. }
  136. h3 a.toc-backref, h4 a.toc-backref, h5 a.toc-backref,
  137. h6 a.toc-backref {
  138. color: #000;
  139. }
  140. h1.title {
  141. text-align: center;
  142. background-color: #449;
  143. color: #fff;
  144. border: thick solid black;
  145. -moz-border-radius: 20px;
  146. }
  147. h2.subtitle {
  148. text-align: center;
  149. }
  150. hr {
  151. width: 75%;
  152. }
  153. ol.simple, ul.simple {
  154. margin-bottom: 1em;
  155. }
  156. ol.arabic {
  157. list-style: decimal;
  158. }
  159. ol.loweralpha {
  160. list-style: lower-alpha;
  161. }
  162. ol.upperalpha {
  163. list-style: upper-alpha;
  164. }
  165. ol.lowerroman {
  166. list-style: lower-roman;
  167. }
  168. ol.upperroman {
  169. list-style: upper-roman;
  170. }
  171. p.caption {
  172. font-style: italic;
  173. }
  174. p.credits {
  175. font-style: italic;
  176. font-size: smaller;
  177. }
  178. p.first {
  179. margin-top: 0;
  180. }
  181. p.label {
  182. white-space: nowrap;
  183. }
  184. p.topic-title {
  185. font-weight: bold;
  186. }
  187. pre.address {
  188. margin-bottom: 0;
  189. margin-top: 0;
  190. font-family: serif;
  191. font-size: 100%;
  192. }
  193. pre.line-block {
  194. font-family: serif;
  195. font-size: 100%;
  196. }
  197. pre.literal-block, pre.doctest-block {
  198. margin-left: 2em;
  199. margin-right: 2em;
  200. background-color: #eee;
  201. border: thin black solid;
  202. padding: 5px;
  203. }
  204. span.classifier {
  205. font-family: sans-serif;
  206. font-style: oblique;
  207. }
  208. span.classifier-delimiter {
  209. font-family: sans-serif;
  210. font-weight: bold;
  211. }
  212. span.interpreted {
  213. font-family: sans-serif;
  214. }
  215. span.option-argument {
  216. font-style: italic;
  217. }
  218. span.pre {
  219. white-space: pre;
  220. }
  221. span.problematic {
  222. color: red;
  223. }
  224. table {
  225. margin-top: 0.5em;
  226. margin-bottom: 0.5em;
  227. }
  228. table.citation {
  229. border-left: solid thin gray;
  230. padding-left: 0.5ex
  231. }
  232. table.docinfo {
  233. margin: 2em 4em;
  234. }
  235. table.footnote {
  236. border-left: solid thin black;
  237. padding-left: 0.5ex;
  238. }
  239. td, th {
  240. padding-left: 0.5em;
  241. padding-right: 0.5em;
  242. vertical-align: top;
  243. }
  244. td > p:first-child, th > p:first-child {
  245. margin-top: 0em;
  246. }
  247. th.docinfo-name, th.field-name {
  248. font-weight: bold;
  249. text-align: left;
  250. white-space: nowrap;
  251. }
  252. h1 tt, h2 tt, h3 tt, h4 tt, h5 tt, h6 tt {
  253. font-size: 100%;
  254. }
  255. code, tt {
  256. color: #006;
  257. }
  258. ul.auto-toc {
  259. list-style-type: none;
  260. }
  261. /*****************************************
  262. * Doctest embedded examples
  263. *****************************************/
  264. span.doctest-url {
  265. background-color: #eee;
  266. border-top: 2px outset #666;
  267. border-left: 2px outset #666;
  268. border-right: 2px outset #666;
  269. padding: 0.25em;
  270. }
  271. div.doctest-example {
  272. border: outset 5px #666;
  273. background-color: #eee;
  274. font-family: default;
  275. padding: 0.5em;
  276. }
  277. div.doctest-example h1 {
  278. background-color: inherit;
  279. border: none;
  280. color: inherit;
  281. font-family: default;
  282. }
  283. div.doctest-example tt {
  284. color: inherit;
  285. }
  286. div.doctest-status {
  287. background-color: #060;
  288. color: #fff;
  289. }
  290. span.doctest-header {
  291. background-color: #ccc;
  292. font-family: monospace;
  293. }
  294. pre.doctest-errors {
  295. border: none;
  296. background-color: #333;
  297. color: #600;
  298. }
  299. div.source-code {
  300. background-color: #000;
  301. border: inset #999 3px;
  302. overflow: auto;
  303. }
  304. pre.source-code {
  305. background-color: #000;
  306. border: inset #999 3px;
  307. overflow: auto;
  308. font-family: monospace;
  309. color: #fff;
  310. }
  311. span.source-filename {
  312. background-color: #000;
  313. border-top: 2px outset #999;
  314. border-left: 2px outset #999;
  315. border-right: 2px outset #999;
  316. padding: 0.25em;
  317. color: #fff
  318. }