Advertisement
EstrumbiloPlease

CC CSS

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