This repo contains code to mirror other repos. It also contains the code that is getting mirrored.
Du kan inte välja fler än 25 ämnen Ämnen måste starta med en bokstav eller siffra, kan innehålla bindestreck ('-') och vara max 35 tecken långa.

102 rader
2.2 KiB

  1. <!doctype html>
  2. <html>
  3. <head>
  4. <meta charset="UTF-8">
  5. <!-- flip comment below to use local pyodide -->
  6. <script src="https://pyodide-cdn2.iodide.io/v0.15.0/full/pyodide.js"></script>
  7. <!-- <script src="./pyodide/pyodide.js"></script> -->
  8. <link rel="stylesheet" href="https://unpkg.com/purecss@1.0.1/build/base-min.css">
  9. <link href="https://fonts.googleapis.com/css2?family=Inconsolata:wght@500&display=swap" rel="stylesheet">
  10. <script src="app.js"></script>
  11. <style>
  12. .is-loading:after {
  13. background-image: url(is-loading.gif);
  14. background-position: center 35%;
  15. background-repeat: no-repeat;
  16. background-color: hsla(0, 0%, 100%, .6);
  17. position: absolute;
  18. z-index: 700;
  19. content: " ";
  20. width: 100%;
  21. height: 100%;
  22. display: block;
  23. left: 0;
  24. right: 0;
  25. top: 0;
  26. bottom: 0
  27. }
  28. h1 {
  29. text-align: center;
  30. }
  31. textarea, select, body > div > ul {
  32. /* display: block;
  33. margin: 15px auto;
  34. width: 90%;
  35. font-weight: bold;
  36. color: #052569; */
  37. font-family: 'Inconsolata', monospace;
  38. }
  39. textarea {
  40. margin: 10px;
  41. width: 90%;
  42. padding: 10px;
  43. font-size: 1.4em;
  44. }
  45. #grammar {
  46. min-height: 300px;
  47. }
  48. #input {
  49. min-height: 100px;
  50. }
  51. ul ul {
  52. border-left: 1px dotted silver;
  53. margin-left: -16px;
  54. }
  55. li {
  56. list-style: circle;
  57. margin-left: 10px;
  58. }
  59. select {
  60. padding: 5px;
  61. }
  62. #inputs {
  63. text-align: center;
  64. }
  65. #result {
  66. display: flex;
  67. justify-content: center;
  68. }
  69. #result > ul {
  70. margin: 10px;
  71. width: 90%;
  72. padding: 10px;
  73. font-size: 1.2em;
  74. }
  75. menu {
  76. display: flex;
  77. }
  78. main {
  79. margin: auto;
  80. }
  81. </style>
  82. </head>
  83. <body class="is-loading">
  84. </body>
  85. </html>