You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

162 lines
2.7 KiB

5 years ago
  1. <!DOCTYPE html>
  2. <html class="ocks-org do-not-copy">
  3. <head>
  4. <meta charset="utf-8">
  5. <title>Comprehensive Python Cheatsheet</title>
  6. <script src="https://code.jquery.com/jquery-3.3.1.min.js"></script>
  7. <script src="https://d3js.org/d3.v3.min.js" charset="utf-8"></script>
  8. <script src="web/showdown.min.js"></script>
  9. <link rel="stylesheet" href="web/default.min.css">
  10. <script src="web/highlight.min.js"></script>
  11. <script src="web/script.js"></script>
  12. <script async defer src="https://buttons.github.io/buttons.js"></script>
  13. </head>
  14. <style>
  15. @import url(web/style.css);
  16. .join,
  17. .link,
  18. .node rect {
  19. fill: none;
  20. stroke: #636363;
  21. stroke-width: 1.5px;
  22. }
  23. .link {
  24. stroke: #969696;
  25. }
  26. .node rect {
  27. fill: white;
  28. }
  29. .link path,
  30. .node rect,
  31. .node text,
  32. .join {
  33. -webkit-transition: stroke-opacity 500ms linear, fill-opacity 500ms linear;
  34. -moz-transition: stroke-opacity 500ms linear, fill-opacity 500ms linear;
  35. -ms-transition: stroke-opacity 500ms linear, fill-opacity 500ms linear;
  36. -o-transition: stroke-opacity 500ms linear, fill-opacity 500ms linear;
  37. transition: stroke-opacity 500ms linear, fill-opacity 500ms linear;
  38. }
  39. .node .element rect {
  40. fill: #bdbdbd;
  41. stroke: none;
  42. }
  43. .node .null rect {
  44. fill: none;
  45. stroke: none;
  46. }
  47. .node .null text {
  48. fill: #636363;
  49. }
  50. .node .selection rect {
  51. stroke: #e6550d;
  52. }
  53. .node .data rect {
  54. stroke: #3182bd;
  55. }
  56. .node .datum rect {
  57. fill: #d9d9d9;
  58. stroke: none;
  59. }
  60. .node .code text {
  61. font-family: monospace;
  62. }
  63. .node .key rect {
  64. fill: #a1d99b;
  65. stroke: none;
  66. }
  67. .link .to-key,
  68. .join {
  69. stroke: #a1d99b;
  70. }
  71. .join {
  72. stroke-dasharray: 2,2;
  73. }
  74. .link .to-null {
  75. stroke-dasharray: .5,3.5;
  76. stroke-linecap: round;
  77. }
  78. .link .from-data {
  79. stroke: #3182bd;
  80. }
  81. .play circle {
  82. fill: #fff;
  83. stroke: #000;
  84. stroke-width: 3px;
  85. }
  86. .play:hover path {
  87. fill: #f00;
  88. }
  89. .play.mousedown circle {
  90. fill: #f00;
  91. }
  92. .play.mousedown path {
  93. fill: #fff;
  94. }
  95. .play rect {
  96. fill: none;
  97. pointer-events: all;
  98. cursor: pointer;
  99. }
  100. code span {
  101. -webkit-transition: background 250ms linear;
  102. -moz-transition: background 250ms linear;
  103. -ms-transition: background 250ms linear;
  104. -o-transition: background 250ms linear;
  105. transition: background 250ms linear;
  106. }
  107. pre.prettyprint, code.prettyprint {
  108. background-color: #222;
  109. border-radius: 8px;
  110. font-size: 15px;
  111. }
  112. pre.prettyprint {
  113. width: 90%;
  114. margin: 0.5em;
  115. padding: 1em;
  116. white-space: pre-wrap;
  117. }
  118. </style>
  119. <body>
  120. <header>
  121. <aside>March 14, 2018</aside>
  122. <a href="../" rel="author">Jure Šorn</a>
  123. </header>
  124. <div id=main_container></div>
  125. <footer>
  126. <aside>March 14, 2018</aside>
  127. <a href="../" rel="author">Jure Šorn</a>
  128. </footer>
  129. <br>
  130. <br>
  131. <br>
  132. </body>
  133. </html>