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.
 
 
 
 

447 lines
5.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. 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. .stat-bar-holder {
  188. user-select: none;
  189. position: relative;
  190. width: 100%;
  191. height: 30px;
  192. background-color: rgba(0, 0, 0, 1);
  193. }
  194. .stat-bar-label {
  195. width: 100%;
  196. position: absolute;
  197. text-align: center;
  198. z-index: 1;
  199. mix-blend-mode: difference;
  200. }
  201. .stat-bar {
  202. position: absolute;
  203. width: 50%;
  204. height: 30px;
  205. }
  206. .info-header {
  207. font-size: 36px;
  208. text-align: center;
  209. }
  210. #control-area {
  211. display: flex;
  212. }
  213. @media (min-aspect-ratio: 1/1) {
  214. #actions {
  215. flex-wrap: wrap;
  216. }
  217. }
  218. #actions {
  219. position: relative;
  220. flex-direction: column;
  221. flex-wrap: wrap;
  222. align-items: center;
  223. display: flex;
  224. padding: 25px;
  225. font-size: 24px;
  226. background: rgba(255, 255, 255, 0.1);
  227. max-height: 100%;
  228. }
  229. .action-button {
  230. flex: 0 0 50px;
  231. width: 250px;
  232. background-color: #888;
  233. color: #eee;
  234. margin: 5px;
  235. font-size: 24px;
  236. }
  237. #desc {
  238. padding: 25px;
  239. font-size: 18px;
  240. background: rgba(255, 255, 255, 0.15);
  241. }
  242. @media (max-aspect-ratio: 1/1) {
  243. #desc {
  244. flex: 1;
  245. }
  246. #actions {
  247. flex: 1;
  248. }
  249. }
  250. @media (max-aspect-ratio: 1/1) {
  251. #desc {
  252. flex: 0.3;
  253. }
  254. #actions {
  255. flex: 0.5;
  256. }
  257. }
  258. #moves {
  259. padding: 25px;
  260. position: relative;
  261. background: rgba(255, 255, 255, 0.1);
  262. flex: 1;
  263. }
  264. #move-holder {
  265. position: absolute;
  266. left: 50%;
  267. margin-left: -100px;
  268. top: 5%;
  269. }
  270. .move-button {
  271. width: 200px;
  272. height: 50px;
  273. }
  274. .move-button {
  275. user-select: none;
  276. background-color: #888;
  277. color: #eee;
  278. border-radius: 5px;
  279. font-size: 24px;
  280. }
  281. .move-button:focus {
  282. outline: 0px;
  283. }
  284. .disabled {
  285. background-color: #444;
  286. border: none;
  287. }
  288. #move-up-left {
  289. position: absolute;
  290. left: -140px;
  291. top: 60px;
  292. }
  293. #move-up {
  294. position: absolute;
  295. left: 0px;
  296. top: 0px;
  297. }
  298. #move-up-right {
  299. position: absolute;
  300. left: 140px;
  301. top: 60px;
  302. }
  303. #move-left {
  304. position: absolute;
  305. left: -200px;
  306. top: 120px;
  307. }
  308. #move-right {
  309. position: absolute;
  310. left: 200px;
  311. top: 120px;
  312. }
  313. #move-down-left {
  314. position: absolute;
  315. left: -140px;
  316. top: 180px;
  317. }
  318. #move-down {
  319. position: absolute;
  320. left: 0px;
  321. top: 240px;
  322. }
  323. #move-down-right {
  324. position: absolute;
  325. left: 140px;
  326. top: 180px;
  327. }
  328. #move-ascend {
  329. position: absolute;
  330. left: -200px;
  331. top: 300px;
  332. }
  333. #move-descend {
  334. position: absolute;
  335. left: 200px;
  336. top: 300px;
  337. }
  338. #area-name {
  339. font-size: 36px;
  340. margin: 10px;
  341. }
  342. #area-desc {
  343. margin: 10px;
  344. }
  345. #log::-webkit-scrollbar {
  346. width: 3px;
  347. height: 2px;
  348. }
  349. #log::-webkit-scrollbar-button {
  350. width: 0px;
  351. height: 0px;
  352. }
  353. #log::-webkit-scrollbar-thumb {
  354. background: #e1e1e1;
  355. border: 0px none #ffffff;
  356. border-radius: 50px;
  357. }
  358. #log::-webkit-scrollbar-thumb:hover {
  359. background: #ffffff;
  360. }
  361. #log::-webkit-scrollbar-thumb:active {
  362. background: #000000;
  363. }
  364. #log::-webkit-scrollbar-track {
  365. background: #666666;
  366. border: 0px none #ffffff;
  367. border-radius: 50px;
  368. }
  369. #log::-webkit-scrollbar-track:hover {
  370. background: #666666;
  371. }
  372. #log::-webkit-scrollbar-track:active {
  373. background: #333333;
  374. }
  375. #log::-webkit-scrollbar-corner {
  376. background: transparent;
  377. }