Muerteplay2

styleCSS

Sep 10th, 2022 (edited)
54
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.53 KB | None | 0 0
  1. #game
  2. {
  3. background:#fff;
  4. font-size:12px;
  5. color:rgba(0,0,0,0.9);
  6. text-shadow:none;
  7. }
  8.  
  9.  
  10. .box
  11. {
  12. text-align:center;
  13. padding:0px;
  14. box-shadow:none;
  15. }
  16. .thing,.box-header,.box-footer,.box-bit
  17. {
  18. background:rgba(255,255,255,0.5);
  19. border:1px solid rgba(0,0,0,0.9);
  20. margin:1px;
  21. }
  22. .thing:hover
  23. {
  24. background:rgba(255,255,255,0.75);
  25. }
  26.  
  27. .box-header
  28. {
  29. margin-bottom:4px;
  30. }
  31. .box-footer
  32. {
  33. margin-top:4px;
  34. }
  35.  
  36. .title
  37. {
  38. text-decoration:underline;
  39. }
  40.  
  41. #box-main
  42. {
  43. left:0px;
  44. top:0px;
  45. bottom:0px;
  46. overflow:hidden;
  47. width:60%;
  48. position:absolute;
  49. }
  50. #box-res.fullWidth
  51. {
  52. width:100%;
  53. top:5%;
  54. height:5%;
  55. min-height:32px;
  56. z-index:100;
  57. position:absolute;
  58. }
  59. #box-buttons
  60. {
  61. top:0px;
  62. right:0px;
  63. bottom:0px;
  64. left:0px;
  65. position:absolute;
  66. }
  67. #box-store
  68. {
  69. right:0px;
  70. top:0px;
  71. bottom:0px;
  72. width:40%;
  73. position:absolute;
  74. }
  75. #box-buildings,#box-upgrades
  76. {
  77. top:0px;
  78. bottom:0px;
  79. width:50%;
  80. right:0%;
  81. overflow-x:hidden;
  82. overflow-y:scroll;
  83. padding-bottom:48px;/* this is to accommodate the info and settings buttons */
  84. position:absolute;
  85. }
  86. #box-buildings
  87. {right:50%;}
  88.  
  89. #box-buildings>.box-header
  90. {
  91. padding-bottom:16px;
  92. }
  93. #bulkDisplay
  94. {
  95. margin:-20px 24px 6px 24px;
  96. border:none;
  97. background:transparent;
  98. }
  99.  
  100.  
  101. .thing
  102. {
  103. display:inline-block;
  104. padding:0px;
  105. cursor:pointer;
  106. }
  107. .thing:active
  108. {
  109. opacity:0.5;
  110. }
  111. .upgrade.owned,.achiev.owned
  112. {
  113. box-shadow:0px 0px 0px 2px rgba(0,0,0,0.5) inset;
  114. }
  115. .thing.cantAfford
  116. {
  117. opacity:0.65;
  118. }
  119. .upgrade.cantAfford
  120. {
  121. border:none;
  122. }
  123.  
  124. .thing-costs{font-weight:bold;text-shadow:1px 1px 0px rgba(0,0,0,0.5);}
  125. .cost.hasEnough{color:#0f0;}
  126. .cost.notEnough{color:#f00;}
  127.  
  128.  
  129. .button>.thing-text
  130. {
  131. text-decoration:underline;
  132. }
  133.  
  134. .building
  135. {
  136. display:block;
  137. margin-right:0px;
  138. font-size:14px;
  139. }
  140.  
  141. .fullWidth
  142. {
  143. display:block;
  144. margin-left:0px;
  145. margin-right:0px;
  146. z-index:10;
  147. }
  148. #game .fullWidth
  149. {
  150. height:auto;
  151. min-height:auto;
  152. }
  153. .fullWidth,.fullWidth:hover
  154. {
  155. background:rgba(0,0,0,0.75);
  156. box-shadow:none;
  157. color:#fff;
  158. }
  159. .fullWidth:before,.fullWidth:after
  160. {
  161. content:'';
  162. height:1px;
  163. background:rgba(255,255,255,0.75);
  164. position:absolute;
  165. left:0px;
  166. right:0px;
  167. z-index:-1;
  168. }
  169. .fullWidth:before{top:-1px;}
  170. .fullWidth:after{bottom:-1px;}
  171.  
  172. .fullWidth .thing-icon
  173. {
  174. margin-top:-10px;
  175. margin-bottom:-10px;
  176. }
  177. .fullWidth .thing-text
  178. {
  179. margin-top:-4px;
  180. margin-bottom:-4px;
  181. }
  182.  
  183. .listing
  184. {
  185. font-weight:normal;
  186. }
  187.  
  188. #game.filtersOn .thing-icon{filter:drop-shadow(3px 3px 1px rgba(0,0,0,0.5));}
  189.  
Add Comment
Please, Sign In to add comment