a munch adventure
Você não pode selecionar mais de 25 tópicos Os tópicos devem começar com uma letra ou um número, podem incluir traços ('-') e podem ter até 35 caracteres.
 
 
 
 

257 linhas
3.3 KiB

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