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.
 
 
 
 

476 lines
6.4 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. .sidebar {
  167. background: rgba(255, 255, 255, 0.1);
  168. padding: 25px;
  169. flex: 1;
  170. display: flex;
  171. flex-direction: column;
  172. font-size: 24px;
  173. }
  174. #game-menu {
  175. margin: 10px;
  176. background: rgba(255,255,255,0.07);
  177. flex: 2;
  178. }
  179. .game-menu-button {
  180. height: 100%;
  181. width: 100%;
  182. user-select: none;
  183. background-color: #111;
  184. border: 1px solid #333;
  185. font-size: 48px;
  186. color: #eee;
  187. }
  188. #world-info {
  189. margin: 10px 0px;
  190. padding: 10px;
  191. background: rgba(255,255,255,0.07);
  192. flex: 5;
  193. }
  194. #player-info {
  195. margin: 10px 0px;
  196. padding: 10px;
  197. background: rgba(255,255,255,0.07);
  198. flex: 5;
  199. }
  200. .stat-bar-holder {
  201. user-select: none;
  202. position: relative;
  203. width: 100%;
  204. height: 30px;
  205. background-color: rgba(0, 0, 0, 1);
  206. }
  207. .stat-bar-label {
  208. width: 100%;
  209. position: absolute;
  210. text-align: center;
  211. z-index: 1;
  212. mix-blend-mode: difference;
  213. }
  214. .stat-bar {
  215. position: absolute;
  216. width: 50%;
  217. height: 30px;
  218. }
  219. .info-header {
  220. font-size: 36px;
  221. text-align: center;
  222. }
  223. #control-area {
  224. display: flex;
  225. }
  226. @media (min-aspect-ratio: 1/1) {
  227. #actions {
  228. flex-wrap: wrap;
  229. }
  230. }
  231. #actions {
  232. position: relative;
  233. flex-direction: column;
  234. flex-wrap: wrap;
  235. align-items: center;
  236. display: flex;
  237. padding: 25px;
  238. font-size: 24px;
  239. background: rgba(255, 255, 255, 0.1);
  240. max-height: 100%;
  241. }
  242. .action-button {
  243. flex: 0 0 50px;
  244. width: 250px;
  245. background-color: #888;
  246. color: #eee;
  247. margin: 5px;
  248. font-size: 24px;
  249. }
  250. #desc {
  251. padding: 25px;
  252. font-size: 18px;
  253. background: rgba(255, 255, 255, 0.15);
  254. }
  255. @media (min-aspect-ratio: 1/1) {
  256. #desc {
  257. flex: 1;
  258. }
  259. #actions {
  260. flex: 1;
  261. }
  262. }
  263. @media (max-aspect-ratio: 1/1) {
  264. #desc {
  265. flex: 0.3;
  266. }
  267. #actions {
  268. flex: 0.5;
  269. }
  270. }
  271. #moves {
  272. padding: 25px;
  273. position: relative;
  274. background: rgba(255, 255, 255, 0.1);
  275. flex: 1;
  276. }
  277. #move-holder {
  278. width: 90%;
  279. height: 90%;
  280. position: absolute;
  281. top: 5%;
  282. left: 50%;
  283. transform: translate(-50%, 0);
  284. display: grid;
  285. grid-template-columns: auto auto auto;
  286. grid-template-rows: auto auto auto auto;
  287. column-gap: 8pt;
  288. row-gap: 8pt;
  289. }
  290. .move-button {
  291. user-select: none;
  292. background-color: #888;
  293. color: #eee;
  294. border-radius: 5px;
  295. font-size: 24px;
  296. }
  297. #move-up-left {
  298. grid-column-start: 1;
  299. }
  300. #move-up {
  301. grid-column-start: 2;
  302. }
  303. #move-up-right {
  304. grid-column-start: 3;
  305. }
  306. #move-left {
  307. grid-column-start: 1;
  308. }
  309. #move-right {
  310. grid-column-start: 3;
  311. }
  312. #move-down-left {
  313. grid-column-start: 1;
  314. }
  315. #move-down {
  316. grid-column-start: 2;
  317. }
  318. #move-down-right {
  319. grid-column-start: 3;
  320. }
  321. #move-ascend {
  322. grid-column-start: 1;
  323. }
  324. #move-descend {
  325. grid-column-start: 3;
  326. }
  327. .move-button:focus {
  328. outline: 0px;
  329. }
  330. .disabled {
  331. background-color: #444;
  332. border: none;
  333. }
  334. .missing {
  335. background-color: #444;
  336. color: #aaa !important;
  337. }
  338. #area-name {
  339. margin: 10px 0px;
  340. padding: 10px;
  341. background: rgba(255,255,255,0.07);
  342. font-size: 36px;
  343. }
  344. #area-desc {
  345. margin: 10px 0px;
  346. padding: 10px;
  347. background: rgba(255,255,255,0.07);
  348. }
  349. #log::-webkit-scrollbar {
  350. width: 3px;
  351. height: 2px;
  352. }
  353. #log::-webkit-scrollbar-button {
  354. width: 0px;
  355. height: 0px;
  356. }
  357. #log::-webkit-scrollbar-thumb {
  358. background: #e1e1e1;
  359. border: 0px none #ffffff;
  360. border-radius: 50px;
  361. }
  362. #log::-webkit-scrollbar-thumb:hover {
  363. background: #ffffff;
  364. }
  365. #log::-webkit-scrollbar-thumb:active {
  366. background: #000000;
  367. }
  368. #log::-webkit-scrollbar-track {
  369. background: #666666;
  370. border: 0px none #ffffff;
  371. border-radius: 50px;
  372. }
  373. #log::-webkit-scrollbar-track:hover {
  374. background: #666666;
  375. }
  376. #log::-webkit-scrollbar-track:active {
  377. background: #333333;
  378. }
  379. #log::-webkit-scrollbar-corner {
  380. background: transparent;
  381. }
  382. #story-info {
  383. display: flex;
  384. flex-direction: column;
  385. }
  386. .tooltip {
  387. position: relative;
  388. }
  389. .tooltip::before {
  390. content: attr(data-tooltip);
  391. position: absolute;
  392. display: none;
  393. background: gray;
  394. top: -20pt;
  395. left: 50%;
  396. color: #eee;
  397. border-radius: 5pt;
  398. pointer-events: none;
  399. transform: translate(-50%, 0);
  400. }
  401. .tooltip:hover::before {
  402. display: inline-block;
  403. }