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.
 
 
 
 

131 lines
1.8 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: 100%;
  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 .building-button-name {
  39. font-size: 24px;
  40. position: relative;
  41. left: 25%;
  42. top: 10%;
  43. user-select: none;
  44. -moz-user-select: none;
  45. }
  46. .building-button .building-button-cost {
  47. font-size: 18px;
  48. position: relative;
  49. left: 25%;
  50. top: 20px;
  51. }
  52. .building-button:hover {
  53. background-color: #333;
  54. }
  55. .building-button:active {
  56. border-color: #333;
  57. background-color: #111;
  58. }
  59. #upgrades-area {
  60. position: absolute;
  61. width: 20%;
  62. right: 35%;
  63. }
  64. #upgrades-list {
  65. display: flex;
  66. flex-wrap: wrap;
  67. }
  68. #upgrade-tooltip {
  69. position: absolute;
  70. width: 200px;
  71. height: 100px;
  72. background: #222;
  73. display: none;
  74. z-index: 1;
  75. left: 0px;
  76. top: 0px;
  77. border: 5px;
  78. border-color: #fff;
  79. }
  80. #upgrade-tooltip-desc {
  81. position:absolute;
  82. top: 0px;
  83. left: 0px;
  84. }
  85. #upgrade-tooltip-effect {
  86. position: absolute;
  87. top: 50px;
  88. }
  89. #upgrade-tooltip-cost {
  90. position: absolute;
  91. right: 0px;
  92. bottom: 0px;
  93. }
  94. .upgrade-button {
  95. width: 75px;
  96. height: 75px;
  97. display: block;
  98. background-color: #444;
  99. user-select: none;
  100. -moz-user-select: none;
  101. }
  102. .upgrade-button-inactive {
  103. background-color: #222 !important;
  104. }
  105. .upgrade-button-name {
  106. position: relative;
  107. text-align: center;
  108. width: 75px;
  109. height: 75px
  110. top: 50%;
  111. left: 50%;
  112. margin: 18.75px -37.5px;
  113. }