M-21

halsey

Jun 7th, 2018
115
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 9.52 KB | None | 0 0
  1. <!DOCTYPE html>
  2.  
  3. <head>
  4. <title>halsey</title>
  5. </head>
  6.  
  7. <style>
  8. /*SELECTION COLOR*/
  9. ::selection {
  10. background: #D9ABFF;
  11. color:white;
  12. }
  13. ::-moz-selection {
  14. background: #D9ABFF;
  15. color:white;
  16. }
  17.  
  18. /* CURSOR */
  19. * {
  20. cursor:url('https://i.imgur.com/WIlDUzI.png'), auto;
  21. }
  22. a, a:hover, a:click {
  23. cursor:url('https://i.imgur.com/WIlDUzI.png'), auto;
  24. }
  25.  
  26. /* BACKGROUND */
  27. body {
  28. background: url('https://i.imgur.com/TpcJfjF.png') no-repeat center center fixed;
  29. background-size: cover;
  30. overflow:hidden;
  31. }
  32.  
  33. /* MENU */
  34. .vertical-menu {
  35. width: 150px;
  36. margin-left: 100px;
  37. margin-top: 15%;
  38. }
  39. .vertical-menu a {
  40. color: white;
  41. display: block;
  42. padding: 12px;
  43. text-decoration: none;
  44. margin-top: 5px;
  45. transition: all .7s;
  46. -webkit-transition: all .7s;
  47. text-align: center;
  48. text-transform: uppercase;
  49. font-size: 12px;
  50. font-family: 'Montserrat', sans-serif;
  51. font-weight:light;
  52. letter-spacing: 3px;
  53. }
  54. .vertical-menu a:hover {
  55. background-color: transparent;
  56. color: white;
  57. border-color: white;
  58. background-position: -100% 0;
  59. }
  60. .vertical-menu a.active {
  61. background-color: rgba(255, 171, 171, 0.53);
  62. color: white;
  63. border-style: solid;
  64. border-width: 3px;
  65. border-color: #FFFFFF;
  66. }
  67. .vertical-menu a.l1 {
  68. background-image: linear-gradient(to right, transparent 50%, rgba(255, 218, 171, 0.53) 50%);
  69. transition: background-position 1s, border-color 1s;
  70. background-size: 200% 100%;
  71. border-style: solid;
  72. border-width: 3px;
  73. border-color: #FFDAAB;
  74. }
  75. .vertical-menu a.l2 {
  76. background-image: linear-gradient(to right, transparent 50%, rgba(221, 255, 171, 0.53) 50%);
  77. transition: background-position 1s, border-color 1s;
  78. background-size: 200% 100%;
  79. border-style: solid;
  80. border-width: 3px;
  81. border-color: #DDFFAB;
  82. }
  83. .vertical-menu a.l3 {
  84. background-image: linear-gradient(to right, transparent 50%, rgba(171, 228, 255, 0.53) 50%);
  85. transition: background-position 1s, border-color 1s;
  86. background-size: 200% 100%;
  87. border-style: solid;
  88. border-width: 3px;
  89. border-color: #ABE4FF;
  90. }
  91. .vertical-menu a.l4 {
  92. background-image: linear-gradient(to right, transparent 50%, rgba(217, 171, 255, 0.53) 50%);
  93. transition: background-position 1s, border-color 1s;
  94. background-size: 200% 100%;
  95. border-style: solid;
  96. border-width: 3px;
  97. border-color: #D9ABFF;
  98. }
  99.  
  100. /* CENTER */
  101. div.middle {
  102. margin-left: 400px;
  103. margin-top: -300px;
  104. overflow:hidden;
  105. height: 297px;
  106. width: 550px;
  107. }
  108. p.quote {
  109. font-family: 'Permanent Marker', cursive;
  110. font-size: 40px;
  111. color:white;
  112. text-align:center;
  113. text-shadow: 3px 0px 1px #FFABAB;
  114. margin-top: -10px;
  115. transition: text-shadow .35s;
  116. -webkit-transition: text-shadow .35s;
  117. }
  118. p.quote:hover {
  119. text-shadow: -3px 0px 1px #DDFFAB;
  120. }
  121. p.quote:active {
  122. text-shadow:0px 0px 4px #ABE4FF;
  123. }
  124.  
  125. /* UPDATE BOX */
  126. div.box1 {
  127. width:250px;
  128. height:245px;
  129. background-color: rgba(255, 255, 255, 1);
  130. overflow:hidden;
  131. float:left;
  132. border-radius: 15px 0px 0px 15px;
  133. margin-top:-36px;
  134. box-shadow: 3px 0px 0px #FFDAAB;
  135. }
  136. div.content1 {
  137. overflow:auto;
  138. padding:10px 20px 10px 10px;
  139. height:211px;
  140. width:247px;
  141. margin-top:5px;
  142. }
  143. p.updates {
  144. text-align:center;
  145. font-size:16px;
  146. text-transform:uppercase;
  147. color:#FFABAB;
  148. font-family: 'Raleway', sans-serif;
  149. margin-top:-3px;
  150. border-style: solid;
  151. width:100%;
  152. border-width: 0px 0px 3px 0px;
  153. border-color: #FFABAB;
  154. }
  155. p.bullet {
  156. font-size: 13px;
  157. color:#E59C9C;
  158. font-family: 'Raleway', sans-serif;
  159. line-height:14px;
  160. text-align: justify;
  161. }
  162.  
  163. /* PHOTO */
  164. div.box2 {
  165. width:275px;
  166. height:238px;
  167. background-color: rgba(255, 255, 255, 1);
  168. overflow:hidden;
  169. border-radius: 0px 15px 15px 0px;
  170. margin-top:-244px;
  171. box-shadow: -3px 0px 0px #ABE4FF;
  172. float:left;
  173. border-width:3px;
  174. border-color: white;
  175. border-style:solid;
  176. margin-left: 670px;
  177. }
  178. img.photo {
  179. width:285px;
  180. height: 348px;
  181. margin-top:-5px;
  182. margin-left:-5px;
  183. -webkit-filter: blur(3px);
  184. filter: blur(3px);
  185. -webkit-transition: .3s ease-in-out;
  186. transition: .3s ease-in-out;
  187. }
  188. img.photo:hover {
  189. -webkit-filter: blur(0);
  190. filter: blur(0);
  191. }
  192.  
  193. </style>
  194.  
  195. <link href="https://fonts.googleapis.com/css?family=Montserrat" rel="stylesheet">
  196. <link href="https://fonts.googleapis.com/css?family=Permanent+Marker" rel="stylesheet">
  197. <link href="https://fonts.googleapis.com/css?family=Raleway" rel="stylesheet">
  198.  
  199.  
  200. <body>
  201.  
  202. <div class="vertical-menu">
  203. <a href="#" class="active">Home</a>
  204. <a href="#" class="l1">Link 1</a>
  205. <a href="#" class="l2">Link 2</a>
  206. <a href="#" class="l3">Link 3</a>
  207. <a href="https://www.marasites.com/?name=Kagayama" class="l4">Credits</a>
  208. </div>
  209.  
  210. <div class="middle">
  211. <p class="quote">Take me to the new world</p>
  212. <div class="box1">
  213. <div class="content1">
  214. <p class="updates">UPDATES</p>
  215. <p class="bullet">00/00 :: The stars awaken a certain reverence, because though always present, they are inaccessible; but all natural objects make a kindred impression, when the mind is open to their influence.
  216. <br><br>
  217. 00/00 :: Nature never wears a mean appearance.
  218. <br><br>
  219. 00/00 :: Neither does the wisest man extort her secret, and lose his curiosity by finding out all her perfection.
  220. <br><br>
  221. 00/00 :: Nature never became a toy to a wise spirit.
  222. <br><br>
  223. 00/00 :: The flowers, the animals, the mountains, reflected the wisdom of his best hour, as much as they had delighted the simplicity of his childhood.
  224. </p>
  225. </div>
  226. </div>
  227. </div>
  228.  
  229. <div class="box2">
  230. <img src="https://i.imgur.com/l5DbxKl.png" class="photo" />
  231. </div>
  232.  
  233.  
  234. </div>
  235.  
  236. </body>
  237.  
  238. <script type="text/javascript">
  239. // <![CDATA[
  240. var colour="#FFFFFF";
  241. var sparkles=120;
  242.  
  243. /****************************
  244. * DONT EDIT BELOW THIS BOX *
  245. ****************************/
  246.  
  247. var x=ox=400;
  248. var y=oy=300;
  249. var swide=800;
  250. var shigh=600;
  251. var sleft=sdown=0;
  252. var tiny=new Array();
  253. var star=new Array();
  254. var starv=new Array();
  255. var starx=new Array();
  256. var stary=new Array();
  257. var tinyx=new Array();
  258. var tinyy=new Array();
  259. var tinyv=new Array();
  260.  
  261. window.onload=function() { if (document.getElementById) {
  262. var i, rats, rlef, rdow;
  263. for (var i=0; i<sparkles; i++) {
  264. var rats=createDiv(3, 3);
  265. rats.style.visibility="hidden";
  266. document.body.appendChild(tiny[i]=rats);
  267. starv[i]=0;
  268. tinyv[i]=0;
  269. var rats=createDiv(5, 5);
  270. rats.style.backgroundColor="transparent";
  271. rats.style.visibility="hidden";
  272. var rlef=createDiv(1, 5);
  273. var rdow=createDiv(5, 1);
  274. rats.appendChild(rlef);
  275. rats.appendChild(rdow);
  276. rlef.style.top="2px";
  277. rlef.style.left="0px";
  278. rdow.style.top="0px";
  279. rdow.style.left="2px";
  280. document.body.appendChild(star[i]=rats);
  281. }
  282. set_width();
  283. sparkle();
  284. }}
  285.  
  286. function sparkle() {
  287. var c;
  288. if (x!=ox || y!=oy) {
  289. ox=x;
  290. oy=y;
  291. for (c=0; c<sparkles; c++) if (!starv[c]) {
  292. star[c].style.left=(starx[c]=x)+"px";
  293. star[c].style.top=(stary[c]=y)+"px";
  294. star[c].style.clip="rect(0px, 5px, 5px, 0px)";
  295. star[c].style.visibility="visible";
  296. starv[c]=50;
  297. break;
  298. }
  299. }
  300. for (c=0; c<sparkles; c++) {
  301. if (starv[c]) update_star(c);
  302. if (tinyv[c]) update_tiny(c);
  303. }
  304. setTimeout("sparkle()", 40);
  305. }
  306.  
  307. function update_star(i) {
  308. if (--starv[i]==25) star[i].style.clip="rect(1px, 4px, 4px, 1px)";
  309. if (starv[i]) {
  310. stary[i]+=1+Math.random()*3;
  311. if (stary[i]<shigh+sdown) {
  312. star[i].style.top=stary[i]+"px";
  313. starx[i]+=(i%5-2)/5;
  314. star[i].style.left=starx[i]+"px";
  315. }
  316. else {
  317. star[i].style.visibility="hidden";
  318. starv[i]=0;
  319. return;
  320. }
  321. }
  322. else {
  323. tinyv[i]=50;
  324. tiny[i].style.top=(tinyy[i]=stary[i])+"px";
  325. tiny[i].style.left=(tinyx[i]=starx[i])+"px";
  326. tiny[i].style.width="2px";
  327. tiny[i].style.height="2px";
  328. star[i].style.visibility="hidden";
  329. tiny[i].style.visibility="visible"
  330. }
  331. }
  332.  
  333. function update_tiny(i) {
  334. if (--tinyv[i]==25) {
  335. tiny[i].style.width="1px";
  336. tiny[i].style.height="1px";
  337. }
  338. if (tinyv[i]) {
  339. tinyy[i]+=1+Math.random()*3;
  340. if (tinyy[i]<shigh+sdown) {
  341. tiny[i].style.top=tinyy[i]+"px";
  342. tinyx[i]+=(i%5-2)/5;
  343. tiny[i].style.left=tinyx[i]+"px";
  344. }
  345. else {
  346. tiny[i].style.visibility="hidden";
  347. tinyv[i]=0;
  348. return;
  349. }
  350. }
  351. else tiny[i].style.visibility="hidden";
  352. }
  353.  
  354. document.onmousemove=mouse;
  355. function mouse(e) {
  356. set_scroll();
  357. y=(e)?e.pageY:event.y+sdown;
  358. x=(e)?e.pageX:event.x+sleft;
  359. }
  360.  
  361. function set_scroll() {
  362. if (typeof(self.pageYOffset)=="number") {
  363. sdown=self.pageYOffset;
  364. sleft=self.pageXOffset;
  365. }
  366. else if (document.body.scrollTop || document.body.scrollLeft) {
  367. sdown=document.body.scrollTop;
  368. sleft=document.body.scrollLeft;
  369. }
  370. else if (document.documentElement && (document.documentElement.scrollTop || document.documentElement.scrollLeft)) {
  371. sleft=document.documentElement.scrollLeft;
  372. sdown=document.documentElement.scrollTop;
  373. }
  374. else {
  375. sdown=0;
  376. sleft=0;
  377. }
  378. }
  379.  
  380. window.onresize=set_width;
  381. function set_width() {
  382. if (typeof(self.innerWidth)=="number") {
  383. swide=self.innerWidth;
  384. shigh=self.innerHeight;
  385. }
  386. else if (document.documentElement && document.documentElement.clientWidth) {
  387. swide=document.documentElement.clientWidth;
  388. shigh=document.documentElement.clientHeight;
  389. }
  390. else if (document.body.clientWidth) {
  391. swide=document.body.clientWidth;
  392. shigh=document.body.clientHeight;
  393. }
  394. }
  395.  
  396. function createDiv(height, width) {
  397. var div=document.createElement("div");
  398. div.style.position="absolute";
  399. div.style.height=height+"px";
  400. div.style.width=width+"px";
  401. div.style.overflow="hidden";
  402. div.style.backgroundColor=colour;
  403. return (div);
  404. }
  405. // ]]>
  406. </script>
  407.  
  408. </html>
Advertisement
Add Comment
Please, Sign In to add comment