Spedunkee

Content Sourcing

Jan 9th, 2022
203
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.14 KB | None | 0 0
  1. <!--- Notes To Consider
  2.  
  3. -I do not necessarily claim this simple code as my own original creation, just share the code around for people to easily show credit for content used on their Buzzly page
  4.  
  5. -the code input [open=”false”] controls whether the toggle box is open or closed by default
  6.  
  7. -the code credit at the very end is just for people to easily find the code in question, please dont remove it; however, you may be allowed to change the type of icon or simply the opacity level (no lower than 20) if you wish
  8.  
  9. -you can change the hover colour for links by replacing the “red” input
  10.  
  11. -in the “a href” code inputs, replace the # with a link for that respective content; try to use links of the exact page from which you get the content from, not simply the artist’s profile page.. It makes it harder to find things, is all
  12.  
  13. -edit or frankenstein the hell out of this code if you want, just know Im no coding expert or even know a lot about how everything works, so I cant help you much lol
  14.  
  15. -edit the simple names of things as you see fit, for whatever content you’re using on your page of course
  16.  
  17. ------------------->
  18.  
  19. <div class="my-3 m-auto py-2 px-2 max-w-md bg-white bg-opacity-70 rounded-lg shadow-lg">
  20. <details class="px-2" open="false">
  21. <summary class="text-sm text-black text-opacity-90 select-none">
  22. <b>[Custom Box 1]</b>
  23. </summary>
  24. <div class="py-2 text-sm text-black text-opacity-80">
  25. <p><b>background image :</b> <a href="#" rel="nofollow" class="hover:text-red-400">[sample text, “Content Name by Artist”]</a></p>
  26. <p><b>character icon :</b> <a href="#" rel="nofollow" class="hover:text-red-400"> …</a></p>
  27. <p><b>pagedoll :</b> <a href="#" rel="nofollow" class="hover:text-red-400"> …</a></p>
  28. <p><b>pixels :</b> <a href="#" rel="nofollow" class="hover:text-red-400"> …</a></p>
  29. <p><b>pixels :</b> <a href="#" rel="nofollow" class="hover:text-red-400"> ...</a></p>
  30. </div>
  31. </details>
  32.  
  33. <!--- Here Starts A New Source Box
  34. -if you want to create more toggle boxes, copy and paste this section of the coding
  35. ------------------->
  36.  
  37. <details class="px-2" open="false">
  38. <summary class="text-sm text-black text-opacity-90 select-none">
  39. <b>[Custom Box 2]</b>
  40. </summary>
  41. <div class="py-2 text-sm text-black text-opacity-80">
  42. <p><b>background image :</b> <a href="#" rel="nofollow" class="hover:text-red-400">[sample text, “Content Name by Artist”]</a></p>
  43. <p><b>character icon :</b> <a href="#" rel="nofollow" class="hover:text-red-400"> …</a></p>
  44. <p><b>pagedoll :</b> <a href="#" rel="nofollow" class="hover:text-red-400"> …</a></p>
  45. <p><b>pixels :</b> <a href="#" rel="nofollow" class="hover:text-red-400"> …</a></p>
  46. <p><b>pixels :</b> <a href="#" rel="nofollow" class="hover:text-red-400"> ...</a></p>
  47. </div>
  48. </details>
  49.  
  50. <!--- Direct Code Link / Resource Link
  51. -you can change the hover colour by replacing the “red” input
  52. ------------------->
  53.  
  54. <div class="px-1 text-right text-xs text-black text-opacity-50">
  55. <a class="far fa-code hover:text-red-400" href="https://buzzly.art/~Spunkee/art/content-credit-display-f2u-code" rel="nofollow"></a>
  56. </div>
  57. </div>
Advertisement
Add Comment
Please, Sign In to add comment