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

classic.css 4.8KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269
  1. /*
  2. * classic.css_t
  3. * ~~~~~~~~~~~~~
  4. *
  5. * Sphinx stylesheet -- classic theme.
  6. *
  7. * :copyright: Copyright 2007-2024 by the Sphinx team, see AUTHORS.
  8. * :license: BSD, see LICENSE for details.
  9. *
  10. */
  11. @import url("basic.css");
  12. /* -- page layout ----------------------------------------------------------- */
  13. html {
  14. /* CSS hack for macOS's scrollbar (see #1125) */
  15. background-color: #FFFFFF;
  16. }
  17. body {
  18. font-family: -apple-system, BlinkMacSystemFont, avenir next, avenir, segoe ui, helvetica neue, helvetica, Cantarell, Ubuntu, roboto, noto, arial, sans-serif;
  19. font-size: 100%;
  20. background-color: white;
  21. color: #000;
  22. margin: 0;
  23. padding: 0;
  24. }
  25. div.document {
  26. display: flex;
  27. background-color: white;
  28. }
  29. div.documentwrapper {
  30. float: left;
  31. width: 100%;
  32. }
  33. div.bodywrapper {
  34. margin: 0 0 0 230px;
  35. }
  36. div.body {
  37. background-color: white;
  38. color: #222222;
  39. padding: 0 20px 30px 20px;
  40. }
  41. div.footer {
  42. color: #555555;
  43. width: 100%;
  44. padding: 9px 0 9px 0;
  45. text-align: center;
  46. font-size: 75%;
  47. }
  48. div.footer a {
  49. color: #555555;
  50. text-decoration: underline;
  51. }
  52. div.related {
  53. background-color: white;
  54. line-height: 30px;
  55. color: #666666;
  56. }
  57. div.related a {
  58. color: #444444;
  59. }
  60. div.sphinxsidebar {
  61. }
  62. div.sphinxsidebar h3 {
  63. font-family: -apple-system, BlinkMacSystemFont, avenir next, avenir, segoe ui, helvetica neue, helvetica, Cantarell, Ubuntu, roboto, noto, arial, sans-serif;
  64. color: #444444;
  65. font-size: 1.4em;
  66. font-weight: normal;
  67. margin: 0;
  68. padding: 0;
  69. }
  70. div.sphinxsidebar h3 a {
  71. color: #444444;
  72. }
  73. div.sphinxsidebar h4 {
  74. font-family: -apple-system, BlinkMacSystemFont, avenir next, avenir, segoe ui, helvetica neue, helvetica, Cantarell, Ubuntu, roboto, noto, arial, sans-serif;
  75. color: #444444;
  76. font-size: 1.3em;
  77. font-weight: normal;
  78. margin: 5px 0 0 0;
  79. padding: 0;
  80. }
  81. div.sphinxsidebar p {
  82. color: #444444;
  83. }
  84. div.sphinxsidebar p.topless {
  85. margin: 5px 10px 10px 10px;
  86. }
  87. div.sphinxsidebar ul {
  88. margin: 10px;
  89. padding: 0;
  90. color: #444444;
  91. }
  92. div.sphinxsidebar a {
  93. color: #444444;
  94. }
  95. div.sphinxsidebar input {
  96. border: 1px solid #444444;
  97. font-family: sans-serif;
  98. font-size: 1em;
  99. }
  100. /* -- hyperlink styles ------------------------------------------------------ */
  101. a {
  102. color: #0090c0;
  103. text-decoration: none;
  104. }
  105. a:visited {
  106. color: #00608f;
  107. text-decoration: none;
  108. }
  109. a:hover {
  110. text-decoration: underline;
  111. }
  112. /* -- body styles ----------------------------------------------------------- */
  113. div.body h1,
  114. div.body h2,
  115. div.body h3,
  116. div.body h4,
  117. div.body h5,
  118. div.body h6 {
  119. font-family: -apple-system, BlinkMacSystemFont, avenir next, avenir, segoe ui, helvetica neue, helvetica, Cantarell, Ubuntu, roboto, noto, arial, sans-serif;
  120. background-color: white;
  121. font-weight: normal;
  122. color: #1a1a1a;
  123. border-bottom: 1px solid #ccc;
  124. margin: 20px -20px 10px -20px;
  125. padding: 3px 0 3px 10px;
  126. }
  127. div.body h1 { margin-top: 0; font-size: 200%; }
  128. div.body h2 { font-size: 160%; }
  129. div.body h3 { font-size: 140%; }
  130. div.body h4 { font-size: 120%; }
  131. div.body h5 { font-size: 110%; }
  132. div.body h6 { font-size: 100%; }
  133. a.headerlink {
  134. color: #aaaaaa;
  135. font-size: 0.8em;
  136. padding: 0 4px 0 4px;
  137. text-decoration: none;
  138. }
  139. a.headerlink:hover {
  140. background-color: #aaaaaa;
  141. color: white;
  142. }
  143. div.body p, div.body dd, div.body li, div.body blockquote {
  144. text-align: justify;
  145. line-height: 130%;
  146. }
  147. div.admonition p.admonition-title + p {
  148. display: inline;
  149. }
  150. div.admonition p {
  151. margin-bottom: 5px;
  152. }
  153. div.admonition pre {
  154. margin-bottom: 5px;
  155. }
  156. div.admonition ul, div.admonition ol {
  157. margin-bottom: 5px;
  158. }
  159. div.note {
  160. background-color: #eee;
  161. border: 1px solid #ccc;
  162. }
  163. div.seealso {
  164. background-color: #ffc;
  165. border: 1px solid #ff6;
  166. }
  167. nav.contents,
  168. aside.topic,
  169. div.topic {
  170. background-color: #eee;
  171. }
  172. div.warning {
  173. background-color: #ffe4e4;
  174. border: 1px solid #f66;
  175. }
  176. p.admonition-title {
  177. display: inline;
  178. }
  179. p.admonition-title:after {
  180. content: ":";
  181. }
  182. pre {
  183. padding: 5px;
  184. background-color: #eeffcc;
  185. color: #333333;
  186. line-height: 120%;
  187. border: 1px solid #ac9;
  188. border-left: none;
  189. border-right: none;
  190. }
  191. code {
  192. background-color: #ecf0f3;
  193. padding: 0 1px 0 1px;
  194. font-size: 0.95em;
  195. }
  196. th, dl.field-list > dt {
  197. background-color: #ede;
  198. }
  199. .warning code {
  200. background: #efc2c2;
  201. }
  202. .note code {
  203. background: #d6d6d6;
  204. }
  205. .viewcode-back {
  206. font-family: -apple-system, BlinkMacSystemFont, avenir next, avenir, segoe ui, helvetica neue, helvetica, Cantarell, Ubuntu, roboto, noto, arial, sans-serif;
  207. }
  208. div.viewcode-block:target {
  209. background-color: #f4debf;
  210. border-top: 1px solid #ac9;
  211. border-bottom: 1px solid #ac9;
  212. }
  213. div.code-block-caption {
  214. color: #efefef;
  215. background-color: #1c4e63;
  216. }