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.
 
 
 
 

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