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

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