2
0

docs.css 6.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361
  1. @import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;700&display=swap');
  2. body {
  3. font-family: "Inter",-apple-system,BlinkMacSystemFont,Roboto,"Helvetica Neue","Arial Nova",sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol",sans-serif;
  4. font-weight: 400;
  5. line-height: 1.5em;
  6. }
  7. code, pre {
  8. background-color:#f1f3fa;
  9. font-family: SFMono-Regular,Menlo,Monaco,Consolas,monospace;
  10. font-size: 0.85em;
  11. line-height: unset;
  12. }
  13. div.body {
  14. padding: 0 40px 40px 40px;
  15. line-height: unset;
  16. min-height: 100vh;
  17. }
  18. div.body h1,
  19. div.body h2,
  20. div.body h3,
  21. div.body h4,
  22. div.body h5,
  23. div.body h6 {
  24. border: none;
  25. font-weight: 700;
  26. margin: 1.5em 0 0 0;
  27. padding: 0;
  28. }
  29. div.body h1 {
  30. font-size: 2.5em;
  31. margin-bottom: 1em;
  32. line-height: 1;
  33. }
  34. div.body h2 {
  35. font-size: 1.5em;
  36. }
  37. div.body h3 {
  38. font-size: 1.2em;
  39. }
  40. div.body p,
  41. div.body dd,
  42. div.body li,
  43. div.body blockquote {
  44. line-height: unset;
  45. text-align: unset;
  46. }
  47. div.body li {
  48. margin: 0.5em 0;
  49. }
  50. div.body li li {
  51. margin: 0.1em 0;
  52. }
  53. div.bodywrapper {
  54. background-color:#f1f3fa;
  55. margin: 0 0 0 300px;
  56. }
  57. div.document {
  58. background: linear-gradient(135deg, #200030 0vh, #102060 100vh);
  59. background-attachment: fixed;
  60. }
  61. div.related {
  62. line-height: unset;
  63. padding: 20px 0;
  64. border-bottom: 1px solid #ddd;
  65. }
  66. div.related ul {
  67. padding: 0;
  68. }
  69. div.body li.nav-item {
  70. margin-left: 0.5em;
  71. }
  72. div.body li.nav-item a {
  73. margin-right: 0.5em;
  74. }
  75. div.related a,
  76. div.sphinxsidebar .toctree-l1 a,
  77. div.sphinxsidebar .topless a,
  78. div.prevnext a {
  79. border-bottom: 3px solid transparent;
  80. transition: 0.2s ease all;
  81. }
  82. div.related a:hover,
  83. div.sphinxsidebar .toctree-l1 a:hover,
  84. div.sphinxsidebar .topless a:hover,
  85. div.prevnext a:hover {
  86. border-bottom: 3px solid #0aa;
  87. text-decoration: none;
  88. transition: 0.2s ease all;
  89. }
  90. div.logowrapper {
  91. margin: -20px -20px 40px -20px;
  92. padding: 20px;
  93. background-color: #d00;
  94. text-align: center;
  95. }
  96. p.logo {
  97. padding: 10px 20px;
  98. font-size: 1.5em;
  99. }
  100. div.sphinxsidebar div.logowrapper p,
  101. div.sphinxsidebar div.logowrapper a {
  102. color: #fff;
  103. }
  104. p.version {
  105. margin: 0 0 10px 0;
  106. font-size: 1rem;
  107. }
  108. code {
  109. padding: 0.1em 0.5em;
  110. border-radius: 4px;
  111. }
  112. pre {
  113. padding: 15px;
  114. border: none;
  115. border-radius: 4px;
  116. line-height: 1.2em;
  117. }
  118. a.headerlink {
  119. color: #0aa;
  120. margin-left: 0.3em;
  121. }
  122. a.headerlink:hover {
  123. background-color: #0aa;
  124. color: #fff;
  125. }
  126. div.sphinxsidebarwrapper {
  127. padding: 0;
  128. }
  129. div.sphinxsidebar {
  130. padding: 20px;
  131. font-size: 0.875em;
  132. }
  133. div.sphinxsidebar .sphinxsidebarwrapper > ul {
  134. margin-top: 40px;
  135. }
  136. div.sphinxsidebar h3 {
  137. text-transform: uppercase;
  138. font-size: 0.875em;
  139. font-weight: 700;
  140. color: #fff;
  141. }
  142. div.sphinxsidebar input {
  143. font-family: inherit;
  144. border: none;
  145. }
  146. div.sphinxsidebar #searchbox input[type='text'] {
  147. background-color: rgba(255,255,255,0.1);
  148. color: #fff;
  149. padding: 0.5em 0.8em;
  150. transition: .2s ease all;
  151. }
  152. div.sphinxsidebar #searchbox input[type='text']:focus {
  153. background-color: rgba(255,255,255,0.2);
  154. transition: .2s ease all;
  155. }
  156. div.sphinxsidebar #searchbox input[type='text']::placeholder {
  157. color: #fff;
  158. opacity: .7;
  159. }
  160. div.sphinxsidebar #searchbox input[type='text']::-ms-input-placeholder {
  161. color: #fff;
  162. opacity: .7;
  163. }
  164. div.sphinxsidebar #searchbox input[type='submit'] {
  165. background-color: rgba(255,255,255,0.3);
  166. color: #fff;
  167. padding: 0.5em 0.8em;
  168. font-weight: 700;
  169. transition: .2s ease all;
  170. }
  171. div.sphinxsidebar #searchbox input[type='submit']:hover,
  172. div.sphinxsidebar #searchbox input[type='submit']:focus {
  173. background-color: #0aa;
  174. transition: .2s ease all;
  175. }
  176. div.sphinxsidebar ul {
  177. line-height: 1em;
  178. margin: 0;
  179. }
  180. div.sphinxsidebar ul ul, div.sphinxsidebar ul.want-points {
  181. list-style-type: disc;
  182. }
  183. div.sphinxsidebar ul ul li {
  184. margin-top: 0.7em;
  185. margin-bottom: 0.7em;
  186. }
  187. div.sphinxsidebar li.toctree-l1,
  188. div.sphinxsidebar p.topless {
  189. margin: 1em 0;
  190. }
  191. div.sphinxsidebar li.toctree-l1.current > a,
  192. div.sphinxsidebar a.current.reference {
  193. color: #fff;
  194. font-weight: 700;
  195. }
  196. div.prevnext {
  197. border-top: 1px solid #ddd;
  198. border-bottom: 1px solid #ddd;
  199. margin: 40px 0;
  200. padding: 20px 0;
  201. }
  202. div.prevnext a {
  203. color:#888;
  204. }
  205. div.prevnext .item.right {
  206. float: right;
  207. text-align: right;
  208. }
  209. div.prevnext .item.left {
  210. float: left;
  211. text-align: left;
  212. }
  213. div.footer {
  214. font-size: 0.8em;
  215. }
  216. .clearfix {
  217. clear: both;
  218. }
  219. div.admonition,
  220. div.versionadded,
  221. div.versionchanged,
  222. div.deprecated {
  223. background-color: #fafcff;
  224. border: 1px solid #d0e0f0;
  225. border-radius: 4px;
  226. border-width: 1.5px;
  227. color: #248;
  228. padding: 1em;
  229. margin: 1em 0;
  230. }
  231. div.admonition code,
  232. div.versionadded code,
  233. div.versionchanged code,
  234. div.deprecated code {
  235. background-color: #edeff2;
  236. }
  237. div.admonition.warning,
  238. div.versionchanged,
  239. div.deprecated {
  240. background-color:#fffcfa;
  241. border-color:#f0e0d0;
  242. color:#842;
  243. }
  244. div.admonition.warning code,
  245. div.versionchanged code,
  246. div.deprecated code {
  247. background-color: #f5e5d5;
  248. }
  249. div.admonition > :last-child,
  250. div.versionadded > :last-child,
  251. div.versionchanged > :last-child,
  252. div.deprecated > :last-child {
  253. margin-bottom: 0;
  254. }
  255. div.admonition > :first-child,
  256. div.versionadded > :first-child,
  257. div.versionchanged > :first-child,
  258. div.deprecated > :first-child {
  259. margin-top: 0;
  260. }
  261. p.admonition-title,
  262. span.versionmodified {
  263. font-weight: 700;
  264. font-style: normal;
  265. margin: 0 0.5em 0 0;
  266. display: inline;
  267. }
  268. div.figure img {
  269. box-shadow: 0 0 20px rgba(0, 0, 0, 0.5);
  270. margin: 20px 0 0 0;
  271. }
  272. div.figure p.caption {
  273. padding: 0 0 20px 0;
  274. font-style: italic;
  275. color: #666;
  276. }
  277. table.align-default {
  278. width: 100%;
  279. }
  280. table.docutils th, table.docutils td {
  281. padding: 0.5em;
  282. border-bottom: 1px solid #ddd;
  283. }
  284. table.docutils th {
  285. background-color: unset;
  286. border-bottom: 2px solid #ddd;
  287. }
  288. .mobile-header {
  289. display:none;
  290. background-color: #d00;
  291. color: #fff;
  292. text-align: center;
  293. font-weight: 700;
  294. padding: 15px;
  295. }
  296. .mobile-header a {
  297. color: inherit;
  298. }
  299. /** Responsive utilities **/
  300. @media(max-width: 800px) {
  301. html * {
  302. box-sizing: border-box;
  303. }
  304. div.sphinxsidebar {
  305. width: 100%;
  306. margin: 0;
  307. }
  308. div.bodywrapper {
  309. margin: 0;
  310. }
  311. div.body {
  312. padding: 10px;
  313. min-height: unset;
  314. min-width: 100%;
  315. max-width: 100%;
  316. width: 100%;
  317. }
  318. div.body h1 {
  319. font-size: 1.7em;
  320. }
  321. div.body h2 {
  322. font-size: 1.3em;
  323. }
  324. div.body h3 {
  325. font-size: 1.1em;
  326. }
  327. div.logowrapper {
  328. padding: 40px 20px;
  329. }
  330. .mobile-header {
  331. display: block;
  332. }
  333. }