Advertisement
cypherine

neocymain

Sep 8th, 2022
39
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 12.14 KB | None | 0 0
  1. <!--
  2. Hi how are you?
  3. It's me! your webmaster :D
  4. While you're here, let me tell you a secret...
  5. I'm...
  6. actually...
  7. god!
  8. That's it! Enjoy your stay ^_^
  9. Oh, btw if you've seen this, you should let me know in the guestbook.
  10. Thanks!
  11. -->
  12.  
  13. <!DOCTYPE html>
  14. <html>
  15. <head>
  16. <meta charset="UTF-8">
  17. <meta name="viewport" content="width=device-width, initial-scale=1.0">
  18. <title>Cypherine</title>
  19. <link href="/style.css" rel="stylesheet" type="text/css" media="all">
  20. <link href="http://fonts.cdnfonts.com/css/nintendo-ds-bios" rel="stylesheet">
  21. <link rel="shortcut icon" href="r2d2icon.png">
  22. <script src="https://ajax.googleapis.com/ajax/libs/jquery/2.1.3/jquery.min.js"></script>
  23. <script type="text/javascript">
  24. // <![CDATA[
  25. var colour="random"; // in addition to "random" can be set to any valid colour eg "#f0f" or "red"
  26. var sparkles=50;
  27.  
  28. /****************************
  29. * Tinkerbell Magic Sparkle *
  30. *(c)2005-13 mf2fm web-design*
  31. * http://www.mf2fm.com/rv *
  32. * DON'T EDIT BELOW THIS BOX *
  33. ****************************/
  34. var x=ox=400;
  35. var y=oy=300;
  36. var swide=800;
  37. var shigh=600;
  38. var sleft=sdown=0;
  39. var tiny=new Array();
  40. var star=new Array();
  41. var starv=new Array();
  42. var starx=new Array();
  43. var stary=new Array();
  44. var tinyx=new Array();
  45. var tinyy=new Array();
  46. var tinyv=new Array();
  47.  
  48. window.onload=function() { if (document.getElementById) {
  49. var i, rats, rlef, rdow;
  50. for (var i=0; i<sparkles; i++) {
  51. var rats=createDiv(3, 3);
  52. rats.style.visibility="hidden";
  53. rats.style.zIndex="999";
  54. document.body.appendChild(tiny[i]=rats);
  55. starv[i]=0;
  56. tinyv[i]=0;
  57. var rats=createDiv(5, 5);
  58. rats.style.backgroundColor="transparent";
  59. rats.style.visibility="hidden";
  60. rats.style.zIndex="999";
  61. var rlef=createDiv(1, 5);
  62. var rdow=createDiv(5, 1);
  63. rats.appendChild(rlef);
  64. rats.appendChild(rdow);
  65. rlef.style.top="2px";
  66. rlef.style.left="0px";
  67. rdow.style.top="0px";
  68. rdow.style.left="2px";
  69. document.body.appendChild(star[i]=rats);
  70. }
  71. set_width();
  72. sparkle();
  73. }}
  74.  
  75. function sparkle() {
  76. var c;
  77. if (Math.abs(x-ox)>1 || Math.abs(y-oy)>1) {
  78. ox=x;
  79. oy=y;
  80. for (c=0; c<sparkles; c++) if (!starv[c]) {
  81. star[c].style.left=(starx[c]=x)+"px";
  82. star[c].style.top=(stary[c]=y+1)+"px";
  83. star[c].style.clip="rect(0px, 5px, 5px, 0px)";
  84. star[c].childNodes[0].style.backgroundColor=star[c].childNodes[1].style.backgroundColor=(colour=="random")?newColour():colour;
  85. star[c].style.visibility="visible";
  86. starv[c]=50;
  87. break;
  88. }
  89. }
  90. for (c=0; c<sparkles; c++) {
  91. if (starv[c]) update_star(c);
  92. if (tinyv[c]) update_tiny(c);
  93. }
  94. setTimeout("sparkle()", 40);
  95. }
  96.  
  97. function update_star(i) {
  98. if (--starv[i]==25) star[i].style.clip="rect(1px, 4px, 4px, 1px)";
  99. if (starv[i]) {
  100. stary[i]+=1+Math.random()*3;
  101. starx[i]+=(i%5-2)/5;
  102. if (stary[i]<shigh+sdown) {
  103. star[i].style.top=stary[i]+"px";
  104. star[i].style.left=starx[i]+"px";
  105. }
  106. else {
  107. star[i].style.visibility="hidden";
  108. starv[i]=0;
  109. return;
  110. }
  111. }
  112. else {
  113. tinyv[i]=50;
  114. tiny[i].style.top=(tinyy[i]=stary[i])+"px";
  115. tiny[i].style.left=(tinyx[i]=starx[i])+"px";
  116. tiny[i].style.width="2px";
  117. tiny[i].style.height="2px";
  118. tiny[i].style.backgroundColor=star[i].childNodes[0].style.backgroundColor;
  119. star[i].style.visibility="hidden";
  120. tiny[i].style.visibility="visible"
  121. }
  122. }
  123.  
  124. function update_tiny(i) {
  125. if (--tinyv[i]==25) {
  126. tiny[i].style.width="1px";
  127. tiny[i].style.height="1px";
  128. }
  129. if (tinyv[i]) {
  130. tinyy[i]+=1+Math.random()*3;
  131. tinyx[i]+=(i%5-2)/5;
  132. if (tinyy[i]<shigh+sdown) {
  133. tiny[i].style.top=tinyy[i]+"px";
  134. tiny[i].style.left=tinyx[i]+"px";
  135. }
  136. else {
  137. tiny[i].style.visibility="hidden";
  138. tinyv[i]=0;
  139. return;
  140. }
  141. }
  142. else tiny[i].style.visibility="hidden";
  143. }
  144.  
  145. document.onmousemove=mouse;
  146. function mouse(e) {
  147. if (e) {
  148. y=e.pageY;
  149. x=e.pageX;
  150. }
  151. else {
  152. set_scroll();
  153. y=event.y+sdown;
  154. x=event.x+sleft;
  155. }
  156. }
  157.  
  158. window.onscroll=set_scroll;
  159. function set_scroll() {
  160. if (typeof(self.pageYOffset)=='number') {
  161. sdown=self.pageYOffset;
  162. sleft=self.pageXOffset;
  163. }
  164. else if (document.body && (document.body.scrollTop || document.body.scrollLeft)) {
  165. sdown=document.body.scrollTop;
  166. sleft=document.body.scrollLeft;
  167. }
  168. else if (document.documentElement && (document.documentElement.scrollTop || document.documentElement.scrollLeft)) {
  169. sleft=document.documentElement.scrollLeft;
  170. sdown=document.documentElement.scrollTop;
  171. }
  172. else {
  173. sdown=0;
  174. sleft=0;
  175. }
  176. }
  177.  
  178. window.onresize=set_width;
  179. function set_width() {
  180. var sw_min=999999;
  181. var sh_min=999999;
  182. if (document.documentElement && document.documentElement.clientWidth) {
  183. if (document.documentElement.clientWidth>0) sw_min=document.documentElement.clientWidth;
  184. if (document.documentElement.clientHeight>0) sh_min=document.documentElement.clientHeight;
  185. }
  186. if (typeof(self.innerWidth)=='number' && self.innerWidth) {
  187. if (self.innerWidth>0 && self.innerWidth<sw_min) sw_min=self.innerWidth;
  188. if (self.innerHeight>0 && self.innerHeight<sh_min) sh_min=self.innerHeight;
  189. }
  190. if (document.body.clientWidth) {
  191. if (document.body.clientWidth>0 && document.body.clientWidth<sw_min) sw_min=document.body.clientWidth;
  192. if (document.body.clientHeight>0 && document.body.clientHeight<sh_min) sh_min=document.body.clientHeight;
  193. }
  194. if (sw_min==999999 || sh_min==999999) {
  195. sw_min=800;
  196. sh_min=600;
  197. }
  198. swide=sw_min;
  199. shigh=sh_min;
  200. }
  201.  
  202. function createDiv(height, width) {
  203. var div=document.createElement("div");
  204. div.style.position="absolute";
  205. div.style.height=height+"px";
  206. div.style.width=width+"px";
  207. div.style.overflow="hidden";
  208. return (div);
  209. }
  210.  
  211. function newColour() {
  212. var c=new Array();
  213. c[0]=255;
  214. c[1]=Math.floor(Math.random()*256);
  215. c[2]=Math.floor(Math.random()*(256-c[1]/2));
  216. c.sort(function(){return (0.5 - Math.random());});
  217. return ("rgb("+c[0]+", "+c[1]+", "+c[2]+")");
  218. }
  219. // ]]>
  220. </script>
  221. <script>
  222. function diaryhoverImg() {
  223. $('.image1Responsive').attr('src', 'diarybuttonhover1.png');
  224. }
  225.  
  226. function diaryImg() {
  227. $('.image1Responsive').attr('src', 'diarybutton1.png');
  228. }
  229. function guestbookhoverImg() {
  230. $('.image2Responsive').attr('src', 'guestbookbuttonhover1.png');
  231. }
  232.  
  233. function guestbookImg() {
  234. $('.image2Responsive').attr('src', 'guestbookbutton1.png');
  235. }
  236.  
  237. </script>
  238. <style>
  239.  
  240. *, body, a, a:hover {cursor: url(lightsaber.png), auto;}
  241.  
  242.  
  243. body {
  244.  
  245. background: url(starsbg.gif) repeat;
  246. background-size: contain;
  247. text-align: center;
  248. font-family: 'Nintendo DS BIOS', sans-serif;
  249. font-size: 25px;
  250. overflow:hidden;
  251. height: 118px;
  252.  
  253.  
  254. }
  255. a, b {
  256. text-decoration: none;
  257. color: rgb(255,180,70);
  258. }
  259. a:hover {
  260. text-decoration: none;
  261. color: rgb(190,70,150)}
  262. @import url('http://fonts.cdnfonts.com/css/nintendo-ds-bios');
  263.  
  264. hr {
  265. height: 1px;
  266. background-color: rgb(190,70,150);
  267. margin: 10px 0px;}
  268.  
  269. .bg {
  270. background-color:rgba(153, 0, 204, 0.2);
  271. background-image:url('cylightsaber.gif');
  272. background-repeat: no-repeat;
  273. background-size:1000px;
  274. position: absolute;
  275. width: 970px;
  276. height: 540px;
  277. border-radius: 15px;
  278. border: 2px solid rgba(190,70,150);
  279. padding: 0 0 0 30px;
  280. margin-top: 170px;
  281. margin-left: 450px;
  282. z-index: -1;
  283. box-shadow: 0px 0px 20px #005eff;
  284. }
  285.  
  286.  
  287. .marquee1 {
  288. max-width: 20%;
  289. max-height: 70vh;
  290. margin: auto;
  291. }
  292.  
  293.  
  294. .buttonscont {
  295. position: absolute;
  296. margin-top: 280px;
  297. margin-left: 800px;
  298.  
  299. }
  300.  
  301. .buttonscont2 {
  302. position: absolute;
  303. margin-top: 290px;
  304. margin-left: -630px;
  305. color: white;
  306. width: 1570px;
  307. height: 50px;
  308. font-size: 35px;
  309. background-color:rgba(153, 0, 204, 0.2);
  310. border-radius: 15px;
  311. border: 2px solid rgba(190,70,150);
  312. text-align: center;
  313. display: flex;
  314. align-items: center;
  315. justify-content: center;
  316. box-shadow: 0px 0px 20px #005eff;
  317. }
  318. .imgcont1 {
  319. max-height: 100px;
  320.  
  321. }
  322.  
  323. .imgcont2 {
  324.  
  325. max-height: 100px;
  326.  
  327. }
  328.  
  329. .selector {
  330. position: absolute;
  331. z-index:-5
  332. }
  333.  
  334. .sidebox {
  335. text-align: left;
  336. background-color:rgba(153, 0, 204, 0.2);
  337. position: absolute;
  338. width: 200px;
  339. height: 200px;
  340. border-radius: 15px;
  341. border: 2px solid rgba(190,70,150);
  342. padding: 10px 0 0 30px;
  343. margin-top: 150px;
  344. margin-left: 170px;
  345. background-image:url('sidetiefighter.png');
  346. background-repeat: no-repeat;
  347. background-size:230px;
  348. box-shadow: 0px 0px 20px #005eff;
  349. }
  350.  
  351. .sidebox2 {
  352. position: absolute;
  353. background-color:rgba(153, 0, 204, 0.2);
  354. width: 200px;
  355. height: 580px;
  356. border-radius: 15px;
  357. border: 2px solid rgba(190,70,150);
  358. padding: 0 0 0 30px;
  359. margin-top: 150px;
  360. margin-left: 1500px;
  361. background-image:url('sideright.png');
  362. background-repeat: no-repeat;
  363. background-size:290px;
  364. box-shadow: 0px 0px 20px #005eff;
  365.  
  366. }
  367.  
  368. .sidebox3 {
  369. text-align: left;
  370. background-color:rgba(153, 0, 204, 0.2);
  371. position: absolute;
  372. width: 200px;
  373. height: 320px;
  374. border-radius: 15px;
  375. border: 2px solid rgba(190,70,150);
  376. padding: 10px 0 0 30px;
  377. margin-top: 400px;
  378. margin-left: 170px;
  379. background-image:url('sideleft.png');
  380. background-repeat: no-repeat;
  381. background-size:250px;
  382. box-shadow: 0px 0px 20px #005eff;
  383. }
  384. .titlecy {
  385. position: absolute;
  386. margin-left: 180px;
  387. margin-top: 50px;
  388. font-size: 60px;
  389. color: rgb(255,180,70);
  390. text-align: center;
  391. display: flex;
  392. align-items: center;
  393. justify-content: center;
  394. font-family: 'Nintendo DS BIOS', sans-serif;
  395.  
  396. }
  397. .site-wrap {
  398. height:100vh;
  399. }
  400. </style>
  401. </head>
  402.  
  403. <body>
  404. <div class="site-wrap">
  405. <div class="titlecy"><b><a href="https://cypherine.neocities.org/">Cypherine</a></b></div>
  406. <div class="bg"></div>
  407.  
  408. <div class="sidebox">
  409. <b style="color: rgb(255,180,70);">Smth</b>
  410. </div>
  411. <div class="sidebox3"></div>
  412. <div class="sidebox2"></div>
  413.  
  414. <div class="buttonscont">
  415.  
  416. <div class="imgcont1" onmouseover="diaryhoverImg()" onmouseout="diaryImg()">
  417. <a href="diary.html"><img src="diarybutton1.png" class="image1Responsive imgcont1" /></a>
  418. </div>
  419. <div class="imgcont2" onmouseover="guestbookhoverImg()" onmouseout="guestbookImg()">
  420. <a href="https://cypherine.123guestbook.com/"><img src="guestbookbutton1.png" class="image2Responsive imgcont2" /></a>
  421. </div>
  422.  
  423. <div class="buttonscont2">
  424. <marquee>
  425. <img src="https://cdn.discordapp.com/attachments/924728816407048253/1015589597218091078/output-onlinegiftools_3.gif" width="25px" height="25px">
  426. Welcome to my little piece of the web!
  427. </marquee>
  428. </div>
  429.  
  430.  
  431. </div>
  432. </div>
  433. </body>
  434. </html>
  435.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement