pocoo.css 7.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511
  1. @import url("basic.css");
  2. /* -- page layout --------------------------------------------------- */
  3. body {
  4. font-family: 'Garamond', 'Georgia', serif;
  5. font-size: 17px;
  6. background-color: #fff;
  7. color: #3e4349;
  8. margin: 0;
  9. padding: 0;
  10. }
  11. div.related {
  12. max-width: 1140px;
  13. margin: 10px auto;
  14. /* displayed on mobile */
  15. display: none;
  16. }
  17. div.document {
  18. max-width: 1140px;
  19. margin: 10px auto;
  20. }
  21. div.documentwrapper {
  22. float: left;
  23. width: 100%;
  24. }
  25. div.bodywrapper {
  26. margin: 0 0 0 220px;
  27. }
  28. div.body {
  29. min-width: initial;
  30. max-width: initial;
  31. padding: 0 30px;
  32. }
  33. div.sphinxsidebarwrapper {
  34. padding: 10px;
  35. }
  36. div.sphinxsidebar {
  37. width: 220px;
  38. font-size: 14px;
  39. line-height: 1.5;
  40. color: #444;
  41. }
  42. div.sphinxsidebar a,
  43. div.sphinxsidebar a code {
  44. color: #444;
  45. border-color: #444;
  46. }
  47. div.sphinxsidebar p.logo {
  48. margin: 0;
  49. text-align: center;
  50. }
  51. div.sphinxsidebar h3,
  52. div.sphinxsidebar h4 {
  53. font-size: 24px;
  54. color: #444;
  55. }
  56. div.sphinxsidebar p.logo a,
  57. div.sphinxsidebar h3 a,
  58. div.sphinxsidebar p.logo a:hover,
  59. div.sphinxsidebar h3 a:hover {
  60. border: none;
  61. }
  62. div.sphinxsidebar p,
  63. div.sphinxsidebar h3,
  64. div.sphinxsidebar h4 {
  65. margin: 10px 0;
  66. }
  67. div.sphinxsidebar ul {
  68. margin: 10px 0;
  69. padding: 0;
  70. }
  71. div.sphinxsidebar input {
  72. border: 1px solid #999;
  73. font-size: 1em;
  74. }
  75. div.footer {
  76. max-width: 1140px;
  77. margin: 20px auto;
  78. font-size: 14px;
  79. text-align: right;
  80. color: #888;
  81. }
  82. div.footer a {
  83. color: #888;
  84. border-color: #888;
  85. }
  86. /* -- quick search -------------------------------------------------- */
  87. div.sphinxsidebar #searchbox form {
  88. display: flex;
  89. }
  90. div.sphinxsidebar #searchbox form > div {
  91. display: flex;
  92. flex: 1 1 auto;
  93. }
  94. div.sphinxsidebar #searchbox input[type=text] {
  95. flex: 1 1 auto;
  96. width: 1% !important;
  97. }
  98. div.sphinxsidebar #searchbox input[type=submit] {
  99. border-left-width: 0;
  100. }
  101. /* -- versions ------------------------------------------------------ */
  102. div.sphinxsidebar ul.versions a.current {
  103. font-style: italic;
  104. border-bottom: 1px solid #000;
  105. color: #000;
  106. }
  107. div.sphinxsidebar ul.versions span.note {
  108. color: #999;
  109. }
  110. /* -- version warning ----------------------------------------------- */
  111. p.version-warning {
  112. top: 10px;
  113. position: sticky;
  114. margin: 10px 0;
  115. padding: 5px 10px;
  116. border-radius: 4px;
  117. letter-spacing: 1px;
  118. color: #fff;
  119. text-shadow: 0 0 2px #000;
  120. text-align: center;
  121. background: #d40 repeating-linear-gradient(
  122. 135deg,
  123. transparent,
  124. transparent 56px,
  125. rgba(255, 255, 255, 0.2) 56px,
  126. rgba(255, 255, 255, 0.2) 112px
  127. );
  128. }
  129. p.version-warning a {
  130. color: #fff;
  131. border-color: #fff;
  132. }
  133. /* -- body styles --------------------------------------------------- */
  134. a {
  135. text-decoration: none;
  136. border-bottom: 1px dotted #000;
  137. }
  138. a:hover {
  139. border-bottom-style: solid;
  140. }
  141. h1, h2, h3, h4, h5, h6 {
  142. font-weight: normal;
  143. margin: 30px 0 10px;
  144. padding: 0;
  145. color: black;
  146. }
  147. div.body h1 {
  148. font-size: 240%;
  149. }
  150. div.body h2 {
  151. font-size: 180%;
  152. }
  153. div.body h3 {
  154. font-size: 150%;
  155. }
  156. div.body h4 {
  157. font-size: 130%;
  158. }
  159. div.body h5 {
  160. font-size: 100%;
  161. }
  162. div.body h6 {
  163. font-size: 100%;
  164. }
  165. div.body h1:first-of-type {
  166. margin-top: 0;
  167. }
  168. a.headerlink {
  169. color: #ddd;
  170. margin: 0 0.2em;
  171. padding: 0 0.2em;
  172. border: none;
  173. }
  174. a.headerlink:hover {
  175. color: #444;
  176. }
  177. div.body p,
  178. div.body dd,
  179. div.body li {
  180. line-height: 1.4;
  181. }
  182. img.screenshot {
  183. box-shadow: 2px 2px 4px #eee;
  184. }
  185. hr {
  186. border: 1px solid #999;
  187. }
  188. blockquote {
  189. margin: 0 0 0 30px;
  190. padding: 0;
  191. }
  192. ul, ol {
  193. margin: 10px 0 10px 30px;
  194. padding: 0;
  195. }
  196. a.footnote-reference {
  197. font-size: 0.7em;
  198. vertical-align: top;
  199. }
  200. /* -- admonitions --------------------------------------------------- */
  201. div.admonition,
  202. div.topic {
  203. background-color: #fafafa;
  204. margin: 10px -10px;
  205. padding: 10px;
  206. border-top: 1px solid #ccc;
  207. border-right: none;
  208. border-bottom: 1px solid #ccc;
  209. border-left: none;
  210. }
  211. div.admonition p.admonition-title,
  212. div.topic p.topic-title {
  213. font-weight: normal;
  214. font-size: 24px;
  215. margin: 0 0 10px 0;
  216. padding: 0;
  217. line-height: 1;
  218. display: inline;
  219. }
  220. p.admonition-title::after {
  221. content: ":";
  222. }
  223. div.admonition p.last,
  224. div.topic p:last-child {
  225. margin-bottom: 0;
  226. }
  227. div.danger, div.error {
  228. background-color: #fff0f0;
  229. border-color: #ffb0b0;
  230. }
  231. div.seealso {
  232. background-color: #fffff0;
  233. border-color: #f0f0a8;
  234. }
  235. /* -- changelog ----------------------------------------------------- */
  236. details.changelog summary {
  237. cursor: pointer;
  238. font-style: italic;
  239. margin-bottom: 10px;
  240. }
  241. /* -- search highlight ---------------------------------------------- */
  242. dt:target,
  243. .footnote:target,
  244. span.highlighted {
  245. background-color: #ffdf80;
  246. }
  247. rect.highlighted {
  248. fill: #ffdf80;
  249. }
  250. /* -- code displays ------------------------------------------------- */
  251. pre, code {
  252. font-family: 'Consolas', 'Menlo', 'DejaVu Sans Mono', 'Bitstream Vera Sans Mono', monospace;
  253. font-size: 0.9em;
  254. }
  255. pre {
  256. margin: 0;
  257. padding: 0;
  258. line-height: 1.3;
  259. }
  260. div.literal-block-wrapper {
  261. padding: 10px 0 0;
  262. }
  263. div.code-block-caption {
  264. padding: 0;
  265. }
  266. div.highlight, div.literal-block-wrapper div.highlight {
  267. margin: 10px -10px;
  268. padding: 10px;
  269. }
  270. code {
  271. color: #222;
  272. background: #e8eff0;
  273. }
  274. /* -- tables -------------------------------------------------------- */
  275. table.docutils {
  276. border: 1px solid #888;
  277. box-shadow: 2px 2px 4px #eee;
  278. }
  279. table.docutils td,
  280. table.docutils th {
  281. border: 1px solid #888;
  282. padding: 0.25em 0.7em;
  283. }
  284. table.field-list,
  285. table.footnote {
  286. border: none;
  287. box-shadow: none;
  288. }
  289. table.footnote {
  290. margin: 15px 0;
  291. width: 100%;
  292. border: 1px solid #eee;
  293. background-color: #fafafa;
  294. font-size: 0.9em;
  295. }
  296. table.footnote + table.footnote {
  297. margin-top: -15px;
  298. border-top: none;
  299. }
  300. table.field-list th {
  301. padding: 0 0.8em 0 0;
  302. }
  303. table.field-list td {
  304. padding: 0;
  305. }
  306. table.footnote td.label {
  307. width: 0;
  308. padding: 0.3em 0 0.3em 0.5em;
  309. }
  310. table.footnote td {
  311. padding: 0.3em 0.5em;
  312. }
  313. /* -- responsive screen --------------------------------------------- */
  314. @media screen and (max-width: 1139px) {
  315. p.version-warning {
  316. margin: 10px;
  317. }
  318. div.footer {
  319. margin: 20px 10px;
  320. }
  321. }
  322. /* -- small screen -------------------------------------------------- */
  323. @media screen and (max-width: 767px) {
  324. body {
  325. padding: 0 20px;
  326. }
  327. div.related {
  328. display: block;
  329. }
  330. p.version-warning {
  331. margin: 10px 0;
  332. }
  333. div.documentwrapper {
  334. float: none;
  335. }
  336. div.bodywrapper {
  337. margin: 0;
  338. }
  339. div.body {
  340. min-height: 0;
  341. padding: 0;
  342. }
  343. div.sphinxsidebar {
  344. float: none;
  345. width: 100%;
  346. margin: 0 -20px -10px;
  347. padding: 0 20px;
  348. background-color: #333;
  349. color: #ccc;
  350. }
  351. div.sphinxsidebar a,
  352. div.sphinxsidebar a code,
  353. div.sphinxsidebar h3,
  354. div.sphinxsidebar h4,
  355. div.footer a {
  356. color: #ccc;
  357. border-color: #ccc;
  358. }
  359. div.sphinxsidebar p.logo {
  360. display: none;
  361. }
  362. div.sphinxsidebar ul.versions a.current {
  363. border-bottom-color: #fff;
  364. color: #fff;
  365. }
  366. div.footer {
  367. text-align: left;
  368. margin: 0 -20px;
  369. padding: 20px;
  370. background-color: #333;
  371. color: #ccc;
  372. }
  373. }
  374. /* https://github.com/twbs/bootstrap/blob
  375. /0e8831505ac845f3102fa2c5996a7141c9ab01ee
  376. /scss/mixins/_screen-reader.scss */
  377. .hide-header > h1:first-child {
  378. position: absolute;
  379. width: 1px;
  380. height: 1px;
  381. padding: 0;
  382. overflow: hidden;
  383. clip: rect(0, 0, 0, 0);
  384. white-space: nowrap;
  385. border: 0;
  386. }
  387. /* -- sphinx-tabs -------------------------------------------------- */
  388. .sphinx-tabs {
  389. margin-bottom: 0;
  390. }
  391. .sphinx-tabs .ui.menu {
  392. font-family: 'Garamond', 'Georgia', serif !important;
  393. }
  394. .sphinx-tabs .ui.attached.menu {
  395. border-bottom: none
  396. }
  397. .sphinx-tabs .ui.tabular.menu .item {
  398. border-bottom: 2px solid transparent;
  399. border-left: none;
  400. border-right: none;
  401. border-top: none;
  402. padding: .3em 0.6em;
  403. }
  404. .sphinx-tabs .ui.attached.segment, .ui.segment {
  405. border: 0;
  406. padding: 0;
  407. }