Guest User

HTML/CSS/JS Homepage

a guest
Jul 28th, 2015
285
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 5.63 KB | None | 0 0
  1.  
  2.  
  3. <!DOCTYPE html>
  4. <!--TODO : unweebafy-->
  5. <!-- homepage by noha javascript by nullbyte -->
  6.  
  7. <html>
  8.  
  9. <head>
  10.  
  11. <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
  12. <link rel="stylesheet" href="animations.css">
  13. <link rel="icon"
  14. type="image/ico"
  15. href="firefox.ico" />
  16. <title>Start Page</title>
  17.  
  18. </head>
  19. <style>
  20.  
  21. a {
  22. color: #999999;
  23. font-family: "Segoe UI";
  24. font-size: 25px;
  25. text-decoration: none;
  26. margin-left: 5px;
  27. transition-property: color;
  28. transition-duration: .1s;
  29. transition-timing-function: linear;
  30. }
  31. body {
  32. padding-left: 10px;
  33. padding-right: 10px;
  34. font-family: "Segoe UI";
  35. color: #c8c8c8;
  36. font-size: 34px;
  37. background: White;
  38. }
  39.  
  40. span {
  41. margin-left: 10px;
  42. text-family: "Segoe UI";
  43. text-align: center;
  44. }
  45.  
  46. a:hover {
  47. color: #5f5f65
  48. }
  49.  
  50. input[type=text] {
  51. width: 18px;
  52. padding: 3px;
  53. position: absolute;
  54. right: 5px; bottom: 5px;
  55. border: 1px solid #e6e6e6;
  56. transition-property: all;
  57. transition-duration: .5s;
  58. transition-timing-function: ease;
  59. color: #999999;
  60. background-position: -2px -1px;
  61. background-image: url('http://i.imgur.com/ziSic3u.png');
  62. background-repeat: no-repeat;
  63. }
  64.  
  65. input[type=text]:hover {
  66. border-color: #999999;
  67. transition-property: all;
  68. transition-duration: .5s;
  69. transition-timing-function: ease;
  70. color: #999999;
  71. width: 230px;
  72. background-position: 227px -1px;
  73. padding-right: 20px;
  74. }
  75. input[type=text]:focus {
  76. border-color: #999999;
  77. transition-property: all;
  78. transition-duration: .5s;
  79. transition-timing-function: ease;
  80. color: #999999;
  81. width: 230px;
  82. background-position: 227px -1px;
  83. padding-right: 20px;
  84. }
  85.  
  86. .boxed {
  87. border: 1px solid #e6e6e6;
  88. padding: 5px;
  89. color: #494949;
  90. background-color: #ffffff;
  91. width: 760px;
  92. margin-left: -390px;
  93. margin-right: auto;
  94. position: absolute;
  95. left: 50%;
  96. top: 40%;
  97. }
  98.  
  99. h1 {
  100. padding-bottom: -600px;
  101. position: absolute;
  102. visibility: hidden;
  103. margin-top: -200px;
  104. margin-left: -380px;
  105. left: 50%;
  106. top: 40%;
  107.  
  108. }
  109.  
  110. </style>
  111.  
  112. <body>
  113.  
  114. <h1 align="center" id="message" class="expandUp"></h1>
  115.  
  116. <script type="text/javascript">
  117. var d = new Date();
  118. var n = d.getHours();
  119.  
  120. if ( n == 23 || n == 0) {
  121. message = "<img src='goodnight1.png'></img>";
  122. } else if ( n >= 1 && n <= 4 ) {
  123. message = "<img src='goodnight1.png'></img>";
  124. } else if ( n >= 5 && n <= 11 ) {
  125. message = "<img src='goodmorning1.png'></img>";
  126. } else if ( n >= 12 && n <= 17 ) {
  127. message = "<img src='goodafternoon1.png'></img>";
  128. } else if ( n >= 18 && n <= 22 ) {
  129. message = "<img src='goodevening1.png'></img>";
  130. }
  131.  
  132. document.getElementById("message").innerHTML = message;
  133. </script>
  134.  
  135. <div class="boxed" class=slideUp>
  136. <span> <img src="social.png"></span>
  137. <a style="padding-left:10px" href="https://www.facebook.com">facebook</a>
  138. <a href="https://twitter.com">twitter</a>
  139. </br>
  140.  
  141. <span> <img src="email.png"></span>
  142. <a style="padding-left:10px" href="https://outlook.com">outlook</a>
  143. <a href="https://mail.google.com">gmail</a>
  144. </br>
  145.  
  146. <span> <img src="media.png"></span>
  147. <a style="padding-left:10px" href="https://www.youtube.com">youtube</a>
  148. <a href="http://www.twitch.tv">twitch</a>
  149. <a href="https://soundcloud.com">soundcloud</a>
  150. <a href="https://csgolounge.com">csgo lounge</a>
  151. </br>
  152.  
  153. <span> <img src="4chan.png"></span>
  154. <a style="padding-left:10px" href="https://boards.4chan.org/a/catalog">anime</a>
  155. <a href="https://boards.4chan.org/w/catalog">wallpapers</a>
  156. <a href="https://boards.4chan.org/vr/catalog">retro</a>
  157. <a href="https://boards.4chan.org/gd/catalog">design</a>
  158. <a href="https://boards.4chan.org/g/catalog">technology</a>
  159. </br>
  160.  
  161. <span> <img src="reddit.png"></span>
  162. <a style="padding-left:10px" href="http://reddit.com/r/GlobalOffensive">counter strike</a>
  163. </br>
  164.  
  165. <span> <img src="school.png"></span>
  166. <a style="padding-left:10px" href="https://office365.com">office365</a>
  167. <form method="get" action="http://encrypted.google.com/search"> <input type="text" placeholder="" value=""
  168. name="q">
  169. </div>
  170.  
  171. <script>
  172. $(window).scroll(function() {
  173. $('#animatedElement').each(function(){
  174. var imagePos = $(this).offset().top;
  175.  
  176. var topOfWindow = $(window).scrollTop();
  177. if (imagePos < topOfWindow+400) {
  178. $(this).addClass("slideUp");
  179. }
  180. });
  181. });
  182. </script>
  183.  
  184. </body>
Advertisement
Add Comment
Please, Sign In to add comment