a munch adventure
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.
 
 
 
 

193 line
2.3 KiB

  1. html, body {
  2. min-height: 100%;
  3. height: 100%;
  4. color: #eee;
  5. background-color: #333;
  6. font-family: sans-serif;
  7. }
  8. #info-area {
  9. position: relative;
  10. display: flex;
  11. height: 60%;
  12. }
  13. #log {
  14. background: #000000;
  15. flex: 4;
  16. padding: 25px;
  17. font-size: 24px;
  18. max-width: 50%;
  19. }
  20. .sidebar {
  21. background: #111111;
  22. padding: 25px;
  23. flex: 1;
  24. display: flex;
  25. flex-direction: column;
  26. font-size: 24px;
  27. }
  28. #menu {
  29. margin: 10px;
  30. background: #222;
  31. flex: 2;
  32. }
  33. #self-info {
  34. margin: 10px;
  35. background: #222;
  36. flex: 5;
  37. }
  38. #control-area {
  39. display: flex;
  40. min-height: 40%;
  41. max-height: 40%;
  42. }
  43. @media (min-aspect-ratio: 1/1) {
  44. #actions {
  45. flex-wrap: wrap;
  46. }
  47. }
  48. #actions {
  49. position: relative;
  50. flex-direction: column;
  51. align-items: center;
  52. display: flex;
  53. padding: 25px;
  54. font-size: 24px;
  55. background: #111;
  56. flex: 1;
  57. max-height: 100%;
  58. }
  59. .action-button {
  60. flex: 0 0 50px;
  61. width: 250px;
  62. background-color: #888;
  63. color: #eee;
  64. margin: 5px;
  65. font-size: 24px;
  66. }
  67. #desc {
  68. padding: 25px;
  69. font-size: 18px;
  70. background: #222;
  71. flex: 1;
  72. }
  73. #moves {
  74. padding: 25px;
  75. position: relative;
  76. background: #111;
  77. flex: 1;
  78. }
  79. #move-holder {
  80. position: absolute;
  81. left: 50%;
  82. margin-left: -100px;
  83. top: 5%;
  84. }
  85. @media (max-aspect-ratio: 1/1) {
  86. .move-button {
  87. width: 100px;
  88. height: 100px;
  89. }
  90. }
  91. @media (min-aspect-ratio: 1/1) {
  92. .move-button {
  93. width: 200px;
  94. height: 50px;
  95. }
  96. }
  97. .move-button {
  98. user-select: none;
  99. background-color: #888;
  100. color: #eee;
  101. border-radius: 5px;
  102. font-size: 24px;
  103. }
  104. .move-button:focus {
  105. outline: 0px;
  106. }
  107. .disabled {
  108. background-color: #444;
  109. border: none;
  110. }
  111. #move-up-left {
  112. position: absolute;
  113. left: -140px;
  114. top: 60px;
  115. }
  116. #move-up {
  117. position: absolute;
  118. left: 0px;
  119. top: 0px;
  120. }
  121. #move-up-right {
  122. position: absolute;
  123. left: 140px;
  124. top: 60px;
  125. }
  126. #move-left {
  127. position: absolute;
  128. left: -200px;
  129. top: 120px;
  130. }
  131. #move-right {
  132. position: absolute;
  133. left: 200px;
  134. top: 120px;
  135. }
  136. #move-down-left {
  137. position: absolute;
  138. left: -140px;
  139. top: 180px;
  140. }
  141. #move-down {
  142. position: absolute;
  143. left: 0px;
  144. top: 240px;
  145. }
  146. #move-down-right {
  147. position: absolute;
  148. left: 140px;
  149. top: 180px;
  150. }
  151. #move-ascend {
  152. position: absolute;
  153. left: -200px;
  154. top: 300px;
  155. }
  156. #move-descend {
  157. position: absolute;
  158. left: 200px;
  159. top: 300px;
  160. }
  161. #area-name {
  162. font-size: 36px;
  163. }