Advertisement
Guest User

Untitled

a guest
Oct 7th, 2019
133
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 4.27 KB | None | 0 0
  1. <html>
  2. <head>
  3. <!-- Meta + Favicon -->
  4. <meta charset="UTF-8">
  5. <meta name="viewport" content="width=device-width" />
  6. <link rel="shortcut icon" type="image/png" href="https://encrypted-tbn0.gstatic.com/images?q=tbn:ANd9GcTcOKthGUVnhgfnnvMt9uNWerc2_Aizm6Y6CuJTXD5EXPSeQTIa"/>
  7. <link rel="shortcut icon" type="image/png" href="https://encrypted-tbn0.gstatic.com/images?q=tbn:ANd9GcTcOKthGUVnhgfnnvMt9uNWerc2_Aizm6Y6CuJTXD5EXPSeQTIa"/>
  8. <!-- Contenu de la page + Meta-->
  9.  
  10. <html>
  11. <title>Accueil - MyBot</title>
  12. <meta charset="UTF-8">
  13. <link href="https://fonts.googleapis.com/css?family=Chakra+Petch" rel="stylesheet">
  14. </head>
  15. <style>
  16. @font-face {
  17. font-family: 'Chakra Petch', sans-serif; format('truetype');
  18. }
  19.  
  20. html, body {
  21. margin: 0;
  22. font-family: 'Chakra Petch';
  23. height: 100%;
  24. margin: 0;
  25. padding: 0;
  26. overflow: hidden;
  27. }
  28.  
  29. p{
  30. color: #fff
  31. }
  32.  
  33. a:link {color:#fff;}
  34. a:visited {color:#fff;}
  35. a:hover {color:#000;}
  36. a:active {color:#fff;}
  37.  
  38. #main {
  39. background-image: url(https://i.imgur.com/IKiegTO.jpg);
  40. background-size: cover;
  41. height: 100%;
  42. margin: 0;
  43. padding: 0;
  44.  
  45. }
  46.  
  47.  
  48. #title {
  49. color: white;
  50. font-size: 4em;
  51. margin: 0;
  52. position: absolute;
  53. top: 50%;
  54. width: 100%;
  55. transform: translate(0, -50%);
  56. text-align: center;
  57. animation: overlapcolor 2s ease-out;
  58. z-index: 99;
  59. opacity: 1;
  60. }
  61.  
  62. @keyframes overlapcolor {
  63. 0% {
  64. color: black;
  65. opacity: 0;
  66. }
  67.  
  68. 25% {
  69. opacity: 0;
  70. }
  71.  
  72. 50% {
  73. color: black;
  74. opacity: 1;
  75. }
  76.  
  77. 100% {
  78. color: white;
  79. }
  80. }
  81.  
  82. #title::after {
  83. animation: cursoranim 1s infinite, hideAtStart 2.5s linear;
  84. animation-timing-function: step-end;
  85. content: "|";
  86. margin-left: 5px;
  87. }
  88.  
  89. @keyframes hideAtStart {
  90. 0% {
  91. opacity: 0;
  92. }
  93.  
  94. 99.99% {
  95. opacity: 0;
  96. }
  97.  
  98. 100% {
  99. opacity: 1;
  100. }
  101. }
  102.  
  103. @keyframes cursoranim {
  104. 0% {
  105. color: transparent;
  106. }
  107.  
  108.  
  109. 50% {
  110. color: white;
  111.  
  112. }
  113. }
  114.  
  115. #menu {
  116. text-align: center;
  117. width: 100%;
  118. margin: 0 0 10px 0;
  119. padding: 0;
  120. position: absolute;
  121. bottom: 0;
  122. }
  123.  
  124. #menu li {
  125. display: inline;
  126. margin: 0px 25px 0px 25px;
  127. font-size: 1.8em;
  128. transition: all 0.2s;
  129. text-decoration: underline;
  130. }
  131.  
  132. #menu li:hover {
  133. font-size: 2.6em;
  134. cursor: pointer;
  135. }
  136.  
  137. #transition-placeholder {
  138. position: absolute;
  139. top: 100%;
  140. width: 100%;
  141. height: 100%;
  142. background-color: #212121;
  143. animation: overlap 2s cubic-bezier(0, 0, 0.08, 1.02);
  144. }
  145.  
  146. @keyframes overlap {
  147. 0% {
  148. top: 0%;
  149. }
  150.  
  151. 50% {
  152. top: 0%;
  153. }
  154.  
  155. 100% {
  156. top: 100%;
  157. }
  158.  
  159. }
  160. </style>
  161. <body onscroll="bodyScroll()">
  162. <div id="main">
  163. <p id="title">MyBot 🤖</p>
  164.  
  165. <ul id="menu">
  166. <a href= "https://google.com"><li>Liste des plugins</li></a>
  167. <a href= "https://discord.gg/C6MwMrE"><li>Notre discord</li></a>
  168. <a href= "https://jupiter226.1mb.site/contact"><li>Page de contact</li></a>
  169. <p>Fait avec ❤️ par <a href= "https://discord.gg/C6MwMrE">Archange226</a>
  170. </ul>
  171. </div>
  172.  
  173. <div id="transition-placeholder"></div>
  174.  
  175. <script type="text/javascript">
  176. var scrollTimer;
  177. function bodyScroll() {
  178. if (scrollTimer != -1)
  179. clearTimeout(scrollTimer);
  180.  
  181. scrollTimer = window.setTimeout("scrollFinished()", 500);
  182. }
  183.  
  184. function scrollFinished() {
  185. window.location = toUrl;
  186. }
  187. </script>
  188. </body>
  189. <!-- Made with ❤️ by Archange226 -->
  190. </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement