a munch adventure
No puede seleccionar más de 25 temas Los temas deben comenzar con una letra o número, pueden incluir guiones ('-') y pueden tener hasta 35 caracteres de largo.
 
 
 
 

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