Advertisement
izuemis

cr draconitegf

Oct 16th, 2022
126
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.16 KB | None | 0 0
  1. -- FONTS --
  2. @font-face {
  3. font-family: handy;
  4. src: url(https://dl.dropbox.com/s/ga9hf4idu3egjb5/handy00.ttf);
  5. }
  6.  
  7. @font-face {
  8. font-family: Chemre;
  9. src: url(https://dl.dropbox.com/s/a4vu0khvvhe5lwq/Chemre.ttf);
  10. }
  11.  
  12. -- IMAGE--
  13. z-index: 5;
  14. position: absolute;
  15. left: -1em;
  16. top: -6em;
  17.  
  18. -- TITLE --
  19. font-family: handy;
  20. background: #B57A95;
  21. padding: 15px;
  22. width: 8em;
  23. border-radius: 20px;
  24. position: absolute;
  25. left: 2.5em;
  26. top: -1.8em;
  27.  
  28. -- SCROLLBOX LEFT --
  29. height: 5em;
  30. overflow: auto;
  31. box-shadow: inset 13px 0px 6px -10px rgb(66 66 66 / 20%), inset -13px 0px 6px -10px rgb(66 66 66 / 56%), inset 0px 13px 6px -10px #ffffff, inset 0px -13px 6px -10px rgb(66 66 66 / 38%);
  32. border-radius: 10px;
  33. padding: 5px;
  34. background: white;
  35. filter: drop-shadow(0 0 0.1rem #5C5C5C);
  36.  
  37. -- SCROLLBOX RIGHT --
  38. height: 8em;
  39. overflow: auto;
  40. box-shadow: inset 13px 0px 6px -10px rgb(66 66 66 / 20%), inset -13px 0px 6px -10px rgb(66 66 66 / 56%), inset 0px 13px 6px -10px #ffffff, inset 0px -13px 6px -10px rgb(66 66 66 / 38%);
  41. border-radius: 10px;
  42. padding: 5px;
  43. background: white;
  44. filter: drop-shadow(0 0 0.1rem #5C5C5C);
  45.  
  46. -- SECTION TITLES --
  47. font-family: Chemre;
  48.  
  49. -- SECTION SCROLLBOX --
  50. background: white;
  51. border: 1px solid #706b72;
  52. padding: 5px;
  53. height: 8em;
  54. overflow: auto;
  55. border-radius: 10px;
  56.  
  57. -- BUTTON BORDER --
  58. border: 1px solid #706b72;
  59.  
  60.  
  61. -- SCROLLBAR --
  62. <style>
  63.  
  64. ::-webkit-scrollbar {
  65. width: 8px;
  66. }
  67.  
  68. ::-webkit-scrollbar-track {
  69. background-color: #e4e4e4;
  70. -webkit-border-radius: 10px;
  71. border-radius: 10px;
  72. border: 1px solid #ccc;
  73. }
  74.  
  75. ::-webkit-scrollbar-thumb {
  76. -webkit-border-radius: 10px;
  77. border-radius: 10px;
  78. background: #e4e4e4;
  79. border: 1px solid #aaa;
  80. }
  81.  
  82. </style>
  83.  
  84. -- MUSIC PLAYER --
  85. <head>
  86. <script src="https://kit.fontawesome.com/1953b7c367.js" crossorigin="anonymous"></script>
  87. </head>
  88.  
  89. <style>
  90. #music-player {
  91. display: flex;
  92. align-items: center;
  93. justify-content: center;
  94. }
  95. #music-player {
  96. height: 1.5em;
  97. width: 1.5em;
  98. font-size: 1em;
  99. padding: 0.125em;
  100. border-radius: 50%;
  101. border: 1px solid #fff;
  102. background: rgb(255,255,255);
  103. background: radial-gradient(circle, rgba(255,255,255,1) 0%, rgba(237,211,255,1) 100%);
  104. -webkit-filter: drop-shadow(0px 0px 1.5px #e4c8f6);
  105. position: absolute;
  106. bottom:1.5em;
  107. right: .5em;
  108. z-index: 40;
  109. -webkit-animation: spin 2s linear infinite;
  110. -webkit-animation:spin 4s linear infinite;
  111. -moz-animation:spin 4s linear infinite; animation:spin 4s linear infinite;
  112. }
  113. @-moz-keyframes spin {
  114. 100% {
  115. -moz-transform: rotate(360deg);
  116. }
  117.  
  118. } @-webkit-keyframes spin {
  119. 100% {
  120. -webkit-transform: rotate(360deg);
  121. }
  122. }
  123. @keyframes spin {
  124. 100% {
  125. -webkit-transform: rotate(360deg);
  126. transform:rotate(360deg);
  127. }
  128. }
  129. #music-player:hover {
  130. -webkit-animation: pop 0.3s ease;
  131. }
  132. </style>
  133.  
  134. <div id="music-player"><i class="fa-solid fa-headphones"style="font-size:1em; color:#fff;-webkit-text-stroke: 0.5px #f0d1ff;"></i></div>
  135. <audio id="audio" src="https://dl.dropbox.com/s/l2impfql42ku4fu/iz%20one%20dreamlike.mp3?dl=0"></audio>
  136.  
  137. <script>
  138. document.getElementById("music-player").onclick = function() {
  139. var audio = document.getElementById("audio");
  140. if (audio.paused) audio.play();
  141. else audio.pause();
  142. };
  143. </script>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement