a munch adventure
Nevar pievienot vairāk kā 25 tēmas Tēmai ir jāsākas ar burtu vai ciparu, tā var saturēt domu zīmes ('-') un var būt līdz 35 simboliem gara.
 
 
 
 

403 rindas
5.2 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. }
  112. @media (max-aspect-ratio: 1/1) {
  113. #info-area {
  114. height: 50%;
  115. }
  116. #control-area {
  117. height: 50%;
  118. flex-direction: column;
  119. }
  120. }
  121. @media (min-aspect-ratio: 1/1) {
  122. #info-area {
  123. height: 60%;
  124. }
  125. #control-area {
  126. height: 40%;
  127. }
  128. }
  129. #log {
  130. background: #000000;
  131. flex: 4;
  132. padding: 25px;
  133. font-size: 24px;
  134. max-width: 50%;
  135. overflow: auto;
  136. }
  137. .sidebar {
  138. background: rgba(255, 255, 255, 0.1);
  139. padding: 25px;
  140. flex: 1;
  141. display: flex;
  142. flex-direction: column;
  143. font-size: 24px;
  144. }
  145. #game-menu {
  146. margin: 10px;
  147. background: rgba(255,255,255,0.07);
  148. flex: 2;
  149. }
  150. .game-menu-button {
  151. height: 100%;
  152. width: 50%;
  153. user-select: none;
  154. background-color: #111;
  155. border: 1px solid #333;
  156. font-size: 48px;
  157. color: #eee;
  158. }
  159. #world-info {
  160. margin: 10px;
  161. background: rgba(255,255,255,0.07);
  162. flex: 5;
  163. }
  164. #player-info {
  165. margin: 10px;
  166. background: rgba(255,255,255,0.07);
  167. flex: 5;
  168. }
  169. .info-header {
  170. font-size: 36px;
  171. text-align: center;
  172. }
  173. #control-area {
  174. display: flex;
  175. }
  176. @media (min-aspect-ratio: 1/1) {
  177. #actions {
  178. flex-wrap: wrap;
  179. }
  180. }
  181. #actions {
  182. position: relative;
  183. flex-direction: column;
  184. flex-wrap: wrap;
  185. align-items: center;
  186. display: flex;
  187. padding: 25px;
  188. font-size: 24px;
  189. background: rgba(255, 255, 255, 0.1);
  190. max-height: 100%;
  191. }
  192. .action-button {
  193. flex: 0 0 50px;
  194. width: 250px;
  195. background-color: #888;
  196. color: #eee;
  197. margin: 5px;
  198. font-size: 24px;
  199. }
  200. #desc {
  201. padding: 25px;
  202. font-size: 18px;
  203. background: rgba(255, 255, 255, 0.15);
  204. }
  205. @media (max-aspect-ratio: 1/1) {
  206. #desc {
  207. flex: 1;
  208. }
  209. #actions {
  210. flex: 1;
  211. }
  212. }
  213. @media (max-aspect-ratio: 1/1) {
  214. #desc {
  215. flex: 0.3;
  216. }
  217. #actions {
  218. flex: 0.5;
  219. }
  220. }
  221. #moves {
  222. padding: 25px;
  223. position: relative;
  224. background: rgba(255, 255, 255, 0.1);
  225. flex: 1;
  226. }
  227. #move-holder {
  228. position: absolute;
  229. left: 50%;
  230. margin-left: -100px;
  231. top: 5%;
  232. }
  233. .move-button {
  234. width: 200px;
  235. height: 50px;
  236. }
  237. .move-button {
  238. user-select: none;
  239. background-color: #888;
  240. color: #eee;
  241. border-radius: 5px;
  242. font-size: 24px;
  243. }
  244. .move-button:focus {
  245. outline: 0px;
  246. }
  247. .disabled {
  248. background-color: #444;
  249. border: none;
  250. }
  251. #move-up-left {
  252. position: absolute;
  253. left: -140px;
  254. top: 60px;
  255. }
  256. #move-up {
  257. position: absolute;
  258. left: 0px;
  259. top: 0px;
  260. }
  261. #move-up-right {
  262. position: absolute;
  263. left: 140px;
  264. top: 60px;
  265. }
  266. #move-left {
  267. position: absolute;
  268. left: -200px;
  269. top: 120px;
  270. }
  271. #move-right {
  272. position: absolute;
  273. left: 200px;
  274. top: 120px;
  275. }
  276. #move-down-left {
  277. position: absolute;
  278. left: -140px;
  279. top: 180px;
  280. }
  281. #move-down {
  282. position: absolute;
  283. left: 0px;
  284. top: 240px;
  285. }
  286. #move-down-right {
  287. position: absolute;
  288. left: 140px;
  289. top: 180px;
  290. }
  291. #move-ascend {
  292. position: absolute;
  293. left: -200px;
  294. top: 300px;
  295. }
  296. #move-descend {
  297. position: absolute;
  298. left: 200px;
  299. top: 300px;
  300. }
  301. #area-name {
  302. font-size: 36px;
  303. margin: 10px;
  304. }
  305. #area-desc {
  306. margin: 10px;
  307. }
  308. #log::-webkit-scrollbar {
  309. width: 3px;
  310. height: 2px;
  311. }
  312. #log::-webkit-scrollbar-button {
  313. width: 0px;
  314. height: 0px;
  315. }
  316. #log::-webkit-scrollbar-thumb {
  317. background: #e1e1e1;
  318. border: 0px none #ffffff;
  319. border-radius: 50px;
  320. }
  321. #log::-webkit-scrollbar-thumb:hover {
  322. background: #ffffff;
  323. }
  324. #log::-webkit-scrollbar-thumb:active {
  325. background: #000000;
  326. }
  327. #log::-webkit-scrollbar-track {
  328. background: #666666;
  329. border: 0px none #ffffff;
  330. border-radius: 50px;
  331. }
  332. #log::-webkit-scrollbar-track:hover {
  333. background: #666666;
  334. }
  335. #log::-webkit-scrollbar-track:active {
  336. background: #333333;
  337. }
  338. #log::-webkit-scrollbar-corner {
  339. background: transparent;
  340. }