cookie clicker but bigger
25개 이상의 토픽을 선택하실 수 없습니다. Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 

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