Advertisement
bouquetree

dewdrop

Oct 3rd, 2022 (edited)
523
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 5.76 KB | None | 0 0
  1. ===========NAME===========
  2. <style>
  3. #bubble {
  4. color:#f8d8e3;
  5. font-family:Times;
  6. font-size:40px;
  7. font-weight:bold;
  8.  
  9. }
  10.  
  11. </style>
  12.  
  13. <span id="bubble">haruai</span>
  14. <script type="text/javascript">
  15. // <![CDATA[
  16. var bgcolour="#f8d8e3"; // background colour
  17. var fgcolour="#7888B9"; // foreground colour
  18. var speedy=50; // speed of bubbling, lower is faster
  19. var shades=12; // number of shades of bubble
  20.  
  21. /****************************
  22. * Bubbling Text Effect *
  23. *(c)2003-13 mf2fm web-design*
  24. * http://www.mf2fm.com/rv *
  25. * DON'T EDIT BELOW THIS BOX *
  26. ****************************/
  27. var bubbcol=new Array();
  28. var bubbshd;
  29. var bubbler, bubbtxt;
  30. var bubbchr=new Array();
  31.  
  32. function addLoadEvent(funky) {
  33. var oldonload=window.onload;
  34. if (typeof(oldonload)!='function') window.onload=funky;
  35. else window.onload=function() {
  36. if (oldonload) oldonload();
  37. funky();
  38. }
  39. }
  40.  
  41. addLoadEvent(bubbagump);
  42.  
  43. function bubbagump() { if (document.getElementById) {
  44. var i, fg, bg, col;
  45. for (bubbler=0; bubbler<=shades; bubbler++) {
  46. col="#";
  47. for (i=1; i<6; i+=2) {
  48. bg=parseInt(bgcolour.substring(i,i+2),16);
  49. fg=parseInt(fgcolour.substring(i,i+2),16);
  50. col+=dechex(bg+(fg-bg)*(bubbler/shades));
  51. }
  52. bubbcol[bubbler+1]=col;
  53. if (bubbler==Math.floor(shades/2)) bubbshd=col;
  54. }
  55. bubbler=document.getElementById("bubble");
  56. bubbtxt=bubbler.firstChild.nodeValue;
  57. while (bubbler.childNodes.length) bubbler.removeChild(bubbler.childNodes[0]);
  58. for (i=0; i<bubbtxt.length; i++) {
  59. fg=document.createElement("span");
  60. fg.setAttribute("id", "bubb"+i);
  61. fg.style.textShadow=bubbshd+" 0px 0px 2px";
  62. fg.appendChild(document.createTextNode(bubbtxt.charAt(i)));
  63. bubbler.appendChild(fg);
  64. }
  65. bubbler=setInterval("bubbling()", speedy);
  66. }}
  67.  
  68. function dechex(dec) {
  69. dec=Math.floor(dec);
  70. return ((dec<16)?'0':'')+dec.toString(16);
  71. }
  72.  
  73. function bubbling() {
  74. var i, bubby;
  75. for (i=0; i<bubbtxt.length; i++) {
  76. bubby=document.getElementById("bubb"+i);
  77. if (bubbchr[i]) {
  78. bubby.style.color=bubbcol[bubbchr[i]];
  79. bubbchr[i]=(bubbchr[i]+1)%bubbcol.length;
  80. }
  81. else if (Math.random()<7.5/(shades*bubbtxt.length)) bubbchr[i]=1;
  82. }
  83. }
  84. // ]]>
  85. </script>
  86.  
  87.  
  88.  
  89. ===========MUSIC PLAYER===========
  90. <script src="//ajax.googleapis.com/ajax/libs/jquery/1.7/jquery.min.js"></script>
  91. <link href="//fonts.googleapis.com/css?family=Work+Sans" rel="stylesheet">
  92.  
  93. <script src="https://static.tumblr.com/2pnwama/DLppehqvd/feathericons.js"></script>
  94.  
  95. <!-------MUSIC PLAYER BY GLENTHEMES------->
  96. <script src="//glenthemes.github.io/-music-/glenplayer06.js"></script>
  97.  
  98. <style>
  99.  
  100. /*-------MUSIC PLAYER BY GLENTHEMES-------*/
  101. :root {
  102. --Music-Player-Vinyl:#7888B9;
  103. --Vinyl-Icon-Size:17px;
  104. --Vinyl-Spin-Speed:3.5s;
  105. --Music-Controls:#7888B9;
  106. --Music-Controls-Size:12px;
  107. --Music-Title-Font-Size:12px;
  108. --Music-Title-Color:#7888B9;
  109. }
  110. .glenjams-06 {
  111. display:none;
  112. position:relative;
  113. z-index:99;
  114. }
  115.  
  116. .pasta {
  117. display:flex;
  118. align-items:center;
  119. }
  120.  
  121. .vinyl-spin {
  122. animation:recordspin var(--Vinyl-Spin-Speed) linear infinite;
  123. -webkit-animation:recordspin var(--Vinyl-Spin-Speed) linear infinite;
  124. -moz-animation:recordspin var(--Vinyl-Spin-Speed) linear infinite;
  125. -o-animation:recordspin var(--Vinyl-Spin-Speed) linear infinite;
  126. }
  127.  
  128. .vinyl-pause {
  129. animation-play-state:paused;
  130. -webkit-animation-play-state:paused;
  131. -moz-animation-play-state:paused;
  132. -o-animation-play-state:paused;
  133. }
  134.  
  135. @-webkit-keyframes recordspin {
  136. from {
  137. -webkit-transform:rotate(0deg);
  138. -o-transform:rotate(0deg);
  139. transform:rotate(0deg);
  140. }
  141. to {
  142. -webkit-transform:rotate(360deg);
  143. -o-transform:rotate(360deg);
  144. transform:rotate(360deg);
  145. }
  146. }
  147.  
  148. @keyframes recordspin {
  149. from {
  150. -ms-transform:rotate(0deg);
  151. -moz-transform:rotate(0deg);
  152. -webkit-transform:rotate(0deg);
  153. -o-transform:rotate(0deg);
  154. transform:rotate(0deg);
  155. }
  156. to {
  157. -ms-transform:rotate(360deg);
  158. -moz-transform:rotate(360deg);
  159. -webkit-transform:rotate(360deg);
  160. -o-transform:rotate(360deg);
  161. transform:rotate(360deg);
  162. }
  163. }
  164.  
  165. .vinyl, .vinyl svg {
  166. width:var(--Vinyl-Icon-Size);
  167. height:var(--Vinyl-Icon-Size);
  168. background: #FFFFFF00;
  169. }
  170.  
  171. .music-controls {
  172. margin-left:10px;
  173. margin-bottom:-2px;
  174. width:var(--Music-Controls-Size);
  175. overflow:hidden;
  176. cursor: url(http://cur.cursors-4u.net/others/oth-6/oth589.cur), auto;
  177. }
  178.  
  179. .music-controls svg {
  180. width:var(--Music-Controls-Size);
  181. height:var(--Music-Controls-Size);
  182. color:var(--Music-Controls);
  183. stroke-width:2px;
  184. }
  185.  
  186. .pausee {display:none;}
  187.  
  188. .beff {display:none;}
  189. .aff {display:block;}
  190.  
  191. .music-title {
  192. margin-left:8px;
  193. font-weight:bold;
  194. font-size:var(--Music-Title-Font-Size);
  195. color:var(--Music-Title-Color);
  196. text-shadow: -1px 0 #fff, 0 1px #fff, 1px 0 #fff, 0 -1px #fff, 0 0;
  197. background: #FFFFFF00;
  198. }
  199. </style>
  200.  
  201. <body>
  202. <!-------MUSIC PLAYER BY GLENTHEMES------->
  203. <div class="glenjams-06">
  204. <div class="pasta">
  205. <div class="vinyl"></div>
  206. <div class="music-controls">
  207. <div class="playy"><i data-feather="play"></i></div>
  208. <div class="pausee"><i data-feather="pause"></i></div>
  209. </div>
  210. <div class="music-title">トリノコシティ</div>
  211.  
  212. <audio id="audio" src="https://dl.dropbox.com/s/rjojs3xb8qf51oc/torinoko%20city.mp3" type="audio"></audio>
  213. </div><!--pasta-->
  214. </div><!--glenjams-06-->
  215. <!----end music player---->
  216.  
  217. <script>feather.replace()</script>
  218. </body>
  219.  
  220.  
  221.  
  222. ===========STYLING===========
  223. <style>
  224.  
  225. :root {
  226. --accent: #7888B9;
  227. }
  228.  
  229. ::selection {
  230. color: #fff;
  231. background: var(--accent);
  232. }
  233.  
  234. mark {
  235. color: #fff;
  236. background: var(--accent);
  237. font-weight: bold;
  238. padding: 0px 5px 0px;
  239. border: 1px solid #000000;
  240. border-radius: 3px;
  241. }
  242.  
  243. #image01 {
  244. border: var(--accent) double;
  245. animation: pulse 1.5s linear infinite;
  246. }
  247.  
  248. @-webkit-keyframes "pulse" {
  249. 0% {
  250. -webkit-transform: scale(1);
  251. transform: scale(1);
  252. }
  253. 50% {
  254. -webkit-transform: scale(0.95);
  255. transform: scale(0.95);
  256. }
  257. 100% {
  258. -webkit-transform: scale(1);
  259. transform: scale(1);
  260. }
  261. }
  262.  
  263. </style>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement