ruesha

xn--dq8h crd codes

Jan 23rd, 2022 (edited)
728
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.86 KB | None | 0 0
  1. hi! please let me know if i'm missing an embed here; i'll add it immediately. credit biogger99 when remaking this carrd!
  2.  
  3. ---- alba font ----
  4. @font-face {
  5. font-family: ALBA;
  6. src: url(https://dl.dropbox.com/s/0l4qryezh7ac9ls/ALBA____.TTF);
  7. }
  8.  
  9. ---- container border ----
  10. -webkit-filter: drop-shadow(0px 0px 2px #FFA4D6);
  11. border: 2px solid white;
  12. border-radius: 10px 10px 10px 10px;
  13.  
  14. ---- for about / guidelines ----
  15. font-family: ALBA;
  16. -webkit-text-stroke: 0.5px #FFA4D6;
  17. -webkit-filter: drop-shadow(0px 0px 1px #fff);
  18. background-image: radial-gradient( #ffd1eb 20%, #ffd1eb 20% , transparent 60%);
  19.  
  20. ---- for white container (info containers) ----
  21. background: rgba(255, 255, 255, 0.9);
  22. border-radius: 10px 10px 10px 10px;
  23. height:13.4em;
  24. margin-bottom: 1.1em;
  25. position: absolute;
  26. left: 1em;
  27. bottom:-1em;
  28. z-index:500;
  29.  
  30. ---- for text (info w/ color background) ----
  31. width: 95%;
  32. margin: auto;
  33. padding: .5em;
  34. background: #ffd1eb;
  35. box-shadow: 0 0 0.3em 0.3em #ffd1eb;
  36. border-radius: 5px;
  37.  
  38. ---- for ⊠ ----
  39. font-size:1.5em;
  40. position:relative;
  41. bottom:0.1em;
  42. -webkit-text-stroke: 0.1px #FFA4D6;
  43. color: white;
  44.  
  45. ---- for header texts (about me/things to know about) ----
  46. position:absolute;
  47. left: 0.5em;
  48. top: 0.6em;
  49. z-index:100;
  50. font-family: ALBA;
  51. font-size: 1.7em;
  52. -webkit-text-stroke: 0.5px #FF95CD;
  53. -webkit-filter: drop-shadow(0px 0px 1px #FF95CD);
  54. background: none;
  55.  
  56. ---- music player ----
  57. <head>
  58. <script src="https://kit.fontawesome.com/8119dfca45.js" crossorigin="anonymous"></script>
  59. </head>
  60.  
  61. <style>
  62. #music-player {
  63. display: flex;
  64. align-items: center;
  65. justify-content: center;
  66. }
  67. #music-player {
  68. height: 1.425em;
  69. width: 1.425em;
  70. font-size: 1.5em;
  71. padding: 0.125em;
  72. border-radius: 50%;
  73. border: 1px solid #fff;
  74. background: rgb(255,255,255);
  75. background: radial-gradient(circle, rgba(255,255,255,1) 0%, rgba(255,209,235,1) 100%);
  76. -webkit-filter: drop-shadow(0px 0px 1.5px #FF95CD);
  77. position: absolute;
  78. bottom:0.5em;
  79. left:0.5em;
  80. z-index: 100;
  81. -webkit-animation: spin 2s linear infinite;
  82. -webkit-animation:spin 4s linear infinite;
  83. -moz-animation:spin 4s linear infinite; animation:spin 4s linear infinite;
  84. }
  85. @-moz-keyframes spin {
  86. 100% {
  87. -moz-transform: rotate(360deg);
  88. }
  89.  
  90. } @-webkit-keyframes spin {
  91. 100% {
  92. -webkit-transform: rotate(360deg);
  93. }
  94. }
  95. @keyframes spin {
  96. 100% {
  97. -webkit-transform: rotate(360deg);
  98. transform:rotate(360deg);
  99. }
  100. }
  101. #music-player:hover {
  102. -webkit-animation: pop 0.3s ease;
  103. }
  104. </style>
  105.  
  106. <div id="music-player"><i class="fas fa-headphones"style="font-size:.7em; color:#fff;-webkit-text-stroke: 0.5px #ffd1eb;"></i></div>
  107. <audio id="audio" src="https://dl.dropbox.com/s/l2impfql42ku4fu/iz%20one%20dreamlike.mp3?dl=0"></audio>
  108.  
  109. <script>
  110. document.getElementById("music-player").onclick = function() {
  111. var audio = document.getElementById("audio");
  112. if (audio.paused) audio.play();
  113. else audio.pause();
  114. };
  115. </script>
Add Comment
Please, Sign In to add comment