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.
 
 
 
 

485 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: 1;
  265. }
  266. #actions {
  267. flex: 1;
  268. }
  269. }
  270. @media (max-aspect-ratio: 1/1) {
  271. #desc {
  272. flex: 0.3;
  273. }
  274. #actions {
  275. flex: 0.5;
  276. }
  277. }
  278. #moves {
  279. padding: 25px;
  280. position: relative;
  281. background: rgba(255, 255, 255, 0.1);
  282. flex: 1;
  283. }
  284. #move-holder {
  285. width: 90%;
  286. height: 90%;
  287. position: absolute;
  288. top: 5%;
  289. left: 50%;
  290. transform: translate(-50%, 0);
  291. display: grid;
  292. grid-template-columns: auto auto auto;
  293. grid-template-rows: auto auto auto auto;
  294. column-gap: 8pt;
  295. row-gap: 8pt;
  296. }
  297. .move-button {
  298. user-select: none;
  299. background-color: #888;
  300. color: #eee;
  301. border-radius: 5px;
  302. font-size: 24px;
  303. }
  304. #move-up-left {
  305. grid-column-start: 1;
  306. }
  307. #move-up {
  308. grid-column-start: 2;
  309. }
  310. #move-up-right {
  311. grid-column-start: 3;
  312. }
  313. #move-left {
  314. grid-column-start: 1;
  315. }
  316. #move-right {
  317. grid-column-start: 3;
  318. }
  319. #move-down-left {
  320. grid-column-start: 1;
  321. }
  322. #move-down {
  323. grid-column-start: 2;
  324. }
  325. #move-down-right {
  326. grid-column-start: 3;
  327. }
  328. #move-ascend {
  329. grid-column-start: 1;
  330. }
  331. #move-descend {
  332. grid-column-start: 3;
  333. }
  334. .move-button:focus {
  335. outline: 0px;
  336. }
  337. .disabled {
  338. background-color: #444;
  339. border: none;
  340. }
  341. .missing {
  342. background-color: #444;
  343. color: #aaa !important;
  344. }
  345. #area-name {
  346. margin: 10px 0px;
  347. padding: 10px;
  348. background: rgba(255,255,255,0.07);
  349. font-size: 36px;
  350. }
  351. #area-desc {
  352. margin: 10px 0px;
  353. padding: 10px;
  354. background: rgba(255,255,255,0.07);
  355. }
  356. #log::-webkit-scrollbar {
  357. width: 3px;
  358. height: 2px;
  359. }
  360. #log::-webkit-scrollbar-button {
  361. width: 0px;
  362. height: 0px;
  363. }
  364. #log::-webkit-scrollbar-thumb {
  365. background: #e1e1e1;
  366. border: 0px none #ffffff;
  367. border-radius: 50px;
  368. }
  369. #log::-webkit-scrollbar-thumb:hover {
  370. background: #ffffff;
  371. }
  372. #log::-webkit-scrollbar-thumb:active {
  373. background: #000000;
  374. }
  375. #log::-webkit-scrollbar-track {
  376. background: #666666;
  377. border: 0px none #ffffff;
  378. border-radius: 50px;
  379. }
  380. #log::-webkit-scrollbar-track:hover {
  381. background: #666666;
  382. }
  383. #log::-webkit-scrollbar-track:active {
  384. background: #333333;
  385. }
  386. #log::-webkit-scrollbar-corner {
  387. background: transparent;
  388. }
  389. #story-info {
  390. display: flex;
  391. flex-direction: column;
  392. }
  393. .tooltip {
  394. position: relative;
  395. }
  396. .tooltip::before {
  397. content: attr(data-tooltip);
  398. position: absolute;
  399. display: none;
  400. background: gray;
  401. top: -20pt;
  402. left: 50%;
  403. color: #eee;
  404. border-radius: 5pt;
  405. pointer-events: none;
  406. transform: translate(-50%, 0);
  407. }
  408. .tooltip:hover::before {
  409. display: inline-block;
  410. }