a munch adventure
Nie możesz wybrać więcej, niż 25 tematów Tematy muszą się zaczynać od litery lub cyfry, mogą zawierać myślniki ('-') i mogą mieć do 35 znaków.
 
 
 
 

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