Advertisement
Zeppasaurus

Call of the Wild CSS (Marquee)

Mar 12th, 2022
87
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 4.96 KB | None | 0 0
  1. :root {
  2. --bgcolor: #c6c7cf;
  3. --bordercolor: #51525a;
  4. --borderbr: 5px;
  5.  
  6. --bannertxt: 900 25px Times New Roman;
  7. --bannertxtcolor: #e0e0e0;
  8. --bannertop: 75px;
  9. --bannerleft: 65px;
  10. --bannerimg: url("https://img.nickpic.host/AGfwfd.jpg");
  11.  
  12. --h1txt: bold italic 16px Times New Roman;
  13. --h1color: #536780;
  14. --h2txt: italic 12px Times New Roman;
  15. --h2color: #536780;
  16.  
  17. --scrollbgcolor: #8e8e94;
  18. --scrollcolor: #51525a;
  19. --scrollbr: 0px 3px 3px 0px;
  20. }
  21.  
  22. .announce::-webkit-scrollbar, .intro::-webkit-scrollbar, .rules::-webkit-scrollbar, .ranks::-webkit-scrollbar, .spotlights::-webkit-scrollbar, .other1::-webkit-scrollbar, .other2::-webkit-scrollbar {
  23. width: 8px;
  24. }
  25.  
  26. .announce::-webkit-scrollbar-track, .intro::-webkit-scrollbar-track, .rules::-webkit-scrollbar-track, .ranks::-webkit-scrollbar-track, .spotlights::-webkit-scrollbar-track, .other1::-webkit-scrollbar-track, .other2::-webkit-scrollbar-track {
  27. background: var(--scrollbgcolor);
  28. border-radius: var(--scrollbr);
  29. }
  30.  
  31. .announce::-webkit-scrollbar-thumb, .intro::-webkit-scrollbar-thumb, .rules::-webkit-scrollbar-thumb, .ranks::-webkit-scrollbar-thumb, .spotlights::-webkit-scrollbar-thumb, .other1::-webkit-scrollbar-thumb, .other2::-webkit-scrollbar-thumb {
  32. background-color: var(--scrollcolor);
  33. border-radius: var(--scrollbr);
  34. }
  35.  
  36. h1 {
  37. font: var(--h1txt);
  38. color: var(--h1color);
  39. }
  40.  
  41. h2 {
  42. font: var(--h2txt);
  43. color: var(--h2color);
  44. text-transform: uppercase;
  45. }
  46.  
  47. .container {
  48. width: 100%;
  49. height: 1165px;
  50. }
  51.  
  52. .banner {
  53. position: absolute;
  54. padding: 10px;
  55. left: 212px;
  56. width: 460px;
  57. height: 230px;
  58. background-image: var(--bannerimg);
  59. background-size: cover;
  60. background-repeat: no-repeat;
  61. border: solid;
  62. border-color: var(--bordercolor);
  63. border-radius: var(--borderbr);
  64. }
  65.  
  66. .bannertext {
  67. margin-top: var(--bannertop);
  68. margin-left: var(--bannerleft);
  69. font: var(--bannertxt);
  70. text-transform: uppercase;
  71. color: var(--bannertxtcolor);
  72. }
  73.  
  74. .announce {
  75. position: absolute;
  76. padding: 10px;
  77. top: 313px;
  78. left: 212px;
  79. width: 460px;
  80. height: 16px;
  81. background: var(--bgcolor);
  82. border: solid;
  83. border-color: var(--bordercolor);
  84. border-radius: var(--borderbr);
  85. overflow: hidden;
  86. }
  87.  
  88. .marquee {
  89. white-space: nowrap;
  90. overflow: hidden;
  91. display: inline-block;
  92. animation: marquee 40s linear infinite;
  93. }
  94.  
  95. @keyframes marquee {
  96. 0% {
  97. transform: translate3d(0, 0, 0);
  98. }
  99. 100% {
  100. transform: translate3d(-104%, 0, 0);
  101. }
  102. }
  103.  
  104. .intro {
  105. position: absolute;
  106. padding: 10px;
  107. top: 365px;
  108. left: 212px;
  109. width: 460px;
  110. height: 120px;
  111. overflow: auto;
  112. text-align: justify;
  113. background: var(--bgcolor);
  114. border: solid;
  115. border-color: var(--bordercolor);
  116. border-radius: var(--borderbr);
  117. }
  118.  
  119. .rules {
  120. position: absolute;
  121. padding: 10px;
  122. top: 522px;
  123. left: 212px;
  124. width: 210px;
  125. height: 200px;
  126. overflow: auto;
  127. text-align: justify;
  128. background: var(--bgcolor);
  129. border: solid;
  130. border-color: var(--bordercolor);
  131. border-radius: var(--borderbr);
  132. }
  133.  
  134. .ranks {
  135. position: absolute;
  136. padding: 10px;
  137. top: 522px;
  138. left: 460px;
  139. width: 212px;
  140. height: 200px;
  141. overflow: auto;
  142. text-align: justify;
  143. background: var(--bgcolor);
  144. border: solid;
  145. border-color: var(--bordercolor);
  146. border-radius: var(--borderbr);
  147. }
  148.  
  149. .spotlights {
  150. position: absolute;
  151. padding: 10px;
  152. top: 760px;
  153. left: 212px;
  154. width: 460px;
  155. height: 135px;
  156. overflow: auto;
  157. text-align: justify;
  158. background: var(--bgcolor);
  159. border: solid;
  160. border-color: var(--bordercolor);
  161. border-radius: var(--borderbr);
  162. }
  163.  
  164. .spotlights img {
  165. white-space: nowrap;
  166. margin: auto;
  167. margin-left: 8px;
  168. padding: 10px;
  169. width: 58px;
  170. border-radius: 50px;
  171. }
  172.  
  173. .other1 {
  174. position: absolute;
  175. padding: 10px;
  176. top: 933px;
  177. left: 212px;
  178. width: 210px;
  179. height: 200px;
  180. overflow: auto;
  181. text-align: justify;
  182. background: var(--bgcolor);
  183. border: solid;
  184. border-color: var(--bordercolor);
  185. border-radius: var(--borderbr);
  186. }
  187.  
  188. .other2 {
  189. position: absolute;
  190. padding: 10px;
  191. top: 933px;
  192. left: 460px;
  193. width: 212px;
  194. height: 200px;
  195. overflow: auto;
  196. text-align: justify;
  197. background: var(--bgcolor);
  198. border: solid;
  199. border-color: var(--bordercolor);
  200. border-radius: var(--borderbr);
  201. }
  202.  
  203. .credits {
  204. position: absolute;
  205. padding: 10px;
  206. top: 1170px;
  207. left: 212px;
  208. width: 460px;
  209. height: 16px;
  210. font-size: 9px;
  211. text-transform: uppercase;
  212. text-align: center;
  213. background: var(--bgcolor);
  214. border: solid;
  215. border-color: var(--bordercolor);
  216. border-radius: var(--borderbr);
  217. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement