html4css1.css 5.4 KB

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