fyodorcrds

camera crd tutorial ©️ fyodorcrds

Feb 14th, 2023
866
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
CSS 7.58 KB | None | 0 0
  1. <------------------------ embed01 ------------------------>
  2.  
  3. <script>
  4. document.getElementById('menu').onclick = function() {
  5. document.getElementById('sound').play();
  6. }
  7.  
  8. document.getElementById('home').onclick = function() {
  9. document.getElementById('sound').play();
  10. }
  11.  
  12. document.getElementById('star').onclick = function() {
  13. document.getElementById('sound').play();
  14. }
  15.  
  16. document.getElementById('heart').onclick = function() {
  17. document.getElementById('sound').play();
  18. }
  19. </script>
  20. <audio id="sound" src="https://cdn.discordapp.com/attachments/916511538410569829/1006909357981712414/mouse_click_fx.mp3" preload="auto"></audio>
  21.  
  22. <style>
  23. /* width */
  24. ::-webkit-scrollbar {
  25. width: 6px;
  26. }
  27. /* track */
  28. ::-webkit-scrollbar-track {
  29. background: #FFFFFF;
  30. }
  31. /* handle */
  32. ::-webkit-scrollbar-thumb {
  33. background: #BCBEC0;
  34. border-radius: 25px;
  35. }
  36. /* handle hover */
  37. ::-webkit-scrollbar-thumb:hover {
  38. background: #999999;
  39. border-radius: 25px;
  40. }
  41. </style>
  42. <style>
  43. @font-face { font-family: PC98; src: url(https://dl.dropbox.com/s/q6te1rmeglfy4bf/pc-9800.ttf); }
  44. </style>
  45. <style>
  46.  
  47. @font-face {
  48. font-family: romantic;
  49. src: url(https://dl.dropbox.com/s/f9cfrx4wyt13rwv/ROMANTIC.TTF);
  50. }
  51.  
  52. #fyodor {
  53. background-image: url(https://i.imgur.com/aGyicOn.png);
  54. background-position: center;
  55. background-size: 155px 47px;
  56. background-repeat: no-repeat;
  57. }
  58.  
  59. </style>
  60. <script type="text/javascript">
  61. // <![CDATA[
  62. var speed=40; // lower number for faster
  63. var warp=3; // from 1 to 10
  64. var stars=100; // number of stars
  65. var colours=new Array("#BCBEC0", "#999999"); // colours of stars
  66. var position=-1; // set to '0' for foreground and '-1' for stars to appear in the background, behind text on the page
  67.  
  68. /****************************
  69. * Star Warp Effect *
  70. *(c)2005-14 mf2fm web-design *
  71. * http://www.mf2fm.com/rv *
  72. * DON'T EDIT BELOW THIS BOX *
  73. ****************************/
  74. var strs=new Array();
  75. var strx=new Array();
  76. var stry=new Array();
  77. var stdx=new Array();
  78. var stdy=new Array();
  79. var strz=new Array();
  80. var swide=800;
  81. var shigh=600;
  82. warp=1+warp/125;
  83.  
  84. if (typeof('addRVLoadEvent')!='function') function addRVLoadEvent(funky) {
  85. var oldonload=window.onload;
  86. if (typeof(oldonload)!='function') window.onload=funky;
  87. else window.onload=function() {
  88. if (oldonload) oldonload();
  89. funky();
  90. }
  91. }
  92.  
  93. addRVLoadEvent(initiate_hyperjump);
  94.  
  95. function initiate_hyperjump() { if (document.getElementById) {
  96. var i, temp;
  97. boddie=document.createElement("div");
  98. boddie.style.position="fixed";
  99. boddie.style.top="0px";
  100. boddie.style.left="0px";
  101. boddie.style.width="1px";
  102. boddie.style.height="1px";
  103. boddie.style.overflow="visible";
  104. boddie.style.backgroundColor="transparent";
  105. boddie.style.zIndex=position;
  106. i=document.body.style.backgroundColor;
  107. if (document.body.parentNode) {
  108. if (i) document.body.parentNode.style.backgroundColor=i;
  109. document.body.style.backgroundColor="transparent";
  110. }
  111. document.body.insertBefore(boddie, document.body.firstChild);
  112. set_width();
  113. for (i=0; i<stars; i++) {
  114. strs[i]=document.createElement("div");
  115. strs[i].style.color=colours[i%colours.length];
  116. strs[i].style.backgroundColor="transparent";
  117. strs[i].style.position="absolute";
  118. strs[i].appendChild(document.createTextNode("*"));
  119. strs[i].style.font="13px monospace";
  120. stdy[i]=Math.random()*6-3;
  121. stdx[i]=Math.random()*8-4;
  122. temp=Math.random()*100;
  123. strx[i]=swide/2+temp*stdx[i];
  124. stry[i]=shigh/2+temp*stdy[i];
  125. if (Math.abs(stdx[i])+Math.abs(stdy[i])>5) strz[i]=13;
  126. else if (Math.abs(stdx[i])+Math.abs(stdy[i])>3) strz[i]=7;
  127. else strz[i]=2;
  128. strs[i].style.fontSize=strz[i]+"px";
  129. boddie.appendChild(strs[i]);
  130. }
  131. setInterval("warp_drive()", speed);
  132. }}
  133.  
  134. function warp_drive() {
  135. var i;
  136. for (i=0; i<stars; i++) {
  137. stry[i]+=stdy[i];
  138. strx[i]+=stdx[i];
  139. stdx[i]*=warp;
  140. stdy[i]*=warp;
  141. if (stry[i]>0 && stry[i]<shigh && strx[i]>0 && strx[i]<swide) {
  142. if (Math.abs(stdx[i])+Math.abs(stdy[i])>strz[i]) strs[i].style.fontSize=++strz[i]+"px";
  143. strs[i].style.left=strx[i]+"px";
  144. strs[i].style.top=stry[i]+"px"
  145. }
  146. else {
  147. strx[i]=swide/2;
  148. stry[i]=shigh/2;
  149. strx[i]+=3*(stdx[i]=Math.random()*8-4);
  150. stry[i]+=3*(stdy[i]=Math.random()*6-3);
  151. if (Math.abs(stdx[i])+Math.abs(stdy[i])>5) strz[i]=13;
  152. else if (Math.abs(stdx[i])+Math.abs(stdy[i])>3) strz[i]=7;
  153. else strz[i]=2;
  154. strs[i].style.fontSize=strz[i]+"px";
  155. }
  156. }
  157. }
  158.  
  159. window.onresize=set_width;
  160. function set_width() {
  161. var sw_min=999999;
  162. var sh_min=999999;
  163. if (document.documentElement && document.documentElement.clientWidth) {
  164. if (document.documentElement.clientWidth>0) sw_min=document.documentElement.clientWidth;
  165. if (document.documentElement.clientHeight>0) sh_min=document.documentElement.clientHeight;
  166. }
  167. if (typeof(self.innerWidth)!="undefined" && self.innerWidth) {
  168. if (self.innerWidth>0 && self.innerWidth<sw_min) sw_min=self.innerWidth;
  169. if (self.innerHeight>0 && self.innerHeight<sh_min) sh_min=self.innerHeight;
  170. }
  171. if (document.body.clientWidth) {
  172. if (document.body.clientWidth>0 && document.body.clientWidth<sw_min) sw_min=document.body.clientWidth;
  173. if (document.body.clientHeight>0 && document.body.clientHeight<sh_min) sh_min=document.body.clientHeight;
  174. }
  175. if (sw_min==999999 || sh_min==999999) {
  176. sw_min=800;
  177. sh_min=600;
  178. }
  179. swide=sw_min;
  180. shigh=sh_min;
  181. }
  182. // ]]>
  183. </script>
  184.  
  185. <script language="javascript" type="text/javascript">
  186. alert("click the home icon or heart to return to the menu! ♡")
  187. </script>
  188.  
  189. <------------------------ container01 ------------------------>
  190.  
  191. border-radius: 10px 10px 10px 10px;
  192. height: 200px;
  193.  
  194. <------------------------ container02 ------------------------>
  195.  
  196. width: 60px;
  197. left: 112px;
  198. border-radius: 10px 10px 0px 0px;
  199.  
  200. <------------------------ icons01 + icons02 ------------------------>
  201.  
  202. border: 5px black solid;
  203.  
  204. <------------------------ container03, container04, container05, container06 ------------------------>
  205.  
  206. border-radius: 5px 5px 5px 5px;
  207. height: 167px;
  208. width: 192.73px;
  209. bottom: 33px;
  210. left: 18px;
  211. position: absolute;
  212.  
  213. <------------------------ text01 ------------------------>
  214.  
  215. font-family: romantic;
  216. -webkit-filter: drop-shadow(0px 0px 4px #ABABAB);
  217. text-shadow: -1px 0 #000000, 0 1px #000000, 1px 0 #000000, 0 -1px #000000, 0 0;
  218.  
  219. <------------------------ buttons02, text02 ------------------------>
  220.  
  221. font-family: PC98;
  222.  
  223. <------------------------ text03 ------------------------>
  224.  
  225. border: black 1px solid;
  226. border-radius: 0px 5px 5px 5px;
  227. box-shadow: #bdbdbd 2px 2px;
  228.  
  229. <------------------------ image01 ------------------------>
  230.  
  231. box-shadow: #bdbdbd 2px 2px;
  232.  
  233. <------------------------ text04 ------------------------>
  234.  
  235. border: black 1px solid;
  236. border-radius: 5px 5px 5px 5px;
  237. width: 175px;
  238. overflow-y: scroll;
  239. height: 84px;
  240. box-shadow: #bdbdbd 2px 2px;
  241. padding: 3px 3px 3px 3px;
  242.  
  243. MOBILE:
  244. width: 175px;
  245.  
  246. <------------------------ text05 ------------------------>
  247.  
  248. border: black 1px solid;
  249. border-radius: 5px 5px 5px 5px;
  250. overflow-y: scroll;
  251. height: 122px;
  252. box-shadow: #bdbdbd 2px 2px;
  253. padding: 3px 3px 3px 3px;
  254.  
  255. <------------------------ text06 ------------------------>
  256.  
  257. border: black 1px solid;
  258. border-radius: 5px 5px 5px 5px;
  259. overflow-y: scroll;
  260. height: 149px;
  261. box-shadow: #bdbdbd 2px 2px;
  262. padding: 3px 3px 3px 3px;
  263.  
  264. <------------------------ icons03 ------------------------>
  265.  
  266. border: 1px solid #000000;
  267.  
  268. <------------------------ text07, text08 ------------------------>
  269.  
  270. border: black 1px solid;
  271. border-radius: 5px 5px 5px 5px;
  272. overflow-y: scroll;
  273. height: 72px;
  274. padding: 3px 3px 3px 3px;
  275. box-shadow: #bdbdbd 2px 2px;
  276.  
  277. <------------------------ notes ------------------------>
  278.  
  279. pls dont rmv my credits! this is an original design that took a lot of effort to make and feel free to comm me at https://fyodor.ju.mp :3
Advertisement
Add Comment
Please, Sign In to add comment