Python Library Stringtools
您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符

basic.css 10KB

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