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.
 
 
 
 

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