dollcrds

pro-standard cr nork2004 codes & music player

Apr 25th, 2024 (edited)
485
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 4.56 KB | None | 0 0
  1. ---CODES---
  2. <style>
  3. @font-face {
  4. font-family:'nintendo';
  5. src: url(https://dl.dropbox.com/s/8w4sembeqyz4rsq/Nintendo-DS-BIOS.ttf);
  6. }
  7. @font-face {
  8. font-family: dreams;
  9. src: url(https://dl.dropbox.com/s/i9lg3nchwvgi6p3/dream.ttf);
  10. }
  11. ::-webkit-scrollbar {
  12. width: 16px
  13. }
  14. ::-webkit-scrollbar-corner {
  15. background: #eee
  16. }
  17.  
  18. ::-webkit-scrollbar-track:vertical {
  19. background: linear-gradient(90deg, #e5e5e5, #f0f0f0 20%);
  20. }
  21.  
  22. ::-webkit-scrollbar-thumb {
  23. border: 1.5px solid #888;
  24. border-radius: 3px;
  25. box-shadow: inset 0 -1px 1px #fff, inset 0 1px 1px #fff;
  26. background-color: #eee;
  27. }
  28. ::-webkit-scrollbar-thumb:vertical {
  29. background: url("https://dl.dropbox.com/s/9a29qbkza3gmgl7/scroll1.png"), linear-gradient(90deg, #eee 45%, #ddd 0, #bbb);
  30. background-repeat: no-repeat;
  31. background-size: 65% auto, cover;
  32. background-position: center;
  33. }
  34.  
  35. ::-webkit-scrollbar-button:vertical:end:increment,
  36. ::-webkit-scrollbar-button:vertical:start:decrement {
  37. display: block
  38. }
  39.  
  40. ::-webkit-scrollbar-button:vertical {
  41. height: 15px
  42. }
  43. ::-webkit-scrollbar-button:vertical:start:decrement {
  44. background: white;
  45. background: url("https://dl.dropbox.com/s/n9ji42h9hdgdtpc/scroll3.png"), linear-gradient(90deg, #e5e5e5, #f0f0f0 20%);
  46. background-repeat: no-repeat;
  47. background-position: center;
  48. -moz-background-size: 100% auto, cover;
  49. -webkit-background-size: 100% auto, cover;
  50. -o-background-size: 100% auto, cover;
  51. background-size: 100% auto, cover;
  52. background-position: center;
  53. border-radius: 0 3px 0 0;
  54. }
  55.  
  56. ::-webkit-scrollbar-button:vertical:start:increment {
  57. display: none;
  58. }
  59. ::-webkit-scrollbar-button:vertical:end:decrement {
  60. display: none;
  61. }
  62.  
  63. ::-webkit-scrollbar-button:vertical:end:increment {
  64. background: white;
  65. background: url("https://dl.dropbox.com/s/cdcco6pih7n1lae/scroll4.png"), linear-gradient(90deg, #e5e5e5, #f0f0f0 20%);
  66. background-repeat: no-repeat;
  67. background-position: center;
  68. -moz-background-size: 100% auto, cover;
  69. -webkit-background-size: 100% auto, cover;
  70. -o-background-size: 100% auto, cover;
  71. background-size: 100% auto, cover;
  72. background-position: center;
  73. border-radius: 0 0 3px 0;
  74. }
  75. </style>
  76.  
  77. ---MUSIC PLAYER---
  78. <head>
  79. <link rel="stylesheet" href="https://use.fontawesome.com/releases/v5.14.0/css/all.css" integrity="sha384-HzLeBuhoNPvSl5KYnjx0BT+WB0QEEqLprO+NBkkk5gbc67FTaL7XIGa2w1L0Xbgc" crossorigin="anonymous">
  80. </head>
  81.  
  82. <style>
  83. @font-face {
  84. font-family:'nintendo';
  85. src: url(https://dl.dropbox.com/s/8w4sembeqyz4rsq/Nintendo-DS-BIOS.ttf);
  86. }
  87. #musicplayer{
  88. display:grid;
  89. grid-template-columns:30px auto;
  90. align-items:center;
  91. width: 125px;
  92. font-size:15px;
  93. line-height: 140%;
  94. background:white;
  95. border: 1px solid black;
  96. border-radius: 10px 10px 10px 10px;
  97. background: -webkit-linear-gradient(-270deg, #FFFFFF 0%, #1377BB 50%, #68b0d6 100%);
  98. }
  99. @media only screen and (max-width: 600px) {
  100. #musicplayer {
  101. width: 100px;
  102. }
  103. }
  104. #musictitle{
  105. overflow: hidden;
  106. width: calc(100% - 10px - 1px);
  107. margin-left: calc(10px + 1px);
  108. white-space: nowrap;
  109. display:inline-block;
  110. font-family:'nintendo';
  111. color: white;
  112. }
  113.  
  114. #musicpixel{
  115. width:100%;
  116. position:relative;
  117. left: 10px;
  118. min-height: 20px;
  119. border-right: 1px solid black;
  120. }
  121.  
  122. .overlay {
  123. opacity:0;
  124. position:absolute;
  125. top:0;
  126. left:0;
  127. text-align:center;
  128. width:100%;
  129. height:100%;
  130. transition:0.3s ease;
  131.  
  132. background:white;
  133. }
  134.  
  135. #musicpixel img{
  136. display:block;
  137. }
  138.  
  139. .marquee{
  140. display: inline-block;
  141. padding-left: 100%;
  142. animation: marquee 5s linear infinite;
  143. }
  144.  
  145. @keyframes marquee{
  146. 0% {
  147. transform: translate(0, 0);
  148. }
  149. 100% {
  150. transform: translate(-100%, 0);
  151. }
  152. }
  153.  
  154. </style>
  155.  
  156. <div id='musicplayer'>
  157. <div id='musicpixel'>
  158. <img src='https://dl.dropbox.com/scl/fi/4bid2cm3z3jxgvriallx0/JVWwAWa.gif?rlkey=phwm99nx36v3fh4uj8b4asrkz&st=otar33vm&dl=0.gif'>
  159. <div class='overlay'>
  160. <div class='playpause'><i class="fas fa-play"></i></div>
  161. </div>
  162. </div>
  163. <div id='musictitle'>
  164. <span class='marquee'>I'll see you there tomorrow cr ramdons</span>
  165. </div>
  166. </div>
  167.  
  168. <audio id='musicsrc' loop src='https://dl.dropbox.com/scl/fi/2k057sh85w76p85ce48rp/01-I_ll-See-You-There-Tomorrow.mp3?rlkey=iq7rmm38nqj1eowvs7sn5uldv&st=xpspb0tt&dl=0.mp3'></audio>
  169.  
  170. <script>
  171. document.querySelector('.playpause').addEventListener('click', playpause);
  172.  
  173. function playpause(){
  174. if(document.querySelector('.playpause').innerHTML == '<i class="fas fa-play"></i>'){
  175. document.querySelector('#musicsrc').play();
  176. document.querySelector('.playpause').innerHTML = '<i class="fas fa-pause"></i>';
  177. } else{
  178. document.querySelector('#musicsrc').pause();
  179. document.querySelector('.playpause').innerHTML = '<i class="fas fa-play"></i>';
  180. }
  181.  
  182. }
  183. </script>
Advertisement
Add Comment
Please, Sign In to add comment