Advertisement
EstrumbiloPlease

NI CSS

Mar 26th, 2020
104
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.23 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 outset #0153a7;
  19. border-style: none outset outset outset;
  20. background-color: #081018;
  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-menu
  72. {
  73. top:0px;
  74. bottom:0px;
  75. width:40%;
  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.  
  83. .thing
  84. {
  85. display:inline-block;
  86. padding:0px;
  87. margin:0px;
  88. cursor:pointer;
  89. }
  90.  
  91. .thing.cantAfford
  92. {
  93. opacity:0.65;
  94. }
  95.  
  96. .thing-costs
  97. {
  98. color: #39f;
  99. }
  100.  
  101. .thing-text,.thing-costs{font-weight:bold;}
  102.  
  103. .building
  104. {
  105. border-radius:20px;
  106. border: 4px solid #246ab0;
  107. display:block;
  108. margin:2px;
  109. font-size:14px;
  110. }
  111.  
  112. .fullWidth
  113. {
  114. display:block;
  115. margin-left:0px;
  116. margin-right:0px;
  117. z-index:10;
  118. }
  119. #game .fullWidth
  120. {
  121. height:auto;
  122. min-height:auto;
  123. }
  124. .fullWidth,.fullWidth:hover
  125. {
  126. /*background:rgba(0,0,0,0.5);
  127. 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%);*/
  128. background:linear-gradient(to right,rgba(0,0,0,0) 0%,rgba(0,0,0,0.25) 50%,rgba(0,0,0,0) 100%);
  129. box-shadow:none;
  130. }
  131. .fullWidth:before,.fullWidth:after
  132. {
  133. content:'';
  134. height:1px;
  135. background:linear-gradient(to right,rgba(255,255,255,0) 0%,rgba(255,255,255,0.25) 50%,rgba(255,255,255,0) 100%);
  136. position:absolute;
  137. left:0px;
  138. right:0px;
  139. z-index:-1;
  140. }
  141. .fullWidth:before{top:-1px;}
  142. .fullWidth:after{bottom:-1px;}
  143. .fullWidth .thing-icon
  144. {
  145. margin-top:0x;
  146. margin-bottom:0px;
  147. }
  148.  
  149. .fullWidth .thing-text
  150. {
  151. margin-top:0px;
  152. margin-bottom:0px;
  153. }
  154.  
  155. #game.filtersOn .thing-icon{filter:drop-shadow(3px 3px 1px rgba(0,0,0,0.5));}
  156.  
  157. .normal
  158. {
  159.  
  160. border-radius:20px;
  161. border: 4px outset #0153a7;
  162. background-color: #081018;
  163. display:block;
  164. padding-top:4px;
  165. padding-bottom:4px;
  166. width:100%
  167. font-size:16px;
  168. text-align: center;
  169. }
  170.  
  171. .normal2
  172. {
  173.  
  174. border-radius:20px;
  175. border: 4px outset #0153a7;
  176. background-color: #081018;
  177. display:block;
  178. width:100%
  179. font-size:16px;
  180. text-align: center;
  181. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement