Advertisement
ruesha

codes for ludas crd

Feb 22nd, 2022
1,287
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 5.98 KB | None | 0 0
  1. ---- for name ----
  2. <style>
  3. @font-face {
  4. font-family: lovely script;
  5. src: url(https://dl.dropbox.com/s/ss5bqbogijw4zfj/Lovely%20Script.otf);
  6. }
  7.  
  8. #lovely {
  9. position: relative;
  10. left: 0em;
  11. font-family: lovely script;
  12. font-size: 30px;
  13. text-align: center;
  14. color: #FFFFFF;
  15. z-index: 1;
  16. -webkit-filter: drop-shadow(0px 0px 1px #000000);
  17.  
  18. }
  19. </style>
  20.  
  21. <div id="lovely">name</div>
  22.  
  23. ---- for main scrollbox ----
  24. <link rel="preconnect" href="https://fonts.googleapis.com">
  25. <link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
  26. <link href="https://fonts.googleapis.com/css2?family=Mali&display=swap" rel="stylesheet">
  27. <style>
  28. @font-face {
  29. font-family: cutie;
  30. src: url(https://dl.dropbox.com/s/xo075bh6tbd4f7d/CP.ttf); }
  31.  
  32. #scroll {
  33. background: #FFE3F0;
  34. height: 150px;
  35. width: 100%;
  36. padding: 3px;
  37. margin-left: auto;
  38. margin-right: auto;
  39. border-radius: 10px;
  40. border: 2px solid #FFFFFF;
  41. font-family: Mali;
  42. line-height: 13px;
  43. text-align: left;
  44. overflow: auto;
  45. font-size: .7em;
  46. }
  47.  
  48. mark {
  49. font-family: cutie;
  50. font-size: 1.3em;
  51. background: #FFF;
  52. border-radius: 3px;
  53. border: 1px solid #000;
  54. padding-left: 5px;
  55. padding-right: 5px;
  56. color: #000;
  57. height: 5px;
  58. }
  59.  
  60. </style>
  61. <div id="scroll">
  62. <mark>lol</mark> info info info
  63. </div>
  64.  
  65. ---- for message box ----
  66. <link rel="preconnect" href="https://fonts.googleapis.com">
  67. <link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
  68. <link href="https://fonts.googleapis.com/css2?family=Mali&display=swap" rel="stylesheet">
  69. <style>
  70. @font-face {
  71. font-family: cutie;
  72. src: url(https://dl.dropbox.com/s/xo075bh6tbd4f7d/CP.ttf); }
  73.  
  74. #scroll02 {
  75. background: #000000;
  76. height: 25px;
  77. width: 100%;
  78. padding: 6px;
  79. margin-left: auto;
  80. margin-right: auto;
  81. font-family: Mali;
  82. line-height: 13px;
  83. text-align: left;
  84. overflow: auto;
  85. font-size: .6em;
  86. color: #000000;
  87. text-align: auto;
  88. }
  89.  
  90. mark {
  91. font-family: cutie;
  92. font-size: 1.2em;
  93. background: #FFF;
  94. border-radius: 3px;
  95. border: 1px solid #000;
  96. padding-left: 5px;
  97. padding-right: 5px;
  98. color: #2E2E2E;
  99. height: 5px;
  100. }
  101.  
  102. </style>
  103. <div id="scroll02">
  104. <p></p>
  105. ..................<mark>message</mark>.....<mark>send</mark>
  106. </div>
  107.  
  108. ---- for explosion in back ----
  109. <script type="text/javascript">
  110. // <![CDATA[
  111. var speed=34; // lower number for faster
  112. var warp=3; // from 1 to 10
  113. var stars=150; // number of stars
  114. var colours=new Array("#FFE3F0", "#FFBDDB", "#FFA3CD"); // colours of stars
  115. var position=-1; // set to '0' for foreground and '-1' for stars to appear in the background, behind text on the page
  116.  
  117. /****************************
  118. * Star Warp Effect *
  119. *(c)2005-14 mf2fm web-design *
  120. * http://www.mf2fm.com/rv *
  121. * DON'T EDIT BELOW THIS BOX *
  122. ****************************/
  123. var strs=new Array();
  124. var strx=new Array();
  125. var stry=new Array();
  126. var stdx=new Array();
  127. var stdy=new Array();
  128. var strz=new Array();
  129. var swide=800;
  130. var shigh=600;
  131. warp=1+warp/125;
  132.  
  133. if (typeof('addRVLoadEvent')!='function') function addRVLoadEvent(funky) {
  134. var oldonload=window.onload;
  135. if (typeof(oldonload)!='function') window.onload=funky;
  136. else window.onload=function() {
  137. if (oldonload) oldonload();
  138. funky();
  139. }
  140. }
  141.  
  142. addRVLoadEvent(initiate_hyperjump);
  143.  
  144. function initiate_hyperjump() { if (document.getElementById) {
  145. var i, temp;
  146. boddie=document.createElement("div");
  147. boddie.style.position="fixed";
  148. boddie.style.top="0px";
  149. boddie.style.left="0px";
  150. boddie.style.width="1px";
  151. boddie.style.height="1px";
  152. boddie.style.overflow="visible";
  153. boddie.style.backgroundColor="transparent";
  154. boddie.style.zIndex=position;
  155. i=document.body.style.backgroundColor;
  156. if (document.body.parentNode) {
  157. if (i) document.body.parentNode.style.backgroundColor=i;
  158. document.body.style.backgroundColor="transparent";
  159. }
  160. document.body.insertBefore(boddie, document.body.firstChild);
  161. set_width();
  162. for (i=0; i<stars; i++) {
  163. strs[i]=document.createElement("div");
  164. strs[i].style.color=colours[i%colours.length];
  165. strs[i].style.backgroundColor="transparent";
  166. strs[i].style.position="absolute";
  167. strs[i].appendChild(document.createTextNode("*"));
  168. strs[i].style.font="13px monospace";
  169. stdy[i]=Math.random()*6-3;
  170. stdx[i]=Math.random()*8-4;
  171. temp=Math.random()*100;
  172. strx[i]=swide/2+temp*stdx[i];
  173. stry[i]=shigh/2+temp*stdy[i];
  174. if (Math.abs(stdx[i])+Math.abs(stdy[i])>5) strz[i]=13;
  175. else if (Math.abs(stdx[i])+Math.abs(stdy[i])>3) strz[i]=7;
  176. else strz[i]=2;
  177. strs[i].style.fontSize=strz[i]+"px";
  178. boddie.appendChild(strs[i]);
  179. }
  180. setInterval("warp_drive()", speed);
  181. }}
  182.  
  183. function warp_drive() {
  184. var i;
  185. for (i=0; i<stars; i++) {
  186. stry[i]+=stdy[i];
  187. strx[i]+=stdx[i];
  188. stdx[i]*=warp;
  189. stdy[i]*=warp;
  190. if (stry[i]>0 && stry[i]<shigh && strx[i]>0 && strx[i]<swide) {
  191. if (Math.abs(stdx[i])+Math.abs(stdy[i])>strz[i]) strs[i].style.fontSize=++strz[i]+"px";
  192. strs[i].style.left=strx[i]+"px";
  193. strs[i].style.top=stry[i]+"px"
  194. }
  195. else {
  196. strx[i]=swide/2;
  197. stry[i]=shigh/2;
  198. strx[i]+=3*(stdx[i]=Math.random()*8-4);
  199. stry[i]+=3*(stdy[i]=Math.random()*6-3);
  200. if (Math.abs(stdx[i])+Math.abs(stdy[i])>5) strz[i]=13;
  201. else if (Math.abs(stdx[i])+Math.abs(stdy[i])>3) strz[i]=7;
  202. else strz[i]=2;
  203. strs[i].style.fontSize=strz[i]+"px";
  204. }
  205. }
  206. }
  207.  
  208. window.onresize=set_width;
  209. function set_width() {
  210. var sw_min=999999;
  211. var sh_min=999999;
  212. if (document.documentElement && document.documentElement.clientWidth) {
  213. if (document.documentElement.clientWidth>0) sw_min=document.documentElement.clientWidth;
  214. if (document.documentElement.clientHeight>0) sh_min=document.documentElement.clientHeight;
  215. }
  216. if (typeof(self.innerWidth)!="undefined" && self.innerWidth) {
  217. if (self.innerWidth>0 && self.innerWidth<sw_min) sw_min=self.innerWidth;
  218. if (self.innerHeight>0 && self.innerHeight<sh_min) sh_min=self.innerHeight;
  219. }
  220. if (document.body.clientWidth) {
  221. if (document.body.clientWidth>0 && document.body.clientWidth<sw_min) sw_min=document.body.clientWidth;
  222. if (document.body.clientHeight>0 && document.body.clientHeight<sh_min) sh_min=document.body.clientHeight;
  223. }
  224. if (sw_min==999999 || sh_min==999999) {
  225. sw_min=800;
  226. sh_min=600;
  227. }
  228. swide=sw_min;
  229. shigh=sh_min;
  230. }
  231. // ]]>
  232. </script>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement