pep.css 6.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344
  1. /*
  2. :Author: David Goodger
  3. :Contact: goodger@python.org
  4. :date: $Date: 2022-01-29 23:26:10 +0100 (Sa, 29. Jän 2022) $
  5. :version: $Revision: 8995 $
  6. :copyright: This stylesheet has been placed in the public domain.
  7. Default cascading style sheet for the PEP HTML output of Docutils.
  8. */
  9. /* "! important" is used here to override other ``margin-top`` and
  10. ``margin-bottom`` styles that are later in the stylesheet or
  11. more specific. See http://www.w3.org/TR/CSS1#the-cascade */
  12. .first {
  13. margin-top: 0 ! important }
  14. .last, .with-subtitle {
  15. margin-bottom: 0 ! important }
  16. .hidden {
  17. display: none }
  18. .navigation {
  19. width: 100% ;
  20. background: #99ccff ;
  21. margin-top: 0px ;
  22. margin-bottom: 0px }
  23. .navigation .navicon {
  24. width: 150px ;
  25. height: 35px }
  26. .navigation .textlinks {
  27. padding-left: 1em ;
  28. text-align: left }
  29. .navigation td, .navigation th {
  30. padding-left: 0em ;
  31. padding-right: 0em ;
  32. vertical-align: middle }
  33. .rfc2822 {
  34. margin-top: 0.5em ;
  35. margin-left: 0.5em ;
  36. margin-right: 0.5em ;
  37. margin-bottom: 0em }
  38. .rfc2822 td {
  39. text-align: left }
  40. .rfc2822 th.field-name {
  41. text-align: right ;
  42. font-family: sans-serif ;
  43. padding-right: 0.5em ;
  44. font-weight: bold ;
  45. margin-bottom: 0em }
  46. a.toc-backref {
  47. text-decoration: none ;
  48. color: black }
  49. blockquote.epigraph {
  50. margin: 2em 5em ; }
  51. body {
  52. margin: 0px ;
  53. margin-bottom: 1em ;
  54. padding: 0px }
  55. dl.docutils dd {
  56. margin-bottom: 0.5em }
  57. div.section {
  58. margin-left: 1em ;
  59. margin-right: 1em ;
  60. margin-bottom: 1.5em }
  61. div.section div.section {
  62. margin-left: 0em ;
  63. margin-right: 0em ;
  64. margin-top: 1.5em }
  65. div.abstract {
  66. margin: 2em 5em }
  67. div.abstract p.topic-title {
  68. font-weight: bold ;
  69. text-align: center }
  70. div.admonition, div.attention, div.caution, div.danger, div.error,
  71. div.hint, div.important, div.note, div.tip, div.warning {
  72. margin: 2em ;
  73. border: medium outset ;
  74. padding: 1em }
  75. div.admonition p.admonition-title, div.hint p.admonition-title,
  76. div.important p.admonition-title, div.note p.admonition-title,
  77. div.tip p.admonition-title {
  78. font-weight: bold ;
  79. font-family: sans-serif }
  80. div.attention p.admonition-title, div.caution p.admonition-title,
  81. div.danger p.admonition-title, div.error p.admonition-title,
  82. div.warning p.admonition-title {
  83. color: red ;
  84. font-weight: bold ;
  85. font-family: sans-serif }
  86. /* Uncomment (and remove this text!) to get reduced vertical space in
  87. compound paragraphs.
  88. div.compound .compound-first, div.compound .compound-middle {
  89. margin-bottom: 0.5em }
  90. div.compound .compound-last, div.compound .compound-middle {
  91. margin-top: 0.5em }
  92. */
  93. div.dedication {
  94. margin: 2em 5em ;
  95. text-align: center ;
  96. font-style: italic }
  97. div.dedication p.topic-title {
  98. font-weight: bold ;
  99. font-style: normal }
  100. div.figure {
  101. margin-left: 2em ;
  102. margin-right: 2em }
  103. div.footer, div.header {
  104. clear: both;
  105. font-size: smaller }
  106. div.footer {
  107. margin-left: 1em ;
  108. margin-right: 1em }
  109. div.line-block {
  110. display: block ;
  111. margin-top: 1em ;
  112. margin-bottom: 1em }
  113. div.line-block div.line-block {
  114. margin-top: 0 ;
  115. margin-bottom: 0 ;
  116. margin-left: 1.5em }
  117. div.sidebar {
  118. margin-left: 1em ;
  119. border: medium outset ;
  120. padding: 1em ;
  121. background-color: #ffffee ;
  122. width: 40% ;
  123. float: right ;
  124. clear: right }
  125. div.sidebar p.rubric {
  126. font-family: sans-serif ;
  127. font-size: medium }
  128. div.system-messages {
  129. margin: 5em }
  130. div.system-messages h1 {
  131. color: red }
  132. div.system-message {
  133. border: medium outset ;
  134. padding: 1em }
  135. div.system-message p.system-message-title {
  136. color: red ;
  137. font-weight: bold }
  138. div.topic {
  139. margin: 2em }
  140. h1.section-subtitle, h2.section-subtitle, h3.section-subtitle,
  141. h4.section-subtitle, h5.section-subtitle, h6.section-subtitle {
  142. margin-top: 0.4em }
  143. h1 {
  144. font-family: sans-serif ;
  145. font-size: large }
  146. h2 {
  147. font-family: sans-serif ;
  148. font-size: medium }
  149. h3 {
  150. font-family: sans-serif ;
  151. font-size: small }
  152. h4 {
  153. font-family: sans-serif ;
  154. font-style: italic ;
  155. font-size: small }
  156. h5 {
  157. font-family: sans-serif;
  158. font-size: x-small }
  159. h6 {
  160. font-family: sans-serif;
  161. font-style: italic ;
  162. font-size: x-small }
  163. hr.docutils {
  164. width: 75% }
  165. img.align-left {
  166. clear: left }
  167. img.align-right {
  168. clear: right }
  169. img.borderless {
  170. border: 0 }
  171. ol.simple, ul.simple {
  172. margin-bottom: 1em }
  173. ol.arabic {
  174. list-style: decimal }
  175. ol.loweralpha {
  176. list-style: lower-alpha }
  177. ol.upperalpha {
  178. list-style: upper-alpha }
  179. ol.lowerroman {
  180. list-style: lower-roman }
  181. ol.upperroman {
  182. list-style: upper-roman }
  183. p.attribution {
  184. text-align: right ;
  185. margin-left: 50% }
  186. p.caption {
  187. font-style: italic }
  188. p.credits {
  189. font-style: italic ;
  190. font-size: smaller }
  191. p.label {
  192. white-space: nowrap }
  193. p.rubric {
  194. font-weight: bold ;
  195. font-size: larger ;
  196. color: maroon ;
  197. text-align: center }
  198. p.sidebar-title {
  199. font-family: sans-serif ;
  200. font-weight: bold ;
  201. font-size: larger }
  202. p.sidebar-subtitle {
  203. font-family: sans-serif ;
  204. font-weight: bold }
  205. p.topic-title {
  206. font-family: sans-serif ;
  207. font-weight: bold }
  208. pre.address {
  209. margin-bottom: 0 ;
  210. margin-top: 0 ;
  211. font-family: serif ;
  212. font-size: 100% }
  213. pre.literal-block, pre.doctest-block {
  214. margin-left: 2em ;
  215. margin-right: 2em }
  216. span.classifier {
  217. font-family: sans-serif ;
  218. font-style: oblique }
  219. span.classifier-delimiter {
  220. font-family: sans-serif ;
  221. font-weight: bold }
  222. span.interpreted {
  223. font-family: sans-serif }
  224. span.option {
  225. white-space: nowrap }
  226. span.option-argument {
  227. font-style: italic }
  228. span.pre {
  229. white-space: pre }
  230. span.problematic {
  231. color: red }
  232. span.section-subtitle {
  233. /* font-size relative to parent (h1..h6 element) */
  234. font-size: 80% }
  235. table.citation {
  236. border-left: solid 1px gray;
  237. margin-left: 1px }
  238. table.docinfo {
  239. margin: 2em 4em }
  240. table.docutils {
  241. margin-top: 0.5em ;
  242. margin-bottom: 0.5em }
  243. table.footnote {
  244. border-left: solid 1px black;
  245. margin-left: 1px }
  246. table.docutils td, table.docutils th,
  247. table.docinfo td, table.docinfo th {
  248. padding-left: 0.5em ;
  249. padding-right: 0.5em ;
  250. vertical-align: top }
  251. td.num {
  252. text-align: right }
  253. th.field-name {
  254. font-weight: bold ;
  255. text-align: left ;
  256. white-space: nowrap ;
  257. padding-left: 0 }
  258. h1 tt.docutils, h2 tt.docutils, h3 tt.docutils,
  259. h4 tt.docutils, h5 tt.docutils, h6 tt.docutils {
  260. font-size: 100% }
  261. ul.auto-toc {
  262. list-style-type: none }