cookie clicker but bigger
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.
 
 
 
 

257 rindas
3.4 KiB

  1. body {
  2. font-family: Sans-Serif;
  3. user-select: none;
  4. -moz-user-select: none;
  5. }
  6. body.dark {
  7. background: #111;
  8. color: #eee;
  9. }
  10. .hidden {
  11. display: none !important;
  12. }
  13. button {
  14. background-color: #444;
  15. color: #eee;
  16. }
  17. #tasty-micro {
  18. color: #ddd;
  19. background-color: #211;
  20. width: 300px;
  21. height: 200px;
  22. position: relative;
  23. top: 30px;
  24. margin: auto;
  25. font-size: 60px;
  26. }
  27. #top-bar {
  28. background-color: #322;
  29. position: absolute;
  30. width: 100%;
  31. height: 10%;
  32. top: 0%;
  33. left: 0%;
  34. text-align: center;
  35. margin: auto;
  36. }
  37. #resources-area {
  38. position: absolute;
  39. text-align: center;
  40. width: 35%;
  41. left: 0%;
  42. top: 10%;
  43. height: 90%;
  44. margin: auto;
  45. font-size: 36px;
  46. }
  47. .resource-quantity {
  48. font-size: 30px;
  49. }
  50. .resource-rate {
  51. font-size: 18px;
  52. color: #bbb;
  53. }
  54. #buildings-area {
  55. position: absolute;
  56. width: 20%;
  57. right: 5%;
  58. top: 10%;
  59. height: 90%;
  60. overflow-x: hidden;
  61. overflow-y: scroll;
  62. }
  63. #building-tooltip {
  64. position: fixed;
  65. width: 400px;
  66. background: #333;
  67. display: none;
  68. z-index: 1;
  69. left: 0px;
  70. top: 0px;
  71. }
  72. #building-tooltip-name {
  73. font-size: 24px;
  74. color: #eee;
  75. margin: 10px;
  76. top: 10px;
  77. left: 10px;
  78. }
  79. #building-tooltip-desc {
  80. font-size: 18px;
  81. color: #bbb;
  82. margin: 10px;
  83. left: 10px;
  84. }
  85. #building-tooltip-cost {
  86. position: absolute;
  87. top: 10px;
  88. right: 10px;
  89. font-size: 20px;
  90. }
  91. #building-tooltip-prod {
  92. font-size: 14px;
  93. color: #ccc;
  94. margin: 10px;
  95. }
  96. .building-button {
  97. position: relative;
  98. display: block;
  99. width: 90%;
  100. height: 75px;
  101. background-color: #222;
  102. color: #eee;
  103. border: 5px;
  104. border-color: #666;
  105. border-style: solid;
  106. user-select: none;
  107. }
  108. .building-button-disabled {
  109. background-color: #111;
  110. color: #999;
  111. }
  112. .building-button-name {
  113. font-size: 24px;
  114. position: absolute;
  115. left: 10%;
  116. top: 15%;
  117. user-select: none;
  118. -moz-user-select: none;
  119. }
  120. .building-button-cost {
  121. font-size: 18px;
  122. position: absolute;
  123. left: 10%;
  124. bottom: 15%;
  125. }
  126. .building-button-cost-invalid {
  127. color: #f22;
  128. }
  129. .building-button-cost-valid {
  130. color: #1a1;
  131. }
  132. .building-button:hover {
  133. background-color: #333;
  134. }
  135. .building-button-disabled:hover {
  136. background-color: #111 !important;
  137. }
  138. .building-button:active {
  139. border-color: #333;
  140. background-color: #111;
  141. }
  142. .building-button-disabled:active {
  143. background-color: #111 !important;
  144. border-color: #666 !important;
  145. }
  146. #upgrades-area {
  147. position: absolute;
  148. width: 20%;
  149. right: 35%;
  150. top: 10%;
  151. }
  152. .title {
  153. font-size: 48px;
  154. height: 10%;
  155. text-align: center;
  156. }
  157. #upgrades-list {
  158. display: flex;
  159. flex-wrap: wrap;
  160. }
  161. #upgrade-tooltip {
  162. position: absolute;
  163. width: 200px;
  164. background: #333;
  165. display: none;
  166. z-index: 1;
  167. left: 0px;
  168. top: 0px;
  169. }
  170. #upgrade-tooltip-name {
  171. font-size: 24px;
  172. color: #eee;
  173. margin: 10px;
  174. top: 50%;
  175. left: 10px;
  176. }
  177. #upgrade-tooltip-desc {
  178. font-size: 14px;
  179. color: #bbb;
  180. margin: 10px;
  181. }
  182. #upgrade-tooltip-effect {
  183. font-size: 20px;
  184. margin: 10px;
  185. }
  186. #upgrade-tooltip-cost {
  187. margin: 10px;
  188. }
  189. #upgrade-tooltip-prereqs {
  190. margin: 10px;
  191. }
  192. .cost-met {
  193. color: #0f0;
  194. }
  195. .cost-unmet {
  196. color: #f00;
  197. }
  198. .upgrade-button {
  199. width: 100px;
  200. height: 100px;
  201. display: block;
  202. background-color: #444;
  203. }
  204. .upgrade-button-inactive {
  205. background-color: #222 !important;
  206. color: #999 !important;
  207. }
  208. .upgrade-button-name {
  209. position: relative;
  210. text-align: center;
  211. width: 100px;
  212. height: 100px;
  213. top: 50%;
  214. bottom: 50%;
  215. right: 50%;
  216. left: 50%;
  217. margin: -25px -50px;
  218. }