a munch adventure
Вы не можете выбрать более 25 тем Темы должны начинаться с буквы или цифры, могут содержать дефисы(-) и должны содержать не более 35 символов.
 
 
 
 

188 строки
2.4 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. background-color: #888;
  99. color: #eee;
  100. border-radius: 5px;
  101. }
  102. .disabled {
  103. background-color: gray;
  104. background-image: repeating-linear-gradient(45deg, transparent, transparent 35px, rgba(255,255,255,.5) 35px, rgba(255,255,255,.5) 70px);
  105. }
  106. .move-button > span {
  107. display: inline-block;
  108. font-size: 24px;
  109. }
  110. #move-up-left {
  111. position: absolute;
  112. left: -140px;
  113. top: 60px;
  114. }
  115. #move-up {
  116. position: absolute;
  117. left: 0px;
  118. top: 0px;
  119. }
  120. #move-up-right {
  121. position: absolute;
  122. left: 140px;
  123. top: 60px;
  124. }
  125. #move-left {
  126. position: absolute;
  127. left: -200px;
  128. top: 120px;
  129. }
  130. #move-right {
  131. position: absolute;
  132. left: 200px;
  133. top: 120px;
  134. }
  135. #move-down-left {
  136. position: absolute;
  137. left: -140px;
  138. top: 180px;
  139. }
  140. #move-down {
  141. position: absolute;
  142. left: 0px;
  143. top: 240px;
  144. }
  145. #move-down-right {
  146. position: absolute;
  147. left: 140px;
  148. top: 180px;
  149. }
  150. #move-climb {
  151. position: absolute;
  152. left: -200px;
  153. top: 300px;
  154. }
  155. #move-descend {
  156. position: absolute;
  157. left: 200px;
  158. top: 300px;
  159. }