cookie clicker but bigger
Você não pode selecionar mais de 25 tópicos Os tópicos devem começar com uma letra ou um número, podem incluir traços ('-') e podem ter até 35 caracteres.
 
 
 
 

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