a munch adventure
25개 이상의 토픽을 선택하실 수 없습니다. Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 

241 lines
2.8 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: 15%;
  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. background-color: #888;
  99. color: #eee;
  100. border-radius: 5px;
  101. }
  102. /* nicked from the internet */
  103. /*
  104. .move-button:before,
  105. .move-button:after {
  106. content: '';
  107. position: absolute;
  108. right: -20px;
  109. width: 32px;
  110. height: 15px;
  111. border-radius: 5px;
  112. background: #888;
  113. }
  114. .move-button:before {
  115. top: 9px;
  116. -webkit-
  117. -ms-
  118. }
  119. .move-button:after {
  120. bottom: 9px;
  121. -webkit-
  122. -ms-
  123. }*/
  124. .disabled {
  125. background-color: gray;
  126. background-image: repeating-linear-gradient(45deg, transparent, transparent 35px, rgba(255,255,255,.5) 35px, rgba(255,255,255,.5) 70px);
  127. }
  128. .move-button > span {
  129. display: inline-block;
  130. font-size: 24px;
  131. }
  132. #move-up-left {
  133. position: absolute;
  134. left: -140px;
  135. top: 60px;
  136. }
  137. #move-up-left > span {
  138. }
  139. #move-up {
  140. position: absolute;
  141. left: 0px;
  142. top: 0px;
  143. }
  144. #move-up > span {
  145. }
  146. #move-up-right {
  147. position: absolute;
  148. left: 140px;
  149. top: 60px;
  150. }
  151. #move-up-right > span {
  152. }
  153. #move-left {
  154. position: absolute;
  155. left: -200px;
  156. top: 120px;
  157. }
  158. #move-left > span {
  159. }
  160. #move-right {
  161. position: absolute;
  162. left: 200px;
  163. top: 120px;
  164. }
  165. #move-right > span {
  166. }
  167. #move-down-left {
  168. position: absolute;
  169. left: -140px;
  170. top: 180px;
  171. }
  172. #move-down-left > span {
  173. }
  174. #move-down {
  175. position: absolute;
  176. left: 0px;
  177. top: 240px;
  178. }
  179. #move-down > span {
  180. }
  181. #move-down-right {
  182. position: absolute;
  183. left: 140px;
  184. top: 180px;
  185. }
  186. #move-down-right > span {
  187. }