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.
 
 
 
 

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