a munch adventure
No puede seleccionar más de 25 temas Los temas deben comenzar con una letra o número, pueden incluir guiones ('-') y pueden tener hasta 35 caracteres de largo.
 
 
 
 

366 líneas
4.8 KiB

  1. html, body, .scene {
  2. min-height: 100%;
  3. height: 100%;
  4. color: #eee;
  5. background-color: #000;
  6. font-family: sans-serif;
  7. }
  8. .hidden-scene {
  9. display: none;
  10. }
  11. .hidden-modal {
  12. display: none;
  13. }
  14. a {
  15. color: #8888FF;
  16. text-decoration: none;
  17. }
  18. a:visited {
  19. color: #8888DD;
  20. }
  21. a:hover {
  22. color: #AAAAEE;
  23. }
  24. a:hover {
  25. text-shadow: 0px 0px 5px #eeeeff;
  26. text-decoration: none;
  27. }
  28. #pick {
  29. text-align: center;
  30. }
  31. #pick-blurb {
  32. font-size: 24px;
  33. }
  34. #game-select {
  35. user-select: none;
  36. font-size: 32px;
  37. background-color: #111;
  38. color: #eee;
  39. border: 1px solid #333;
  40. width: 200px;
  41. height: 50px;
  42. }
  43. #start-button {
  44. user-select: none;
  45. width: 200px;
  46. height: 100px;
  47. background-color: #111;
  48. border: 1px solid #333;
  49. font-size: 48px;
  50. color: #eee;
  51. }
  52. .modal {
  53. position: fixed;
  54. z-index: 1;
  55. height: 100%;
  56. width: 100%;
  57. left: 0;
  58. top: 0;
  59. background-color: rgba(0,0,0,0.5);
  60. text-align: center;
  61. display: flex;
  62. justify-content: center;
  63. align-content: center;
  64. align-items: center;
  65. }
  66. .modal-content {
  67. display: flex;
  68. flex-direction: column;
  69. justify-content: center;
  70. align-content: center;
  71. position: relative;
  72. flex-wrap: nowrap;
  73. text-align: center;
  74. width: 300px;
  75. padding: 100px;
  76. background-color: rgba(0, 0, 0, 0.9);
  77. }
  78. .menu-header {
  79. width: 100%;
  80. height: 75px;
  81. font-size: 48px;
  82. }
  83. .menu-button {
  84. width: 100%;
  85. height: 50px;
  86. background-color: #111;
  87. border: 1px solid #333;
  88. font-size: 24px;
  89. color: #eee;
  90. }
  91. .menu-button:active {
  92. background-color: #222;
  93. }
  94. .menu-button:focus {
  95. outline: 0px;
  96. }
  97. .menu-slider {
  98. background: #555;
  99. width: 100%;
  100. height: 50px;
  101. }
  102. .menu-label {
  103. width: 100%;
  104. height: 25px;
  105. font-size: 36px;
  106. }
  107. #info-area {
  108. position: relative;
  109. display: flex;
  110. height: 60%;
  111. }
  112. #log {
  113. background: #000000;
  114. flex: 4;
  115. padding: 25px;
  116. font-size: 24px;
  117. max-width: 50%;
  118. overflow: auto;
  119. }
  120. .sidebar {
  121. background: #111111;
  122. padding: 25px;
  123. flex: 1;
  124. display: flex;
  125. flex-direction: column;
  126. font-size: 24px;
  127. }
  128. #game-menu {
  129. margin: 10px;
  130. background: #222;
  131. flex: 2;
  132. }
  133. .game-menu-button {
  134. height: 100%;
  135. width: 50%;
  136. user-select: none;
  137. background-color: #111;
  138. border: 1px solid #333;
  139. font-size: 48px;
  140. color: #eee;
  141. }
  142. #world-info {
  143. margin: 10px;
  144. background: #222;
  145. flex: 5;
  146. }
  147. #player-info {
  148. margin: 10px;
  149. background: #222;
  150. flex: 5;
  151. }
  152. .info-header {
  153. font-size: 36px;
  154. text-align: center;
  155. }
  156. #control-area {
  157. display: flex;
  158. min-height: 40%;
  159. max-height: 40%;
  160. }
  161. @media (min-aspect-ratio: 1/1) {
  162. #actions {
  163. flex-wrap: wrap;
  164. }
  165. }
  166. #actions {
  167. position: relative;
  168. flex-direction: column;
  169. align-items: center;
  170. display: flex;
  171. padding: 25px;
  172. font-size: 24px;
  173. background: #111;
  174. flex: 1;
  175. max-height: 100%;
  176. }
  177. .action-button {
  178. flex: 0 0 50px;
  179. width: 250px;
  180. background-color: #888;
  181. color: #eee;
  182. margin: 5px;
  183. font-size: 24px;
  184. }
  185. #desc {
  186. padding: 25px;
  187. font-size: 18px;
  188. background: #222;
  189. flex: 1;
  190. }
  191. #moves {
  192. padding: 25px;
  193. position: relative;
  194. background: #111;
  195. flex: 1;
  196. }
  197. #move-holder {
  198. position: absolute;
  199. left: 50%;
  200. margin-left: -100px;
  201. top: 5%;
  202. }
  203. @media (max-aspect-ratio: 1/1) {
  204. .move-button {
  205. width: 100px;
  206. height: 100px;
  207. }
  208. }
  209. @media (min-aspect-ratio: 1/1) {
  210. .move-button {
  211. width: 200px;
  212. height: 50px;
  213. }
  214. }
  215. .move-button {
  216. user-select: none;
  217. background-color: #888;
  218. color: #eee;
  219. border-radius: 5px;
  220. font-size: 24px;
  221. }
  222. .move-button:focus {
  223. outline: 0px;
  224. }
  225. .disabled {
  226. background-color: #444;
  227. border: none;
  228. }
  229. #move-up-left {
  230. position: absolute;
  231. left: -140px;
  232. top: 60px;
  233. }
  234. #move-up {
  235. position: absolute;
  236. left: 0px;
  237. top: 0px;
  238. }
  239. #move-up-right {
  240. position: absolute;
  241. left: 140px;
  242. top: 60px;
  243. }
  244. #move-left {
  245. position: absolute;
  246. left: -200px;
  247. top: 120px;
  248. }
  249. #move-right {
  250. position: absolute;
  251. left: 200px;
  252. top: 120px;
  253. }
  254. #move-down-left {
  255. position: absolute;
  256. left: -140px;
  257. top: 180px;
  258. }
  259. #move-down {
  260. position: absolute;
  261. left: 0px;
  262. top: 240px;
  263. }
  264. #move-down-right {
  265. position: absolute;
  266. left: 140px;
  267. top: 180px;
  268. }
  269. #move-ascend {
  270. position: absolute;
  271. left: -200px;
  272. top: 300px;
  273. }
  274. #move-descend {
  275. position: absolute;
  276. left: 200px;
  277. top: 300px;
  278. }
  279. #area-name {
  280. font-size: 36px;
  281. }
  282. #log::-webkit-scrollbar {
  283. width: 3px;
  284. height: 2px;
  285. }
  286. #log::-webkit-scrollbar-button {
  287. width: 0px;
  288. height: 0px;
  289. }
  290. #log::-webkit-scrollbar-thumb {
  291. background: #e1e1e1;
  292. border: 0px none #ffffff;
  293. border-radius: 50px;
  294. }
  295. #log::-webkit-scrollbar-thumb:hover {
  296. background: #ffffff;
  297. }
  298. #log::-webkit-scrollbar-thumb:active {
  299. background: #000000;
  300. }
  301. #log::-webkit-scrollbar-track {
  302. background: #666666;
  303. border: 0px none #ffffff;
  304. border-radius: 50px;
  305. }
  306. #log::-webkit-scrollbar-track:hover {
  307. background: #666666;
  308. }
  309. #log::-webkit-scrollbar-track:active {
  310. background: #333333;
  311. }
  312. #log::-webkit-scrollbar-corner {
  313. background: transparent;
  314. }