docs.css 6.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331
  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. background-color: #fafcff;
  221. border-color: #d0e0f0;
  222. border-radius: 4px;
  223. border-width: 1.5px;
  224. color: #248;
  225. padding: 1em;
  226. }
  227. div.admonition code {
  228. background-color: #edeff2;
  229. }
  230. div.admonition.warning {
  231. background-color:#fffcfa;
  232. border-color:#f0e0d0;
  233. color:#842;
  234. }
  235. div.admonition.warning code {
  236. background-color: #f5e5d5;
  237. }
  238. div.figure img {
  239. box-shadow: 0 0 20px rgba(0, 0, 0, 0.5);
  240. margin: 20px 0 0 0;
  241. }
  242. div.figure p.caption {
  243. padding: 0 0 20px 0;
  244. font-style: italic;
  245. color: #666;
  246. }
  247. table.align-default {
  248. width: 100%;
  249. }
  250. table.docutils th, table.docutils td {
  251. padding: 0.5em;
  252. border-bottom: 1px solid #ddd;
  253. }
  254. table.docutils th {
  255. background-color: unset;
  256. border-bottom: 2px solid #ddd;
  257. }
  258. .mobile-header {
  259. display:none;
  260. background-color: #d00;
  261. color: #fff;
  262. text-align: center;
  263. font-weight: 700;
  264. padding: 15px;
  265. }
  266. .mobile-header a {
  267. color: inherit;
  268. }
  269. /** Responsive utilities **/
  270. @media(max-width: 800px) {
  271. html * {
  272. box-sizing: border-box;
  273. }
  274. div.sphinxsidebar {
  275. width: 100%;
  276. margin: 0;
  277. }
  278. div.bodywrapper {
  279. margin: 0;
  280. }
  281. div.body {
  282. padding: 10px;
  283. min-height: unset;
  284. min-width: 100%;
  285. max-width: 100%;
  286. width: 100%;
  287. }
  288. div.body h1 {
  289. font-size: 1.7em;
  290. }
  291. div.body h2 {
  292. font-size: 1.3em;
  293. }
  294. div.body h3 {
  295. font-size: 1.1em;
  296. }
  297. div.logowrapper {
  298. padding: 40px 20px;
  299. }
  300. .mobile-header {
  301. display: block;
  302. }
  303. }