cookie clicker but bigger
Вы не можете выбрать более 25 тем Темы должны начинаться с буквы или цифры, могут содержать дефисы(-) и должны содержать не более 35 символов.
 
 
 
 

249 строки
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: 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 .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 .building-button-cost {
  121. font-size: 18px;
  122. position: absolute;
  123. left: 10%;
  124. bottom: 15%;
  125. }
  126. .building-button:hover {
  127. background-color: #333;
  128. }
  129. .building-button-disabled:hover {
  130. background-color: #111 !important;
  131. }
  132. .building-button:active {
  133. border-color: #333;
  134. background-color: #111;
  135. }
  136. .building-button-disabled:active {
  137. background-color: #111 !important;
  138. border-color: #666 !important;
  139. }
  140. #upgrades-area {
  141. position: absolute;
  142. width: 20%;
  143. right: 35%;
  144. top: 10%;
  145. }
  146. .title {
  147. font-size: 48px;
  148. height: 10%;
  149. text-align: center;
  150. }
  151. #upgrades-list {
  152. display: flex;
  153. flex-wrap: wrap;
  154. }
  155. #upgrade-tooltip {
  156. position: absolute;
  157. width: 200px;
  158. background: #333;
  159. display: none;
  160. z-index: 1;
  161. left: 0px;
  162. top: 0px;
  163. }
  164. #upgrade-tooltip-name {
  165. font-size: 24px;
  166. color: #eee;
  167. margin: 10px;
  168. top: 50%;
  169. left: 10px;
  170. }
  171. #upgrade-tooltip-desc {
  172. font-size: 14px;
  173. color: #bbb;
  174. margin: 10px;
  175. }
  176. #upgrade-tooltip-effect {
  177. font-size: 20px;
  178. margin: 10px;
  179. }
  180. #upgrade-tooltip-cost {
  181. margin: 10px;
  182. }
  183. #upgrade-tooltip-prereqs {
  184. margin: 10px;
  185. }
  186. .cost-met {
  187. color: #0f0;
  188. }
  189. .cost-unmet {
  190. color: #f00;
  191. }
  192. .upgrade-button {
  193. width: 100px;
  194. height: 100px;
  195. display: block;
  196. background-color: #444;
  197. }
  198. .upgrade-button-inactive {
  199. background-color: #222 !important;
  200. color: #999 !important;
  201. }
  202. .upgrade-button-name {
  203. position: relative;
  204. text-align: center;
  205. width: 100px;
  206. height: 100px;
  207. top: 50%;
  208. bottom: 50%;
  209. right: 50%;
  210. left: 50%;
  211. margin: -25px -50px;
  212. }