Advertisement
Guest User

Untitled

a guest
Oct 20th, 2017
63
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.74 KB | None | 0 0
  1.  
  2. <html><head>
  3. <meta charset="utf-8">
  4. <meta name="viewport" content="initial-scale=1, width=device-width">
  5. <link rel="stylesheet" href="assets/css/bitrune.css">
  6. <link rel="stylesheet" href="assets/css/slick.css">
  7. <link rel="stylesheet" href="assets/css/slick-theme.css">
  8. <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.css">
  9. <link rel="icon" type="image/png" sizes="32x32" href="assets/img/favicon-32x32.png">
  10. <title>BitRune - Under construction</title>
  11. </head>
  12. <style>
  13. body, html {
  14. width: 100%;
  15. height: 100%;
  16. padding: 0px;
  17. margin: 0px;
  18. }
  19. slider {
  20. display: block;
  21. width: 100%;
  22. height: 100%;
  23. background-image: url(http://bitrune.net/assets/img/background.jpg);
  24. -webkit-background-size: cover;
  25. -moz-background-size: cover;
  26. -o-background-size: cover;
  27. background-size: cover;
  28. overflow: hidden;
  29. position: absolute;
  30. }
  31. slider > * {
  32. position: absolute;
  33. display: block;
  34. width: 100%;
  35. height: 100%;
  36. left: 100%;
  37. background-color: #1f1f1f;
  38. -webkit-animation: slide 12s infinite;
  39. -moz-animation: slide 12s infinite;
  40. -o-animation: slide 12s infinite;
  41. animation: slide 12s infinite;
  42. overflow: hidden;
  43. }
  44. slide:nth-child(1) {
  45. left: 0%;
  46. -webkit-animation-delay: -1s;
  47. -moz-animation-delay: -1s;
  48. -o-animation-delay: -1s;
  49. animation-delay: -1s;
  50. background-image: url(http://bitrune.net/assets/img/background.jpg);
  51. background-size: cover;
  52. background-position: bottom;
  53. }
  54. slide:nth-child(2) {
  55. -webkit-animation-delay: 2s;
  56. -moz-animation-delay: 2s;
  57. -o-animation-delay: 2s;
  58. animation-delay: 2s;
  59. background-image: url(http://bitrune.net/assets/img/background.jpg);
  60. background-size: cover;
  61. background-position: bottom;
  62. }
  63. slide:nth-child(3) {
  64. -webkit-animation-delay: 5s;
  65. -moz-animation-delay: 5s;
  66. -o-animation-delay: 5s;
  67. animation-delay: 5s;
  68. background-image: url(http://bitrune.net/assets/img/background.jpg);
  69. background-size: cover;
  70. background-position: bottom;
  71. }
  72. slide p {
  73. font-family: 'Sue Ellen Francisco', cursive;
  74. font-size: 10vh;
  75. text-align: center;
  76. display: inline-block;
  77. width: 100%;
  78. margin-top: 30vh;
  79. color: white;
  80. text-shadow: 0px 0px 500px black;
  81. }
  82. @-webkit-keyframes slide {
  83. 0% {left: 100%; width: 100%}
  84. 5% {left: 0%;} /* IN */
  85. 25% {left: 0%;} /*SHOW*/
  86. 30% {left: -100%; width: 100%;} /*OUT*/
  87. 30.00001% {left: -100%; width: 0%}
  88. 100% {left: 100%;width: 0%;} /*SLEEP*/
  89. }
  90.  
  91. @-moz-keyframes slide {
  92. 0% {left: 100%; width: 100%}
  93. 5% {left: 0%;} /* IN */
  94. 25% {left: 0%;} /*SHOW*/
  95. 30% {left: -100%; width: 100%;} /*OUT*/
  96. 30.00001% {left: -100%; width: 0%}
  97. 100% {left: 100%;width: 0%;} /*SLEEP*/
  98. }
  99.  
  100. @-o-keyframes slide {
  101. 0% {left: 100%; width: 100%}
  102. 5% {left: 0%;} /* IN */
  103. 25% {left: 0%;} /*SHOW*/
  104. 30% {left: -100%; width: 100%;} /*OUT*/
  105. 30.00001% {left: -100%; width: 0%}
  106. 100% {left: 100%;width: 0%;} /*SLEEP*/
  107. }
  108. </style>
  109. <body>
  110. <nav>
  111. <div class="navbar">
  112. <h1>BitRune</h1>
  113.  
  114. <ul>
  115. <li><a href="#">Forum</a></li>
  116. <li><a href="#">Vote</a></li>
  117. <li><a href="#">Hiscores</a></li>
  118. <li><a href="#">Store</a></li>
  119. </ul>
  120.  
  121. <ul class="navbar_user">
  122. <li><a href="#" style="color:#cc9900">Log in</a> or <a href="#" style="color:#cc9900">sign up</a></li>
  123. </ul>
  124. </nav>
  125. <slider>
  126. <slide><p>Hello</p></slide>
  127. <slide><p>I am</p></slide>
  128. <slide><p>Jayzl</p></slide>
  129. </slider>
  130. <script type="text/javascript" src="assets/js/jquery.min.js"></script>
  131. <script type="text/javascript" src="assets/js/slick.js"></script>
  132. <script type="text/javascript" src="assets/js/carousel.js"></script>
  133. </body>
  134. </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement