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.
 
 
 
 

239 lines
3.1 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. overflow: auto;
  20. }
  21. .sidebar {
  22. background: #111111;
  23. padding: 25px;
  24. flex: 1;
  25. display: flex;
  26. flex-direction: column;
  27. font-size: 24px;
  28. }
  29. #menu {
  30. margin: 10px;
  31. background: #222;
  32. flex: 2;
  33. }
  34. #world-info {
  35. margin: 10px;
  36. background: #222;
  37. flex: 5;
  38. }
  39. #player-info {
  40. margin: 10px;
  41. background: #222;
  42. flex: 5;
  43. }
  44. .info-header {
  45. font-size: 36px;
  46. text-align: center;
  47. }
  48. #control-area {
  49. display: flex;
  50. min-height: 40%;
  51. max-height: 40%;
  52. }
  53. @media (min-aspect-ratio: 1/1) {
  54. #actions {
  55. flex-wrap: wrap;
  56. }
  57. }
  58. #actions {
  59. position: relative;
  60. flex-direction: column;
  61. align-items: center;
  62. display: flex;
  63. padding: 25px;
  64. font-size: 24px;
  65. background: #111;
  66. flex: 1;
  67. max-height: 100%;
  68. }
  69. .action-button {
  70. flex: 0 0 50px;
  71. width: 250px;
  72. background-color: #888;
  73. color: #eee;
  74. margin: 5px;
  75. font-size: 24px;
  76. }
  77. #desc {
  78. padding: 25px;
  79. font-size: 18px;
  80. background: #222;
  81. flex: 1;
  82. }
  83. #moves {
  84. padding: 25px;
  85. position: relative;
  86. background: #111;
  87. flex: 1;
  88. }
  89. #move-holder {
  90. position: absolute;
  91. left: 50%;
  92. margin-left: -100px;
  93. top: 5%;
  94. }
  95. @media (max-aspect-ratio: 1/1) {
  96. .move-button {
  97. width: 100px;
  98. height: 100px;
  99. }
  100. }
  101. @media (min-aspect-ratio: 1/1) {
  102. .move-button {
  103. width: 200px;
  104. height: 50px;
  105. }
  106. }
  107. .move-button {
  108. user-select: none;
  109. background-color: #888;
  110. color: #eee;
  111. border-radius: 5px;
  112. font-size: 24px;
  113. }
  114. .move-button:focus {
  115. outline: 0px;
  116. }
  117. .disabled {
  118. background-color: #444;
  119. border: none;
  120. }
  121. #move-up-left {
  122. position: absolute;
  123. left: -140px;
  124. top: 60px;
  125. }
  126. #move-up {
  127. position: absolute;
  128. left: 0px;
  129. top: 0px;
  130. }
  131. #move-up-right {
  132. position: absolute;
  133. left: 140px;
  134. top: 60px;
  135. }
  136. #move-left {
  137. position: absolute;
  138. left: -200px;
  139. top: 120px;
  140. }
  141. #move-right {
  142. position: absolute;
  143. left: 200px;
  144. top: 120px;
  145. }
  146. #move-down-left {
  147. position: absolute;
  148. left: -140px;
  149. top: 180px;
  150. }
  151. #move-down {
  152. position: absolute;
  153. left: 0px;
  154. top: 240px;
  155. }
  156. #move-down-right {
  157. position: absolute;
  158. left: 140px;
  159. top: 180px;
  160. }
  161. #move-ascend {
  162. position: absolute;
  163. left: -200px;
  164. top: 300px;
  165. }
  166. #move-descend {
  167. position: absolute;
  168. left: 200px;
  169. top: 300px;
  170. }
  171. #area-name {
  172. font-size: 36px;
  173. }
  174. #log::-webkit-scrollbar {
  175. width: 3px;
  176. height: 2px;
  177. }
  178. #log::-webkit-scrollbar-button {
  179. width: 0px;
  180. height: 0px;
  181. }
  182. #log::-webkit-scrollbar-thumb {
  183. background: #e1e1e1;
  184. border: 0px none #ffffff;
  185. border-radius: 50px;
  186. }
  187. #log::-webkit-scrollbar-thumb:hover {
  188. background: #ffffff;
  189. }
  190. #log::-webkit-scrollbar-thumb:active {
  191. background: #000000;
  192. }
  193. #log::-webkit-scrollbar-track {
  194. background: #666666;
  195. border: 0px none #ffffff;
  196. border-radius: 50px;
  197. }
  198. #log::-webkit-scrollbar-track:hover {
  199. background: #666666;
  200. }
  201. #log::-webkit-scrollbar-track:active {
  202. background: #333333;
  203. }
  204. #log::-webkit-scrollbar-corner {
  205. background: transparent;
  206. }