cookie clicker but bigger
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 

140 lines
2.0 KiB

  1. body {
  2. font-family: Sans-Serif;
  3. }
  4. body.dark {
  5. background: #111;
  6. color: #eee;
  7. }
  8. #tasty-micro {
  9. color: #ddd;
  10. background-color: #211;
  11. width: 300px;
  12. height: 200px;
  13. position: fixed;
  14. left: 15%;
  15. top: 50%;
  16. bottom: 50%;
  17. margin: auto;
  18. font-size: 60px;
  19. }
  20. #buildings-area {
  21. position: absolute;
  22. width: 20%;
  23. right: 5%;
  24. height: 100%;
  25. overflow-y: scroll;
  26. }
  27. .building-button {
  28. display: block;
  29. width: 90%;
  30. height: 75px;
  31. background-color: #222;
  32. color: #eee;
  33. border: 5px;
  34. border-color: #666;
  35. border-style: solid;
  36. user-select: none;
  37. }
  38. .building-button-disabled {
  39. background-color: #111;
  40. color: #999;
  41. }
  42. .building-button .building-button-name {
  43. font-size: 24px;
  44. position: relative;
  45. left: 25%;
  46. top: 10%;
  47. user-select: none;
  48. -moz-user-select: none;
  49. }
  50. .building-button .building-button-cost {
  51. font-size: 18px;
  52. position: relative;
  53. left: 25%;
  54. top: 20px;
  55. }
  56. .building-button:hover {
  57. background-color: #333;
  58. }
  59. .building-button-disabled:hover {
  60. background-color: #111 !important;
  61. }
  62. .building-button:active {
  63. border-color: #333;
  64. background-color: #111;
  65. }
  66. #upgrades-area {
  67. position: absolute;
  68. width: 20%;
  69. right: 35%;
  70. }
  71. #upgrades-list {
  72. display: flex;
  73. flex-wrap: wrap;
  74. }
  75. #upgrade-tooltip {
  76. position: absolute;
  77. width: 200px;
  78. height: 100px;
  79. background: #222;
  80. display: none;
  81. z-index: 1;
  82. left: 0px;
  83. top: 0px;
  84. border: 5px;
  85. border-color: #fff;
  86. }
  87. #upgrade-tooltip-desc {
  88. position:absolute;
  89. top: 0px;
  90. left: 0px;
  91. }
  92. #upgrade-tooltip-effect {
  93. position: absolute;
  94. top: 50px;
  95. }
  96. #upgrade-tooltip-cost {
  97. position: absolute;
  98. right: 0px;
  99. bottom: 0px;
  100. }
  101. .upgrade-button {
  102. width: 75px;
  103. height: 75px;
  104. display: block;
  105. background-color: #444;
  106. user-select: none;
  107. -moz-user-select: none;
  108. }
  109. .upgrade-button-inactive {
  110. background-color: #222 !important;
  111. }
  112. .upgrade-button-name {
  113. position: relative;
  114. text-align: center;
  115. width: 75px;
  116. height: 75px
  117. top: 50%;
  118. left: 50%;
  119. margin: 18.75px -37.5px;
  120. }