Advertisement
_dk

style.css

_dk
Jun 22nd, 2013
124
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.98 KB | None | 0 0
  1. @font-face {
  2. font-family: tf2build;
  3. src: url('fonts/tf2Build.ttf');
  4. }
  5.  
  6. body {
  7. background: url("backgrounds/2fort.jpeg");
  8. background-size: cover;
  9.  
  10. margin: 25px;
  11.  
  12. font-family: tf2build;
  13. font-size: 15px;
  14. color: white;
  15. }
  16.  
  17. a {
  18. color: white;
  19. }
  20.  
  21. #character {
  22. position: fixed;
  23. z-index: -1;
  24.  
  25. height: 500px;
  26. right: 0px;
  27. bottom: 0;
  28. }
  29.  
  30. #play {
  31. z-index: 1;
  32.  
  33. left: 30px;
  34. top: 30px;
  35. width: 380px;
  36. height: 250px;
  37.  
  38. background: url(playBackground.png);
  39. background-repeat: no-repeat;
  40. padding: 20px;
  41.  
  42. color: #e3ddd1;
  43. font-family: tf2build;
  44. font-size: 23px;
  45. }
  46.  
  47. #donate {
  48. background: url(donateBackground.png);
  49. background-repeat: no-repeat;
  50.  
  51. width: 380px;
  52. height: 180px;
  53. padding: 20px;
  54. left: 30px;
  55. top: 30px;
  56.  
  57. font-family: tf2build;
  58. font-size: 23px;
  59. color: #e3ddd1;
  60. }
  61.  
  62. .button {
  63. position: relative;
  64. cursor: pointer;
  65. left:-10px;
  66. }
  67.  
  68. .buttonText {
  69. position: absolute;
  70. margin-left: 15px;
  71. margin-top: -45px;
  72.  
  73. color: #2a2a2a;
  74. }
  75.  
  76. #help {
  77. position: absolute;
  78. z-index: 2;
  79. left: 183px;
  80. top: 406px;
  81.  
  82. cursor: pointer;
  83. }
  84.  
  85. #admins {
  86. position: fixed;
  87. z-index: 3;
  88. visibility: hidden;
  89.  
  90. left: 0px;
  91. bottom: 0px;
  92. width: 100%;
  93. height: 60px;
  94.  
  95. background: rgb(60, 55, 50); /*In case webkit isn't supported*/
  96. background: -webkit-linear-gradient(rgb(60, 55, 50) 0%, rgb(50, 45, 40) 100%);
  97. border-top: 3px solid rgb(130, 120, 110);
  98. padding: 2px;
  99.  
  100. font-size: 20px;
  101. }
  102.  
  103. .steamProfile {
  104. float:left;
  105. }
  106.  
  107. #newsFeed {
  108. position: absolute;
  109. right: 0px;
  110. width: 250px;
  111. height: 300px;
  112. overflow-y: scroll;
  113. overflow-x: hidden;
  114. font-size: 15px;
  115. top: 0px;
  116. z-index: 3;
  117. visibility: visible;
  118. }
  119.  
  120. #benefits {
  121. position: absolute;
  122. visibility: hidden;
  123. z-index: 4;
  124.  
  125. left: 20%;
  126. width: 60%;
  127. top: 20%;
  128. height: 60%;
  129.  
  130. background: rgba(0,0,0,0.5);
  131. padding: 20px;
  132.  
  133. overflow-y: scroll;
  134. }
  135.  
  136. .benefit {
  137. display: block;
  138. width: 100%;
  139. margin: 0 auto;
  140. text-align: center;
  141. }
  142.  
  143. .benefitImage {
  144. margin: 5px;
  145. vertical-align: top;
  146. display: inline-block;
  147. }
  148.  
  149. .benefitImage img {
  150. max-width: 300px;
  151. width: 100%;
  152. }
  153.  
  154. .benefitText {
  155. margin: 5px;
  156. vertical-align: top;
  157. max-width: 300px;
  158. width: 100%;
  159. display: inline-block;
  160. text-align: left;
  161. }
  162.  
  163. header {
  164. font-family: tf2build;
  165. font-size: 40px;
  166. color: #e3ddd1;
  167. text-align: center;
  168. }
  169.  
  170. subtitle {
  171. font-family: tf2build;
  172. font-size: 20px;
  173. color: white;
  174. text-align: center;
  175. width: 100%;
  176. }
  177.  
  178. .newsFeedButton {
  179. /*Stops text being selected should the JavaScript fail*/
  180. -webkit-user-select: none;
  181. -moz-user-select: none;
  182. -ms-user-select: none;
  183. -o-user-select: none;
  184. user-select: none;
  185.  
  186. font-size: 10px;
  187.  
  188. cursor: pointer;
  189.  
  190. -webkit-transform: scale(1);
  191. -webkit-transition-timing-function: ease-out;
  192. -webkit-transition-duration: 500ms;
  193. }
  194.  
  195. .newsFeedButton:hover {
  196. -webkit-transform: scale(1.1);
  197. -webkit-transition-timing-function: ease-out;
  198. -webkit-transition-duration: 500ms;
  199. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement