cookie clicker but bigger
Vous ne pouvez pas sélectionner plus de 25 sujets Les noms de sujets doivent commencer par une lettre ou un nombre, peuvent contenir des tirets ('-') et peuvent comporter jusqu'à 35 caractères.
 
 
 
 

240 lignes
3.3 KiB

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