void.css 6.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449
  1. /*
  2. Stylesheet for Docutils.
  3. Based on `blue_box.css` by Ian Bicking
  4. and `voidspace.css` by Ian Bicking, Michael Foord
  5. and `html4css1.css`
  6. */
  7. .borderless, table.borderless td, table.borderless th
  8. {
  9. border: 0;
  10. }
  11. table.borderless td, table.borderless th
  12. {
  13. padding: 0 0.5em 0 0 ! important;
  14. }
  15. .first
  16. {
  17. margin-top: 0 ! important;
  18. }
  19. .last, .with-subtitle
  20. {
  21. margin-bottom: 0 ! important;
  22. }
  23. .hidden
  24. {
  25. display: none;
  26. }
  27. a.toc-backref
  28. {
  29. color: black;
  30. text-decoration: none;
  31. }
  32. blockquote.epigraph
  33. {
  34. margin: 2em 5em;
  35. }
  36. dl.docutils dd
  37. {
  38. margin-bottom: 0.5em;
  39. }
  40. object[type="image/svg+xml"], object[type="application/x-shockwave-flash"]
  41. {
  42. overflow: hidden;
  43. }
  44. div.abstract
  45. {
  46. margin: 2em 5em;
  47. }
  48. div.abstract p.topic-title
  49. {
  50. font-weight: bold;
  51. text-align: center;
  52. }
  53. div.admonition, div.attention, div.caution, div.danger, div.error,
  54. div.hint, div.important, div.note, div.tip, div.warning
  55. {
  56. border: medium outset;
  57. margin: 2em;
  58. padding: 1em;
  59. }
  60. div.admonition p.admonition-title, div.hint p.admonition-title,
  61. div.important p.admonition-title, div.note p.admonition-title,
  62. div.tip p.admonition-title
  63. {
  64. font-family: sans-serif;
  65. font-weight: bold;
  66. }
  67. div.attention p.admonition-title, div.caution p.admonition-title,
  68. div.danger p.admonition-title, div.error p.admonition-title,
  69. div.warning p.admonition-title
  70. {
  71. color: red;
  72. font-family: sans-serif;
  73. font-weight: bold;
  74. }
  75. div.dedication
  76. {
  77. font-style: italic;
  78. margin: 2em 5em;
  79. text-align: center;
  80. }
  81. div.dedication p.topic-title
  82. {
  83. font-style: normal;
  84. font-weight: bold;
  85. }
  86. div.figure
  87. {
  88. margin-left: 2em;
  89. margin-right: 2em;
  90. }
  91. div.footer, div.header
  92. {
  93. clear: both;
  94. font-size: smaller;
  95. }
  96. div.line-block
  97. {
  98. display: block;
  99. margin-bottom: 1em;
  100. margin-top: 1em;
  101. }
  102. div.line-block div.line-block
  103. {
  104. margin-bottom: 0;
  105. margin-left: 1.5em;
  106. margin-top: 0;
  107. }
  108. div.sidebar
  109. {
  110. background-color: #ffffee;
  111. border: medium outset;
  112. clear: right;
  113. float: right;
  114. margin: 0 0 0.5em 1em;
  115. padding: 1em;
  116. width: 40%;
  117. }
  118. div.sidebar p.rubric
  119. {
  120. font-family: sans-serif;
  121. font-size: medium;
  122. }
  123. div.system-messages
  124. {
  125. margin: 5em;
  126. }
  127. div.system-messages h1
  128. {
  129. color: red;
  130. }
  131. div.system-message
  132. {
  133. border: medium outset;
  134. padding: 1em;
  135. }
  136. div.system-message p.system-message-title
  137. {
  138. color: red;
  139. font-weight: bold;
  140. }
  141. div.topic
  142. {
  143. margin: 2em;
  144. }
  145. h1.section-subtitle, h2.section-subtitle, h3.section-subtitle,
  146. h4.section-subtitle, h5.section-subtitle, h6.section-subtitle
  147. {
  148. margin-top: 0.4em;
  149. }
  150. h1.title
  151. {
  152. text-align: center;
  153. }
  154. h2.subtitle
  155. {
  156. text-align: center;
  157. }
  158. hr.docutils
  159. {
  160. width: 75%;
  161. }
  162. img.align-left, .figure.align-left, object.align-left
  163. {
  164. clear: left;
  165. float: left;
  166. margin-right: 1em;
  167. }
  168. img.align-right, .figure.align-right, object.align-right
  169. {
  170. clear: right;
  171. float: right;
  172. margin-left: 1em;
  173. }
  174. img.align-center, .figure.align-center, object.align-center
  175. {
  176. display: block;
  177. margin-left: auto;
  178. margin-right: auto;
  179. }
  180. .align-left
  181. {
  182. text-align: left;
  183. }
  184. .align-center
  185. {
  186. clear: both;
  187. text-align: center;
  188. }
  189. .align-right
  190. {
  191. text-align: right;
  192. }
  193. div.align-right
  194. {
  195. text-align: inherit;
  196. }
  197. ol.simple, ul.simple
  198. {
  199. margin-bottom: 1em;
  200. }
  201. ol.arabic
  202. {
  203. list-style: decimal;
  204. }
  205. ol.loweralpha
  206. {
  207. list-style: lower-alpha;
  208. }
  209. ol.upperalpha
  210. {
  211. list-style: upper-alpha;
  212. }
  213. ol.lowerroman
  214. {
  215. list-style: lower-roman;
  216. }
  217. ol.upperroman
  218. {
  219. list-style: upper-roman;
  220. }
  221. p.attribution
  222. {
  223. margin-left: 50%;
  224. text-align: right;
  225. }
  226. p.caption
  227. {
  228. font-style: italic;
  229. }
  230. p.credits
  231. {
  232. font-size: smaller;
  233. font-style: italic;
  234. }
  235. p.label
  236. {
  237. white-space: nowrap;
  238. }
  239. p.rubric
  240. {
  241. color: maroon;
  242. font-size: larger;
  243. font-weight: bold;
  244. text-align: center;
  245. }
  246. p.sidebar-title
  247. {
  248. font-family: sans-serif;
  249. font-size: larger;
  250. font-weight: bold;
  251. }
  252. p.sidebar-subtitle
  253. {
  254. font-family: sans-serif;
  255. font-weight: bold;
  256. }
  257. p.topic-title
  258. {
  259. font-weight: bold;
  260. }
  261. pre.address
  262. {
  263. font: inherit;
  264. margin-bottom: 0;
  265. margin-top: 0;
  266. }
  267. pre.literal-block, pre.doctest-block, pre.math
  268. {
  269. margin-left: 2em;
  270. margin-right: 2em;
  271. background-color: #eeeeee;
  272. }
  273. span.classifier
  274. {
  275. font-family: sans-serif;
  276. font-style: oblique;
  277. }
  278. span.classifier-delimiter
  279. {
  280. font-family: sans-serif;
  281. font-weight: bold;
  282. }
  283. span.interpreted
  284. {
  285. font-family: sans-serif;
  286. }
  287. span.option
  288. {
  289. white-space: nowrap;
  290. }
  291. span.pre
  292. {
  293. white-space: pre;
  294. }
  295. span.problematic
  296. {
  297. color: red;
  298. }
  299. span.section-subtitle
  300. {
  301. font-size: 80%;
  302. }
  303. table.citation
  304. {
  305. border-left: solid 1px gray;
  306. margin-left: 1px;
  307. }
  308. table.docinfo
  309. {
  310. margin: 2em 4em;
  311. }
  312. table.docutils
  313. {
  314. margin-bottom: 0.5em;
  315. margin-top: 0.5em;
  316. }
  317. table.footnote
  318. {
  319. border-left: solid 1px black;
  320. margin-left: 1px;
  321. }
  322. table.docutils td, table.docutils th,
  323. table.docinfo td, table.docinfo th
  324. {
  325. padding-left: 0.5em;
  326. padding-right: 0.5em;
  327. vertical-align: top;
  328. }
  329. table.docutils th.field-name, table.docinfo th.docinfo-name
  330. {
  331. font-weight: bold;
  332. padding-left: 0;
  333. text-align: left;
  334. white-space: nowrap;
  335. }
  336. h1 tt.docutils, h2 tt.docutils, h3 tt.docutils,
  337. h4 tt.docutils, h5 tt.docutils, h6 tt.docutils
  338. {
  339. font-size: 100%;
  340. }
  341. ul.auto-toc
  342. {
  343. list-style-type: none;
  344. }
  345. body
  346. {
  347. font-family: Arial, sans-serif;
  348. margin-left: auto;
  349. margin-right: auto;
  350. width: 800px;
  351. }
  352. em, i
  353. {
  354. font-family: Times New Roman, Times, serif;
  355. }
  356. a.target
  357. {
  358. color: blue;
  359. }
  360. a.target
  361. {
  362. color: blue;
  363. }
  364. a.toc-backref
  365. {
  366. color: black;
  367. text-decoration: none;
  368. }
  369. a.toc-backref:hover
  370. {
  371. background-color: inherit;
  372. }
  373. a:hover
  374. {
  375. background-color: #cccccc;
  376. }
  377. div.attention, div.caution, div.danger, div.error, div.hint,
  378. div.important, div.note, div.tip, div.warning
  379. {
  380. padding: 3px;
  381. width: 80%;
  382. }
  383. div.admonition p.admonition-title, div.hint p.admonition-title,
  384. div.important p.admonition-title, div.note p.admonition-title,
  385. div.tip p.admonition-title
  386. {
  387. display: block;
  388. margin: 0;
  389. text-align: center;
  390. }
  391. div.attention p.admonition-title, div.caution p.admonition-title,
  392. div.danger p.admonition-title, div.error p.admonition-title,
  393. div.warning p.admonition-title
  394. {
  395. display: block;
  396. font-family: sans-serif;
  397. margin: 0;
  398. text-align: center;
  399. }
  400. h1.title
  401. {
  402. text-align: center;
  403. }
  404. table.footnote
  405. {
  406. padding-left: 0.5ex;
  407. }
  408. table.citation
  409. {
  410. padding-left: 0.5ex;
  411. }
  412. pre.literal-block, pre.doctest-block
  413. {
  414. padding: 5px;
  415. }
  416. h1 tt, h2 tt, h3 tt, h4 tt, h5 tt, h6 tt
  417. {
  418. font-size: 100%;
  419. }
  420. code, tt
  421. {
  422. color: #000066;
  423. }
  424. p
  425. {
  426. text-align: justify;
  427. }
  428. dt
  429. {
  430. font-weight: bold;
  431. }
  432. tt.literal
  433. {
  434. background-color: #eeeeee;
  435. }
  436. h1
  437. {
  438. border-bottom: solid 1px black;
  439. padding-top: 20px;
  440. }
  441. caption
  442. {
  443. margin-bottom: 0.4em;
  444. font-weight: bold;
  445. font-size: 120%;
  446. }