not really known
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.

172 lines
2.3 KiB

  1. #up-arrow {
  2. background-image: url(../assets/rotate.svg);
  3. width: 50px;
  4. height: 50px;
  5. position: absolute;
  6. background-size: contain;
  7. background-repeat: no-repeat;
  8. background-position: center;
  9. background-color: white;
  10. cursor: pointer;
  11. }
  12. #down-arrow {
  13. background-image: url(../assets/drop.svg);
  14. width: 44px;
  15. height: 45px;
  16. position: absolute;
  17. background-repeat: no-repeat;
  18. cursor: pointer;
  19. background-color: white;
  20. }
  21. #left-arrow {
  22. background-image: url(../assets/left-arrow.svg);
  23. width: 45px;
  24. height: 45px;
  25. position: absolute;
  26. background-repeat: no-repeat;
  27. cursor: pointer;
  28. background-color: white;
  29. }
  30. #right-arrow {
  31. background-image: url(../assets/right-arrow.svg);
  32. width: 45px;
  33. height: 45px;
  34. position: absolute;
  35. background-repeat: no-repeat;
  36. cursor: pointer;
  37. background-color: white;
  38. }
  39. .arrowkeys {
  40. display: block;
  41. }
  42. @media only screen and (min-width: 500px) {
  43. #canvas {
  44. width: 60vw;
  45. right: 20vw;
  46. left: 20vw;
  47. }
  48. #up-arrow {
  49. top: 40vh;
  50. left: 5vw;
  51. }
  52. #down-arrow {
  53. top: 55vh;
  54. left: 5.3vw;
  55. }
  56. #left-arrow {
  57. top: 47vh;
  58. left: 80.5vw;
  59. }
  60. #right-arrow {
  61. top: 47vh;
  62. left: 90.5vw;
  63. }
  64. }
  65. @media only screen and (min-width: 800px) {
  66. #canvas {
  67. width: 50vw;
  68. right: 25vw;
  69. left: 25vw;
  70. }
  71. #up-arrow {
  72. top: 40vh;
  73. left: 11vw;
  74. }
  75. #down-arrow {
  76. top: 55vh;
  77. left: 11.3vw;
  78. }
  79. #left-arrow {
  80. top: 47vh;
  81. left: 80vw;
  82. }
  83. #right-arrow {
  84. top: 47vh;
  85. left: 90vw;
  86. }
  87. }
  88. @media only screen and (min-width: 1100px) {
  89. #canvas {
  90. width: 40vw;
  91. right: 30vw;
  92. left: 30vw;
  93. }
  94. #up-arrow {
  95. top: 40vh;
  96. left: 13vw;
  97. }
  98. #down-arrow {
  99. top: 55vh;
  100. left: 13.3vw;
  101. }
  102. #left-arrow {
  103. top: 47vh;
  104. left: 80vw;
  105. }
  106. #right-arrow {
  107. top: 47vh;
  108. left: 90vw;
  109. }
  110. }
  111. @media only screen and (max-width: 500px) {
  112. #canvas {
  113. width: 100vw;
  114. height: 70vh;
  115. }
  116. #up-arrow {
  117. background-size: 40px;
  118. background-repeat: no-repeat;
  119. top: 82vh;
  120. left: 13vw;
  121. }
  122. #down-arrow {
  123. background-size: 38px;
  124. background-repeat: no-repeat;
  125. top: 91vh;
  126. left: 13.5vw;
  127. }
  128. #left-arrow {
  129. background-size: 41px;
  130. background-repeat: no-repeat;
  131. top: 85vh;
  132. left: 60vw;
  133. }
  134. #right-arrow {
  135. background-size: 41px;
  136. background-repeat: no-repeat;
  137. top: 85vh;
  138. left: 75vw;
  139. }
  140. }