Python Library Stringtools
Vous ne pouvez pas sélectionner plus de 25 sujets Les noms de sujets doivent commencer par une lettre ou un nombre, peuvent contenir des tirets ('-') et peuvent comporter jusqu'à 35 caractères.

basic.css 11KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676
  1. /*
  2. * basic.css
  3. * ~~~~~~~~~
  4. *
  5. * Sphinx stylesheet -- basic theme.
  6. *
  7. * :copyright: Copyright 2007-2019 by the Sphinx team, see AUTHORS.
  8. * :license: BSD, see LICENSE for details.
  9. *
  10. */
  11. /* -- main layout ----------------------------------------------------------- */
  12. div.clearer {
  13. clear: both;
  14. }
  15. /* -- relbar ---------------------------------------------------------------- */
  16. div.related {
  17. width: 100%;
  18. font-size: 90%;
  19. }
  20. div.related h3 {
  21. display: none;
  22. }
  23. div.related ul {
  24. margin: 0;
  25. padding: 0 0 0 10px;
  26. list-style: none;
  27. }
  28. div.related li {
  29. display: inline;
  30. }
  31. div.related li.right {
  32. float: right;
  33. margin-right: 5px;
  34. }
  35. /* -- sidebar --------------------------------------------------------------- */
  36. div.sphinxsidebarwrapper {
  37. padding: 10px 5px 0 10px;
  38. }
  39. div.sphinxsidebar {
  40. float: left;
  41. width: 230px;
  42. margin-left: -100%;
  43. font-size: 90%;
  44. word-wrap: break-word;
  45. overflow-wrap : break-word;
  46. }
  47. div.sphinxsidebar ul {
  48. list-style: none;
  49. }
  50. div.sphinxsidebar ul ul,
  51. div.sphinxsidebar ul.want-points {
  52. margin-left: 20px;
  53. list-style: square;
  54. }
  55. div.sphinxsidebar ul ul {
  56. margin-top: 0;
  57. margin-bottom: 0;
  58. }
  59. div.sphinxsidebar form {
  60. margin-top: 10px;
  61. }
  62. div.sphinxsidebar input {
  63. border: 1px solid #98dbcc;
  64. font-family: sans-serif;
  65. font-size: 1em;
  66. }
  67. div.sphinxsidebar #searchbox form.search {
  68. overflow: hidden;
  69. }
  70. div.sphinxsidebar #searchbox input[type="text"] {
  71. float: left;
  72. width: 80%;
  73. padding: 0.25em;
  74. box-sizing: border-box;
  75. }
  76. div.sphinxsidebar #searchbox input[type="submit"] {
  77. float: left;
  78. width: 20%;
  79. border-left: none;
  80. padding: 0.25em;
  81. box-sizing: border-box;
  82. }
  83. img {
  84. border: 0;
  85. max-width: 100%;
  86. }
  87. /* -- search page ----------------------------------------------------------- */
  88. ul.search {
  89. margin: 10px 0 0 20px;
  90. padding: 0;
  91. }
  92. ul.search li {
  93. padding: 5px 0 5px 20px;
  94. background-image: url(file.png);
  95. background-repeat: no-repeat;
  96. background-position: 0 7px;
  97. }
  98. ul.search li a {
  99. font-weight: bold;
  100. }
  101. ul.search li div.context {
  102. color: #888;
  103. margin: 2px 0 0 30px;
  104. text-align: left;
  105. }
  106. ul.keywordmatches li.goodmatch a {
  107. font-weight: bold;
  108. }
  109. /* -- index page ------------------------------------------------------------ */
  110. table.contentstable {
  111. width: 90%;
  112. margin-left: auto;
  113. margin-right: auto;
  114. }
  115. table.contentstable p.biglink {
  116. line-height: 150%;
  117. }
  118. a.biglink {
  119. font-size: 1.3em;
  120. }
  121. span.linkdescr {
  122. font-style: italic;
  123. padding-top: 5px;
  124. font-size: 90%;
  125. }
  126. /* -- general index --------------------------------------------------------- */
  127. table.indextable {
  128. width: 100%;
  129. }
  130. table.indextable td {
  131. text-align: left;
  132. vertical-align: top;
  133. }
  134. table.indextable ul {
  135. margin-top: 0;
  136. margin-bottom: 0;
  137. list-style-type: none;
  138. }
  139. table.indextable > tbody > tr > td > ul {
  140. padding-left: 0em;
  141. }
  142. table.indextable tr.pcap {
  143. height: 10px;
  144. }
  145. table.indextable tr.cap {
  146. margin-top: 10px;
  147. background-color: #f2f2f2;
  148. }
  149. img.toggler {
  150. margin-right: 3px;
  151. margin-top: 3px;
  152. cursor: pointer;
  153. }
  154. div.modindex-jumpbox {
  155. border-top: 1px solid #ddd;
  156. border-bottom: 1px solid #ddd;
  157. margin: 1em 0 1em 0;
  158. padding: 0.4em;
  159. }
  160. div.genindex-jumpbox {
  161. border-top: 1px solid #ddd;
  162. border-bottom: 1px solid #ddd;
  163. margin: 1em 0 1em 0;
  164. padding: 0.4em;
  165. }
  166. /* -- domain module index --------------------------------------------------- */
  167. table.modindextable td {
  168. padding: 2px;
  169. border-collapse: collapse;
  170. }
  171. /* -- general body styles --------------------------------------------------- */
  172. div.body {
  173. min-width: 450px;
  174. max-width: 800px;
  175. }
  176. div.body p, div.body dd, div.body li, div.body blockquote {
  177. -moz-hyphens: auto;
  178. -ms-hyphens: auto;
  179. -webkit-hyphens: auto;
  180. hyphens: auto;
  181. }
  182. a.headerlink {
  183. visibility: hidden;
  184. }
  185. h1:hover > a.headerlink,
  186. h2:hover > a.headerlink,
  187. h3:hover > a.headerlink,
  188. h4:hover > a.headerlink,
  189. h5:hover > a.headerlink,
  190. h6:hover > a.headerlink,
  191. dt:hover > a.headerlink,
  192. caption:hover > a.headerlink,
  193. p.caption:hover > a.headerlink,
  194. div.code-block-caption:hover > a.headerlink {
  195. visibility: visible;
  196. }
  197. div.body p.caption {
  198. text-align: inherit;
  199. }
  200. div.body td {
  201. text-align: left;
  202. }
  203. .first {
  204. margin-top: 0 !important;
  205. }
  206. p.rubric {
  207. margin-top: 30px;
  208. font-weight: bold;
  209. }
  210. img.align-left, .figure.align-left, object.align-left {
  211. clear: left;
  212. float: left;
  213. margin-right: 1em;
  214. }
  215. img.align-right, .figure.align-right, object.align-right {
  216. clear: right;
  217. float: right;
  218. margin-left: 1em;
  219. }
  220. img.align-center, .figure.align-center, object.align-center {
  221. display: block;
  222. margin-left: auto;
  223. margin-right: auto;
  224. }
  225. .align-left {
  226. text-align: left;
  227. }
  228. .align-center {
  229. text-align: center;
  230. }
  231. .align-right {
  232. text-align: right;
  233. }
  234. /* -- sidebars -------------------------------------------------------------- */
  235. div.sidebar {
  236. margin: 0 0 0.5em 1em;
  237. border: 1px solid #ddb;
  238. padding: 7px 7px 0 7px;
  239. background-color: #ffe;
  240. width: 40%;
  241. float: right;
  242. }
  243. p.sidebar-title {
  244. font-weight: bold;
  245. }
  246. /* -- topics ---------------------------------------------------------------- */
  247. div.topic {
  248. border: 1px solid #ccc;
  249. padding: 7px 7px 0 7px;
  250. margin: 10px 0 10px 0;
  251. }
  252. p.topic-title {
  253. font-size: 1.1em;
  254. font-weight: bold;
  255. margin-top: 10px;
  256. }
  257. /* -- admonitions ----------------------------------------------------------- */
  258. div.admonition {
  259. margin-top: 10px;
  260. margin-bottom: 10px;
  261. padding: 7px;
  262. }
  263. div.admonition dt {
  264. font-weight: bold;
  265. }
  266. div.admonition dl {
  267. margin-bottom: 0;
  268. }
  269. p.admonition-title {
  270. margin: 0px 10px 5px 0px;
  271. font-weight: bold;
  272. }
  273. div.body p.centered {
  274. text-align: center;
  275. margin-top: 25px;
  276. }
  277. /* -- tables ---------------------------------------------------------------- */
  278. table.docutils {
  279. border: 0;
  280. border-collapse: collapse;
  281. }
  282. table.align-center {
  283. margin-left: auto;
  284. margin-right: auto;
  285. }
  286. table caption span.caption-number {
  287. font-style: italic;
  288. }
  289. table caption span.caption-text {
  290. }
  291. table.docutils td, table.docutils th {
  292. padding: 1px 8px 1px 5px;
  293. border-top: 0;
  294. border-left: 0;
  295. border-right: 0;
  296. border-bottom: 1px solid #aaa;
  297. }
  298. table.footnote td, table.footnote th {
  299. border: 0 !important;
  300. }
  301. th {
  302. text-align: left;
  303. padding-right: 5px;
  304. }
  305. table.citation {
  306. border-left: solid 1px gray;
  307. margin-left: 1px;
  308. }
  309. table.citation td {
  310. border-bottom: none;
  311. }
  312. /* -- figures --------------------------------------------------------------- */
  313. div.figure {
  314. margin: 0.5em;
  315. padding: 0.5em;
  316. }
  317. div.figure p.caption {
  318. padding: 0.3em;
  319. }
  320. div.figure p.caption span.caption-number {
  321. font-style: italic;
  322. }
  323. div.figure p.caption span.caption-text {
  324. }
  325. /* -- field list styles ----------------------------------------------------- */
  326. table.field-list td, table.field-list th {
  327. border: 0 !important;
  328. }
  329. .field-list ul {
  330. margin: 0;
  331. padding-left: 1em;
  332. }
  333. .field-list p {
  334. margin: 0;
  335. }
  336. .field-name {
  337. -moz-hyphens: manual;
  338. -ms-hyphens: manual;
  339. -webkit-hyphens: manual;
  340. hyphens: manual;
  341. }
  342. /* -- hlist styles ---------------------------------------------------------- */
  343. table.hlist td {
  344. vertical-align: top;
  345. }
  346. /* -- other body styles ----------------------------------------------------- */
  347. ol.arabic {
  348. list-style: decimal;
  349. }
  350. ol.loweralpha {
  351. list-style: lower-alpha;
  352. }
  353. ol.upperalpha {
  354. list-style: upper-alpha;
  355. }
  356. ol.lowerroman {
  357. list-style: lower-roman;
  358. }
  359. ol.upperroman {
  360. list-style: upper-roman;
  361. }
  362. dl {
  363. margin-bottom: 15px;
  364. }
  365. dd p {
  366. margin-top: 0px;
  367. }
  368. dd ul, dd table {
  369. margin-bottom: 10px;
  370. }
  371. dd {
  372. margin-top: 3px;
  373. margin-bottom: 10px;
  374. margin-left: 30px;
  375. }
  376. dt:target, span.highlighted {
  377. background-color: #fbe54e;
  378. }
  379. rect.highlighted {
  380. fill: #fbe54e;
  381. }
  382. dl.glossary dt {
  383. font-weight: bold;
  384. font-size: 1.1em;
  385. }
  386. .optional {
  387. font-size: 1.3em;
  388. }
  389. .sig-paren {
  390. font-size: larger;
  391. }
  392. .versionmodified {
  393. font-style: italic;
  394. }
  395. .system-message {
  396. background-color: #fda;
  397. padding: 5px;
  398. border: 3px solid red;
  399. }
  400. .footnote:target {
  401. background-color: #ffa;
  402. }
  403. .line-block {
  404. display: block;
  405. margin-top: 1em;
  406. margin-bottom: 1em;
  407. }
  408. .line-block .line-block {
  409. margin-top: 0;
  410. margin-bottom: 0;
  411. margin-left: 1.5em;
  412. }
  413. .guilabel, .menuselection {
  414. font-family: sans-serif;
  415. }
  416. .accelerator {
  417. text-decoration: underline;
  418. }
  419. .classifier {
  420. font-style: oblique;
  421. }
  422. abbr, acronym {
  423. border-bottom: dotted 1px;
  424. cursor: help;
  425. }
  426. /* -- code displays --------------------------------------------------------- */
  427. pre {
  428. overflow: auto;
  429. overflow-y: hidden; /* fixes display issues on Chrome browsers */
  430. }
  431. span.pre {
  432. -moz-hyphens: none;
  433. -ms-hyphens: none;
  434. -webkit-hyphens: none;
  435. hyphens: none;
  436. }
  437. td.linenos pre {
  438. padding: 5px 0px;
  439. border: 0;
  440. background-color: transparent;
  441. color: #aaa;
  442. }
  443. table.highlighttable {
  444. margin-left: 0.5em;
  445. }
  446. table.highlighttable td {
  447. padding: 0 0.5em 0 0.5em;
  448. }
  449. div.code-block-caption {
  450. padding: 2px 5px;
  451. font-size: small;
  452. }
  453. div.code-block-caption code {
  454. background-color: transparent;
  455. }
  456. div.code-block-caption + div > div.highlight > pre {
  457. margin-top: 0;
  458. }
  459. div.code-block-caption span.caption-number {
  460. padding: 0.1em 0.3em;
  461. font-style: italic;
  462. }
  463. div.code-block-caption span.caption-text {
  464. }
  465. div.literal-block-wrapper {
  466. padding: 1em 1em 0;
  467. }
  468. div.literal-block-wrapper div.highlight {
  469. margin: 0;
  470. }
  471. code.descname {
  472. background-color: transparent;
  473. font-weight: bold;
  474. font-size: 1.2em;
  475. }
  476. code.descclassname {
  477. background-color: transparent;
  478. }
  479. code.xref, a code {
  480. background-color: transparent;
  481. font-weight: bold;
  482. }
  483. h1 code, h2 code, h3 code, h4 code, h5 code, h6 code {
  484. background-color: transparent;
  485. }
  486. .viewcode-link {
  487. float: right;
  488. }
  489. .viewcode-back {
  490. float: right;
  491. font-family: sans-serif;
  492. }
  493. div.viewcode-block:target {
  494. margin: -1px -10px;
  495. padding: 0 10px;
  496. }
  497. /* -- math display ---------------------------------------------------------- */
  498. img.math {
  499. vertical-align: middle;
  500. }
  501. div.body div.math p {
  502. text-align: center;
  503. }
  504. span.eqno {
  505. float: right;
  506. }
  507. span.eqno a.headerlink {
  508. position: relative;
  509. left: 0px;
  510. z-index: 1;
  511. }
  512. div.math:hover a.headerlink {
  513. visibility: visible;
  514. }
  515. /* -- printout stylesheet --------------------------------------------------- */
  516. @media print {
  517. div.document,
  518. div.documentwrapper,
  519. div.bodywrapper {
  520. margin: 0 !important;
  521. width: 100%;
  522. }
  523. div.sphinxsidebar,
  524. div.related,
  525. div.footer,
  526. #top-link {
  527. display: none;
  528. }
  529. }