omelet

방탄소년단 carrd codes (pro standard ver.)

Mar 27th, 2022 (edited)
332
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 7.40 KB | None | 0 0
  1. notes: pls cr biogger99 when remaking this carrd
  2.  
  3. ---- container border ----
  4. <style>
  5. #container01 {-webkit-filter: drop-shadow(0px 0px 2px #B5E2F5);
  6. border: 2px solid white;
  7. border-radius: 10px 10px 10px 10px;
  8. }
  9. </style>
  10.  
  11. ---- alba font ----
  12. <style>
  13. @font-face {
  14. font-family: ALBA;
  15. src: url(https://dl.dropbox.com/s/0l4qryezh7ac9ls/ALBA____.TTF);
  16. </style>
  17.  
  18. ---- about & guidelines texts ----
  19. <style>
  20. #text01 {
  21. font-family: ALBA;
  22. -webkit-text-stroke: 0.5px #A6DFF7;
  23. -webkit-filter: drop-shadow(0px 0px 1px #D9F4FF9C);
  24. background-image: radial-gradient( #D9F4FF 20%, #D9F4FF9C 20% , transparent 60%);
  25. }
  26. #text02 {
  27. font-family: ALBA;
  28. -webkit-text-stroke: 0.5px #A6DFF7;
  29. -webkit-filter: drop-shadow(0px 0px 1px #D9F4FF9C);
  30. background-image: radial-gradient( #D9F4FF 20%, #D9F4FF9C 20% , transparent 60%);
  31. }
  32. </style>
  33.  
  34. ---- container 2 white background ----
  35. <style>
  36. #container02 {
  37. background: rgba(255, 255, 255, 0.9);
  38. border-radius: 10px 10px 10px 10px;
  39. height:12.5em;
  40. width: 20em;
  41. margin-bottom: 1.1em;
  42. position: absolute;
  43. bottom: 3.1em;
  44. z-index:500;
  45. }
  46. </style>
  47.  
  48. ---- for ⊠ in cont 2 ----
  49. <style>
  50. #text03 {
  51. font-family: ALBA;
  52. font-size: 1.5em;
  53. -webkit-text-stroke: 0.5px #BEE7F7;
  54. -webkit-filter: drop-shadow(0px 0px 1px #BEE7F7);
  55. background: none;
  56. position: absolute;
  57. left: -0.7em;
  58. top: 0.6em;
  59. z-index: 1;
  60. }
  61. </style>
  62.  
  63. ---- about & more header texts ----
  64. <style>
  65. #text04 {
  66. font-family: ALBA;
  67. font-size: 1.5em;
  68. -webkit-text-stroke: 0.5px #B6D6E3;
  69. -webkit-filter: drop-shadow(0px 0px 1px #B6D6E3);
  70. background: none;
  71. }
  72. #text06 {
  73. font-family: ALBA;
  74. font-size: 1.5em;
  75. -webkit-text-stroke: 0.5px #B6D6E3;
  76. -webkit-filter: drop-shadow(0px 0px 1px #B6D6E3);
  77. background: none;
  78. </style>
  79.  
  80. ---- color bg text in cont 2 ----
  81. <style>
  82. #text05 {
  83. width: 100%;
  84. margin: auto;
  85. padding: .5em;
  86. background: #DEF5FF;
  87. box-shadow: 0 0 0.3em 0.3em #DEF5FF;
  88. border-radius: 5px;
  89. }
  90. #text07 {
  91. width: 100%;
  92. margin: auto;
  93. padding: .5em;
  94. background: #DEF5FF;
  95. box-shadow: 0 0 0.3em 0.3em #DEF5FF;
  96. border-radius: 5px;
  97. overflow: auto;
  98. height: 4.5em;
  99. }
  100. </style>
  101.  
  102. ---- container 3 white background ----
  103. <style>
  104. #container03 {
  105. background: rgba(255, 255, 255, 0.9);
  106. border-radius: 10px 10px 10px 10px;
  107. height:12.5em;
  108. width: 20em;
  109. margin-bottom: 1.1em;
  110. position: absolute;
  111. bottom: 3.1em;
  112. z-index:500;
  113. }
  114. </style>
  115.  
  116. ---- for ⊠ in cont 3 ----
  117. <style>
  118. #text08 {
  119. font-family: ALBA;
  120. font-size: 1.5em;
  121. -webkit-text-stroke: 0.5px #FAB9F1;
  122. -webkit-filter: drop-shadow(0px 0px 1px #FAB9F1);
  123. background: none;
  124. position: absolute;
  125. left: -0.7em;
  126. top: 0.4em;
  127. z-index: 1;
  128. }
  129. </style>
  130.  
  131. --- things to know header text ----
  132. <style>
  133. #text09 {
  134. font-family: ALBA;
  135. font-size: 1.5em;
  136. -webkit-text-stroke: 0.5px #B6D6E3;
  137. -webkit-filter: drop-shadow(0px 0px 1px #B6D6E3);
  138. background: none;
  139. position:absolute;
  140. left: 0.5em;
  141. top: 0.6em;
  142. z-index: 100;
  143. }
  144. </style>
  145.  
  146. --- color bg text 2 ----
  147. <style>
  148. #text10 {
  149. width: 100%;
  150. margin: auto;
  151. padding: .5em;
  152. background: #DEF5FF;
  153. box-shadow: 0 0 0.3em 0.3em #DEF5FF;
  154. border-radius: 5px;
  155. overflow: auto;
  156. height: 10.7em;
  157. position: absolute:
  158. top: 50px;
  159. z-index: 1;
  160. }
  161. </style>
  162.  
  163. --- background ----
  164. <script type="text/javascript">
  165. // <![CDATA[
  166. var colours=new Array("#D9F4FF", "#8EDAFA", "#D9F4FF", "#D9F4FF", "#ADE7FF"); // colours for top, right, bottom and left borders and background of bubbles
  167. var bubbles=66; // how many bubbles are moving at any given time
  168. var over_or_under="over"; // set to "over" for bubbles to always be on top, or "under" to allow them to float behind other objects
  169.  
  170. /****************************
  171. * JavaScript Bubble Bath *
  172. *(c)2010-13 mf2fm web-design*
  173. * http://www.mf2fm.com/rv *
  174. * DON'T EDIT BELOW THIS BOX *
  175. ****************************/
  176.  
  177. var swide=800;
  178. var shigh=600;
  179. var bubb=new Array();
  180. var bubbx=new Array();
  181. var bubby=new Array();
  182. var bubbs=new Array();
  183. var boddie;
  184. var ie_version=(navigator.appVersion.indexOf("MSIE")!=-1)?parseFloat(navigator.appVersion.split("MSIE")[1]):false;
  185.  
  186. function addLoadEvent(funky) {
  187. var oldonload=window.onload;
  188. if (typeof(oldonload)!='function') window.onload=funky;
  189. else window.onload=function() {
  190. if (oldonload) oldonload();
  191. funky();
  192. }
  193. }
  194.  
  195. addLoadEvent(bubba);
  196.  
  197. function bubba() { if (document.getElementById) {
  198. var i, rats, div;
  199. boddie=document.createElement("div");
  200. boddie.style.position="fixed";
  201. boddie.style.top="0px";
  202. boddie.style.left="0px";
  203. boddie.style.overflow="visible";
  204. boddie.style.width="1px";
  205. boddie.style.height="1px";
  206. boddie.style.backgroundColor="transparent";
  207. boddie.style.zIndex="0";
  208. document.body.appendChild(boddie);
  209. set_width();
  210. for (i=0; i<bubbles; i++) {
  211. rats=createDiv("3px", "3px");
  212.  
  213. div=createDiv("auto", "auto");
  214. rats.appendChild(div);
  215. div=div.style;
  216. div.top="1px";
  217. div.left="0px";
  218. div.bottom="1px";
  219. div.right="0px";
  220. div.borderLeft="1px solid "+colours[3];
  221. div.borderRight="1px solid "+colours[1];
  222.  
  223. div=createDiv("auto", "auto");
  224. rats.appendChild(div);
  225. div=div.style;
  226. div.top="0px";
  227. div.left="1px";
  228. div.right="1px";
  229. div.bottom="0px"
  230. div.borderTop="1px solid "+colours[0];
  231. div.borderBottom="1px solid "+colours[2];
  232.  
  233. div=createDiv("auto", "auto");
  234. rats.appendChild(div);
  235. div=div.style;
  236. div.left="1px";
  237. div.right="1px";
  238. div.bottom="1px";
  239. div.top="1px";
  240. div.backgroundColor=colours[4];
  241. if (ie_version && ie_version<10) div.filter="alpha(opacity=50)";
  242. else div.opacity=0.5;
  243.  
  244. boddie.appendChild(rats);
  245. bubb[i]=rats.style;
  246. bubb[i].zIndex=(over_or_under=="over")?"1001":"0";
  247. }
  248. bubble();
  249. }}
  250.  
  251. function bubble() {
  252. var c;
  253. for (c=0; c<bubbles; c++) if (!bubby[c] && Math.random()<0.333) {
  254. bubb[c].left=(bubbx[c]=Math.floor(swide/6+Math.random()*swide/1.5)-10)+"px";
  255. bubb[c].top=(bubby[c]=shigh)+"px";
  256. bubb[c].width="3px";
  257. bubb[c].height="3px"
  258. bubb[c].visibility="visible";
  259. bubbs[c]=3;
  260. break;
  261. }
  262. for (c=0; c<bubbles; c++) if (bubby[c]) update_bubb(c);
  263. setTimeout("bubble()", 40);
  264. }
  265.  
  266. function update_bubb(i) {
  267. if (bubby[i]) {
  268. bubby[i]-=bubbs[i]/2+i%2;
  269. bubbx[i]+=(i%5-2)/5;
  270. if (bubby[i]>0 && bubbx[i]>0 && bubbx[i]<swide) {
  271. if (Math.random()<bubbs[i]/shigh*2 && bubbs[i]++<8) {
  272. bubb[i].width=bubbs[i]+"px";
  273. bubb[i].height=bubbs[i]+"px";
  274. }
  275. bubb[i].top=bubby[i]+"px";
  276. bubb[i].left=bubbx[i]+"px";
  277. }
  278. else {
  279. bubb[i].visibility="hidden";
  280. bubby[i]=0;
  281. return;
  282. }
  283. }
  284. }
  285.  
  286. window.onresize=set_width;
  287. function set_width() {
  288. var sw_min=999999;
  289. var sh_min=999999;
  290. if (document.documentElement && document.documentElement.clientWidth) {
  291. if (document.documentElement.clientWidth>0) sw_min=document.documentElement.clientWidth;
  292. if (document.documentElement.clientHeight>0) sh_min=document.documentElement.clientHeight;
  293. }
  294. if (typeof(self.innerWidth)=='number' && self.innerWidth) {
  295. if (self.innerWidth>0 && self.innerWidth<sw_min) sw_min=self.innerWidth;
  296. if (self.innerHeight>0 && self.innerHeight<sh_min) sh_min=self.innerHeight;
  297. }
  298. if (document.body.clientWidth) {
  299. if (document.body.clientWidth>0 && document.body.clientWidth<sw_min) sw_min=document.body.clientWidth;
  300. if (document.body.clientHeight>0 && document.body.clientHeight<sh_min) sh_min=document.body.clientHeight;
  301. }
  302. if (sw_min==999999 || sh_min==999999) {
  303. sw_min=800;
  304. sh_min=600;
  305. }
  306. swide=sw_min;
  307. shigh=sh_min;
  308. }
  309.  
  310. function createDiv(height, width) {
  311. var div=document.createElement("div");
  312. div.style.position="absolute";
  313. div.style.height=height;
  314. div.style.width=width;
  315. div.style.overflow="hidden";
  316. div.style.backgroundColor="transparent";
  317. return (div);
  318. }
  319. // ]]>
  320. </script>
Add Comment
Please, Sign In to add comment