Guest User

Untitled

a guest
Feb 16th, 2015
220
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.78 KB | None | 0 0
  1. <html>
  2.  
  3. <head>
  4.  
  5. <title>
  6. Home
  7. </title>
  8.  
  9. <style type="text/css">
  10.  
  11. body {
  12. background-color: #ffffff;
  13. color: #4C4976;
  14. }
  15.  
  16. #content{
  17. margin-top: 20px;
  18. margin-left: 38%;
  19. font: 11px "Segoe UI";
  20. line-height:55px;
  21. }
  22.  
  23. #content a {
  24. color: #50618F;
  25. text-decoration: none;
  26. margin-right: 10px;
  27. }
  28.  
  29. #title {
  30. text-align: right;
  31. display: inline-block;
  32. width: 50px;
  33. }
  34.  
  35. #sep {
  36. color: #333333;
  37. margin: 0px 7px;
  38. display: inline-block;
  39. }
  40.  
  41. #boom{
  42. margin-left:6%;
  43. margin-top:-10px;
  44. color:#50618F;
  45. }
  46.  
  47. #poke{
  48. margin-left:12%;
  49. padding-bottom:60px;
  50. }
  51. </style>
  52.  
  53.  
  54.  
  55. </head>
  56.  
  57.  
  58. <body>
  59.  
  60.  
  61.  
  62. <div id="content">
  63.  
  64. <img id="poke" src=""></img>
  65.  
  66. <div id="separator">
  67. &raquo; bruh
  68. </div>
  69.  
  70.  
  71. <div id="title">
  72. 4chan
  73. </div>
  74.  
  75. <div id="sep">
  76. &raquo;
  77. </div>
  78.  
  79. <a href="http://boards.4chan.org/g/">/g/</a>
  80. <a href="http://boards.4chan.org/w/">/w/</a>
  81. <a href="http://boards.4chan.org/wg/">/wg/</a>
  82.  
  83. </br>
  84.  
  85.  
  86. <div id="title">
  87. social
  88. </div>
  89.  
  90. <div id="sep">
  91. &raquo;
  92. </div>
  93.  
  94. <a href="http://www.facebook.com">facebook</a>
  95. <a href="http://www.tumblr.com">tumblr</a>
  96.  
  97. </br>
  98.  
  99.  
  100. <div id="title">
  101. school
  102. </div>
  103.  
  104. <div id="sep">
  105. &raquo;
  106. </div>
  107.  
  108. <a href="http://online.ivytech.edu">blackboard</a>
  109.  
  110. </br>
  111.  
  112.  
  113. <div id="title">
  114. e-mail
  115. </div>
  116.  
  117. <div id="sep">
  118. &raquo;
  119. </div>
  120.  
  121. <a href="http://www.yahoo.com">yahoo</a>
  122.  
  123. </br>
  124.  
  125.  
  126. <div id="title">
  127. upload
  128. </div>
  129.  
  130. <div id="sep">
  131. &raquo;
  132. </div>
  133.  
  134. <a href="http://www.imgur.com/">imgur</a>
  135. <a href="http://www.pastebin.com">pastebin</a>
  136. <a href="http://www.pomf.se/">pomf</a>
  137.  
  138. </br>
  139.  
  140.  
  141. <div id="title">
  142. refs
  143. </div>
  144.  
  145. <div id="sep">
  146. &raquo;
  147. </div>
  148.  
  149. <a href="http://alpha.wallhaven.cc">wallhaven</a>
  150. <a href="http://nanami-tan.info/">rice</a>
  151. <a href="http://www.deviantart.com">da</a>
  152.  
  153. </br>
  154.  
  155.  
  156. <div id="title">
  157. other
  158. </div>
  159.  
  160. <div id="sep">
  161. &raquo;
  162. </div>
  163.  
  164. <a href="http://www.youtube.com">youtube</a>
  165. <a href="http://www.twitch.com">twitch</a>
  166. <a href="http://osu.ppy.sh/">osu</a>
  167. <a href="http://www.crunchyroll.com/">cr</a>
  168. <a href="http://www.kissanime.com/">ka</a>
  169.  
  170. </br></br>
  171.  
  172.  
  173. <p id="boom"></p>
  174.  
  175.  
  176.  
  177. <script>
  178.  
  179. var d = new Date();
  180. var days = ["sunday","monday","tuesday","wednesday","thursday","friday","saturday"];
  181. var months = ["jan","feb","mar","apr","may","jun","jul","aug","sep","oct","nov","dec"];
  182. var dates = d.getDate();
  183. var hours = d.getHours();
  184. var minutes = d.getMinutes();
  185.  
  186. if ( dates == 1 || dates == 21 || dates == 31 ){
  187. dates = dates + "st";
  188. } else if ( dates == 2 || dates == 22 ){
  189. dates = dates + "nd";
  190. } else if ( dates == 3 || dates == 23 ){
  191. dates = dates + "rd";
  192. } else {
  193. dates = dates +"th";
  194. }
  195.  
  196.  
  197. if ( hours < 12 ){
  198. ampm = "AM";
  199. } else {
  200. hours -= 12;
  201. ampm = "PM";
  202. }
  203.  
  204. if ( hours == 0 ){
  205. hours = "12";
  206. }
  207.  
  208. if ( minutes < 10 ){
  209. minutes = "0" + minutes;
  210. }
  211.  
  212. pokemon = Math.floor(Math.random() * 649) + 1;
  213.  
  214.  
  215. if ( pokemon < 10 ){
  216. pokemon = "00" + pokemon;
  217. } else if (pokemon > 10 && pokemon < 100){
  218. pokemon = "0" + pokemon;
  219. }
  220.  
  221.  
  222. document.getElementById("poke").src = 'http://sprites.pokecheck.org/i/' + pokemon + '.gif';
  223.  
  224.  
  225. document.getElementById("boom").innerHTML = days[d.getDay()] + " " + months[d.getMonth()] + " " + dates + ", " + d.getFullYear() + " | " +
  226. hours + ":" + minutes + " " + ampm;
  227.  
  228.  
  229.  
  230. </script>
  231.  
  232. </div>
  233.  
  234. </body>
  235.  
  236. </html>
Advertisement
Add Comment
Please, Sign In to add comment